{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/pulls/1","id":112143822,"html_url":"https://github.com/CSUMB-SP17-CST499/otter-share/pull/1","diff_url":"https://github.com/CSUMB-SP17-CST499/otter-share/pull/1.diff","patch_url":"https://github.com/CSUMB-SP17-CST499/otter-share/pull/1.patch","issue_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/issues/1","number":1,"state":"closed","locked":false,"title":"Feature/backend/email auth verify","user":{"login":"Lahpman7","id":12248204,"avatar_url":"https://avatars0.githubusercontent.com/u/12248204?v=3","gravatar_id":"","url":"https://api.github.com/users/Lahpman7","html_url":"https://github.com/Lahpman7","followers_url":"https://api.github.com/users/Lahpman7/followers","following_url":"https://api.github.com/users/Lahpman7/following{/other_user}","gists_url":"https://api.github.com/users/Lahpman7/gists{/gist_id}","starred_url":"https://api.github.com/users/Lahpman7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lahpman7/subscriptions","organizations_url":"https://api.github.com/users/Lahpman7/orgs","repos_url":"https://api.github.com/users/Lahpman7/repos","events_url":"https://api.github.com/users/Lahpman7/events{/privacy}","received_events_url":"https://api.github.com/users/Lahpman7/received_events","type":"User","site_admin":false},"body":"I have added the following features (more detailed in my commits), here is an extreme summary:\r\n+ There is now email verification for users who decide to create an account without Google, emails are dispatched when a csumb.edu email is used to create said account. Users must follow verification link to endpoint that verifies email with a simple response of \"verified\"\r\n+ Also added some documentation for our endpoints\r\n\r\n+ There is now an endpoint that simply searches for matching auth key, if found, grant's access to API else no access.\r\n\r\n+ Created a cool html template to use when sending emails\r\n\r\n+ Added Trim to all input, and added regex for checking for CSUMB email.\r\n\r\n+ Now the login only returns a users name, email_key ( as true ) and auth_key for making future api requests.\r\n\r\n+ If user hasn't verified their email, they are met with an error, and a request to do so!\r\n\r\n- Location attributes were removed from all of the code, assuming it will be implemented after a user creates their profile/completes their account creation. ","created_at":"2017-03-23T01:11:54Z","updated_at":"2017-03-23T02:36:15Z","closed_at":"2017-03-23T02:36:15Z","merged_at":null,"merge_commit_sha":"7885b5d30f61e29172757964b40c1e9dcfd0ca8a","assignee":{"login":"Lahpman7","id":12248204,"avatar_url":"https://avatars0.githubusercontent.com/u/12248204?v=3","gravatar_id":"","url":"https://api.github.com/users/Lahpman7","html_url":"https://github.com/Lahpman7","followers_url":"https://api.github.com/users/Lahpman7/followers","following_url":"https://api.github.com/users/Lahpman7/following{/other_user}","gists_url":"https://api.github.com/users/Lahpman7/gists{/gist_id}","starred_url":"https://api.github.com/users/Lahpman7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lahpman7/subscriptions","organizations_url":"https://api.github.com/users/Lahpman7/orgs","repos_url":"https://api.github.com/users/Lahpman7/repos","events_url":"https://api.github.com/users/Lahpman7/events{/privacy}","received_events_url":"https://api.github.com/users/Lahpman7/received_events","type":"User","site_admin":false},"assignees":[{"login":"Lahpman7","id":12248204,"avatar_url":"https://avatars0.githubusercontent.com/u/12248204?v=3","gravatar_id":"","url":"https://api.github.com/users/Lahpman7","html_url":"https://github.com/Lahpman7","followers_url":"https://api.github.com/users/Lahpman7/followers","following_url":"https://api.github.com/users/Lahpman7/following{/other_user}","gists_url":"https://api.github.com/users/Lahpman7/gists{/gist_id}","starred_url":"https://api.github.com/users/Lahpman7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lahpman7/subscriptions","organizations_url":"https://api.github.com/users/Lahpman7/orgs","repos_url":"https://api.github.com/users/Lahpman7/repos","events_url":"https://api.github.com/users/Lahpman7/events{/privacy}","received_events_url":"https://api.github.com/users/Lahpman7/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/pulls/1/commits","review_comments_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/pulls/1/comments","review_comment_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/issues/1/comments","statuses_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/statuses/e242ceb9cedc4fe29111745533a5a36bfc62b0f3","head":{"label":"CSUMB-SP17-CST499:feature/backend/email-auth-verify","ref":"feature/backend/email-auth-verify","sha":"e242ceb9cedc4fe29111745533a5a36bfc62b0f3","user":{"login":"CSUMB-SP17-CST499","id":25140600,"avatar_url":"https://avatars2.githubusercontent.com/u/25140600?v=3","gravatar_id":"","url":"https://api.github.com/users/CSUMB-SP17-CST499","html_url":"https://github.com/CSUMB-SP17-CST499","followers_url":"https://api.github.com/users/CSUMB-SP17-CST499/followers","following_url":"https://api.github.com/users/CSUMB-SP17-CST499/following{/other_user}","gists_url":"https://api.github.com/users/CSUMB-SP17-CST499/gists{/gist_id}","starred_url":"https://api.github.com/users/CSUMB-SP17-CST499/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSUMB-SP17-CST499/subscriptions","organizations_url":"https://api.github.com/users/CSUMB-SP17-CST499/orgs","repos_url":"https://api.github.com/users/CSUMB-SP17-CST499/repos","events_url":"https://api.github.com/users/CSUMB-SP17-CST499/events{/privacy}","received_events_url":"https://api.github.com/users/CSUMB-SP17-CST499/received_events","type":"Organization","site_admin":false},"repo":{"id":83603884,"name":"otter-share","full_name":"CSUMB-SP17-CST499/otter-share","owner":{"login":"CSUMB-SP17-CST499","id":25140600,"avatar_url":"https://avatars2.githubusercontent.com/u/25140600?v=3","gravatar_id":"","url":"https://api.github.com/users/CSUMB-SP17-CST499","html_url":"https://github.com/CSUMB-SP17-CST499","followers_url":"https://api.github.com/users/CSUMB-SP17-CST499/followers","following_url":"https://api.github.com/users/CSUMB-SP17-CST499/following{/other_user}","gists_url":"https://api.github.com/users/CSUMB-SP17-CST499/gists{/gist_id}","starred_url":"https://api.github.com/users/CSUMB-SP17-CST499/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSUMB-SP17-CST499/subscriptions","organizations_url":"https://api.github.com/users/CSUMB-SP17-CST499/orgs","repos_url":"https://api.github.com/users/CSUMB-SP17-CST499/repos","events_url":"https://api.github.com/users/CSUMB-SP17-CST499/events{/privacy}","received_events_url":"https://api.github.com/users/CSUMB-SP17-CST499/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CSUMB-SP17-CST499/otter-share","description":null,"fork":false,"url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share","forks_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/forks","keys_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/teams","hooks_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/hooks","issue_events_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/issues/events{/number}","events_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/events","assignees_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/assignees{/user}","branches_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/branches{/branch}","tags_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/tags","blobs_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/git/refs{/sha}","trees_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/statuses/{sha}","languages_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/languages","stargazers_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/stargazers","contributors_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/contributors","subscribers_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/subscribers","subscription_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/subscription","commits_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/commits{/sha}","git_commits_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/git/commits{/sha}","comments_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/comments{/number}","issue_comment_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/issues/comments{/number}","contents_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/contents/{+path}","compare_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/merges","archive_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/downloads","issues_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/issues{/number}","pulls_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/pulls{/number}","milestones_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/milestones{/number}","notifications_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/labels{/name}","releases_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/releases{/id}","deployments_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/deployments","created_at":"2017-03-01T21:32:34Z","updated_at":"2017-03-23T00:50:29Z","pushed_at":"2017-03-23T01:11:55Z","git_url":"git://github.com/CSUMB-SP17-CST499/otter-share.git","ssh_url":"git@github.com:CSUMB-SP17-CST499/otter-share.git","clone_url":"https://github.com/CSUMB-SP17-CST499/otter-share.git","svn_url":"https://github.com/CSUMB-SP17-CST499/otter-share","homepage":null,"size":5735,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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":"CSUMB-SP17-CST499:master","ref":"master","sha":"e9b467f95e668a6906f1510ac80ff2c7a0e8777e","user":{"login":"CSUMB-SP17-CST499","id":25140600,"avatar_url":"https://avatars2.githubusercontent.com/u/25140600?v=3","gravatar_id":"","url":"https://api.github.com/users/CSUMB-SP17-CST499","html_url":"https://github.com/CSUMB-SP17-CST499","followers_url":"https://api.github.com/users/CSUMB-SP17-CST499/followers","following_url":"https://api.github.com/users/CSUMB-SP17-CST499/following{/other_user}","gists_url":"https://api.github.com/users/CSUMB-SP17-CST499/gists{/gist_id}","starred_url":"https://api.github.com/users/CSUMB-SP17-CST499/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSUMB-SP17-CST499/subscriptions","organizations_url":"https://api.github.com/users/CSUMB-SP17-CST499/orgs","repos_url":"https://api.github.com/users/CSUMB-SP17-CST499/repos","events_url":"https://api.github.com/users/CSUMB-SP17-CST499/events{/privacy}","received_events_url":"https://api.github.com/users/CSUMB-SP17-CST499/received_events","type":"Organization","site_admin":false},"repo":{"id":83603884,"name":"otter-share","full_name":"CSUMB-SP17-CST499/otter-share","owner":{"login":"CSUMB-SP17-CST499","id":25140600,"avatar_url":"https://avatars2.githubusercontent.com/u/25140600?v=3","gravatar_id":"","url":"https://api.github.com/users/CSUMB-SP17-CST499","html_url":"https://github.com/CSUMB-SP17-CST499","followers_url":"https://api.github.com/users/CSUMB-SP17-CST499/followers","following_url":"https://api.github.com/users/CSUMB-SP17-CST499/following{/other_user}","gists_url":"https://api.github.com/users/CSUMB-SP17-CST499/gists{/gist_id}","starred_url":"https://api.github.com/users/CSUMB-SP17-CST499/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSUMB-SP17-CST499/subscriptions","organizations_url":"https://api.github.com/users/CSUMB-SP17-CST499/orgs","repos_url":"https://api.github.com/users/CSUMB-SP17-CST499/repos","events_url":"https://api.github.com/users/CSUMB-SP17-CST499/events{/privacy}","received_events_url":"https://api.github.com/users/CSUMB-SP17-CST499/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CSUMB-SP17-CST499/otter-share","description":null,"fork":false,"url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share","forks_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/forks","keys_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/teams","hooks_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/hooks","issue_events_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/issues/events{/number}","events_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/events","assignees_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/assignees{/user}","branches_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/branches{/branch}","tags_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/tags","blobs_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/git/refs{/sha}","trees_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/statuses/{sha}","languages_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/languages","stargazers_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/stargazers","contributors_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/contributors","subscribers_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/subscribers","subscription_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/subscription","commits_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/commits{/sha}","git_commits_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/git/commits{/sha}","comments_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/comments{/number}","issue_comment_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/issues/comments{/number}","contents_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/contents/{+path}","compare_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/merges","archive_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/downloads","issues_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/issues{/number}","pulls_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/pulls{/number}","milestones_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/milestones{/number}","notifications_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/labels{/name}","releases_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/releases{/id}","deployments_url":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/deployments","created_at":"2017-03-01T21:32:34Z","updated_at":"2017-03-23T00:50:29Z","pushed_at":"2017-03-23T01:11:55Z","git_url":"git://github.com/CSUMB-SP17-CST499/otter-share.git","ssh_url":"git@github.com:CSUMB-SP17-CST499/otter-share.git","clone_url":"https://github.com/CSUMB-SP17-CST499/otter-share.git","svn_url":"https://github.com/CSUMB-SP17-CST499/otter-share","homepage":null,"size":5735,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"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"}},"_links":{"self":{"href":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/pulls/1"},"html":{"href":"https://github.com/CSUMB-SP17-CST499/otter-share/pull/1"},"issue":{"href":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/issues/1"},"comments":{"href":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/CSUMB-SP17-CST499/otter-share/statuses/e242ceb9cedc4fe29111745533a5a36bfc62b0f3"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":11,"additions":14318,"deletions":74,"changed_files":62}}
{"actor":{"display_login":"bchehraz"}}