{"action":"opened","number":2804,"pull_request":{"url":"https://api.github.com/repos/r888888888/danbooru/pulls/2804","id":99410428,"html_url":"https://github.com/r888888888/danbooru/pull/2804","diff_url":"https://github.com/r888888888/danbooru/pull/2804.diff","patch_url":"https://github.com/r888888888/danbooru/pull/2804.patch","issue_url":"https://api.github.com/repos/r888888888/danbooru/issues/2804","number":2804,"state":"open","locked":false,"title":"Add option to comment as moderator (fix #2799)","user":{"login":"evazion","id":8430473,"avatar_url":"https://avatars.githubusercontent.com/u/8430473?v=3","gravatar_id":"","url":"https://api.github.com/users/evazion","html_url":"https://github.com/evazion","followers_url":"https://api.github.com/users/evazion/followers","following_url":"https://api.github.com/users/evazion/following{/other_user}","gists_url":"https://api.github.com/users/evazion/gists{/gist_id}","starred_url":"https://api.github.com/users/evazion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evazion/subscriptions","organizations_url":"https://api.github.com/users/evazion/orgs","repos_url":"https://api.github.com/users/evazion/repos","events_url":"https://api.github.com/users/evazion/events{/privacy}","received_events_url":"https://api.github.com/users/evazion/received_events","type":"User","site_admin":false},"body":"* Adds a 'post as moderator' option to the comment form. This creates a so-called sticky comment.\r\n* Stickied comments may be downvoted, but they are never hidden (they're always visible, regardless of score).\r\n* Stickied comments have a slight background highlight.\r\n* Only mods may sticky comments.\r\n* Mods may sticky comments left by other mods (or even by regular users).\r\n* Admin comments may now be downvoted.\r\n\r\nAlso here were three separate comment edit form templates; this merges them into one form.\r\n\r\nThis PR is based on PR #2803, but most of that is unrelated; the relevant commits in this are 1257639, 91e368f, 82e93b3. ","created_at":"2016-12-27T06:35:24Z","updated_at":"2016-12-27T06:35:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/r888888888/danbooru/pulls/2804/commits","review_comments_url":"https://api.github.com/repos/r888888888/danbooru/pulls/2804/comments","review_comment_url":"https://api.github.com/repos/r888888888/danbooru/pulls/comments{/number}","comments_url":"https://api.github.com/repos/r888888888/danbooru/issues/2804/comments","statuses_url":"https://api.github.com/repos/r888888888/danbooru/statuses/0e73f3c8a9e01a1f9009ed44186ef28bb3230776","head":{"label":"evazion:feat-comment-as-mod","ref":"feat-comment-as-mod","sha":"0e73f3c8a9e01a1f9009ed44186ef28bb3230776","user":{"login":"evazion","id":8430473,"avatar_url":"https://avatars.githubusercontent.com/u/8430473?v=3","gravatar_id":"","url":"https://api.github.com/users/evazion","html_url":"https://github.com/evazion","followers_url":"https://api.github.com/users/evazion/followers","following_url":"https://api.github.com/users/evazion/following{/other_user}","gists_url":"https://api.github.com/users/evazion/gists{/gist_id}","starred_url":"https://api.github.com/users/evazion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evazion/subscriptions","organizations_url":"https://api.github.com/users/evazion/orgs","repos_url":"https://api.github.com/users/evazion/repos","events_url":"https://api.github.com/users/evazion/events{/privacy}","received_events_url":"https://api.github.com/users/evazion/received_events","type":"User","site_admin":false},"repo":{"id":23452634,"name":"danbooru","full_name":"evazion/danbooru","owner":{"login":"evazion","id":8430473,"avatar_url":"https://avatars.githubusercontent.com/u/8430473?v=3","gravatar_id":"","url":"https://api.github.com/users/evazion","html_url":"https://github.com/evazion","followers_url":"https://api.github.com/users/evazion/followers","following_url":"https://api.github.com/users/evazion/following{/other_user}","gists_url":"https://api.github.com/users/evazion/gists{/gist_id}","starred_url":"https://api.github.com/users/evazion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evazion/subscriptions","organizations_url":"https://api.github.com/users/evazion/orgs","repos_url":"https://api.github.com/users/evazion/repos","events_url":"https://api.github.com/users/evazion/events{/privacy}","received_events_url":"https://api.github.com/users/evazion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/evazion/danbooru","description":"Danbooru is a taggable image board written in Rails 3.","fork":true,"url":"https://api.github.com/repos/evazion/danbooru","forks_url":"https://api.github.com/repos/evazion/danbooru/forks","keys_url":"https://api.github.com/repos/evazion/danbooru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/evazion/danbooru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/evazion/danbooru/teams","hooks_url":"https://api.github.com/repos/evazion/danbooru/hooks","issue_events_url":"https://api.github.com/repos/evazion/danbooru/issues/events{/number}","events_url":"https://api.github.com/repos/evazion/danbooru/events","assignees_url":"https://api.github.com/repos/evazion/danbooru/assignees{/user}","branches_url":"https://api.github.com/repos/evazion/danbooru/branches{/branch}","tags_url":"https://api.github.com/repos/evazion/danbooru/tags","blobs_url":"https://api.github.com/repos/evazion/danbooru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/evazion/danbooru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/evazion/danbooru/git/refs{/sha}","trees_url":"https://api.github.com/repos/evazion/danbooru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/evazion/danbooru/statuses/{sha}","languages_url":"https://api.github.com/repos/evazion/danbooru/languages","stargazers_url":"https://api.github.com/repos/evazion/danbooru/stargazers","contributors_url":"https://api.github.com/repos/evazion/danbooru/contributors","subscribers_url":"https://api.github.com/repos/evazion/danbooru/subscribers","subscription_url":"https://api.github.com/repos/evazion/danbooru/subscription","commits_url":"https://api.github.com/repos/evazion/danbooru/commits{/sha}","git_commits_url":"https://api.github.com/repos/evazion/danbooru/git/commits{/sha}","comments_url":"https://api.github.com/repos/evazion/danbooru/comments{/number}","issue_comment_url":"https://api.github.com/repos/evazion/danbooru/issues/comments{/number}","contents_url":"https://api.github.com/repos/evazion/danbooru/contents/{+path}","compare_url":"https://api.github.com/repos/evazion/danbooru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/evazion/danbooru/merges","archive_url":"https://api.github.com/repos/evazion/danbooru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/evazion/danbooru/downloads","issues_url":"https://api.github.com/repos/evazion/danbooru/issues{/number}","pulls_url":"https://api.github.com/repos/evazion/danbooru/pulls{/number}","milestones_url":"https://api.github.com/repos/evazion/danbooru/milestones{/number}","notifications_url":"https://api.github.com/repos/evazion/danbooru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/evazion/danbooru/labels{/name}","releases_url":"https://api.github.com/repos/evazion/danbooru/releases{/id}","deployments_url":"https://api.github.com/repos/evazion/danbooru/deployments","created_at":"2014-08-29T04:32:08Z","updated_at":"2016-09-28T00:59:14Z","pushed_at":"2016-12-27T06:03:23Z","git_url":"git://github.com/evazion/danbooru.git","ssh_url":"git@github.com:evazion/danbooru.git","clone_url":"https://github.com/evazion/danbooru.git","svn_url":"https://github.com/evazion/danbooru","homepage":"http://testbooru.donmai.us","size":43144,"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":"r888888888:master","ref":"master","sha":"258464601740a2178cbca11aec43c182a514079a","user":{"login":"r888888888","id":197031,"avatar_url":"https://avatars.githubusercontent.com/u/197031?v=3","gravatar_id":"","url":"https://api.github.com/users/r888888888","html_url":"https://github.com/r888888888","followers_url":"https://api.github.com/users/r888888888/followers","following_url":"https://api.github.com/users/r888888888/following{/other_user}","gists_url":"https://api.github.com/users/r888888888/gists{/gist_id}","starred_url":"https://api.github.com/users/r888888888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r888888888/subscriptions","organizations_url":"https://api.github.com/users/r888888888/orgs","repos_url":"https://api.github.com/users/r888888888/repos","events_url":"https://api.github.com/users/r888888888/events{/privacy}","received_events_url":"https://api.github.com/users/r888888888/received_events","type":"User","site_admin":false},"repo":{"id":502760,"name":"danbooru","full_name":"r888888888/danbooru","owner":{"login":"r888888888","id":197031,"avatar_url":"https://avatars.githubusercontent.com/u/197031?v=3","gravatar_id":"","url":"https://api.github.com/users/r888888888","html_url":"https://github.com/r888888888","followers_url":"https://api.github.com/users/r888888888/followers","following_url":"https://api.github.com/users/r888888888/following{/other_user}","gists_url":"https://api.github.com/users/r888888888/gists{/gist_id}","starred_url":"https://api.github.com/users/r888888888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r888888888/subscriptions","organizations_url":"https://api.github.com/users/r888888888/orgs","repos_url":"https://api.github.com/users/r888888888/repos","events_url":"https://api.github.com/users/r888888888/events{/privacy}","received_events_url":"https://api.github.com/users/r888888888/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/r888888888/danbooru","description":"Danbooru is a taggable image board written in Rails 4.","fork":false,"url":"https://api.github.com/repos/r888888888/danbooru","forks_url":"https://api.github.com/repos/r888888888/danbooru/forks","keys_url":"https://api.github.com/repos/r888888888/danbooru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/r888888888/danbooru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/r888888888/danbooru/teams","hooks_url":"https://api.github.com/repos/r888888888/danbooru/hooks","issue_events_url":"https://api.github.com/repos/r888888888/danbooru/issues/events{/number}","events_url":"https://api.github.com/repos/r888888888/danbooru/events","assignees_url":"https://api.github.com/repos/r888888888/danbooru/assignees{/user}","branches_url":"https://api.github.com/repos/r888888888/danbooru/branches{/branch}","tags_url":"https://api.github.com/repos/r888888888/danbooru/tags","blobs_url":"https://api.github.com/repos/r888888888/danbooru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/r888888888/danbooru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/r888888888/danbooru/git/refs{/sha}","trees_url":"https://api.github.com/repos/r888888888/danbooru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/r888888888/danbooru/statuses/{sha}","languages_url":"https://api.github.com/repos/r888888888/danbooru/languages","stargazers_url":"https://api.github.com/repos/r888888888/danbooru/stargazers","contributors_url":"https://api.github.com/repos/r888888888/danbooru/contributors","subscribers_url":"https://api.github.com/repos/r888888888/danbooru/subscribers","subscription_url":"https://api.github.com/repos/r888888888/danbooru/subscription","commits_url":"https://api.github.com/repos/r888888888/danbooru/commits{/sha}","git_commits_url":"https://api.github.com/repos/r888888888/danbooru/git/commits{/sha}","comments_url":"https://api.github.com/repos/r888888888/danbooru/comments{/number}","issue_comment_url":"https://api.github.com/repos/r888888888/danbooru/issues/comments{/number}","contents_url":"https://api.github.com/repos/r888888888/danbooru/contents/{+path}","compare_url":"https://api.github.com/repos/r888888888/danbooru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/r888888888/danbooru/merges","archive_url":"https://api.github.com/repos/r888888888/danbooru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/r888888888/danbooru/downloads","issues_url":"https://api.github.com/repos/r888888888/danbooru/issues{/number}","pulls_url":"https://api.github.com/repos/r888888888/danbooru/pulls{/number}","milestones_url":"https://api.github.com/repos/r888888888/danbooru/milestones{/number}","notifications_url":"https://api.github.com/repos/r888888888/danbooru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/r888888888/danbooru/labels{/name}","releases_url":"https://api.github.com/repos/r888888888/danbooru/releases{/id}","deployments_url":"https://api.github.com/repos/r888888888/danbooru/deployments","created_at":"2010-02-04T19:59:27Z","updated_at":"2016-12-25T17:11:02Z","pushed_at":"2016-12-27T06:14:17Z","git_url":"git://github.com/r888888888/danbooru.git","ssh_url":"git@github.com:r888888888/danbooru.git","clone_url":"https://github.com/r888888888/danbooru.git","svn_url":"https://github.com/r888888888/danbooru","homepage":"http://testbooru.donmai.us","size":42631,"stargazers_count":423,"watchers_count":423,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":89,"mirror_url":null,"open_issues_count":222,"forks":89,"open_issues":222,"watchers":423,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/r888888888/danbooru/pulls/2804"},"html":{"href":"https://github.com/r888888888/danbooru/pull/2804"},"issue":{"href":"https://api.github.com/repos/r888888888/danbooru/issues/2804"},"comments":{"href":"https://api.github.com/repos/r888888888/danbooru/issues/2804/comments"},"review_comments":{"href":"https://api.github.com/repos/r888888888/danbooru/pulls/2804/comments"},"review_comment":{"href":"https://api.github.com/repos/r888888888/danbooru/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/r888888888/danbooru/pulls/2804/commits"},"statuses":{"href":"https://api.github.com/repos/r888888888/danbooru/statuses/0e73f3c8a9e01a1f9009ed44186ef28bb3230776"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":11,"additions":165,"deletions":74,"changed_files":17}}
{"actor":{"display_login":"evazion"}}