{"action":"created","comment":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/comments/45364882","id":45364882,"diff_hunk":"@@ -111,14 +110,12 @@ public function afterAction($action, $result)\n     }\n \n     /**\n-     * Returns a value indicating whether the filter is active for the given action.\n-     * @param Action $action the action being filtered\n-     * @return boolean whether the filter is active for the given action.\n+     * Returns an $action ID, convert action uniqueId into an ID relative to the module\n+     * @param Action $action\n+     * @return string\n      */\n-    protected function isActive($action)\n-    {\n+    protected function getActionId($action) {","path":"framework/base/ActionFilter.php","position":21,"original_position":21,"commit_id":"96052c0d4aafdd3cc0e2bf7c225716ece43262f0","original_commit_id":"96052c0d4aafdd3cc0e2bf7c225716ece43262f0","user":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"body":"It's a good idea to add `@since 2.0.7`.","created_at":"2015-11-19T16:38:01Z","updated_at":"2015-11-19T16:38:01Z","html_url":"https://github.com/yiisoft/yii2/pull/10188#discussion_r45364882","pull_request_url":"https://api.github.com/repos/yiisoft/yii2/pulls/10188","_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/comments/45364882"},"html":{"href":"https://github.com/yiisoft/yii2/pull/10188#discussion_r45364882"},"pull_request":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/10188"}}},"pull_request":{"url":"https://api.github.com/repos/yiisoft/yii2/pulls/10188","id":51145750,"html_url":"https://github.com/yiisoft/yii2/pull/10188","diff_url":"https://github.com/yiisoft/yii2/pull/10188.diff","patch_url":"https://github.com/yiisoft/yii2/pull/10188.patch","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/10188","number":10188,"state":"open","locked":false,"title":"Enh #7405: Added `yii\\filters\\auth\\AuthMetod::optional` property","user":{"login":"SilverFire","id":4499203,"avatar_url":"https://avatars.githubusercontent.com/u/4499203?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverFire","html_url":"https://github.com/SilverFire","followers_url":"https://api.github.com/users/SilverFire/followers","following_url":"https://api.github.com/users/SilverFire/following{/other_user}","gists_url":"https://api.github.com/users/SilverFire/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverFire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverFire/subscriptions","organizations_url":"https://api.github.com/users/SilverFire/orgs","repos_url":"https://api.github.com/users/SilverFire/repos","events_url":"https://api.github.com/users/SilverFire/events{/privacy}","received_events_url":"https://api.github.com/users/SilverFire/received_events","type":"User","site_admin":false},"body":"Closes #7405\r\n\r\n - [x] Code\r\n - [x] Tests\r\n - [x] Changelog\r\n - [ ] Code review\r\n - [ ] Guide","created_at":"2015-11-18T21:35:53Z","updated_at":"2015-11-19T16:38:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"358051bbc0a650821de93be82f682c3d041e8fa9","assignee":{"login":"SilverFire","id":4499203,"avatar_url":"https://avatars.githubusercontent.com/u/4499203?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverFire","html_url":"https://github.com/SilverFire","followers_url":"https://api.github.com/users/SilverFire/followers","following_url":"https://api.github.com/users/SilverFire/following{/other_user}","gists_url":"https://api.github.com/users/SilverFire/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverFire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverFire/subscriptions","organizations_url":"https://api.github.com/users/SilverFire/orgs","repos_url":"https://api.github.com/users/SilverFire/repos","events_url":"https://api.github.com/users/SilverFire/events{/privacy}","received_events_url":"https://api.github.com/users/SilverFire/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/yiisoft/yii2/milestones/14","html_url":"https://github.com/yiisoft/yii2/milestones/2.0.7","labels_url":"https://api.github.com/repos/yiisoft/yii2/milestones/14/labels","id":1107394,"number":14,"title":"2.0.7","description":"","creator":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"open_issues":97,"closed_issues":160,"state":"open","created_at":"2015-05-12T19:21:21Z","updated_at":"2015-11-19T16:33:45Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/yiisoft/yii2/pulls/10188/commits","review_comments_url":"https://api.github.com/repos/yiisoft/yii2/pulls/10188/comments","review_comment_url":"https://api.github.com/repos/yiisoft/yii2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/10188/comments","statuses_url":"https://api.github.com/repos/yiisoft/yii2/statuses/96052c0d4aafdd3cc0e2bf7c225716ece43262f0","head":{"label":"SilverFire:7405-rest-filter","ref":"7405-rest-filter","sha":"96052c0d4aafdd3cc0e2bf7c225716ece43262f0","user":{"login":"SilverFire","id":4499203,"avatar_url":"https://avatars.githubusercontent.com/u/4499203?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverFire","html_url":"https://github.com/SilverFire","followers_url":"https://api.github.com/users/SilverFire/followers","following_url":"https://api.github.com/users/SilverFire/following{/other_user}","gists_url":"https://api.github.com/users/SilverFire/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverFire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverFire/subscriptions","organizations_url":"https://api.github.com/users/SilverFire/orgs","repos_url":"https://api.github.com/users/SilverFire/repos","events_url":"https://api.github.com/users/SilverFire/events{/privacy}","received_events_url":"https://api.github.com/users/SilverFire/received_events","type":"User","site_admin":false},"repo":{"id":31335145,"name":"yii2","full_name":"SilverFire/yii2","owner":{"login":"SilverFire","id":4499203,"avatar_url":"https://avatars.githubusercontent.com/u/4499203?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverFire","html_url":"https://github.com/SilverFire","followers_url":"https://api.github.com/users/SilverFire/followers","following_url":"https://api.github.com/users/SilverFire/following{/other_user}","gists_url":"https://api.github.com/users/SilverFire/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverFire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverFire/subscriptions","organizations_url":"https://api.github.com/users/SilverFire/orgs","repos_url":"https://api.github.com/users/SilverFire/repos","events_url":"https://api.github.com/users/SilverFire/events{/privacy}","received_events_url":"https://api.github.com/users/SilverFire/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SilverFire/yii2","description":"Yii 2 framework main development repo","fork":true,"url":"https://api.github.com/repos/SilverFire/yii2","forks_url":"https://api.github.com/repos/SilverFire/yii2/forks","keys_url":"https://api.github.com/repos/SilverFire/yii2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SilverFire/yii2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SilverFire/yii2/teams","hooks_url":"https://api.github.com/repos/SilverFire/yii2/hooks","issue_events_url":"https://api.github.com/repos/SilverFire/yii2/issues/events{/number}","events_url":"https://api.github.com/repos/SilverFire/yii2/events","assignees_url":"https://api.github.com/repos/SilverFire/yii2/assignees{/user}","branches_url":"https://api.github.com/repos/SilverFire/yii2/branches{/branch}","tags_url":"https://api.github.com/repos/SilverFire/yii2/tags","blobs_url":"https://api.github.com/repos/SilverFire/yii2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SilverFire/yii2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SilverFire/yii2/git/refs{/sha}","trees_url":"https://api.github.com/repos/SilverFire/yii2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SilverFire/yii2/statuses/{sha}","languages_url":"https://api.github.com/repos/SilverFire/yii2/languages","stargazers_url":"https://api.github.com/repos/SilverFire/yii2/stargazers","contributors_url":"https://api.github.com/repos/SilverFire/yii2/contributors","subscribers_url":"https://api.github.com/repos/SilverFire/yii2/subscribers","subscription_url":"https://api.github.com/repos/SilverFire/yii2/subscription","commits_url":"https://api.github.com/repos/SilverFire/yii2/commits{/sha}","git_commits_url":"https://api.github.com/repos/SilverFire/yii2/git/commits{/sha}","comments_url":"https://api.github.com/repos/SilverFire/yii2/comments{/number}","issue_comment_url":"https://api.github.com/repos/SilverFire/yii2/issues/comments{/number}","contents_url":"https://api.github.com/repos/SilverFire/yii2/contents/{+path}","compare_url":"https://api.github.com/repos/SilverFire/yii2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SilverFire/yii2/merges","archive_url":"https://api.github.com/repos/SilverFire/yii2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SilverFire/yii2/downloads","issues_url":"https://api.github.com/repos/SilverFire/yii2/issues{/number}","pulls_url":"https://api.github.com/repos/SilverFire/yii2/pulls{/number}","milestones_url":"https://api.github.com/repos/SilverFire/yii2/milestones{/number}","notifications_url":"https://api.github.com/repos/SilverFire/yii2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SilverFire/yii2/labels{/name}","releases_url":"https://api.github.com/repos/SilverFire/yii2/releases{/id}","created_at":"2015-02-25T20:50:16Z","updated_at":"2015-02-25T20:50:19Z","pushed_at":"2015-11-19T16:25:25Z","git_url":"git://github.com/SilverFire/yii2.git","ssh_url":"git@github.com:SilverFire/yii2.git","clone_url":"https://github.com/SilverFire/yii2.git","svn_url":"https://github.com/SilverFire/yii2","homepage":"http://www.yiiframework.com","size":43743,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yiisoft:master","ref":"master","sha":"9d79038485ea4ca79a6137b3d09bb271bc97c9d4","user":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"repo":{"id":3431193,"name":"yii2","full_name":"yiisoft/yii2","owner":{"login":"yiisoft","id":993323,"avatar_url":"https://avatars.githubusercontent.com/u/993323?v=3","gravatar_id":"","url":"https://api.github.com/users/yiisoft","html_url":"https://github.com/yiisoft","followers_url":"https://api.github.com/users/yiisoft/followers","following_url":"https://api.github.com/users/yiisoft/following{/other_user}","gists_url":"https://api.github.com/users/yiisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/yiisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yiisoft/subscriptions","organizations_url":"https://api.github.com/users/yiisoft/orgs","repos_url":"https://api.github.com/users/yiisoft/repos","events_url":"https://api.github.com/users/yiisoft/events{/privacy}","received_events_url":"https://api.github.com/users/yiisoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yiisoft/yii2","description":"Yii 2 framework main development repo","fork":false,"url":"https://api.github.com/repos/yiisoft/yii2","forks_url":"https://api.github.com/repos/yiisoft/yii2/forks","keys_url":"https://api.github.com/repos/yiisoft/yii2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yiisoft/yii2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yiisoft/yii2/teams","hooks_url":"https://api.github.com/repos/yiisoft/yii2/hooks","issue_events_url":"https://api.github.com/repos/yiisoft/yii2/issues/events{/number}","events_url":"https://api.github.com/repos/yiisoft/yii2/events","assignees_url":"https://api.github.com/repos/yiisoft/yii2/assignees{/user}","branches_url":"https://api.github.com/repos/yiisoft/yii2/branches{/branch}","tags_url":"https://api.github.com/repos/yiisoft/yii2/tags","blobs_url":"https://api.github.com/repos/yiisoft/yii2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yiisoft/yii2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yiisoft/yii2/git/refs{/sha}","trees_url":"https://api.github.com/repos/yiisoft/yii2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yiisoft/yii2/statuses/{sha}","languages_url":"https://api.github.com/repos/yiisoft/yii2/languages","stargazers_url":"https://api.github.com/repos/yiisoft/yii2/stargazers","contributors_url":"https://api.github.com/repos/yiisoft/yii2/contributors","subscribers_url":"https://api.github.com/repos/yiisoft/yii2/subscribers","subscription_url":"https://api.github.com/repos/yiisoft/yii2/subscription","commits_url":"https://api.github.com/repos/yiisoft/yii2/commits{/sha}","git_commits_url":"https://api.github.com/repos/yiisoft/yii2/git/commits{/sha}","comments_url":"https://api.github.com/repos/yiisoft/yii2/comments{/number}","issue_comment_url":"https://api.github.com/repos/yiisoft/yii2/issues/comments{/number}","contents_url":"https://api.github.com/repos/yiisoft/yii2/contents/{+path}","compare_url":"https://api.github.com/repos/yiisoft/yii2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yiisoft/yii2/merges","archive_url":"https://api.github.com/repos/yiisoft/yii2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yiisoft/yii2/downloads","issues_url":"https://api.github.com/repos/yiisoft/yii2/issues{/number}","pulls_url":"https://api.github.com/repos/yiisoft/yii2/pulls{/number}","milestones_url":"https://api.github.com/repos/yiisoft/yii2/milestones{/number}","notifications_url":"https://api.github.com/repos/yiisoft/yii2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yiisoft/yii2/labels{/name}","releases_url":"https://api.github.com/repos/yiisoft/yii2/releases{/id}","created_at":"2012-02-13T15:32:36Z","updated_at":"2015-11-19T15:54:21Z","pushed_at":"2015-11-19T16:25:28Z","git_url":"git://github.com/yiisoft/yii2.git","ssh_url":"git@github.com:yiisoft/yii2.git","clone_url":"https://github.com/yiisoft/yii2.git","svn_url":"https://github.com/yiisoft/yii2","homepage":"http://www.yiiframework.com","size":52782,"stargazers_count":7011,"watchers_count":7011,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4119,"mirror_url":null,"open_issues_count":1069,"forks":4119,"open_issues":1069,"watchers":7011,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/10188"},"html":{"href":"https://github.com/yiisoft/yii2/pull/10188"},"issue":{"href":"https://api.github.com/repos/yiisoft/yii2/issues/10188"},"comments":{"href":"https://api.github.com/repos/yiisoft/yii2/issues/10188/comments"},"review_comments":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/10188/comments"},"review_comment":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yiisoft/yii2/pulls/10188/commits"},"statuses":{"href":"https://api.github.com/repos/yiisoft/yii2/statuses/96052c0d4aafdd3cc0e2bf7c225716ece43262f0"}}}}