{"action":"closed","number":35,"pull_request":{"url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/pulls/35","id":30777609,"html_url":"https://github.com/BookBrainz/bookbrainz-site/pull/35","diff_url":"https://github.com/BookBrainz/bookbrainz-site/pull/35.diff","patch_url":"https://github.com/BookBrainz/bookbrainz-site/pull/35.patch","issue_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/issues/35","number":35,"state":"closed","locked":false,"title":"Implement passport.js authentication","user":{"login":"leftmostcat","id":20660,"avatar_url":"https://avatars.githubusercontent.com/u/20660?v=3","gravatar_id":"","url":"https://api.github.com/users/leftmostcat","html_url":"https://github.com/leftmostcat","followers_url":"https://api.github.com/users/leftmostcat/followers","following_url":"https://api.github.com/users/leftmostcat/following{/other_user}","gists_url":"https://api.github.com/users/leftmostcat/gists{/gist_id}","starred_url":"https://api.github.com/users/leftmostcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leftmostcat/subscriptions","organizations_url":"https://api.github.com/users/leftmostcat/orgs","repos_url":"https://api.github.com/users/leftmostcat/repos","events_url":"https://api.github.com/users/leftmostcat/events{/privacy}","received_events_url":"https://api.github.com/users/leftmostcat/received_events","type":"User","site_admin":false},"body":"This doesn't currently make use of the auth.isAuthenticated() function, which will be done on a route-by-route basis, but it does appear to work with all existing code, with exceptions noted in the message for the second commit.","created_at":"2015-03-09T16:42:56Z","updated_at":"2015-03-09T17:32:55Z","closed_at":"2015-03-09T17:32:55Z","merged_at":"2015-03-09T17:32:55Z","merge_commit_sha":"a4afce4277a7be7f1a6e0c8064fe321668757a32","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/pulls/35/commits","review_comments_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/pulls/35/comments","review_comment_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/issues/35/comments","statuses_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/statuses/95ae669b0412f24c3845896e2766d0359ca48c69","head":{"label":"leftmostcat:master","ref":"master","sha":"95ae669b0412f24c3845896e2766d0359ca48c69","user":{"login":"leftmostcat","id":20660,"avatar_url":"https://avatars.githubusercontent.com/u/20660?v=3","gravatar_id":"","url":"https://api.github.com/users/leftmostcat","html_url":"https://github.com/leftmostcat","followers_url":"https://api.github.com/users/leftmostcat/followers","following_url":"https://api.github.com/users/leftmostcat/following{/other_user}","gists_url":"https://api.github.com/users/leftmostcat/gists{/gist_id}","starred_url":"https://api.github.com/users/leftmostcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leftmostcat/subscriptions","organizations_url":"https://api.github.com/users/leftmostcat/orgs","repos_url":"https://api.github.com/users/leftmostcat/repos","events_url":"https://api.github.com/users/leftmostcat/events{/privacy}","received_events_url":"https://api.github.com/users/leftmostcat/received_events","type":"User","site_admin":false},"repo":{"id":31908704,"name":"bookbrainz-site","full_name":"leftmostcat/bookbrainz-site","owner":{"login":"leftmostcat","id":20660,"avatar_url":"https://avatars.githubusercontent.com/u/20660?v=3","gravatar_id":"","url":"https://api.github.com/users/leftmostcat","html_url":"https://github.com/leftmostcat","followers_url":"https://api.github.com/users/leftmostcat/followers","following_url":"https://api.github.com/users/leftmostcat/following{/other_user}","gists_url":"https://api.github.com/users/leftmostcat/gists{/gist_id}","starred_url":"https://api.github.com/users/leftmostcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leftmostcat/subscriptions","organizations_url":"https://api.github.com/users/leftmostcat/orgs","repos_url":"https://api.github.com/users/leftmostcat/repos","events_url":"https://api.github.com/users/leftmostcat/events{/privacy}","received_events_url":"https://api.github.com/users/leftmostcat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leftmostcat/bookbrainz-site","description":"BookBrainz website, written in node.js.","fork":true,"url":"https://api.github.com/repos/leftmostcat/bookbrainz-site","forks_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/forks","keys_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/teams","hooks_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/hooks","issue_events_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/issues/events{/number}","events_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/events","assignees_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/assignees{/user}","branches_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/branches{/branch}","tags_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/tags","blobs_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/statuses/{sha}","languages_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/languages","stargazers_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/stargazers","contributors_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/contributors","subscribers_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/subscribers","subscription_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/subscription","commits_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/contents/{+path}","compare_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/merges","archive_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/downloads","issues_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/issues{/number}","pulls_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/pulls{/number}","milestones_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/milestones{/number}","notifications_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/labels{/name}","releases_url":"https://api.github.com/repos/leftmostcat/bookbrainz-site/releases{/id}","created_at":"2015-03-09T16:09:49Z","updated_at":"2015-03-09T16:29:44Z","pushed_at":"2015-03-09T16:29:44Z","git_url":"git://github.com/leftmostcat/bookbrainz-site.git","ssh_url":"git@github.com:leftmostcat/bookbrainz-site.git","clone_url":"https://github.com/leftmostcat/bookbrainz-site.git","svn_url":"https://github.com/leftmostcat/bookbrainz-site","homepage":null,"size":1367,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"BookBrainz:master","ref":"master","sha":"e4bd03cdc58f522c7e57e8d34b988b52dcbf0a87","user":{"login":"BookBrainz","id":9617679,"avatar_url":"https://avatars.githubusercontent.com/u/9617679?v=3","gravatar_id":"","url":"https://api.github.com/users/BookBrainz","html_url":"https://github.com/BookBrainz","followers_url":"https://api.github.com/users/BookBrainz/followers","following_url":"https://api.github.com/users/BookBrainz/following{/other_user}","gists_url":"https://api.github.com/users/BookBrainz/gists{/gist_id}","starred_url":"https://api.github.com/users/BookBrainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookBrainz/subscriptions","organizations_url":"https://api.github.com/users/BookBrainz/orgs","repos_url":"https://api.github.com/users/BookBrainz/repos","events_url":"https://api.github.com/users/BookBrainz/events{/privacy}","received_events_url":"https://api.github.com/users/BookBrainz/received_events","type":"Organization","site_admin":false},"repo":{"id":28521896,"name":"bookbrainz-site","full_name":"BookBrainz/bookbrainz-site","owner":{"login":"BookBrainz","id":9617679,"avatar_url":"https://avatars.githubusercontent.com/u/9617679?v=3","gravatar_id":"","url":"https://api.github.com/users/BookBrainz","html_url":"https://github.com/BookBrainz","followers_url":"https://api.github.com/users/BookBrainz/followers","following_url":"https://api.github.com/users/BookBrainz/following{/other_user}","gists_url":"https://api.github.com/users/BookBrainz/gists{/gist_id}","starred_url":"https://api.github.com/users/BookBrainz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BookBrainz/subscriptions","organizations_url":"https://api.github.com/users/BookBrainz/orgs","repos_url":"https://api.github.com/users/BookBrainz/repos","events_url":"https://api.github.com/users/BookBrainz/events{/privacy}","received_events_url":"https://api.github.com/users/BookBrainz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BookBrainz/bookbrainz-site","description":"BookBrainz website, written in node.js.","fork":false,"url":"https://api.github.com/repos/BookBrainz/bookbrainz-site","forks_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/forks","keys_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/teams","hooks_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/hooks","issue_events_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/issues/events{/number}","events_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/events","assignees_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/assignees{/user}","branches_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/branches{/branch}","tags_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/tags","blobs_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/git/refs{/sha}","trees_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/statuses/{sha}","languages_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/languages","stargazers_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/stargazers","contributors_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/contributors","subscribers_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/subscribers","subscription_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/subscription","commits_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/commits{/sha}","git_commits_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/git/commits{/sha}","comments_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/comments{/number}","issue_comment_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/issues/comments{/number}","contents_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/contents/{+path}","compare_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/merges","archive_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/downloads","issues_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/issues{/number}","pulls_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/pulls{/number}","milestones_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/milestones{/number}","notifications_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/labels{/name}","releases_url":"https://api.github.com/repos/BookBrainz/bookbrainz-site/releases{/id}","created_at":"2014-12-26T21:41:51Z","updated_at":"2015-03-09T17:32:55Z","pushed_at":"2015-03-09T17:32:55Z","git_url":"git://github.com/BookBrainz/bookbrainz-site.git","ssh_url":"git@github.com:BookBrainz/bookbrainz-site.git","clone_url":"https://github.com/BookBrainz/bookbrainz-site.git","svn_url":"https://github.com/BookBrainz/bookbrainz-site","homepage":null,"size":1367,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":12,"forks":2,"open_issues":12,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BookBrainz/bookbrainz-site/pulls/35"},"html":{"href":"https://github.com/BookBrainz/bookbrainz-site/pull/35"},"issue":{"href":"https://api.github.com/repos/BookBrainz/bookbrainz-site/issues/35"},"comments":{"href":"https://api.github.com/repos/BookBrainz/bookbrainz-site/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/BookBrainz/bookbrainz-site/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/BookBrainz/bookbrainz-site/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BookBrainz/bookbrainz-site/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/BookBrainz/bookbrainz-site/statuses/95ae669b0412f24c3845896e2766d0359ca48c69"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"leftmostcat","id":20660,"avatar_url":"https://avatars.githubusercontent.com/u/20660?v=3","gravatar_id":"","url":"https://api.github.com/users/leftmostcat","html_url":"https://github.com/leftmostcat","followers_url":"https://api.github.com/users/leftmostcat/followers","following_url":"https://api.github.com/users/leftmostcat/following{/other_user}","gists_url":"https://api.github.com/users/leftmostcat/gists{/gist_id}","starred_url":"https://api.github.com/users/leftmostcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leftmostcat/subscriptions","organizations_url":"https://api.github.com/users/leftmostcat/orgs","repos_url":"https://api.github.com/users/leftmostcat/repos","events_url":"https://api.github.com/users/leftmostcat/events{/privacy}","received_events_url":"https://api.github.com/users/leftmostcat/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":143,"deletions":69,"changed_files":16}}