GitHub PullRequestEvent at 2014-02-07 00:18:04
Repository: legacy
Actor: nao-pon
Payload: {"action":"opened","number":67,"pull_request":{"url":"https://api.github.com/repos/XoopsX/legacy/pulls/67","id":12294563,"html_url":"https://github.com/XoopsX/legacy/pull/67","diff_url":"https://github.com/XoopsX/legacy/pull/67.diff","patch_url":"https://github.com/XoopsX/legacy/pull/67.patch","issue_url":"https://api.github.com/repos/XoopsX/legacy/issues/67","number":67,"state":"open","title":"[user] delegate `Legacy.Event.RegistUser.Validate`","user":{"login":"nao-pon","id":1412630,"avatar_url":"https://gravatar.com/avatar/55a34c84b3569ebd4b1d0490e70accf9?d=https%3A%2F%2Fidenticons.github.com%2Fe9941d26c4eba630adca8a735bc5d081.png&r=x","gravatar_id":"55a34c84b3569ebd4b1d0490e70accf9","url":"https://api.github.com/users/nao-pon","html_url":"https://github.com/nao-pon","followers_url":"https://api.github.com/users/nao-pon/followers","following_url":"https://api.github.com/users/nao-pon/following{/other_user}","gists_url":"https://api.github.com/users/nao-pon/gists{/gist_id}","starred_url":"https://api.github.com/users/nao-pon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nao-pon/subscriptions","organizations_url":"https://api.github.com/users/nao-pon/orgs","repos_url":"https://api.github.com/users/nao-pon/repos","events_url":"https://api.github.com/users/nao-pon/events{/privacy}","received_events_url":"https://api.github.com/users/nao-pon/received_events","type":"User","site_admin":false},"body":"[ja] CAPTCHA などのスパム防止機能をプリロードで実現するためのデリゲートポイントです。[/ja]\r\n\r\n- Exsample preload\r\n```php\r\nclass exsample_preload extends XCube_ActionFilter\r\n{\r\n\tfunction postFilter() {\r\n\t\t$this->mRoot->mDelegateManager->add('Legacy.Event.RegistUser.Validate', array(&$this, 'validate'));\r\n\t}\r\n\t\r\n\tfunction validate($actionForm) {\r\n\t\tif ( VALIDATE_FALSE ) {\r\n\t\t\t$actionForm->addErrorMessage( VALIDATE_ERROR_MESSAGE );\r\n\t\t}\r\n\t}\r\n}\r\n```","created_at":"2014-02-07T00:18:04Z","updated_at":"2014-02-07T00:18:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/XoopsX/legacy/pulls/67/commits","review_comments_url":"https://api.github.com/repos/XoopsX/legacy/pulls/67/comments","review_comment_url":"https://api.github.com/repos/XoopsX/legacy/pulls/comments/{number}","comments_url":"https://api.github.com/repos/XoopsX/legacy/issues/67/comments","statuses_url":"https://api.github.com/repos/XoopsX/legacy/statuses/d76d02b74b6aa65f3f0b5b17cb3418cf954b1056","head":{"label":"XoopsX:user_delegate","ref":"user_delegate","sha":"d76d02b74b6aa65f3f0b5b17cb3418cf954b1056","user":{"login":"XoopsX","id":1689512,"avatar_url":"https://gravatar.com/avatar/84a8f5cacc0e0695c227dc3496cdf9fe?d=https%3A%2F%2Fidenticons.github.com%2F5dc01992c4ff15549ca5ae386a239cf4.png&r=x","gravatar_id":"84a8f5cacc0e0695c227dc3496cdf9fe","url":"https://api.github.com/users/XoopsX","html_url":"https://github.com/XoopsX","followers_url":"https://api.github.com/users/XoopsX/followers","following_url":"https://api.github.com/users/XoopsX/following{/other_user}","gists_url":"https://api.github.com/users/XoopsX/gists{/gist_id}","starred_url":"https://api.github.com/users/XoopsX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XoopsX/subscriptions","organizations_url":"https://api.github.com/users/XoopsX/orgs","repos_url":"https://api.github.com/users/XoopsX/repos","events_url":"https://api.github.com/users/XoopsX/events{/privacy}","received_events_url":"https://api.github.com/users/XoopsX/received_events","type":"Organization","site_admin":false},"repo":{"id":4871426,"name":"legacy","full_name":"XoopsX/legacy","owner":{"login":"XoopsX","id":1689512,"avatar_url":"https://gravatar.com/avatar/84a8f5cacc0e0695c227dc3496cdf9fe?d=https%3A%2F%2Fidenticons.github.com%2F5dc01992c4ff15549ca5ae386a239cf4.png&r=x","gravatar_id":"84a8f5cacc0e0695c227dc3496cdf9fe","url":"https://api.github.com/users/XoopsX","html_url":"https://github.com/XoopsX","followers_url":"https://api.github.com/users/XoopsX/followers","following_url":"https://api.github.com/users/XoopsX/following{/other_user}","gists_url":"https://api.github.com/users/XoopsX/gists{/gist_id}","starred_url":"https://api.github.com/users/XoopsX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XoopsX/subscriptions","organizations_url":"https://api.github.com/users/XoopsX/orgs","repos_url":"https://api.github.com/users/XoopsX/repos","events_url":"https://api.github.com/users/XoopsX/events{/privacy}","received_events_url":"https://api.github.com/users/XoopsX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/XoopsX/legacy","description":"XOOPS Cube Legacy base repository","fork":true,"url":"https://api.github.com/repos/XoopsX/legacy","forks_url":"https://api.github.com/repos/XoopsX/legacy/forks","keys_url":"https://api.github.com/repos/XoopsX/legacy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/XoopsX/legacy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/XoopsX/legacy/teams","hooks_url":"https://api.github.com/repos/XoopsX/legacy/hooks","issue_events_url":"https://api.github.com/repos/XoopsX/legacy/issues/events{/number}","events_url":"https://api.github.com/repos/XoopsX/legacy/events","assignees_url":"https://api.github.com/repos/XoopsX/legacy/assignees{/user}","branches_url":"https://api.github.com/repos/XoopsX/legacy/branches{/branch}","tags_url":"https://api.github.com/repos/XoopsX/legacy/tags","blobs_url":"https://api.github.com/repos/XoopsX/legacy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/XoopsX/legacy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/XoopsX/legacy/git/refs{/sha}","trees_url":"https://api.github.com/repos/XoopsX/legacy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/XoopsX/legacy/statuses/{sha}","languages_url":"https://api.github.com/repos/XoopsX/legacy/languages","stargazers_url":"https://api.github.com/repos/XoopsX/legacy/stargazers","contributors_url":"https://api.github.com/repos/XoopsX/legacy/contributors","subscribers_url":"https://api.github.com/repos/XoopsX/legacy/subscribers","subscription_url":"https://api.github.com/repos/XoopsX/legacy/subscription","commits_url":"https://api.github.com/repos/XoopsX/legacy/commits{/sha}","git_commits_url":"https://api.github.com/repos/XoopsX/legacy/git/commits{/sha}","comments_url":"https://api.github.com/repos/XoopsX/legacy/comments{/number}","issue_comment_url":"https://api.github.com/repos/XoopsX/legacy/issues/comments/{number}","contents_url":"https://api.github.com/repos/XoopsX/legacy/contents/{+path}","compare_url":"https://api.github.com/repos/XoopsX/legacy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/XoopsX/legacy/merges","archive_url":"https://api.github.com/repos/XoopsX/legacy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/XoopsX/legacy/downloads","issues_url":"https://api.github.com/repos/XoopsX/legacy/issues{/number}","pulls_url":"https://api.github.com/repos/XoopsX/legacy/pulls{/number}","milestones_url":"https://api.github.com/repos/XoopsX/legacy/milestones{/number}","notifications_url":"https://api.github.com/repos/XoopsX/legacy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/XoopsX/legacy/labels{/name}","releases_url":"https://api.github.com/repos/XoopsX/legacy/releases{/id}","created_at":"2012-07-03T11:29:07Z","updated_at":"2014-02-07T00:18:04Z","pushed_at":"2014-02-07T00:07:53Z","git_url":"git://github.com/XoopsX/legacy.git","ssh_url":"git@github.com:XoopsX/legacy.git","clone_url":"https://github.com/XoopsX/legacy.git","svn_url":"https://github.com/XoopsX/legacy","homepage":null,"size":58140,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":7,"mirror_url":null,"open_issues_count":13,"forks":7,"open_issues":13,"watchers":10,"default_branch":"CorePack","master_branch":"CorePack"}},"base":{"label":"XoopsX:CorePack","ref":"CorePack","sha":"53619db076cdc7b34e47790775cbc6db35786199","user":{"login":"XoopsX","id":1689512,"avatar_url":"https://gravatar.com/avatar/84a8f5cacc0e0695c227dc3496cdf9fe?d=https%3A%2F%2Fidenticons.github.com%2F5dc01992c4ff15549ca5ae386a239cf4.png&r=x","gravatar_id":"84a8f5cacc0e0695c227dc3496cdf9fe","url":"https://api.github.com/users/XoopsX","html_url":"https://github.com/XoopsX","followers_url":"https://api.github.com/users/XoopsX/followers","following_url":"https://api.github.com/users/XoopsX/following{/other_user}","gists_url":"https://api.github.com/users/XoopsX/gists{/gist_id}","starred_url":"https://api.github.com/users/XoopsX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XoopsX/subscriptions","organizations_url":"https://api.github.com/users/XoopsX/orgs","repos_url":"https://api.github.com/users/XoopsX/repos","events_url":"https://api.github.com/users/XoopsX/events{/privacy}","received_events_url":"https://api.github.com/users/XoopsX/received_events","type":"Organization","site_admin":false},"repo":{"id":4871426,"name":"legacy","full_name":"XoopsX/legacy","owner":{"login":"XoopsX","id":1689512,"avatar_url":"https://gravatar.com/avatar/84a8f5cacc0e0695c227dc3496cdf9fe?d=https%3A%2F%2Fidenticons.github.com%2F5dc01992c4ff15549ca5ae386a239cf4.png&r=x","gravatar_id":"84a8f5cacc0e0695c227dc3496cdf9fe","url":"https://api.github.com/users/XoopsX","html_url":"https://github.com/XoopsX","followers_url":"https://api.github.com/users/XoopsX/followers","following_url":"https://api.github.com/users/XoopsX/following{/other_user}","gists_url":"https://api.github.com/users/XoopsX/gists{/gist_id}","starred_url":"https://api.github.com/users/XoopsX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XoopsX/subscriptions","organizations_url":"https://api.github.com/users/XoopsX/orgs","repos_url":"https://api.github.com/users/XoopsX/repos","events_url":"https://api.github.com/users/XoopsX/events{/privacy}","received_events_url":"https://api.github.com/users/XoopsX/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/XoopsX/legacy","description":"XOOPS Cube Legacy base repository","fork":true,"url":"https://api.github.com/repos/XoopsX/legacy","forks_url":"https://api.github.com/repos/XoopsX/legacy/forks","keys_url":"https://api.github.com/repos/XoopsX/legacy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/XoopsX/legacy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/XoopsX/legacy/teams","hooks_url":"https://api.github.com/repos/XoopsX/legacy/hooks","issue_events_url":"https://api.github.com/repos/XoopsX/legacy/issues/events{/number}","events_url":"https://api.github.com/repos/XoopsX/legacy/events","assignees_url":"https://api.github.com/repos/XoopsX/legacy/assignees{/user}","branches_url":"https://api.github.com/repos/XoopsX/legacy/branches{/branch}","tags_url":"https://api.github.com/repos/XoopsX/legacy/tags","blobs_url":"https://api.github.com/repos/XoopsX/legacy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/XoopsX/legacy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/XoopsX/legacy/git/refs{/sha}","trees_url":"https://api.github.com/repos/XoopsX/legacy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/XoopsX/legacy/statuses/{sha}","languages_url":"https://api.github.com/repos/XoopsX/legacy/languages","stargazers_url":"https://api.github.com/repos/XoopsX/legacy/stargazers","contributors_url":"https://api.github.com/repos/XoopsX/legacy/contributors","subscribers_url":"https://api.github.com/repos/XoopsX/legacy/subscribers","subscription_url":"https://api.github.com/repos/XoopsX/legacy/subscription","commits_url":"https://api.github.com/repos/XoopsX/legacy/commits{/sha}","git_commits_url":"https://api.github.com/repos/XoopsX/legacy/git/commits{/sha}","comments_url":"https://api.github.com/repos/XoopsX/legacy/comments{/number}","issue_comment_url":"https://api.github.com/repos/XoopsX/legacy/issues/comments/{number}","contents_url":"https://api.github.com/repos/XoopsX/legacy/contents/{+path}","compare_url":"https://api.github.com/repos/XoopsX/legacy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/XoopsX/legacy/merges","archive_url":"https://api.github.com/repos/XoopsX/legacy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/XoopsX/legacy/downloads","issues_url":"https://api.github.com/repos/XoopsX/legacy/issues{/number}","pulls_url":"https://api.github.com/repos/XoopsX/legacy/pulls{/number}","milestones_url":"https://api.github.com/repos/XoopsX/legacy/milestones{/number}","notifications_url":"https://api.github.com/repos/XoopsX/legacy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/XoopsX/legacy/labels{/name}","releases_url":"https://api.github.com/repos/XoopsX/legacy/releases{/id}","created_at":"2012-07-03T11:29:07Z","updated_at":"2014-02-07T00:18:04Z","pushed_at":"2014-02-07T00:07:53Z","git_url":"git://github.com/XoopsX/legacy.git","ssh_url":"git@github.com:XoopsX/legacy.git","clone_url":"https://github.com/XoopsX/legacy.git","svn_url":"https://github.com/XoopsX/legacy","homepage":null,"size":58140,"stargazers_count":10,"watchers_count":10,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":7,"mirror_url":null,"open_issues_count":13,"forks":7,"open_issues":13,"watchers":10,"default_branch":"CorePack","master_branch":"CorePack"}},"_links":{"self":{"href":"https://api.github.com/repos/XoopsX/legacy/pulls/67"},"html":{"href":"https://github.com/XoopsX/legacy/pull/67"},"issue":{"href":"https://api.github.com/repos/XoopsX/legacy/issues/67"},"comments":{"href":"https://api.github.com/repos/XoopsX/legacy/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/XoopsX/legacy/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/XoopsX/legacy/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/XoopsX/legacy/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/XoopsX/legacy/statuses/d76d02b74b6aa65f3f0b5b17cb3418cf954b1056"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}