{"action":"opened","number":185,"pull_request":{"url":"https://api.github.com/repos/octobox/octobox/pulls/185","id":99659639,"html_url":"https://github.com/octobox/octobox/pull/185","diff_url":"https://github.com/octobox/octobox/pull/185.diff","patch_url":"https://github.com/octobox/octobox/pull/185.patch","issue_url":"https://api.github.com/repos/octobox/octobox/issues/185","number":185,"state":"open","locked":false,"title":"[WIP] Optionally use personal access token","user":{"login":"WillAbides","id":233500,"avatar_url":"https://avatars.githubusercontent.com/u/233500?v=3","gravatar_id":"","url":"https://api.github.com/users/WillAbides","html_url":"https://github.com/WillAbides","followers_url":"https://api.github.com/users/WillAbides/followers","following_url":"https://api.github.com/users/WillAbides/following{/other_user}","gists_url":"https://api.github.com/users/WillAbides/gists{/gist_id}","starred_url":"https://api.github.com/users/WillAbides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillAbides/subscriptions","organizations_url":"https://api.github.com/users/WillAbides/orgs","repos_url":"https://api.github.com/users/WillAbides/repos","events_url":"https://api.github.com/users/WillAbides/events{/privacy}","received_events_url":"https://api.github.com/users/WillAbides/received_events","type":"User","site_admin":true},"body":"This implements #44.\r\n\r\nThere are a few things left to do\r\n- [ ] Show field errors on the user-preferences form\r\n- [ ] Work out a way to submit user-preferences without changing the token.  That isn't that important now, but we will probably have more preferences in the future.\r\n- [ ] Add text to the user-preferences form explaining what a personal access token is and how to create one.\r\n- [ ] Add an environment variable to enable the use of personal access tokens.\r\n\r\nI want to call out the last one especially.  It isn't mentioned in #44, but I think we should have this feature disabled by default.  Because these tokens are equivalent to GitHub passwords and we are storing them in plain text, it wouldn't be responsible to store them in a shared environment.\r\n\r\n","created_at":"2016-12-29T14:10:32Z","updated_at":"2016-12-29T14:10:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/octobox/octobox/pulls/185/commits","review_comments_url":"https://api.github.com/repos/octobox/octobox/pulls/185/comments","review_comment_url":"https://api.github.com/repos/octobox/octobox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/octobox/octobox/issues/185/comments","statuses_url":"https://api.github.com/repos/octobox/octobox/statuses/1925556f1d5f8e25b09d98a2109a515aaec34a14","head":{"label":"WillAbides:edit-account","ref":"edit-account","sha":"1925556f1d5f8e25b09d98a2109a515aaec34a14","user":{"login":"WillAbides","id":233500,"avatar_url":"https://avatars.githubusercontent.com/u/233500?v=3","gravatar_id":"","url":"https://api.github.com/users/WillAbides","html_url":"https://github.com/WillAbides","followers_url":"https://api.github.com/users/WillAbides/followers","following_url":"https://api.github.com/users/WillAbides/following{/other_user}","gists_url":"https://api.github.com/users/WillAbides/gists{/gist_id}","starred_url":"https://api.github.com/users/WillAbides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillAbides/subscriptions","organizations_url":"https://api.github.com/users/WillAbides/orgs","repos_url":"https://api.github.com/users/WillAbides/repos","events_url":"https://api.github.com/users/WillAbides/events{/privacy}","received_events_url":"https://api.github.com/users/WillAbides/received_events","type":"User","site_admin":true},"repo":{"id":76807320,"name":"octobox","full_name":"WillAbides/octobox","owner":{"login":"WillAbides","id":233500,"avatar_url":"https://avatars.githubusercontent.com/u/233500?v=3","gravatar_id":"","url":"https://api.github.com/users/WillAbides","html_url":"https://github.com/WillAbides","followers_url":"https://api.github.com/users/WillAbides/followers","following_url":"https://api.github.com/users/WillAbides/following{/other_user}","gists_url":"https://api.github.com/users/WillAbides/gists{/gist_id}","starred_url":"https://api.github.com/users/WillAbides/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WillAbides/subscriptions","organizations_url":"https://api.github.com/users/WillAbides/orgs","repos_url":"https://api.github.com/users/WillAbides/repos","events_url":"https://api.github.com/users/WillAbides/events{/privacy}","received_events_url":"https://api.github.com/users/WillAbides/received_events","type":"User","site_admin":true},"private":false,"html_url":"https://github.com/WillAbides/octobox","description":":postbox: Take back control of your GitHub Notifications","fork":true,"url":"https://api.github.com/repos/WillAbides/octobox","forks_url":"https://api.github.com/repos/WillAbides/octobox/forks","keys_url":"https://api.github.com/repos/WillAbides/octobox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WillAbides/octobox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WillAbides/octobox/teams","hooks_url":"https://api.github.com/repos/WillAbides/octobox/hooks","issue_events_url":"https://api.github.com/repos/WillAbides/octobox/issues/events{/number}","events_url":"https://api.github.com/repos/WillAbides/octobox/events","assignees_url":"https://api.github.com/repos/WillAbides/octobox/assignees{/user}","branches_url":"https://api.github.com/repos/WillAbides/octobox/branches{/branch}","tags_url":"https://api.github.com/repos/WillAbides/octobox/tags","blobs_url":"https://api.github.com/repos/WillAbides/octobox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WillAbides/octobox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WillAbides/octobox/git/refs{/sha}","trees_url":"https://api.github.com/repos/WillAbides/octobox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WillAbides/octobox/statuses/{sha}","languages_url":"https://api.github.com/repos/WillAbides/octobox/languages","stargazers_url":"https://api.github.com/repos/WillAbides/octobox/stargazers","contributors_url":"https://api.github.com/repos/WillAbides/octobox/contributors","subscribers_url":"https://api.github.com/repos/WillAbides/octobox/subscribers","subscription_url":"https://api.github.com/repos/WillAbides/octobox/subscription","commits_url":"https://api.github.com/repos/WillAbides/octobox/commits{/sha}","git_commits_url":"https://api.github.com/repos/WillAbides/octobox/git/commits{/sha}","comments_url":"https://api.github.com/repos/WillAbides/octobox/comments{/number}","issue_comment_url":"https://api.github.com/repos/WillAbides/octobox/issues/comments{/number}","contents_url":"https://api.github.com/repos/WillAbides/octobox/contents/{+path}","compare_url":"https://api.github.com/repos/WillAbides/octobox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WillAbides/octobox/merges","archive_url":"https://api.github.com/repos/WillAbides/octobox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WillAbides/octobox/downloads","issues_url":"https://api.github.com/repos/WillAbides/octobox/issues{/number}","pulls_url":"https://api.github.com/repos/WillAbides/octobox/pulls{/number}","milestones_url":"https://api.github.com/repos/WillAbides/octobox/milestones{/number}","notifications_url":"https://api.github.com/repos/WillAbides/octobox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WillAbides/octobox/labels{/name}","releases_url":"https://api.github.com/repos/WillAbides/octobox/releases{/id}","deployments_url":"https://api.github.com/repos/WillAbides/octobox/deployments","created_at":"2016-12-18T21:19:36Z","updated_at":"2016-12-18T21:19:38Z","pushed_at":"2016-12-28T22:51:30Z","git_url":"git://github.com/WillAbides/octobox.git","ssh_url":"git@github.com:WillAbides/octobox.git","clone_url":"https://github.com/WillAbides/octobox.git","svn_url":"https://github.com/WillAbides/octobox","homepage":null,"size":1602,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"octobox:master","ref":"master","sha":"cd13984a83d6e64cff500049825fa8deb5108b2f","user":{"login":"octobox","id":24639960,"avatar_url":"https://avatars.githubusercontent.com/u/24639960?v=3","gravatar_id":"","url":"https://api.github.com/users/octobox","html_url":"https://github.com/octobox","followers_url":"https://api.github.com/users/octobox/followers","following_url":"https://api.github.com/users/octobox/following{/other_user}","gists_url":"https://api.github.com/users/octobox/gists{/gist_id}","starred_url":"https://api.github.com/users/octobox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octobox/subscriptions","organizations_url":"https://api.github.com/users/octobox/orgs","repos_url":"https://api.github.com/users/octobox/repos","events_url":"https://api.github.com/users/octobox/events{/privacy}","received_events_url":"https://api.github.com/users/octobox/received_events","type":"Organization","site_admin":false},"repo":{"id":76692542,"name":"octobox","full_name":"octobox/octobox","owner":{"login":"octobox","id":24639960,"avatar_url":"https://avatars.githubusercontent.com/u/24639960?v=3","gravatar_id":"","url":"https://api.github.com/users/octobox","html_url":"https://github.com/octobox","followers_url":"https://api.github.com/users/octobox/followers","following_url":"https://api.github.com/users/octobox/following{/other_user}","gists_url":"https://api.github.com/users/octobox/gists{/gist_id}","starred_url":"https://api.github.com/users/octobox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/octobox/subscriptions","organizations_url":"https://api.github.com/users/octobox/orgs","repos_url":"https://api.github.com/users/octobox/repos","events_url":"https://api.github.com/users/octobox/events{/privacy}","received_events_url":"https://api.github.com/users/octobox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/octobox/octobox","description":":postbox: Take back control of your GitHub Notifications","fork":false,"url":"https://api.github.com/repos/octobox/octobox","forks_url":"https://api.github.com/repos/octobox/octobox/forks","keys_url":"https://api.github.com/repos/octobox/octobox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/octobox/octobox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/octobox/octobox/teams","hooks_url":"https://api.github.com/repos/octobox/octobox/hooks","issue_events_url":"https://api.github.com/repos/octobox/octobox/issues/events{/number}","events_url":"https://api.github.com/repos/octobox/octobox/events","assignees_url":"https://api.github.com/repos/octobox/octobox/assignees{/user}","branches_url":"https://api.github.com/repos/octobox/octobox/branches{/branch}","tags_url":"https://api.github.com/repos/octobox/octobox/tags","blobs_url":"https://api.github.com/repos/octobox/octobox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/octobox/octobox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/octobox/octobox/git/refs{/sha}","trees_url":"https://api.github.com/repos/octobox/octobox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/octobox/octobox/statuses/{sha}","languages_url":"https://api.github.com/repos/octobox/octobox/languages","stargazers_url":"https://api.github.com/repos/octobox/octobox/stargazers","contributors_url":"https://api.github.com/repos/octobox/octobox/contributors","subscribers_url":"https://api.github.com/repos/octobox/octobox/subscribers","subscription_url":"https://api.github.com/repos/octobox/octobox/subscription","commits_url":"https://api.github.com/repos/octobox/octobox/commits{/sha}","git_commits_url":"https://api.github.com/repos/octobox/octobox/git/commits{/sha}","comments_url":"https://api.github.com/repos/octobox/octobox/comments{/number}","issue_comment_url":"https://api.github.com/repos/octobox/octobox/issues/comments{/number}","contents_url":"https://api.github.com/repos/octobox/octobox/contents/{+path}","compare_url":"https://api.github.com/repos/octobox/octobox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/octobox/octobox/merges","archive_url":"https://api.github.com/repos/octobox/octobox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/octobox/octobox/downloads","issues_url":"https://api.github.com/repos/octobox/octobox/issues{/number}","pulls_url":"https://api.github.com/repos/octobox/octobox/pulls{/number}","milestones_url":"https://api.github.com/repos/octobox/octobox/milestones{/number}","notifications_url":"https://api.github.com/repos/octobox/octobox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/octobox/octobox/labels{/name}","releases_url":"https://api.github.com/repos/octobox/octobox/releases{/id}","deployments_url":"https://api.github.com/repos/octobox/octobox/deployments","created_at":"2016-12-16T23:29:16Z","updated_at":"2016-12-29T13:56:58Z","pushed_at":"2016-12-29T14:10:33Z","git_url":"git://github.com/octobox/octobox.git","ssh_url":"git@github.com:octobox/octobox.git","clone_url":"https://github.com/octobox/octobox.git","svn_url":"https://github.com/octobox/octobox","homepage":"https://octobox.io","size":1598,"stargazers_count":1115,"watchers_count":1115,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":63,"mirror_url":null,"open_issues_count":22,"forks":63,"open_issues":22,"watchers":1115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/octobox/octobox/pulls/185"},"html":{"href":"https://github.com/octobox/octobox/pull/185"},"issue":{"href":"https://api.github.com/repos/octobox/octobox/issues/185"},"comments":{"href":"https://api.github.com/repos/octobox/octobox/issues/185/comments"},"review_comments":{"href":"https://api.github.com/repos/octobox/octobox/pulls/185/comments"},"review_comment":{"href":"https://api.github.com/repos/octobox/octobox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/octobox/octobox/pulls/185/commits"},"statuses":{"href":"https://api.github.com/repos/octobox/octobox/statuses/1925556f1d5f8e25b09d98a2109a515aaec34a14"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":7,"additions":202,"deletions":11,"changed_files":12}}
{"actor":{"display_login":"WillAbides"}}