{"action":"opened","number":142,"pull_request":{"url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/pulls/142","id":233342844,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzMzQyODQ0","html_url":"https://github.com/CMPUT301F18T07/TheIrisProject/pull/142","diff_url":"https://github.com/CMPUT301F18T07/TheIrisProject/pull/142.diff","patch_url":"https://github.com/CMPUT301F18T07/TheIrisProject/pull/142.patch","issue_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/issues/142","number":142,"state":"open","locked":false,"title":"Login/Register with username instead of email","user":{"login":"Jmmxp","id":11599574,"node_id":"MDQ6VXNlcjExNTk5NTc0","avatar_url":"https://avatars0.githubusercontent.com/u/11599574?v=4","gravatar_id":"","url":"https://api.github.com/users/Jmmxp","html_url":"https://github.com/Jmmxp","followers_url":"https://api.github.com/users/Jmmxp/followers","following_url":"https://api.github.com/users/Jmmxp/following{/other_user}","gists_url":"https://api.github.com/users/Jmmxp/gists{/gist_id}","starred_url":"https://api.github.com/users/Jmmxp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jmmxp/subscriptions","organizations_url":"https://api.github.com/users/Jmmxp/orgs","repos_url":"https://api.github.com/users/Jmmxp/repos","events_url":"https://api.github.com/users/Jmmxp/events{/privacy}","received_events_url":"https://api.github.com/users/Jmmxp/received_events","type":"User","site_admin":false},"body":"I've refactored the User class' attribute name to username, and now registering, logging in, and adding Patients all take in a username instead of an e-mail. This is to follow the user story requirements.","created_at":"2018-11-24T22:09:40Z","updated_at":"2018-11-24T22:09:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/pulls/142/commits","review_comments_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/pulls/142/comments","review_comment_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/issues/142/comments","statuses_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/statuses/fe391a8509633ea2b2786c8aabd8d17a90bcb5ca","head":{"label":"Jmmxp:email-to-username","ref":"email-to-username","sha":"fe391a8509633ea2b2786c8aabd8d17a90bcb5ca","user":{"login":"Jmmxp","id":11599574,"node_id":"MDQ6VXNlcjExNTk5NTc0","avatar_url":"https://avatars0.githubusercontent.com/u/11599574?v=4","gravatar_id":"","url":"https://api.github.com/users/Jmmxp","html_url":"https://github.com/Jmmxp","followers_url":"https://api.github.com/users/Jmmxp/followers","following_url":"https://api.github.com/users/Jmmxp/following{/other_user}","gists_url":"https://api.github.com/users/Jmmxp/gists{/gist_id}","starred_url":"https://api.github.com/users/Jmmxp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jmmxp/subscriptions","organizations_url":"https://api.github.com/users/Jmmxp/orgs","repos_url":"https://api.github.com/users/Jmmxp/repos","events_url":"https://api.github.com/users/Jmmxp/events{/privacy}","received_events_url":"https://api.github.com/users/Jmmxp/received_events","type":"User","site_admin":false},"repo":{"id":152675647,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI2NzU2NDc=","name":"TheIrisProject","full_name":"Jmmxp/TheIrisProject","private":false,"owner":{"login":"Jmmxp","id":11599574,"node_id":"MDQ6VXNlcjExNTk5NTc0","avatar_url":"https://avatars0.githubusercontent.com/u/11599574?v=4","gravatar_id":"","url":"https://api.github.com/users/Jmmxp","html_url":"https://github.com/Jmmxp","followers_url":"https://api.github.com/users/Jmmxp/followers","following_url":"https://api.github.com/users/Jmmxp/following{/other_user}","gists_url":"https://api.github.com/users/Jmmxp/gists{/gist_id}","starred_url":"https://api.github.com/users/Jmmxp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jmmxp/subscriptions","organizations_url":"https://api.github.com/users/Jmmxp/orgs","repos_url":"https://api.github.com/users/Jmmxp/repos","events_url":"https://api.github.com/users/Jmmxp/events{/privacy}","received_events_url":"https://api.github.com/users/Jmmxp/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Jmmxp/TheIrisProject","description":null,"fork":true,"url":"https://api.github.com/repos/Jmmxp/TheIrisProject","forks_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/forks","keys_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/teams","hooks_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/hooks","issue_events_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/issues/events{/number}","events_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/events","assignees_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/assignees{/user}","branches_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/branches{/branch}","tags_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/tags","blobs_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/statuses/{sha}","languages_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/languages","stargazers_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/stargazers","contributors_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/contributors","subscribers_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/subscribers","subscription_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/subscription","commits_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/contents/{+path}","compare_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/merges","archive_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/downloads","issues_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/issues{/number}","pulls_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/pulls{/number}","milestones_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/milestones{/number}","notifications_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/labels{/name}","releases_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/releases{/id}","deployments_url":"https://api.github.com/repos/Jmmxp/TheIrisProject/deployments","created_at":"2018-10-12T01:15:18Z","updated_at":"2018-11-12T18:46:01Z","pushed_at":"2018-11-24T22:08:38Z","git_url":"git://github.com/Jmmxp/TheIrisProject.git","ssh_url":"git@github.com:Jmmxp/TheIrisProject.git","clone_url":"https://github.com/Jmmxp/TheIrisProject.git","svn_url":"https://github.com/Jmmxp/TheIrisProject","homepage":null,"size":64253,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"CMPUT301F18T07:master","ref":"master","sha":"12c8d15aea45a7fc39a2bfccb2acdd5a8f61697f","user":{"login":"CMPUT301F18T07","id":44076237,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MDc2MjM3","avatar_url":"https://avatars0.githubusercontent.com/u/44076237?v=4","gravatar_id":"","url":"https://api.github.com/users/CMPUT301F18T07","html_url":"https://github.com/CMPUT301F18T07","followers_url":"https://api.github.com/users/CMPUT301F18T07/followers","following_url":"https://api.github.com/users/CMPUT301F18T07/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301F18T07/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301F18T07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301F18T07/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301F18T07/orgs","repos_url":"https://api.github.com/users/CMPUT301F18T07/repos","events_url":"https://api.github.com/users/CMPUT301F18T07/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301F18T07/received_events","type":"Organization","site_admin":false},"repo":{"id":152675126,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI2NzUxMjY=","name":"TheIrisProject","full_name":"CMPUT301F18T07/TheIrisProject","private":false,"owner":{"login":"CMPUT301F18T07","id":44076237,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ0MDc2MjM3","avatar_url":"https://avatars0.githubusercontent.com/u/44076237?v=4","gravatar_id":"","url":"https://api.github.com/users/CMPUT301F18T07","html_url":"https://github.com/CMPUT301F18T07","followers_url":"https://api.github.com/users/CMPUT301F18T07/followers","following_url":"https://api.github.com/users/CMPUT301F18T07/following{/other_user}","gists_url":"https://api.github.com/users/CMPUT301F18T07/gists{/gist_id}","starred_url":"https://api.github.com/users/CMPUT301F18T07/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CMPUT301F18T07/subscriptions","organizations_url":"https://api.github.com/users/CMPUT301F18T07/orgs","repos_url":"https://api.github.com/users/CMPUT301F18T07/repos","events_url":"https://api.github.com/users/CMPUT301F18T07/events{/privacy}","received_events_url":"https://api.github.com/users/CMPUT301F18T07/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CMPUT301F18T07/TheIrisProject","description":null,"fork":false,"url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject","forks_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/forks","keys_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/teams","hooks_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/hooks","issue_events_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/issues/events{/number}","events_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/events","assignees_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/assignees{/user}","branches_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/branches{/branch}","tags_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/tags","blobs_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/statuses/{sha}","languages_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/languages","stargazers_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/stargazers","contributors_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/contributors","subscribers_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/subscribers","subscription_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/subscription","commits_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/contents/{+path}","compare_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/merges","archive_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/downloads","issues_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/issues{/number}","pulls_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/pulls{/number}","milestones_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/milestones{/number}","notifications_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/labels{/name}","releases_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/releases{/id}","deployments_url":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/deployments","created_at":"2018-10-12T01:10:02Z","updated_at":"2018-11-24T21:46:15Z","pushed_at":"2018-11-24T21:46:13Z","git_url":"git://github.com/CMPUT301F18T07/TheIrisProject.git","ssh_url":"git@github.com:CMPUT301F18T07/TheIrisProject.git","clone_url":"https://github.com/CMPUT301F18T07/TheIrisProject.git","svn_url":"https://github.com/CMPUT301F18T07/TheIrisProject","homepage":null,"size":64256,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":6,"mirror_url":null,"archived":false,"open_issues_count":9,"license":null,"forks":6,"open_issues":9,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/pulls/142"},"html":{"href":"https://github.com/CMPUT301F18T07/TheIrisProject/pull/142"},"issue":{"href":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/issues/142"},"comments":{"href":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/issues/142/comments"},"review_comments":{"href":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/pulls/142/comments"},"review_comment":{"href":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/pulls/142/commits"},"statuses":{"href":"https://api.github.com/repos/CMPUT301F18T07/TheIrisProject/statuses/fe391a8509633ea2b2786c8aabd8d17a90bcb5ca"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":32,"deletions":37,"changed_files":13}}
{"actor":{"display_login":"Jmmxp"}}