{"action":"created","comment":{"url":"https://api.github.com/repos/aces/Loris/pulls/comments/364304892","pull_request_review_id":339962249,"id":364304892,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2NDMwNDg5Mg==","diff_hunk":"@@ -532,5 +532,32 @@ class User extends UserPermissions\n             (string) $this->userInfo['Password_hash']\n         );\n     }\n+","path":"php/libraries/User.class.inc","position":4,"original_position":4,"commit_id":"c5ffff3c895d6efa52f3cb0f82fc1de9cefcbbd1","original_commit_id":"c5ffff3c895d6efa52f3cb0f82fc1de9cefcbbd1","user":{"login":"johnsaigle","id":4022790,"node_id":"MDQ6VXNlcjQwMjI3OTA=","avatar_url":"https://avatars0.githubusercontent.com/u/4022790?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsaigle","html_url":"https://github.com/johnsaigle","followers_url":"https://api.github.com/users/johnsaigle/followers","following_url":"https://api.github.com/users/johnsaigle/following{/other_user}","gists_url":"https://api.github.com/users/johnsaigle/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsaigle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsaigle/subscriptions","organizations_url":"https://api.github.com/users/johnsaigle/orgs","repos_url":"https://api.github.com/users/johnsaigle/repos","events_url":"https://api.github.com/users/johnsaigle/events{/privacy}","received_events_url":"https://api.github.com/users/johnsaigle/received_events","type":"User","site_admin":false},"body":"Looks good pending Travis. I have a suspicion that one of the static analysis tools won't like the two new lines here but maybe it doesn't matter.","created_at":"2020-01-08T15:56:09Z","updated_at":"2020-01-08T15:56:09Z","html_url":"https://github.com/aces/Loris/pull/5899#discussion_r364304892","pull_request_url":"https://api.github.com/repos/aces/Loris/pulls/5899","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/aces/Loris/pulls/comments/364304892"},"html":{"href":"https://github.com/aces/Loris/pull/5899#discussion_r364304892"},"pull_request":{"href":"https://api.github.com/repos/aces/Loris/pulls/5899"}}},"pull_request":{"url":"https://api.github.com/repos/aces/Loris/pulls/5899","id":360184136,"node_id":"MDExOlB1bGxSZXF1ZXN0MzYwMTg0MTM2","html_url":"https://github.com/aces/Loris/pull/5899","diff_url":"https://github.com/aces/Loris/pull/5899.diff","patch_url":"https://github.com/aces/Loris/pull/5899.patch","issue_url":"https://api.github.com/repos/aces/Loris/issues/5899","number":5899,"state":"open","locked":false,"title":"[Core] Add getLastLogin helper to user class","user":{"login":"driusan","id":498329,"node_id":"MDQ6VXNlcjQ5ODMyOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/498329?v=4","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"body":"This moves the query to get the last user login from the\r\ndashboard code to the User class, where it more accurately\r\nbelongs.\r\n\r\n(This was extracted from #5896 where it was necessary because\r\nmultiple modules use the last login time to determine if something\r\nis new.)","created_at":"2020-01-07T21:38:51Z","updated_at":"2020-01-08T15:56:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a980b22adc553cbe3be511f5c69b4337882f28ec","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1645391745,"node_id":"MDU6TGFiZWwxNjQ1MzkxNzQ1","url":"https://api.github.com/repos/aces/Loris/labels/Blocking","name":"Blocking","color":"000071","default":false,"description":"PR should be prioritized because it is blocking the progress of another task"},{"id":152314516,"node_id":"MDU6TGFiZWwxNTIzMTQ1MTY=","url":"https://api.github.com/repos/aces/Loris/labels/Cleanup","name":"Cleanup","color":"006b75","default":false,"description":"PR or issue introducing/requiring at least one clean-up operation"}],"milestone":null,"commits_url":"https://api.github.com/repos/aces/Loris/pulls/5899/commits","review_comments_url":"https://api.github.com/repos/aces/Loris/pulls/5899/comments","review_comment_url":"https://api.github.com/repos/aces/Loris/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aces/Loris/issues/5899/comments","statuses_url":"https://api.github.com/repos/aces/Loris/statuses/c5ffff3c895d6efa52f3cb0f82fc1de9cefcbbd1","head":{"label":"driusan:UserLastLogin","ref":"UserLastLogin","sha":"c5ffff3c895d6efa52f3cb0f82fc1de9cefcbbd1","user":{"login":"driusan","id":498329,"node_id":"MDQ6VXNlcjQ5ODMyOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/498329?v=4","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"repo":{"id":25378793,"node_id":"MDEwOlJlcG9zaXRvcnkyNTM3ODc5Mw==","name":"Loris","full_name":"driusan/Loris","private":false,"owner":{"login":"driusan","id":498329,"node_id":"MDQ6VXNlcjQ5ODMyOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/498329?v=4","gravatar_id":"","url":"https://api.github.com/users/driusan","html_url":"https://github.com/driusan","followers_url":"https://api.github.com/users/driusan/followers","following_url":"https://api.github.com/users/driusan/following{/other_user}","gists_url":"https://api.github.com/users/driusan/gists{/gist_id}","starred_url":"https://api.github.com/users/driusan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driusan/subscriptions","organizations_url":"https://api.github.com/users/driusan/orgs","repos_url":"https://api.github.com/users/driusan/repos","events_url":"https://api.github.com/users/driusan/events{/privacy}","received_events_url":"https://api.github.com/users/driusan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/driusan/Loris","description":"LORIS (Longitudinal Online Research and Imaging System) is a web-accessible database solution for neuroimaging.","fork":true,"url":"https://api.github.com/repos/driusan/Loris","forks_url":"https://api.github.com/repos/driusan/Loris/forks","keys_url":"https://api.github.com/repos/driusan/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/driusan/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/driusan/Loris/teams","hooks_url":"https://api.github.com/repos/driusan/Loris/hooks","issue_events_url":"https://api.github.com/repos/driusan/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/driusan/Loris/events","assignees_url":"https://api.github.com/repos/driusan/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/driusan/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/driusan/Loris/tags","blobs_url":"https://api.github.com/repos/driusan/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/driusan/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/driusan/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/driusan/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/driusan/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/driusan/Loris/languages","stargazers_url":"https://api.github.com/repos/driusan/Loris/stargazers","contributors_url":"https://api.github.com/repos/driusan/Loris/contributors","subscribers_url":"https://api.github.com/repos/driusan/Loris/subscribers","subscription_url":"https://api.github.com/repos/driusan/Loris/subscription","commits_url":"https://api.github.com/repos/driusan/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/driusan/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/driusan/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/driusan/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/driusan/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/driusan/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/driusan/Loris/merges","archive_url":"https://api.github.com/repos/driusan/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/driusan/Loris/downloads","issues_url":"https://api.github.com/repos/driusan/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/driusan/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/driusan/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/driusan/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/driusan/Loris/labels{/name}","releases_url":"https://api.github.com/repos/driusan/Loris/releases{/id}","deployments_url":"https://api.github.com/repos/driusan/Loris/deployments","created_at":"2014-10-17T21:57:06Z","updated_at":"2018-03-12T18:39:31Z","pushed_at":"2020-01-08T15:54:47Z","git_url":"git://github.com/driusan/Loris.git","ssh_url":"git@github.com:driusan/Loris.git","clone_url":"https://github.com/driusan/Loris.git","svn_url":"https://github.com/driusan/Loris","homepage":"","size":93624,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"aces:master","ref":"master","sha":"8269ee4be8723938d69a11abfb4e3a24e6501996","user":{"login":"aces","id":472868,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3Mjg2OA==","avatar_url":"https://avatars2.githubusercontent.com/u/472868?v=4","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"repo":{"id":1125630,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI1NjMw","name":"Loris","full_name":"aces/Loris","private":false,"owner":{"login":"aces","id":472868,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ3Mjg2OA==","avatar_url":"https://avatars2.githubusercontent.com/u/472868?v=4","gravatar_id":"","url":"https://api.github.com/users/aces","html_url":"https://github.com/aces","followers_url":"https://api.github.com/users/aces/followers","following_url":"https://api.github.com/users/aces/following{/other_user}","gists_url":"https://api.github.com/users/aces/gists{/gist_id}","starred_url":"https://api.github.com/users/aces/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aces/subscriptions","organizations_url":"https://api.github.com/users/aces/orgs","repos_url":"https://api.github.com/users/aces/repos","events_url":"https://api.github.com/users/aces/events{/privacy}","received_events_url":"https://api.github.com/users/aces/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/aces/Loris","description":"LORIS is a web-accessible database solution for longitudinal multi-site studies.","fork":false,"url":"https://api.github.com/repos/aces/Loris","forks_url":"https://api.github.com/repos/aces/Loris/forks","keys_url":"https://api.github.com/repos/aces/Loris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aces/Loris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aces/Loris/teams","hooks_url":"https://api.github.com/repos/aces/Loris/hooks","issue_events_url":"https://api.github.com/repos/aces/Loris/issues/events{/number}","events_url":"https://api.github.com/repos/aces/Loris/events","assignees_url":"https://api.github.com/repos/aces/Loris/assignees{/user}","branches_url":"https://api.github.com/repos/aces/Loris/branches{/branch}","tags_url":"https://api.github.com/repos/aces/Loris/tags","blobs_url":"https://api.github.com/repos/aces/Loris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aces/Loris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aces/Loris/git/refs{/sha}","trees_url":"https://api.github.com/repos/aces/Loris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aces/Loris/statuses/{sha}","languages_url":"https://api.github.com/repos/aces/Loris/languages","stargazers_url":"https://api.github.com/repos/aces/Loris/stargazers","contributors_url":"https://api.github.com/repos/aces/Loris/contributors","subscribers_url":"https://api.github.com/repos/aces/Loris/subscribers","subscription_url":"https://api.github.com/repos/aces/Loris/subscription","commits_url":"https://api.github.com/repos/aces/Loris/commits{/sha}","git_commits_url":"https://api.github.com/repos/aces/Loris/git/commits{/sha}","comments_url":"https://api.github.com/repos/aces/Loris/comments{/number}","issue_comment_url":"https://api.github.com/repos/aces/Loris/issues/comments{/number}","contents_url":"https://api.github.com/repos/aces/Loris/contents/{+path}","compare_url":"https://api.github.com/repos/aces/Loris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aces/Loris/merges","archive_url":"https://api.github.com/repos/aces/Loris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aces/Loris/downloads","issues_url":"https://api.github.com/repos/aces/Loris/issues{/number}","pulls_url":"https://api.github.com/repos/aces/Loris/pulls{/number}","milestones_url":"https://api.github.com/repos/aces/Loris/milestones{/number}","notifications_url":"https://api.github.com/repos/aces/Loris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aces/Loris/labels{/name}","releases_url":"https://api.github.com/repos/aces/Loris/releases{/id}","deployments_url":"https://api.github.com/repos/aces/Loris/deployments","created_at":"2010-11-30T14:57:57Z","updated_at":"2020-01-08T15:51:36Z","pushed_at":"2020-01-08T15:54:50Z","git_url":"git://github.com/aces/Loris.git","ssh_url":"git@github.com:aces/Loris.git","clone_url":"https://github.com/aces/Loris.git","svn_url":"https://github.com/aces/Loris","homepage":"","size":92142,"stargazers_count":79,"watchers_count":79,"language":"TSQL","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":120,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":410,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":120,"open_issues":410,"watchers":79,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/aces/Loris/pulls/5899"},"html":{"href":"https://github.com/aces/Loris/pull/5899"},"issue":{"href":"https://api.github.com/repos/aces/Loris/issues/5899"},"comments":{"href":"https://api.github.com/repos/aces/Loris/issues/5899/comments"},"review_comments":{"href":"https://api.github.com/repos/aces/Loris/pulls/5899/comments"},"review_comment":{"href":"https://api.github.com/repos/aces/Loris/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aces/Loris/pulls/5899/commits"},"statuses":{"href":"https://api.github.com/repos/aces/Loris/statuses/c5ffff3c895d6efa52f3cb0f82fc1de9cefcbbd1"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"johnsaigle"}}