{"action":"closed","number":67,"pull_request":{"url":"https://api.github.com/repos/tuna-io/tuna-io/pulls/67","id":94473888,"html_url":"https://github.com/tuna-io/tuna-io/pull/67","diff_url":"https://github.com/tuna-io/tuna-io/pull/67.diff","patch_url":"https://github.com/tuna-io/tuna-io/pull/67.patch","issue_url":"https://api.github.com/repos/tuna-io/tuna-io/issues/67","number":67,"state":"closed","locked":false,"title":"(feat) Auth integration","user":{"login":"chrswt","id":17392095,"avatar_url":"https://avatars.githubusercontent.com/u/17392095?v=3","gravatar_id":"","url":"https://api.github.com/users/chrswt","html_url":"https://github.com/chrswt","followers_url":"https://api.github.com/users/chrswt/followers","following_url":"https://api.github.com/users/chrswt/following{/other_user}","gists_url":"https://api.github.com/users/chrswt/gists{/gist_id}","starred_url":"https://api.github.com/users/chrswt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrswt/subscriptions","organizations_url":"https://api.github.com/users/chrswt/orgs","repos_url":"https://api.github.com/users/chrswt/repos","events_url":"https://api.github.com/users/chrswt/events{/privacy}","received_events_url":"https://api.github.com/users/chrswt/received_events","type":"User","site_admin":false},"body":"Resolves #61 \r\n\r\n- [x] Fix sub-routing bug\r\n- [x] Refactor all internal error handling (server)\r\n- [x] JSONify server responses for all authentication routes\r\n- [x] Client handles and parses JSON responses\r\n- [x] Store logged-in state in `App.jsx`\r\n- [x] Pass down login state to routed components using clone element\r\n- [x] Show currently logged in user in navigation bar\r\n- [x] Allow access to logged in user via `this.props.loggedIn` from all components\r\n- [x] Update state after login, register, and logout\r\n- [x] Redirect user after login, register, and logout\r\n- [x] Dynamic nav bar - login/register only shows if user is not logged in, logout and dashboard only shows if user is logged in","created_at":"2016-11-19T07:19:15Z","updated_at":"2016-11-19T17:47:39Z","closed_at":"2016-11-19T17:47:39Z","merged_at":"2016-11-19T17:47:39Z","merge_commit_sha":"12377daacb503d0400d0a23cdaa562e3a465f601","assignee":{"login":"showmethewei","id":568067,"avatar_url":"https://avatars.githubusercontent.com/u/568067?v=3","gravatar_id":"","url":"https://api.github.com/users/showmethewei","html_url":"https://github.com/showmethewei","followers_url":"https://api.github.com/users/showmethewei/followers","following_url":"https://api.github.com/users/showmethewei/following{/other_user}","gists_url":"https://api.github.com/users/showmethewei/gists{/gist_id}","starred_url":"https://api.github.com/users/showmethewei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/showmethewei/subscriptions","organizations_url":"https://api.github.com/users/showmethewei/orgs","repos_url":"https://api.github.com/users/showmethewei/repos","events_url":"https://api.github.com/users/showmethewei/events{/privacy}","received_events_url":"https://api.github.com/users/showmethewei/received_events","type":"User","site_admin":false},"assignees":[{"login":"showmethewei","id":568067,"avatar_url":"https://avatars.githubusercontent.com/u/568067?v=3","gravatar_id":"","url":"https://api.github.com/users/showmethewei","html_url":"https://github.com/showmethewei","followers_url":"https://api.github.com/users/showmethewei/followers","following_url":"https://api.github.com/users/showmethewei/following{/other_user}","gists_url":"https://api.github.com/users/showmethewei/gists{/gist_id}","starred_url":"https://api.github.com/users/showmethewei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/showmethewei/subscriptions","organizations_url":"https://api.github.com/users/showmethewei/orgs","repos_url":"https://api.github.com/users/showmethewei/repos","events_url":"https://api.github.com/users/showmethewei/events{/privacy}","received_events_url":"https://api.github.com/users/showmethewei/received_events","type":"User","site_admin":false},{"login":"BillZito","id":6311927,"avatar_url":"https://avatars.githubusercontent.com/u/6311927?v=3","gravatar_id":"","url":"https://api.github.com/users/BillZito","html_url":"https://github.com/BillZito","followers_url":"https://api.github.com/users/BillZito/followers","following_url":"https://api.github.com/users/BillZito/following{/other_user}","gists_url":"https://api.github.com/users/BillZito/gists{/gist_id}","starred_url":"https://api.github.com/users/BillZito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BillZito/subscriptions","organizations_url":"https://api.github.com/users/BillZito/orgs","repos_url":"https://api.github.com/users/BillZito/repos","events_url":"https://api.github.com/users/BillZito/events{/privacy}","received_events_url":"https://api.github.com/users/BillZito/received_events","type":"User","site_admin":false},{"login":"chrswt","id":17392095,"avatar_url":"https://avatars.githubusercontent.com/u/17392095?v=3","gravatar_id":"","url":"https://api.github.com/users/chrswt","html_url":"https://github.com/chrswt","followers_url":"https://api.github.com/users/chrswt/followers","following_url":"https://api.github.com/users/chrswt/following{/other_user}","gists_url":"https://api.github.com/users/chrswt/gists{/gist_id}","starred_url":"https://api.github.com/users/chrswt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrswt/subscriptions","organizations_url":"https://api.github.com/users/chrswt/orgs","repos_url":"https://api.github.com/users/chrswt/repos","events_url":"https://api.github.com/users/chrswt/events{/privacy}","received_events_url":"https://api.github.com/users/chrswt/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/tuna-io/tuna-io/milestones/1","html_url":"https://github.com/tuna-io/tuna-io/milestones/Thesis%20MVP","labels_url":"https://api.github.com/repos/tuna-io/tuna-io/milestones/1/labels","id":2128367,"number":1,"title":"Thesis MVP","description":"","creator":{"login":"showmethewei","id":568067,"avatar_url":"https://avatars.githubusercontent.com/u/568067?v=3","gravatar_id":"","url":"https://api.github.com/users/showmethewei","html_url":"https://github.com/showmethewei","followers_url":"https://api.github.com/users/showmethewei/followers","following_url":"https://api.github.com/users/showmethewei/following{/other_user}","gists_url":"https://api.github.com/users/showmethewei/gists{/gist_id}","starred_url":"https://api.github.com/users/showmethewei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/showmethewei/subscriptions","organizations_url":"https://api.github.com/users/showmethewei/orgs","repos_url":"https://api.github.com/users/showmethewei/repos","events_url":"https://api.github.com/users/showmethewei/events{/privacy}","received_events_url":"https://api.github.com/users/showmethewei/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":32,"state":"open","created_at":"2016-11-11T00:03:18Z","updated_at":"2016-11-19T17:47:39Z","due_on":"2016-11-21T00:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/tuna-io/tuna-io/pulls/67/commits","review_comments_url":"https://api.github.com/repos/tuna-io/tuna-io/pulls/67/comments","review_comment_url":"https://api.github.com/repos/tuna-io/tuna-io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tuna-io/tuna-io/issues/67/comments","statuses_url":"https://api.github.com/repos/tuna-io/tuna-io/statuses/bdd963d8abd2aa1a373f7f41bfb3acc383b3f489","head":{"label":"chrswt:feat/auth-integration","ref":"feat/auth-integration","sha":"bdd963d8abd2aa1a373f7f41bfb3acc383b3f489","user":{"login":"chrswt","id":17392095,"avatar_url":"https://avatars.githubusercontent.com/u/17392095?v=3","gravatar_id":"","url":"https://api.github.com/users/chrswt","html_url":"https://github.com/chrswt","followers_url":"https://api.github.com/users/chrswt/followers","following_url":"https://api.github.com/users/chrswt/following{/other_user}","gists_url":"https://api.github.com/users/chrswt/gists{/gist_id}","starred_url":"https://api.github.com/users/chrswt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrswt/subscriptions","organizations_url":"https://api.github.com/users/chrswt/orgs","repos_url":"https://api.github.com/users/chrswt/repos","events_url":"https://api.github.com/users/chrswt/events{/privacy}","received_events_url":"https://api.github.com/users/chrswt/received_events","type":"User","site_admin":false},"repo":{"id":73431454,"name":"tuna-io","full_name":"chrswt/tuna-io","owner":{"login":"chrswt","id":17392095,"avatar_url":"https://avatars.githubusercontent.com/u/17392095?v=3","gravatar_id":"","url":"https://api.github.com/users/chrswt","html_url":"https://github.com/chrswt","followers_url":"https://api.github.com/users/chrswt/followers","following_url":"https://api.github.com/users/chrswt/following{/other_user}","gists_url":"https://api.github.com/users/chrswt/gists{/gist_id}","starred_url":"https://api.github.com/users/chrswt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrswt/subscriptions","organizations_url":"https://api.github.com/users/chrswt/orgs","repos_url":"https://api.github.com/users/chrswt/repos","events_url":"https://api.github.com/users/chrswt/events{/privacy}","received_events_url":"https://api.github.com/users/chrswt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chrswt/tuna-io","description":"Youtube, but better","fork":true,"url":"https://api.github.com/repos/chrswt/tuna-io","forks_url":"https://api.github.com/repos/chrswt/tuna-io/forks","keys_url":"https://api.github.com/repos/chrswt/tuna-io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chrswt/tuna-io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chrswt/tuna-io/teams","hooks_url":"https://api.github.com/repos/chrswt/tuna-io/hooks","issue_events_url":"https://api.github.com/repos/chrswt/tuna-io/issues/events{/number}","events_url":"https://api.github.com/repos/chrswt/tuna-io/events","assignees_url":"https://api.github.com/repos/chrswt/tuna-io/assignees{/user}","branches_url":"https://api.github.com/repos/chrswt/tuna-io/branches{/branch}","tags_url":"https://api.github.com/repos/chrswt/tuna-io/tags","blobs_url":"https://api.github.com/repos/chrswt/tuna-io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chrswt/tuna-io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chrswt/tuna-io/git/refs{/sha}","trees_url":"https://api.github.com/repos/chrswt/tuna-io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chrswt/tuna-io/statuses/{sha}","languages_url":"https://api.github.com/repos/chrswt/tuna-io/languages","stargazers_url":"https://api.github.com/repos/chrswt/tuna-io/stargazers","contributors_url":"https://api.github.com/repos/chrswt/tuna-io/contributors","subscribers_url":"https://api.github.com/repos/chrswt/tuna-io/subscribers","subscription_url":"https://api.github.com/repos/chrswt/tuna-io/subscription","commits_url":"https://api.github.com/repos/chrswt/tuna-io/commits{/sha}","git_commits_url":"https://api.github.com/repos/chrswt/tuna-io/git/commits{/sha}","comments_url":"https://api.github.com/repos/chrswt/tuna-io/comments{/number}","issue_comment_url":"https://api.github.com/repos/chrswt/tuna-io/issues/comments{/number}","contents_url":"https://api.github.com/repos/chrswt/tuna-io/contents/{+path}","compare_url":"https://api.github.com/repos/chrswt/tuna-io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chrswt/tuna-io/merges","archive_url":"https://api.github.com/repos/chrswt/tuna-io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chrswt/tuna-io/downloads","issues_url":"https://api.github.com/repos/chrswt/tuna-io/issues{/number}","pulls_url":"https://api.github.com/repos/chrswt/tuna-io/pulls{/number}","milestones_url":"https://api.github.com/repos/chrswt/tuna-io/milestones{/number}","notifications_url":"https://api.github.com/repos/chrswt/tuna-io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chrswt/tuna-io/labels{/name}","releases_url":"https://api.github.com/repos/chrswt/tuna-io/releases{/id}","deployments_url":"https://api.github.com/repos/chrswt/tuna-io/deployments","created_at":"2016-11-11T00:09:24Z","updated_at":"2016-11-12T05:59:31Z","pushed_at":"2016-11-19T07:18:09Z","git_url":"git://github.com/chrswt/tuna-io.git","ssh_url":"git@github.com:chrswt/tuna-io.git","clone_url":"https://github.com/chrswt/tuna-io.git","svn_url":"https://github.com/chrswt/tuna-io","homepage":null,"size":596,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"tuna-io:master","ref":"master","sha":"726ae6fe9c5816690ae304f4b67bc76814d10679","user":{"login":"tuna-io","id":23390503,"avatar_url":"https://avatars.githubusercontent.com/u/23390503?v=3","gravatar_id":"","url":"https://api.github.com/users/tuna-io","html_url":"https://github.com/tuna-io","followers_url":"https://api.github.com/users/tuna-io/followers","following_url":"https://api.github.com/users/tuna-io/following{/other_user}","gists_url":"https://api.github.com/users/tuna-io/gists{/gist_id}","starred_url":"https://api.github.com/users/tuna-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuna-io/subscriptions","organizations_url":"https://api.github.com/users/tuna-io/orgs","repos_url":"https://api.github.com/users/tuna-io/repos","events_url":"https://api.github.com/users/tuna-io/events{/privacy}","received_events_url":"https://api.github.com/users/tuna-io/received_events","type":"Organization","site_admin":false},"repo":{"id":73429757,"name":"tuna-io","full_name":"tuna-io/tuna-io","owner":{"login":"tuna-io","id":23390503,"avatar_url":"https://avatars.githubusercontent.com/u/23390503?v=3","gravatar_id":"","url":"https://api.github.com/users/tuna-io","html_url":"https://github.com/tuna-io","followers_url":"https://api.github.com/users/tuna-io/followers","following_url":"https://api.github.com/users/tuna-io/following{/other_user}","gists_url":"https://api.github.com/users/tuna-io/gists{/gist_id}","starred_url":"https://api.github.com/users/tuna-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuna-io/subscriptions","organizations_url":"https://api.github.com/users/tuna-io/orgs","repos_url":"https://api.github.com/users/tuna-io/repos","events_url":"https://api.github.com/users/tuna-io/events{/privacy}","received_events_url":"https://api.github.com/users/tuna-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tuna-io/tuna-io","description":"Youtube, but better","fork":false,"url":"https://api.github.com/repos/tuna-io/tuna-io","forks_url":"https://api.github.com/repos/tuna-io/tuna-io/forks","keys_url":"https://api.github.com/repos/tuna-io/tuna-io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tuna-io/tuna-io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tuna-io/tuna-io/teams","hooks_url":"https://api.github.com/repos/tuna-io/tuna-io/hooks","issue_events_url":"https://api.github.com/repos/tuna-io/tuna-io/issues/events{/number}","events_url":"https://api.github.com/repos/tuna-io/tuna-io/events","assignees_url":"https://api.github.com/repos/tuna-io/tuna-io/assignees{/user}","branches_url":"https://api.github.com/repos/tuna-io/tuna-io/branches{/branch}","tags_url":"https://api.github.com/repos/tuna-io/tuna-io/tags","blobs_url":"https://api.github.com/repos/tuna-io/tuna-io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tuna-io/tuna-io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tuna-io/tuna-io/git/refs{/sha}","trees_url":"https://api.github.com/repos/tuna-io/tuna-io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tuna-io/tuna-io/statuses/{sha}","languages_url":"https://api.github.com/repos/tuna-io/tuna-io/languages","stargazers_url":"https://api.github.com/repos/tuna-io/tuna-io/stargazers","contributors_url":"https://api.github.com/repos/tuna-io/tuna-io/contributors","subscribers_url":"https://api.github.com/repos/tuna-io/tuna-io/subscribers","subscription_url":"https://api.github.com/repos/tuna-io/tuna-io/subscription","commits_url":"https://api.github.com/repos/tuna-io/tuna-io/commits{/sha}","git_commits_url":"https://api.github.com/repos/tuna-io/tuna-io/git/commits{/sha}","comments_url":"https://api.github.com/repos/tuna-io/tuna-io/comments{/number}","issue_comment_url":"https://api.github.com/repos/tuna-io/tuna-io/issues/comments{/number}","contents_url":"https://api.github.com/repos/tuna-io/tuna-io/contents/{+path}","compare_url":"https://api.github.com/repos/tuna-io/tuna-io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tuna-io/tuna-io/merges","archive_url":"https://api.github.com/repos/tuna-io/tuna-io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tuna-io/tuna-io/downloads","issues_url":"https://api.github.com/repos/tuna-io/tuna-io/issues{/number}","pulls_url":"https://api.github.com/repos/tuna-io/tuna-io/pulls{/number}","milestones_url":"https://api.github.com/repos/tuna-io/tuna-io/milestones{/number}","notifications_url":"https://api.github.com/repos/tuna-io/tuna-io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tuna-io/tuna-io/labels{/name}","releases_url":"https://api.github.com/repos/tuna-io/tuna-io/releases{/id}","deployments_url":"https://api.github.com/repos/tuna-io/tuna-io/deployments","created_at":"2016-11-10T23:31:43Z","updated_at":"2016-11-15T14:20:58Z","pushed_at":"2016-11-19T17:47:39Z","git_url":"git://github.com/tuna-io/tuna-io.git","ssh_url":"git@github.com:tuna-io/tuna-io.git","clone_url":"https://github.com/tuna-io/tuna-io.git","svn_url":"https://github.com/tuna-io/tuna-io","homepage":null,"size":577,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":12,"forks":4,"open_issues":12,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tuna-io/tuna-io/pulls/67"},"html":{"href":"https://github.com/tuna-io/tuna-io/pull/67"},"issue":{"href":"https://api.github.com/repos/tuna-io/tuna-io/issues/67"},"comments":{"href":"https://api.github.com/repos/tuna-io/tuna-io/issues/67/comments"},"review_comments":{"href":"https://api.github.com/repos/tuna-io/tuna-io/pulls/67/comments"},"review_comment":{"href":"https://api.github.com/repos/tuna-io/tuna-io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tuna-io/tuna-io/pulls/67/commits"},"statuses":{"href":"https://api.github.com/repos/tuna-io/tuna-io/statuses/bdd963d8abd2aa1a373f7f41bfb3acc383b3f489"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"showmethewei","id":568067,"avatar_url":"https://avatars.githubusercontent.com/u/568067?v=3","gravatar_id":"","url":"https://api.github.com/users/showmethewei","html_url":"https://github.com/showmethewei","followers_url":"https://api.github.com/users/showmethewei/followers","following_url":"https://api.github.com/users/showmethewei/following{/other_user}","gists_url":"https://api.github.com/users/showmethewei/gists{/gist_id}","starred_url":"https://api.github.com/users/showmethewei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/showmethewei/subscriptions","organizations_url":"https://api.github.com/users/showmethewei/orgs","repos_url":"https://api.github.com/users/showmethewei/repos","events_url":"https://api.github.com/users/showmethewei/events{/privacy}","received_events_url":"https://api.github.com/users/showmethewei/received_events","type":"User","site_admin":false},"comments":0,"review_comments":3,"commits":25,"additions":273,"deletions":145,"changed_files":9}}
{"actor":{"display_login":"showmethewei"}}