{"action":"created","comment":{"url":"https://api.github.com/repos/foam-framework/foam2/pulls/comments/167950006","pull_request_review_id":96240968,"id":167950006,"diff_hunk":"@@ -10,7 +16,12 @@\n import foam.nanos.auth.AuthService;\n import foam.nanos.auth.User;\n import java.security.AccessControlException;\n+\n+import foam.util.SafetyUtil;\n import net.nanopay.model.Account;\n+import org.apache.http.util.TextUtils;","path":"src/foam/nanos/auth/AuthenticatedUserDAO.java","position":17,"original_position":17,"commit_id":"d6b1fa68fc43c3443f5edc3412537bfa491530a8","original_commit_id":"d6b1fa68fc43c3443f5edc3412537bfa491530a8","user":{"login":"adamvy","id":87934,"avatar_url":"https://avatars2.githubusercontent.com/u/87934?v=4","gravatar_id":"","url":"https://api.github.com/users/adamvy","html_url":"https://github.com/adamvy","followers_url":"https://api.github.com/users/adamvy/followers","following_url":"https://api.github.com/users/adamvy/following{/other_user}","gists_url":"https://api.github.com/users/adamvy/gists{/gist_id}","starred_url":"https://api.github.com/users/adamvy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamvy/subscriptions","organizations_url":"https://api.github.com/users/adamvy/orgs","repos_url":"https://api.github.com/users/adamvy/repos","events_url":"https://api.github.com/users/adamvy/events{/privacy}","received_events_url":"https://api.github.com/users/adamvy/received_events","type":"User","site_admin":false},"body":"Are you actually using this import anywhere?","created_at":"2018-02-13T18:01:19Z","updated_at":"2018-02-13T18:01:19Z","html_url":"https://github.com/foam-framework/foam2/pull/1028#discussion_r167950006","pull_request_url":"https://api.github.com/repos/foam-framework/foam2/pulls/1028","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/foam-framework/foam2/pulls/comments/167950006"},"html":{"href":"https://github.com/foam-framework/foam2/pull/1028#discussion_r167950006"},"pull_request":{"href":"https://api.github.com/repos/foam-framework/foam2/pulls/1028"}}},"pull_request":{"url":"https://api.github.com/repos/foam-framework/foam2/pulls/1028","id":168894888,"html_url":"https://github.com/foam-framework/foam2/pull/1028","diff_url":"https://github.com/foam-framework/foam2/pull/1028.diff","patch_url":"https://github.com/foam-framework/foam2/pull/1028.patch","issue_url":"https://api.github.com/repos/foam-framework/foam2/issues/1028","number":1028,"state":"open","locked":false,"title":"AuthenticatedUserDAO","user":{"login":"eatonk","id":4634919,"avatar_url":"https://avatars2.githubusercontent.com/u/4634919?v=4","gravatar_id":"","url":"https://api.github.com/users/eatonk","html_url":"https://github.com/eatonk","followers_url":"https://api.github.com/users/eatonk/followers","following_url":"https://api.github.com/users/eatonk/following{/other_user}","gists_url":"https://api.github.com/users/eatonk/gists{/gist_id}","starred_url":"https://api.github.com/users/eatonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eatonk/subscriptions","organizations_url":"https://api.github.com/users/eatonk/orgs","repos_url":"https://api.github.com/users/eatonk/repos","events_url":"https://api.github.com/users/eatonk/events{/privacy}","received_events_url":"https://api.github.com/users/eatonk/received_events","type":"User","site_admin":false},"body":"1. Added ServiceProvider class and relationship to User class\r\n2. Implemented AuthenticatedUserDAO","created_at":"2018-02-13T16:37:14Z","updated_at":"2018-02-13T18:01:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25aadde46cf69190a7d002dea42427dc55f4cacc","assignee":null,"assignees":[],"requested_reviewers":[{"login":"kgrgreer","id":7460787,"avatar_url":"https://avatars3.githubusercontent.com/u/7460787?v=4","gravatar_id":"","url":"https://api.github.com/users/kgrgreer","html_url":"https://github.com/kgrgreer","followers_url":"https://api.github.com/users/kgrgreer/followers","following_url":"https://api.github.com/users/kgrgreer/following{/other_user}","gists_url":"https://api.github.com/users/kgrgreer/gists{/gist_id}","starred_url":"https://api.github.com/users/kgrgreer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgrgreer/subscriptions","organizations_url":"https://api.github.com/users/kgrgreer/orgs","repos_url":"https://api.github.com/users/kgrgreer/repos","events_url":"https://api.github.com/users/kgrgreer/events{/privacy}","received_events_url":"https://api.github.com/users/kgrgreer/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/foam-framework/foam2/pulls/1028/commits","review_comments_url":"https://api.github.com/repos/foam-framework/foam2/pulls/1028/comments","review_comment_url":"https://api.github.com/repos/foam-framework/foam2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/foam-framework/foam2/issues/1028/comments","statuses_url":"https://api.github.com/repos/foam-framework/foam2/statuses/d6b1fa68fc43c3443f5edc3412537bfa491530a8","head":{"label":"eatonk:AuthenticatedUserDAO","ref":"AuthenticatedUserDAO","sha":"d6b1fa68fc43c3443f5edc3412537bfa491530a8","user":{"login":"eatonk","id":4634919,"avatar_url":"https://avatars2.githubusercontent.com/u/4634919?v=4","gravatar_id":"","url":"https://api.github.com/users/eatonk","html_url":"https://github.com/eatonk","followers_url":"https://api.github.com/users/eatonk/followers","following_url":"https://api.github.com/users/eatonk/following{/other_user}","gists_url":"https://api.github.com/users/eatonk/gists{/gist_id}","starred_url":"https://api.github.com/users/eatonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eatonk/subscriptions","organizations_url":"https://api.github.com/users/eatonk/orgs","repos_url":"https://api.github.com/users/eatonk/repos","events_url":"https://api.github.com/users/eatonk/events{/privacy}","received_events_url":"https://api.github.com/users/eatonk/received_events","type":"User","site_admin":false},"repo":{"id":104875925,"name":"foam2","full_name":"eatonk/foam2","owner":{"login":"eatonk","id":4634919,"avatar_url":"https://avatars2.githubusercontent.com/u/4634919?v=4","gravatar_id":"","url":"https://api.github.com/users/eatonk","html_url":"https://github.com/eatonk","followers_url":"https://api.github.com/users/eatonk/followers","following_url":"https://api.github.com/users/eatonk/following{/other_user}","gists_url":"https://api.github.com/users/eatonk/gists{/gist_id}","starred_url":"https://api.github.com/users/eatonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eatonk/subscriptions","organizations_url":"https://api.github.com/users/eatonk/orgs","repos_url":"https://api.github.com/users/eatonk/repos","events_url":"https://api.github.com/users/eatonk/events{/privacy}","received_events_url":"https://api.github.com/users/eatonk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/eatonk/foam2","description":"FOAM: Feature-Oriented Active Modeller, Version 2","fork":true,"url":"https://api.github.com/repos/eatonk/foam2","forks_url":"https://api.github.com/repos/eatonk/foam2/forks","keys_url":"https://api.github.com/repos/eatonk/foam2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eatonk/foam2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eatonk/foam2/teams","hooks_url":"https://api.github.com/repos/eatonk/foam2/hooks","issue_events_url":"https://api.github.com/repos/eatonk/foam2/issues/events{/number}","events_url":"https://api.github.com/repos/eatonk/foam2/events","assignees_url":"https://api.github.com/repos/eatonk/foam2/assignees{/user}","branches_url":"https://api.github.com/repos/eatonk/foam2/branches{/branch}","tags_url":"https://api.github.com/repos/eatonk/foam2/tags","blobs_url":"https://api.github.com/repos/eatonk/foam2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eatonk/foam2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eatonk/foam2/git/refs{/sha}","trees_url":"https://api.github.com/repos/eatonk/foam2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eatonk/foam2/statuses/{sha}","languages_url":"https://api.github.com/repos/eatonk/foam2/languages","stargazers_url":"https://api.github.com/repos/eatonk/foam2/stargazers","contributors_url":"https://api.github.com/repos/eatonk/foam2/contributors","subscribers_url":"https://api.github.com/repos/eatonk/foam2/subscribers","subscription_url":"https://api.github.com/repos/eatonk/foam2/subscription","commits_url":"https://api.github.com/repos/eatonk/foam2/commits{/sha}","git_commits_url":"https://api.github.com/repos/eatonk/foam2/git/commits{/sha}","comments_url":"https://api.github.com/repos/eatonk/foam2/comments{/number}","issue_comment_url":"https://api.github.com/repos/eatonk/foam2/issues/comments{/number}","contents_url":"https://api.github.com/repos/eatonk/foam2/contents/{+path}","compare_url":"https://api.github.com/repos/eatonk/foam2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eatonk/foam2/merges","archive_url":"https://api.github.com/repos/eatonk/foam2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eatonk/foam2/downloads","issues_url":"https://api.github.com/repos/eatonk/foam2/issues{/number}","pulls_url":"https://api.github.com/repos/eatonk/foam2/pulls{/number}","milestones_url":"https://api.github.com/repos/eatonk/foam2/milestones{/number}","notifications_url":"https://api.github.com/repos/eatonk/foam2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eatonk/foam2/labels{/name}","releases_url":"https://api.github.com/repos/eatonk/foam2/releases{/id}","deployments_url":"https://api.github.com/repos/eatonk/foam2/deployments","created_at":"2017-09-26T11:25:48Z","updated_at":"2017-09-26T11:25:52Z","pushed_at":"2018-02-13T16:52:57Z","git_url":"git://github.com/eatonk/foam2.git","ssh_url":"git@github.com:eatonk/foam2.git","clone_url":"https://github.com/eatonk/foam2.git","svn_url":"https://github.com/eatonk/foam2","homepage":"","size":15278,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"foam-framework:master","ref":"master","sha":"f1dfe23bd637e6e67b8d0704013eac50e7ffcaba","user":{"login":"foam-framework","id":7460756,"avatar_url":"https://avatars1.githubusercontent.com/u/7460756?v=4","gravatar_id":"","url":"https://api.github.com/users/foam-framework","html_url":"https://github.com/foam-framework","followers_url":"https://api.github.com/users/foam-framework/followers","following_url":"https://api.github.com/users/foam-framework/following{/other_user}","gists_url":"https://api.github.com/users/foam-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/foam-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foam-framework/subscriptions","organizations_url":"https://api.github.com/users/foam-framework/orgs","repos_url":"https://api.github.com/users/foam-framework/repos","events_url":"https://api.github.com/users/foam-framework/events{/privacy}","received_events_url":"https://api.github.com/users/foam-framework/received_events","type":"Organization","site_admin":false},"repo":{"id":50441060,"name":"foam2","full_name":"foam-framework/foam2","owner":{"login":"foam-framework","id":7460756,"avatar_url":"https://avatars1.githubusercontent.com/u/7460756?v=4","gravatar_id":"","url":"https://api.github.com/users/foam-framework","html_url":"https://github.com/foam-framework","followers_url":"https://api.github.com/users/foam-framework/followers","following_url":"https://api.github.com/users/foam-framework/following{/other_user}","gists_url":"https://api.github.com/users/foam-framework/gists{/gist_id}","starred_url":"https://api.github.com/users/foam-framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foam-framework/subscriptions","organizations_url":"https://api.github.com/users/foam-framework/orgs","repos_url":"https://api.github.com/users/foam-framework/repos","events_url":"https://api.github.com/users/foam-framework/events{/privacy}","received_events_url":"https://api.github.com/users/foam-framework/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/foam-framework/foam2","description":"FOAM: Feature-Oriented Active Modeller, Version 2","fork":false,"url":"https://api.github.com/repos/foam-framework/foam2","forks_url":"https://api.github.com/repos/foam-framework/foam2/forks","keys_url":"https://api.github.com/repos/foam-framework/foam2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/foam-framework/foam2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/foam-framework/foam2/teams","hooks_url":"https://api.github.com/repos/foam-framework/foam2/hooks","issue_events_url":"https://api.github.com/repos/foam-framework/foam2/issues/events{/number}","events_url":"https://api.github.com/repos/foam-framework/foam2/events","assignees_url":"https://api.github.com/repos/foam-framework/foam2/assignees{/user}","branches_url":"https://api.github.com/repos/foam-framework/foam2/branches{/branch}","tags_url":"https://api.github.com/repos/foam-framework/foam2/tags","blobs_url":"https://api.github.com/repos/foam-framework/foam2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/foam-framework/foam2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/foam-framework/foam2/git/refs{/sha}","trees_url":"https://api.github.com/repos/foam-framework/foam2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/foam-framework/foam2/statuses/{sha}","languages_url":"https://api.github.com/repos/foam-framework/foam2/languages","stargazers_url":"https://api.github.com/repos/foam-framework/foam2/stargazers","contributors_url":"https://api.github.com/repos/foam-framework/foam2/contributors","subscribers_url":"https://api.github.com/repos/foam-framework/foam2/subscribers","subscription_url":"https://api.github.com/repos/foam-framework/foam2/subscription","commits_url":"https://api.github.com/repos/foam-framework/foam2/commits{/sha}","git_commits_url":"https://api.github.com/repos/foam-framework/foam2/git/commits{/sha}","comments_url":"https://api.github.com/repos/foam-framework/foam2/comments{/number}","issue_comment_url":"https://api.github.com/repos/foam-framework/foam2/issues/comments{/number}","contents_url":"https://api.github.com/repos/foam-framework/foam2/contents/{+path}","compare_url":"https://api.github.com/repos/foam-framework/foam2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/foam-framework/foam2/merges","archive_url":"https://api.github.com/repos/foam-framework/foam2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/foam-framework/foam2/downloads","issues_url":"https://api.github.com/repos/foam-framework/foam2/issues{/number}","pulls_url":"https://api.github.com/repos/foam-framework/foam2/pulls{/number}","milestones_url":"https://api.github.com/repos/foam-framework/foam2/milestones{/number}","notifications_url":"https://api.github.com/repos/foam-framework/foam2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/foam-framework/foam2/labels{/name}","releases_url":"https://api.github.com/repos/foam-framework/foam2/releases{/id}","deployments_url":"https://api.github.com/repos/foam-framework/foam2/deployments","created_at":"2016-01-26T16:13:38Z","updated_at":"2018-01-15T11:42:39Z","pushed_at":"2018-02-13T17:23:30Z","git_url":"git://github.com/foam-framework/foam2.git","ssh_url":"git@github.com:foam-framework/foam2.git","clone_url":"https://github.com/foam-framework/foam2.git","svn_url":"https://github.com/foam-framework/foam2","homepage":"","size":15213,"stargazers_count":22,"watchers_count":22,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":31,"mirror_url":null,"archived":false,"open_issues_count":153,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":31,"open_issues":153,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/foam-framework/foam2/pulls/1028"},"html":{"href":"https://github.com/foam-framework/foam2/pull/1028"},"issue":{"href":"https://api.github.com/repos/foam-framework/foam2/issues/1028"},"comments":{"href":"https://api.github.com/repos/foam-framework/foam2/issues/1028/comments"},"review_comments":{"href":"https://api.github.com/repos/foam-framework/foam2/pulls/1028/comments"},"review_comment":{"href":"https://api.github.com/repos/foam-framework/foam2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/foam-framework/foam2/pulls/1028/commits"},"statuses":{"href":"https://api.github.com/repos/foam-framework/foam2/statuses/d6b1fa68fc43c3443f5edc3412537bfa491530a8"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"adamvy"}}