{"action":"created","comment":{"url":"https://api.github.com/repos/Weasyl/weasyl/pulls/comments/65108166","id":65108166,"diff_hunk":"@@ -343,7 +343,7 @@ def captcha_verify(form):\n     return result[0] == 'true'\n \n \n-def get_userid(sessionid=None):\n+def get_userid(scopes=None):\n     \"\"\"\n     Returns the userid corresponding to the user's sessionid; if no such session","path":"weasyl/define.py","position":7,"original_position":7,"commit_id":"918b8b20b778438697ca8650aa94bce87342bf5f","original_commit_id":"918b8b20b778438697ca8650aa94bce87342bf5f","user":{"login":"strain-113","id":14268876,"avatar_url":"https://avatars.githubusercontent.com/u/14268876?v=3","gravatar_id":"","url":"https://api.github.com/users/strain-113","html_url":"https://github.com/strain-113","followers_url":"https://api.github.com/users/strain-113/followers","following_url":"https://api.github.com/users/strain-113/following{/other_user}","gists_url":"https://api.github.com/users/strain-113/gists{/gist_id}","starred_url":"https://api.github.com/users/strain-113/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strain-113/subscriptions","organizations_url":"https://api.github.com/users/strain-113/orgs","repos_url":"https://api.github.com/users/strain-113/repos","events_url":"https://api.github.com/users/strain-113/events{/privacy}","received_events_url":"https://api.github.com/users/strain-113/received_events","type":"User","site_admin":false},"body":"This docstring needs an update now.","created_at":"2016-05-30T22:06:54Z","updated_at":"2016-05-30T22:06:54Z","html_url":"https://github.com/Weasyl/weasyl/pull/15#discussion_r65108166","pull_request_url":"https://api.github.com/repos/Weasyl/weasyl/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/Weasyl/weasyl/pulls/comments/65108166"},"html":{"href":"https://github.com/Weasyl/weasyl/pull/15#discussion_r65108166"},"pull_request":{"href":"https://api.github.com/repos/Weasyl/weasyl/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/Weasyl/weasyl/pulls/15","id":71939095,"html_url":"https://github.com/Weasyl/weasyl/pull/15","diff_url":"https://github.com/Weasyl/weasyl/pull/15.diff","patch_url":"https://github.com/Weasyl/weasyl/pull/15.patch","issue_url":"https://api.github.com/repos/Weasyl/weasyl/issues/15","number":15,"state":"open","locked":false,"title":"Accessible oauth","user":{"login":"taedixon","id":6359597,"avatar_url":"https://avatars.githubusercontent.com/u/6359597?v=3","gravatar_id":"","url":"https://api.github.com/users/taedixon","html_url":"https://github.com/taedixon","followers_url":"https://api.github.com/users/taedixon/followers","following_url":"https://api.github.com/users/taedixon/following{/other_user}","gists_url":"https://api.github.com/users/taedixon/gists{/gist_id}","starred_url":"https://api.github.com/users/taedixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taedixon/subscriptions","organizations_url":"https://api.github.com/users/taedixon/orgs","repos_url":"https://api.github.com/users/taedixon/repos","events_url":"https://api.github.com/users/taedixon/events{/privacy}","received_events_url":"https://api.github.com/users/taedixon/received_events","type":"User","site_admin":false},"body":"Changes to allow Weasyl users to generate their own OAuth2 client ID's and client secrets  (with limited scopes). Relies on Weasyl/libweasyl#3\r\nAlso modifies  the OAuth clickthrough page to display more information about the various scopes the application is requesting.\r\n\r\nThe registration and management UI is a bit (read: a lot) brutish so feel free to tear it apart but it should be at least basically functional. it's a developer thing anyway so getting it *beautiful* is not my highest priority.","created_at":"2016-05-30T21:27:28Z","updated_at":"2016-05-30T22:06:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1073e993f55ee8e64b75b766e0b367f378bf4ef0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Weasyl/weasyl/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Weasyl/weasyl/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Weasyl/weasyl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Weasyl/weasyl/issues/15/comments","statuses_url":"https://api.github.com/repos/Weasyl/weasyl/statuses/918b8b20b778438697ca8650aa94bce87342bf5f","head":{"label":"taedixon:g-accessible-oauth","ref":"g-accessible-oauth","sha":"918b8b20b778438697ca8650aa94bce87342bf5f","user":{"login":"taedixon","id":6359597,"avatar_url":"https://avatars.githubusercontent.com/u/6359597?v=3","gravatar_id":"","url":"https://api.github.com/users/taedixon","html_url":"https://github.com/taedixon","followers_url":"https://api.github.com/users/taedixon/followers","following_url":"https://api.github.com/users/taedixon/following{/other_user}","gists_url":"https://api.github.com/users/taedixon/gists{/gist_id}","starred_url":"https://api.github.com/users/taedixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taedixon/subscriptions","organizations_url":"https://api.github.com/users/taedixon/orgs","repos_url":"https://api.github.com/users/taedixon/repos","events_url":"https://api.github.com/users/taedixon/events{/privacy}","received_events_url":"https://api.github.com/users/taedixon/received_events","type":"User","site_admin":false},"repo":{"id":59963214,"name":"weasyl","full_name":"taedixon/weasyl","owner":{"login":"taedixon","id":6359597,"avatar_url":"https://avatars.githubusercontent.com/u/6359597?v=3","gravatar_id":"","url":"https://api.github.com/users/taedixon","html_url":"https://github.com/taedixon","followers_url":"https://api.github.com/users/taedixon/followers","following_url":"https://api.github.com/users/taedixon/following{/other_user}","gists_url":"https://api.github.com/users/taedixon/gists{/gist_id}","starred_url":"https://api.github.com/users/taedixon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taedixon/subscriptions","organizations_url":"https://api.github.com/users/taedixon/orgs","repos_url":"https://api.github.com/users/taedixon/repos","events_url":"https://api.github.com/users/taedixon/events{/privacy}","received_events_url":"https://api.github.com/users/taedixon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/taedixon/weasyl","description":"The website.","fork":true,"url":"https://api.github.com/repos/taedixon/weasyl","forks_url":"https://api.github.com/repos/taedixon/weasyl/forks","keys_url":"https://api.github.com/repos/taedixon/weasyl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taedixon/weasyl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taedixon/weasyl/teams","hooks_url":"https://api.github.com/repos/taedixon/weasyl/hooks","issue_events_url":"https://api.github.com/repos/taedixon/weasyl/issues/events{/number}","events_url":"https://api.github.com/repos/taedixon/weasyl/events","assignees_url":"https://api.github.com/repos/taedixon/weasyl/assignees{/user}","branches_url":"https://api.github.com/repos/taedixon/weasyl/branches{/branch}","tags_url":"https://api.github.com/repos/taedixon/weasyl/tags","blobs_url":"https://api.github.com/repos/taedixon/weasyl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taedixon/weasyl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taedixon/weasyl/git/refs{/sha}","trees_url":"https://api.github.com/repos/taedixon/weasyl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taedixon/weasyl/statuses/{sha}","languages_url":"https://api.github.com/repos/taedixon/weasyl/languages","stargazers_url":"https://api.github.com/repos/taedixon/weasyl/stargazers","contributors_url":"https://api.github.com/repos/taedixon/weasyl/contributors","subscribers_url":"https://api.github.com/repos/taedixon/weasyl/subscribers","subscription_url":"https://api.github.com/repos/taedixon/weasyl/subscription","commits_url":"https://api.github.com/repos/taedixon/weasyl/commits{/sha}","git_commits_url":"https://api.github.com/repos/taedixon/weasyl/git/commits{/sha}","comments_url":"https://api.github.com/repos/taedixon/weasyl/comments{/number}","issue_comment_url":"https://api.github.com/repos/taedixon/weasyl/issues/comments{/number}","contents_url":"https://api.github.com/repos/taedixon/weasyl/contents/{+path}","compare_url":"https://api.github.com/repos/taedixon/weasyl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taedixon/weasyl/merges","archive_url":"https://api.github.com/repos/taedixon/weasyl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taedixon/weasyl/downloads","issues_url":"https://api.github.com/repos/taedixon/weasyl/issues{/number}","pulls_url":"https://api.github.com/repos/taedixon/weasyl/pulls{/number}","milestones_url":"https://api.github.com/repos/taedixon/weasyl/milestones{/number}","notifications_url":"https://api.github.com/repos/taedixon/weasyl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taedixon/weasyl/labels{/name}","releases_url":"https://api.github.com/repos/taedixon/weasyl/releases{/id}","deployments_url":"https://api.github.com/repos/taedixon/weasyl/deployments","created_at":"2016-05-29T20:48:36Z","updated_at":"2016-05-29T20:48:38Z","pushed_at":"2016-05-29T23:51:21Z","git_url":"git://github.com/taedixon/weasyl.git","ssh_url":"git@github.com:taedixon/weasyl.git","clone_url":"https://github.com/taedixon/weasyl.git","svn_url":"https://github.com/taedixon/weasyl","homepage":"https://www.weasyl.com/","size":2777,"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":"Weasyl:master","ref":"master","sha":"3d36af855bb8ecbb37ffe7d34d1010b2d48a7ade","user":{"login":"Weasyl","id":2838769,"avatar_url":"https://avatars.githubusercontent.com/u/2838769?v=3","gravatar_id":"","url":"https://api.github.com/users/Weasyl","html_url":"https://github.com/Weasyl","followers_url":"https://api.github.com/users/Weasyl/followers","following_url":"https://api.github.com/users/Weasyl/following{/other_user}","gists_url":"https://api.github.com/users/Weasyl/gists{/gist_id}","starred_url":"https://api.github.com/users/Weasyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Weasyl/subscriptions","organizations_url":"https://api.github.com/users/Weasyl/orgs","repos_url":"https://api.github.com/users/Weasyl/repos","events_url":"https://api.github.com/users/Weasyl/events{/privacy}","received_events_url":"https://api.github.com/users/Weasyl/received_events","type":"Organization","site_admin":false},"repo":{"id":58244355,"name":"weasyl","full_name":"Weasyl/weasyl","owner":{"login":"Weasyl","id":2838769,"avatar_url":"https://avatars.githubusercontent.com/u/2838769?v=3","gravatar_id":"","url":"https://api.github.com/users/Weasyl","html_url":"https://github.com/Weasyl","followers_url":"https://api.github.com/users/Weasyl/followers","following_url":"https://api.github.com/users/Weasyl/following{/other_user}","gists_url":"https://api.github.com/users/Weasyl/gists{/gist_id}","starred_url":"https://api.github.com/users/Weasyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Weasyl/subscriptions","organizations_url":"https://api.github.com/users/Weasyl/orgs","repos_url":"https://api.github.com/users/Weasyl/repos","events_url":"https://api.github.com/users/Weasyl/events{/privacy}","received_events_url":"https://api.github.com/users/Weasyl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Weasyl/weasyl","description":"The website.","fork":false,"url":"https://api.github.com/repos/Weasyl/weasyl","forks_url":"https://api.github.com/repos/Weasyl/weasyl/forks","keys_url":"https://api.github.com/repos/Weasyl/weasyl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Weasyl/weasyl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Weasyl/weasyl/teams","hooks_url":"https://api.github.com/repos/Weasyl/weasyl/hooks","issue_events_url":"https://api.github.com/repos/Weasyl/weasyl/issues/events{/number}","events_url":"https://api.github.com/repos/Weasyl/weasyl/events","assignees_url":"https://api.github.com/repos/Weasyl/weasyl/assignees{/user}","branches_url":"https://api.github.com/repos/Weasyl/weasyl/branches{/branch}","tags_url":"https://api.github.com/repos/Weasyl/weasyl/tags","blobs_url":"https://api.github.com/repos/Weasyl/weasyl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Weasyl/weasyl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Weasyl/weasyl/git/refs{/sha}","trees_url":"https://api.github.com/repos/Weasyl/weasyl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Weasyl/weasyl/statuses/{sha}","languages_url":"https://api.github.com/repos/Weasyl/weasyl/languages","stargazers_url":"https://api.github.com/repos/Weasyl/weasyl/stargazers","contributors_url":"https://api.github.com/repos/Weasyl/weasyl/contributors","subscribers_url":"https://api.github.com/repos/Weasyl/weasyl/subscribers","subscription_url":"https://api.github.com/repos/Weasyl/weasyl/subscription","commits_url":"https://api.github.com/repos/Weasyl/weasyl/commits{/sha}","git_commits_url":"https://api.github.com/repos/Weasyl/weasyl/git/commits{/sha}","comments_url":"https://api.github.com/repos/Weasyl/weasyl/comments{/number}","issue_comment_url":"https://api.github.com/repos/Weasyl/weasyl/issues/comments{/number}","contents_url":"https://api.github.com/repos/Weasyl/weasyl/contents/{+path}","compare_url":"https://api.github.com/repos/Weasyl/weasyl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Weasyl/weasyl/merges","archive_url":"https://api.github.com/repos/Weasyl/weasyl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Weasyl/weasyl/downloads","issues_url":"https://api.github.com/repos/Weasyl/weasyl/issues{/number}","pulls_url":"https://api.github.com/repos/Weasyl/weasyl/pulls{/number}","milestones_url":"https://api.github.com/repos/Weasyl/weasyl/milestones{/number}","notifications_url":"https://api.github.com/repos/Weasyl/weasyl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Weasyl/weasyl/labels{/name}","releases_url":"https://api.github.com/repos/Weasyl/weasyl/releases{/id}","deployments_url":"https://api.github.com/repos/Weasyl/weasyl/deployments","created_at":"2016-05-07T01:53:26Z","updated_at":"2016-05-30T21:10:18Z","pushed_at":"2016-05-30T21:27:28Z","git_url":"git://github.com/Weasyl/weasyl.git","ssh_url":"git@github.com:Weasyl/weasyl.git","clone_url":"https://github.com/Weasyl/weasyl.git","svn_url":"https://github.com/Weasyl/weasyl","homepage":"https://www.weasyl.com/","size":2744,"stargazers_count":35,"watchers_count":35,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":13,"forks":4,"open_issues":13,"watchers":35,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Weasyl/weasyl/pulls/15"},"html":{"href":"https://github.com/Weasyl/weasyl/pull/15"},"issue":{"href":"https://api.github.com/repos/Weasyl/weasyl/issues/15"},"comments":{"href":"https://api.github.com/repos/Weasyl/weasyl/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Weasyl/weasyl/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Weasyl/weasyl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Weasyl/weasyl/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Weasyl/weasyl/statuses/918b8b20b778438697ca8650aa94bce87342bf5f"}}}}
{"actor":{"display_login":"strain-113"}}