{"action":"created","comment":{"url":"https://api.github.com/repos/flarum/core/pulls/comments/49434824","id":49434824,"diff_hunk":"@@ -36,6 +36,13 @@ class UpdateUserController extends AbstractResourceController\n     protected $bus;\n \n     /**\n+     * The Attributes that can be changed without sudo mode.\n+     *\n+     * @var array\n+     */\n+     protected $noSudoAttributes = ['readtime', 'preferences'];","path":"src/Api/Controller/UpdateUserController.php","position":8,"original_position":8,"commit_id":"4143fd3fc3bbc57b5eb470315c773a998191592f","original_commit_id":"4143fd3fc3bbc57b5eb470315c773a998191592f","user":{"login":"Nitpick-CI","id":12626182,"avatar_url":"https://avatars.githubusercontent.com/u/12626182?v=3","gravatar_id":"","url":"https://api.github.com/users/Nitpick-CI","html_url":"https://github.com/Nitpick-CI","followers_url":"https://api.github.com/users/Nitpick-CI/followers","following_url":"https://api.github.com/users/Nitpick-CI/following{/other_user}","gists_url":"https://api.github.com/users/Nitpick-CI/gists{/gist_id}","starred_url":"https://api.github.com/users/Nitpick-CI/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nitpick-CI/subscriptions","organizations_url":"https://api.github.com/users/Nitpick-CI/orgs","repos_url":"https://api.github.com/users/Nitpick-CI/repos","events_url":"https://api.github.com/users/Nitpick-CI/events{/privacy}","received_events_url":"https://api.github.com/users/Nitpick-CI/received_events","type":"User","site_admin":false},"body":"Line indented incorrectly; expected 4 spaces, found 5","created_at":"2016-01-12T10:10:00Z","updated_at":"2016-01-12T10:10:00Z","html_url":"https://github.com/flarum/core/pull/738#discussion_r49434824","pull_request_url":"https://api.github.com/repos/flarum/core/pulls/738","_links":{"self":{"href":"https://api.github.com/repos/flarum/core/pulls/comments/49434824"},"html":{"href":"https://github.com/flarum/core/pull/738#discussion_r49434824"},"pull_request":{"href":"https://api.github.com/repos/flarum/core/pulls/738"}}},"pull_request":{"url":"https://api.github.com/repos/flarum/core/pulls/738","id":55736831,"html_url":"https://github.com/flarum/core/pull/738","diff_url":"https://github.com/flarum/core/pull/738.diff","patch_url":"https://github.com/flarum/core/pull/738.patch","issue_url":"https://api.github.com/repos/flarum/core/issues/738","number":738,"state":"open","locked":false,"title":"Ask before mark all as read","user":{"login":"sijad","id":7693001,"avatar_url":"https://avatars.githubusercontent.com/u/7693001?v=3","gravatar_id":"","url":"https://api.github.com/users/sijad","html_url":"https://github.com/sijad","followers_url":"https://api.github.com/users/sijad/followers","following_url":"https://api.github.com/users/sijad/following{/other_user}","gists_url":"https://api.github.com/users/sijad/gists{/gist_id}","starred_url":"https://api.github.com/users/sijad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sijad/subscriptions","organizations_url":"https://api.github.com/users/sijad/orgs","repos_url":"https://api.github.com/users/sijad/repos","events_url":"https://api.github.com/users/sijad/events{/privacy}","received_events_url":"https://api.github.com/users/sijad/received_events","type":"User","site_admin":false},"body":"need to flarum/flarum-ext-english#61 be merged","created_at":"2016-01-12T10:09:58Z","updated_at":"2016-01-12T10:10:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4e566269dfff1f9f582c0559500c394eb5ec8b1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/flarum/core/pulls/738/commits","review_comments_url":"https://api.github.com/repos/flarum/core/pulls/738/comments","review_comment_url":"https://api.github.com/repos/flarum/core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flarum/core/issues/738/comments","statuses_url":"https://api.github.com/repos/flarum/core/statuses/4143fd3fc3bbc57b5eb470315c773a998191592f","head":{"label":"sijad:ask-to-mark-all-read","ref":"ask-to-mark-all-read","sha":"4143fd3fc3bbc57b5eb470315c773a998191592f","user":{"login":"sijad","id":7693001,"avatar_url":"https://avatars.githubusercontent.com/u/7693001?v=3","gravatar_id":"","url":"https://api.github.com/users/sijad","html_url":"https://github.com/sijad","followers_url":"https://api.github.com/users/sijad/followers","following_url":"https://api.github.com/users/sijad/following{/other_user}","gists_url":"https://api.github.com/users/sijad/gists{/gist_id}","starred_url":"https://api.github.com/users/sijad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sijad/subscriptions","organizations_url":"https://api.github.com/users/sijad/orgs","repos_url":"https://api.github.com/users/sijad/repos","events_url":"https://api.github.com/users/sijad/events{/privacy}","received_events_url":"https://api.github.com/users/sijad/received_events","type":"User","site_admin":false},"repo":{"id":49415986,"name":"core","full_name":"sijad/core","owner":{"login":"sijad","id":7693001,"avatar_url":"https://avatars.githubusercontent.com/u/7693001?v=3","gravatar_id":"","url":"https://api.github.com/users/sijad","html_url":"https://github.com/sijad","followers_url":"https://api.github.com/users/sijad/followers","following_url":"https://api.github.com/users/sijad/following{/other_user}","gists_url":"https://api.github.com/users/sijad/gists{/gist_id}","starred_url":"https://api.github.com/users/sijad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sijad/subscriptions","organizations_url":"https://api.github.com/users/sijad/orgs","repos_url":"https://api.github.com/users/sijad/repos","events_url":"https://api.github.com/users/sijad/events{/privacy}","received_events_url":"https://api.github.com/users/sijad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sijad/core","description":"","fork":true,"url":"https://api.github.com/repos/sijad/core","forks_url":"https://api.github.com/repos/sijad/core/forks","keys_url":"https://api.github.com/repos/sijad/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sijad/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sijad/core/teams","hooks_url":"https://api.github.com/repos/sijad/core/hooks","issue_events_url":"https://api.github.com/repos/sijad/core/issues/events{/number}","events_url":"https://api.github.com/repos/sijad/core/events","assignees_url":"https://api.github.com/repos/sijad/core/assignees{/user}","branches_url":"https://api.github.com/repos/sijad/core/branches{/branch}","tags_url":"https://api.github.com/repos/sijad/core/tags","blobs_url":"https://api.github.com/repos/sijad/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sijad/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sijad/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/sijad/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sijad/core/statuses/{sha}","languages_url":"https://api.github.com/repos/sijad/core/languages","stargazers_url":"https://api.github.com/repos/sijad/core/stargazers","contributors_url":"https://api.github.com/repos/sijad/core/contributors","subscribers_url":"https://api.github.com/repos/sijad/core/subscribers","subscription_url":"https://api.github.com/repos/sijad/core/subscription","commits_url":"https://api.github.com/repos/sijad/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/sijad/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/sijad/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/sijad/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/sijad/core/contents/{+path}","compare_url":"https://api.github.com/repos/sijad/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sijad/core/merges","archive_url":"https://api.github.com/repos/sijad/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sijad/core/downloads","issues_url":"https://api.github.com/repos/sijad/core/issues{/number}","pulls_url":"https://api.github.com/repos/sijad/core/pulls{/number}","milestones_url":"https://api.github.com/repos/sijad/core/milestones{/number}","notifications_url":"https://api.github.com/repos/sijad/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sijad/core/labels{/name}","releases_url":"https://api.github.com/repos/sijad/core/releases{/id}","created_at":"2016-01-11T09:35:13Z","updated_at":"2016-01-11T09:35:15Z","pushed_at":"2016-01-12T09:57:57Z","git_url":"git://github.com/sijad/core.git","ssh_url":"git@github.com:sijad/core.git","clone_url":"https://github.com/sijad/core.git","svn_url":"https://github.com/sijad/core","homepage":"","size":4791,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"flarum:master","ref":"master","sha":"1e33ca41113f7ffd7be09c73174076d96083e055","user":{"login":"flarum","id":5549034,"avatar_url":"https://avatars.githubusercontent.com/u/5549034?v=3","gravatar_id":"","url":"https://api.github.com/users/flarum","html_url":"https://github.com/flarum","followers_url":"https://api.github.com/users/flarum/followers","following_url":"https://api.github.com/users/flarum/following{/other_user}","gists_url":"https://api.github.com/users/flarum/gists{/gist_id}","starred_url":"https://api.github.com/users/flarum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flarum/subscriptions","organizations_url":"https://api.github.com/users/flarum/orgs","repos_url":"https://api.github.com/users/flarum/repos","events_url":"https://api.github.com/users/flarum/events{/privacy}","received_events_url":"https://api.github.com/users/flarum/received_events","type":"Organization","site_admin":false},"repo":{"id":28257573,"name":"core","full_name":"flarum/core","owner":{"login":"flarum","id":5549034,"avatar_url":"https://avatars.githubusercontent.com/u/5549034?v=3","gravatar_id":"","url":"https://api.github.com/users/flarum","html_url":"https://github.com/flarum","followers_url":"https://api.github.com/users/flarum/followers","following_url":"https://api.github.com/users/flarum/following{/other_user}","gists_url":"https://api.github.com/users/flarum/gists{/gist_id}","starred_url":"https://api.github.com/users/flarum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flarum/subscriptions","organizations_url":"https://api.github.com/users/flarum/orgs","repos_url":"https://api.github.com/users/flarum/repos","events_url":"https://api.github.com/users/flarum/events{/privacy}","received_events_url":"https://api.github.com/users/flarum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/flarum/core","description":"","fork":false,"url":"https://api.github.com/repos/flarum/core","forks_url":"https://api.github.com/repos/flarum/core/forks","keys_url":"https://api.github.com/repos/flarum/core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flarum/core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flarum/core/teams","hooks_url":"https://api.github.com/repos/flarum/core/hooks","issue_events_url":"https://api.github.com/repos/flarum/core/issues/events{/number}","events_url":"https://api.github.com/repos/flarum/core/events","assignees_url":"https://api.github.com/repos/flarum/core/assignees{/user}","branches_url":"https://api.github.com/repos/flarum/core/branches{/branch}","tags_url":"https://api.github.com/repos/flarum/core/tags","blobs_url":"https://api.github.com/repos/flarum/core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flarum/core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flarum/core/git/refs{/sha}","trees_url":"https://api.github.com/repos/flarum/core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flarum/core/statuses/{sha}","languages_url":"https://api.github.com/repos/flarum/core/languages","stargazers_url":"https://api.github.com/repos/flarum/core/stargazers","contributors_url":"https://api.github.com/repos/flarum/core/contributors","subscribers_url":"https://api.github.com/repos/flarum/core/subscribers","subscription_url":"https://api.github.com/repos/flarum/core/subscription","commits_url":"https://api.github.com/repos/flarum/core/commits{/sha}","git_commits_url":"https://api.github.com/repos/flarum/core/git/commits{/sha}","comments_url":"https://api.github.com/repos/flarum/core/comments{/number}","issue_comment_url":"https://api.github.com/repos/flarum/core/issues/comments{/number}","contents_url":"https://api.github.com/repos/flarum/core/contents/{+path}","compare_url":"https://api.github.com/repos/flarum/core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flarum/core/merges","archive_url":"https://api.github.com/repos/flarum/core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flarum/core/downloads","issues_url":"https://api.github.com/repos/flarum/core/issues{/number}","pulls_url":"https://api.github.com/repos/flarum/core/pulls{/number}","milestones_url":"https://api.github.com/repos/flarum/core/milestones{/number}","notifications_url":"https://api.github.com/repos/flarum/core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flarum/core/labels{/name}","releases_url":"https://api.github.com/repos/flarum/core/releases{/id}","created_at":"2014-12-20T05:12:03Z","updated_at":"2016-01-12T06:20:57Z","pushed_at":"2016-01-12T10:09:59Z","git_url":"git://github.com/flarum/core.git","ssh_url":"git@github.com:flarum/core.git","clone_url":"https://github.com/flarum/core.git","svn_url":"https://github.com/flarum/core","homepage":"","size":5585,"stargazers_count":2490,"watchers_count":2490,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":221,"mirror_url":null,"open_issues_count":196,"forks":221,"open_issues":196,"watchers":2490,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flarum/core/pulls/738"},"html":{"href":"https://github.com/flarum/core/pull/738"},"issue":{"href":"https://api.github.com/repos/flarum/core/issues/738"},"comments":{"href":"https://api.github.com/repos/flarum/core/issues/738/comments"},"review_comments":{"href":"https://api.github.com/repos/flarum/core/pulls/738/comments"},"review_comment":{"href":"https://api.github.com/repos/flarum/core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flarum/core/pulls/738/commits"},"statuses":{"href":"https://api.github.com/repos/flarum/core/statuses/4143fd3fc3bbc57b5eb470315c773a998191592f"}}}}