{"action":"opened","number":52,"pull_request":{"url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/pulls/52","id":72435311,"html_url":"https://github.com/EphemeralElixir/EphemeralElixir/pull/52","diff_url":"https://github.com/EphemeralElixir/EphemeralElixir/pull/52.diff","patch_url":"https://github.com/EphemeralElixir/EphemeralElixir/pull/52.patch","issue_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/issues/52","number":52,"state":"open","locked":false,"title":"Adds check for existing user in db functionality and click handler to write bio to db","user":{"login":"anhtaiH","id":15970451,"avatar_url":"https://avatars.githubusercontent.com/u/15970451?v=3","gravatar_id":"","url":"https://api.github.com/users/anhtaiH","html_url":"https://github.com/anhtaiH","followers_url":"https://api.github.com/users/anhtaiH/followers","following_url":"https://api.github.com/users/anhtaiH/following{/other_user}","gists_url":"https://api.github.com/users/anhtaiH/gists{/gist_id}","starred_url":"https://api.github.com/users/anhtaiH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhtaiH/subscriptions","organizations_url":"https://api.github.com/users/anhtaiH/orgs","repos_url":"https://api.github.com/users/anhtaiH/repos","events_url":"https://api.github.com/users/anhtaiH/events{/privacy}","received_events_url":"https://api.github.com/users/anhtaiH/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\n- Adds functionality for click handler to write bio to db\r\n- Modularize userController from loginOrCreate to create since client side code will check whether we need to query db for login information or if we need to create one\r\n- Refactor window.FB in webpackentry.js file to minimize amount of lookup\r\n- Add additional comments to help clarify functionality\r\n#### Where should the reviewer start?\r\nStart in webpackentry.js and move to socket.server.js \r\n#### How should this be manually tested?\r\nClick on the login button with existing user in db and without\r\n#### Any background context you want to provide?\r\nN/A\r\n#### What are the relevant tickets on Pivotal Tracker?\r\nN/A\r\n#### Provide screenshots (if appropriate).\r\nN/A\r\n","created_at":"2016-06-02T23:46:00Z","updated_at":"2016-06-02T23:46:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/pulls/52/commits","review_comments_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/pulls/52/comments","review_comment_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/pulls/comments{/number}","comments_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/issues/52/comments","statuses_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/statuses/d89ed1d5cf8df31cd91aff069eca634e2fab8005","head":{"label":"anhtaiH:tdd","ref":"tdd","sha":"d89ed1d5cf8df31cd91aff069eca634e2fab8005","user":{"login":"anhtaiH","id":15970451,"avatar_url":"https://avatars.githubusercontent.com/u/15970451?v=3","gravatar_id":"","url":"https://api.github.com/users/anhtaiH","html_url":"https://github.com/anhtaiH","followers_url":"https://api.github.com/users/anhtaiH/followers","following_url":"https://api.github.com/users/anhtaiH/following{/other_user}","gists_url":"https://api.github.com/users/anhtaiH/gists{/gist_id}","starred_url":"https://api.github.com/users/anhtaiH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhtaiH/subscriptions","organizations_url":"https://api.github.com/users/anhtaiH/orgs","repos_url":"https://api.github.com/users/anhtaiH/repos","events_url":"https://api.github.com/users/anhtaiH/events{/privacy}","received_events_url":"https://api.github.com/users/anhtaiH/received_events","type":"User","site_admin":false},"repo":{"id":59689067,"name":"EphemeralElixir","full_name":"anhtaiH/EphemeralElixir","owner":{"login":"anhtaiH","id":15970451,"avatar_url":"https://avatars.githubusercontent.com/u/15970451?v=3","gravatar_id":"","url":"https://api.github.com/users/anhtaiH","html_url":"https://github.com/anhtaiH","followers_url":"https://api.github.com/users/anhtaiH/followers","following_url":"https://api.github.com/users/anhtaiH/following{/other_user}","gists_url":"https://api.github.com/users/anhtaiH/gists{/gist_id}","starred_url":"https://api.github.com/users/anhtaiH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhtaiH/subscriptions","organizations_url":"https://api.github.com/users/anhtaiH/orgs","repos_url":"https://api.github.com/users/anhtaiH/repos","events_url":"https://api.github.com/users/anhtaiH/events{/privacy}","received_events_url":"https://api.github.com/users/anhtaiH/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anhtaiH/EphemeralElixir","description":"Never Eat Alone App","fork":true,"url":"https://api.github.com/repos/anhtaiH/EphemeralElixir","forks_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/forks","keys_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/teams","hooks_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/hooks","issue_events_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/issues/events{/number}","events_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/events","assignees_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/assignees{/user}","branches_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/branches{/branch}","tags_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/tags","blobs_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/git/refs{/sha}","trees_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/statuses/{sha}","languages_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/languages","stargazers_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/stargazers","contributors_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/contributors","subscribers_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/subscribers","subscription_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/subscription","commits_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/commits{/sha}","git_commits_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/git/commits{/sha}","comments_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/comments{/number}","issue_comment_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/issues/comments{/number}","contents_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/contents/{+path}","compare_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/merges","archive_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/downloads","issues_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/issues{/number}","pulls_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/pulls{/number}","milestones_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/milestones{/number}","notifications_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/labels{/name}","releases_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/releases{/id}","deployments_url":"https://api.github.com/repos/anhtaiH/EphemeralElixir/deployments","created_at":"2016-05-25T18:45:59Z","updated_at":"2016-05-26T21:08:07Z","pushed_at":"2016-06-02T23:40:38Z","git_url":"git://github.com/anhtaiH/EphemeralElixir.git","ssh_url":"git@github.com:anhtaiH/EphemeralElixir.git","clone_url":"https://github.com/anhtaiH/EphemeralElixir.git","svn_url":"https://github.com/anhtaiH/EphemeralElixir","homepage":null,"size":1302,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"EphemeralElixir:master","ref":"master","sha":"b273be41db4ee6b37090faf4b1505ee961ca8bb7","user":{"login":"EphemeralElixir","id":19577249,"avatar_url":"https://avatars.githubusercontent.com/u/19577249?v=3","gravatar_id":"","url":"https://api.github.com/users/EphemeralElixir","html_url":"https://github.com/EphemeralElixir","followers_url":"https://api.github.com/users/EphemeralElixir/followers","following_url":"https://api.github.com/users/EphemeralElixir/following{/other_user}","gists_url":"https://api.github.com/users/EphemeralElixir/gists{/gist_id}","starred_url":"https://api.github.com/users/EphemeralElixir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EphemeralElixir/subscriptions","organizations_url":"https://api.github.com/users/EphemeralElixir/orgs","repos_url":"https://api.github.com/users/EphemeralElixir/repos","events_url":"https://api.github.com/users/EphemeralElixir/events{/privacy}","received_events_url":"https://api.github.com/users/EphemeralElixir/received_events","type":"Organization","site_admin":false},"repo":{"id":59688578,"name":"EphemeralElixir","full_name":"EphemeralElixir/EphemeralElixir","owner":{"login":"EphemeralElixir","id":19577249,"avatar_url":"https://avatars.githubusercontent.com/u/19577249?v=3","gravatar_id":"","url":"https://api.github.com/users/EphemeralElixir","html_url":"https://github.com/EphemeralElixir","followers_url":"https://api.github.com/users/EphemeralElixir/followers","following_url":"https://api.github.com/users/EphemeralElixir/following{/other_user}","gists_url":"https://api.github.com/users/EphemeralElixir/gists{/gist_id}","starred_url":"https://api.github.com/users/EphemeralElixir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EphemeralElixir/subscriptions","organizations_url":"https://api.github.com/users/EphemeralElixir/orgs","repos_url":"https://api.github.com/users/EphemeralElixir/repos","events_url":"https://api.github.com/users/EphemeralElixir/events{/privacy}","received_events_url":"https://api.github.com/users/EphemeralElixir/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/EphemeralElixir/EphemeralElixir","description":"Never Eat Alone App","fork":false,"url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir","forks_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/forks","keys_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/teams","hooks_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/hooks","issue_events_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/issues/events{/number}","events_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/events","assignees_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/assignees{/user}","branches_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/branches{/branch}","tags_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/tags","blobs_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/git/refs{/sha}","trees_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/statuses/{sha}","languages_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/languages","stargazers_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/stargazers","contributors_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/contributors","subscribers_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/subscribers","subscription_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/subscription","commits_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/commits{/sha}","git_commits_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/git/commits{/sha}","comments_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/comments{/number}","issue_comment_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/issues/comments{/number}","contents_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/contents/{+path}","compare_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/merges","archive_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/downloads","issues_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/issues{/number}","pulls_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/pulls{/number}","milestones_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/milestones{/number}","notifications_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/labels{/name}","releases_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/releases{/id}","deployments_url":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/deployments","created_at":"2016-05-25T18:38:29Z","updated_at":"2016-05-26T04:09:50Z","pushed_at":"2016-06-02T23:45:16Z","git_url":"git://github.com/EphemeralElixir/EphemeralElixir.git","ssh_url":"git@github.com:EphemeralElixir/EphemeralElixir.git","clone_url":"https://github.com/EphemeralElixir/EphemeralElixir.git","svn_url":"https://github.com/EphemeralElixir/EphemeralElixir","homepage":null,"size":1228,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/pulls/52"},"html":{"href":"https://github.com/EphemeralElixir/EphemeralElixir/pull/52"},"issue":{"href":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/issues/52"},"comments":{"href":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/EphemeralElixir/EphemeralElixir/statuses/d89ed1d5cf8df31cd91aff069eca634e2fab8005"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":56,"deletions":39,"changed_files":4}}
{"actor":{"display_login":"anhtaiH"}}