GitHub PullRequestReviewCommentEvent at 2014-06-10 01:16:01
Repository: reddit-plugin-liveupdate
Actor: chromakode
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/comments/13573715","id":13573715,"diff_hunk":"@@ -0,0 +1,65 @@\n+!function(r, Backbone, $, _) {\n+  'use strict'\n+\n+  var exports = r.liveupdate.report = {}\n+\n+  exports.ReportForm = Backbone.View.extend({\n+    el: '#report',\n+\n+    events: {\n+      'click .report-button': 'onOpen',\n+      'click .cancel': 'onCancel',\n+      'change input[type=radio]': 'onReportTypeSelected',","path":"reddit_liveupdate/public/static/js/liveupdate/report.js","position":12,"original_position":12,"commit_id":"67604137141ad758d6d7e69cbf539201d6037ec3","original_commit_id":"1cc1018555ec1633ab33784da3cc0ca88fac7ef7","user":{"login":"chromakode","id":16893,"avatar_url":"https://avatars.githubusercontent.com/u/16893?","gravatar_id":"ceb705506e72e2e845b6c0d577fb8ca9","url":"https://api.github.com/users/chromakode","html_url":"https://github.com/chromakode","followers_url":"https://api.github.com/users/chromakode/followers","following_url":"https://api.github.com/users/chromakode/following{/other_user}","gists_url":"https://api.github.com/users/chromakode/gists{/gist_id}","starred_url":"https://api.github.com/users/chromakode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chromakode/subscriptions","organizations_url":"https://api.github.com/users/chromakode/orgs","repos_url":"https://api.github.com/users/chromakode/repos","events_url":"https://api.github.com/users/chromakode/events{/privacy}","received_events_url":"https://api.github.com/users/chromakode/received_events","type":"User","site_admin":false},"body":"I would prefer a class selector slightly to an element type here","created_at":"2014-06-10T01:16:01Z","updated_at":"2014-06-10T01:16:01Z","html_url":"https://github.com/reddit/reddit-plugin-liveupdate/pull/64#discussion_r13573715","pull_request_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/64","_links":{"self":{"href":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/comments/13573715"},"html":{"href":"https://github.com/reddit/reddit-plugin-liveupdate/pull/64#discussion_r13573715"},"pull_request":{"href":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/64"}}},"pull_request":{"url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/64","id":16847527,"html_url":"https://github.com/reddit/reddit-plugin-liveupdate/pull/64","diff_url":"https://github.com/reddit/reddit-plugin-liveupdate/pull/64.diff","patch_url":"https://github.com/reddit/reddit-plugin-liveupdate/pull/64.patch","issue_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/issues/64","number":64,"state":"open","title":"Anti-evil features in preparation for user-creatable streams.","user":{"login":"spladug","id":338853,"avatar_url":"https://avatars.githubusercontent.com/u/338853?","gravatar_id":"51990ad9de3f20a7dbe23acd24e48e8d","url":"https://api.github.com/users/spladug","html_url":"https://github.com/spladug","followers_url":"https://api.github.com/users/spladug/followers","following_url":"https://api.github.com/users/spladug/following{/other_user}","gists_url":"https://api.github.com/users/spladug/gists{/gist_id}","starred_url":"https://api.github.com/users/spladug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spladug/subscriptions","organizations_url":"https://api.github.com/users/spladug/orgs","repos_url":"https://api.github.com/users/spladug/repos","events_url":"https://api.github.com/users/spladug/events{/privacy}","received_events_url":"https://api.github.com/users/spladug/received_events","type":"User","site_admin":false},"body":"This is a batch of core anti-evil features that I feel are necessary before user-creatable streams are allowed. \r\n\r\n* A couple of tweaks to the discussion sidebar: removed and deleted posts won't be shown anymore and a data attribute can be used to override if a bad thread is put in.\r\n* Contributors are now invited like moderators rather than directly added.  There's a quota on the maximum number of invites that can be outstanding at any given time.\r\n* Events can be reported for breaking the sitewide rules. An admin interface is provided to view the reported events, counts by type of report, and to ban/approve them.  Banned events are not visible to users.\r\n* Admins can create events from the UI.\r\n\r\n![output](https://cloud.githubusercontent.com/assets/338853/3206860/89916b86-edcf-11e3-8086-23f4b0e59b91.gif)\r\n\r\nI would like to roll this out as soon as possible (the weekend notwithstanding) to pave the way for user-creatable streams as soon as the end of next week (world cup).\r\n\r\n:eyeglasses: @chromakode @umbrae @Deimos \r\n\r\nNotes: \r\n\r\n* there's some JS in the templates. This was deliberate to keep stuff that will never be used by non-admins out of the big bundle to save download time)\r\n* I split the controllers up to separate files in the second to last commit. this makes the diff pretty hard to read.  Recommend reading separate commits.","created_at":"2014-06-06T23:16:57Z","updated_at":"2014-06-10T01:16:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82aca584cd110541ce1948af3a087c4ace28616a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/64/commits","review_comments_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/64/comments","review_comment_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/comments/{number}","comments_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/issues/64/comments","statuses_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/statuses/67604137141ad758d6d7e69cbf539201d6037ec3","head":{"label":"reddit:anti-evil","ref":"anti-evil","sha":"67604137141ad758d6d7e69cbf539201d6037ec3","user":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?","gravatar_id":"c638493729c2f009988c9e5bd9b5e116","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"repo":{"id":10514101,"name":"reddit-plugin-liveupdate","full_name":"reddit/reddit-plugin-liveupdate","owner":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?","gravatar_id":"c638493729c2f009988c9e5bd9b5e116","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reddit/reddit-plugin-liveupdate","description":"a reddit plugin for high-traffic live update threads","fork":false,"url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate","forks_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/forks","keys_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/teams","hooks_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/hooks","issue_events_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/issues/events{/number}","events_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/events","assignees_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/assignees{/user}","branches_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/branches{/branch}","tags_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/tags","blobs_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/git/refs{/sha}","trees_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/statuses/{sha}","languages_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/languages","stargazers_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/stargazers","contributors_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/contributors","subscribers_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/subscribers","subscription_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/subscription","commits_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/commits{/sha}","git_commits_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/git/commits{/sha}","comments_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/comments{/number}","issue_comment_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/issues/comments/{number}","contents_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/contents/{+path}","compare_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/merges","archive_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/downloads","issues_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/issues{/number}","pulls_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls{/number}","milestones_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/milestones{/number}","notifications_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/labels{/name}","releases_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/releases{/id}","created_at":"2013-06-05T22:26:13Z","updated_at":"2014-06-10T01:13:52Z","pushed_at":"2014-06-10T01:13:52Z","git_url":"git://github.com/reddit/reddit-plugin-liveupdate.git","ssh_url":"git@github.com:reddit/reddit-plugin-liveupdate.git","clone_url":"https://github.com/reddit/reddit-plugin-liveupdate.git","svn_url":"https://github.com/reddit/reddit-plugin-liveupdate","homepage":"","size":3201,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":11,"mirror_url":null,"open_issues_count":5,"forks":11,"open_issues":5,"watchers":9,"default_branch":"master"}},"base":{"label":"reddit:master","ref":"master","sha":"cc819ab5bd3df56461ccad1ae2e9c7cda929d7c6","user":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?","gravatar_id":"c638493729c2f009988c9e5bd9b5e116","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"repo":{"id":10514101,"name":"reddit-plugin-liveupdate","full_name":"reddit/reddit-plugin-liveupdate","owner":{"login":"reddit","id":14248,"avatar_url":"https://avatars.githubusercontent.com/u/14248?","gravatar_id":"c638493729c2f009988c9e5bd9b5e116","url":"https://api.github.com/users/reddit","html_url":"https://github.com/reddit","followers_url":"https://api.github.com/users/reddit/followers","following_url":"https://api.github.com/users/reddit/following{/other_user}","gists_url":"https://api.github.com/users/reddit/gists{/gist_id}","starred_url":"https://api.github.com/users/reddit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reddit/subscriptions","organizations_url":"https://api.github.com/users/reddit/orgs","repos_url":"https://api.github.com/users/reddit/repos","events_url":"https://api.github.com/users/reddit/events{/privacy}","received_events_url":"https://api.github.com/users/reddit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reddit/reddit-plugin-liveupdate","description":"a reddit plugin for high-traffic live update threads","fork":false,"url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate","forks_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/forks","keys_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/teams","hooks_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/hooks","issue_events_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/issues/events{/number}","events_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/events","assignees_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/assignees{/user}","branches_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/branches{/branch}","tags_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/tags","blobs_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/git/refs{/sha}","trees_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/statuses/{sha}","languages_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/languages","stargazers_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/stargazers","contributors_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/contributors","subscribers_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/subscribers","subscription_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/subscription","commits_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/commits{/sha}","git_commits_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/git/commits{/sha}","comments_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/comments{/number}","issue_comment_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/issues/comments/{number}","contents_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/contents/{+path}","compare_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/merges","archive_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/downloads","issues_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/issues{/number}","pulls_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls{/number}","milestones_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/milestones{/number}","notifications_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/labels{/name}","releases_url":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/releases{/id}","created_at":"2013-06-05T22:26:13Z","updated_at":"2014-06-10T01:13:52Z","pushed_at":"2014-06-10T01:13:52Z","git_url":"git://github.com/reddit/reddit-plugin-liveupdate.git","ssh_url":"git@github.com:reddit/reddit-plugin-liveupdate.git","clone_url":"https://github.com/reddit/reddit-plugin-liveupdate.git","svn_url":"https://github.com/reddit/reddit-plugin-liveupdate","homepage":"","size":3201,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":11,"mirror_url":null,"open_issues_count":5,"forks":11,"open_issues":5,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/64"},"html":{"href":"https://github.com/reddit/reddit-plugin-liveupdate/pull/64"},"issue":{"href":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/issues/64"},"comments":{"href":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/issues/64/comments"},"review_comments":{"href":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/64/comments"},"review_comment":{"href":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/pulls/64/commits"},"statuses":{"href":"https://api.github.com/repos/reddit/reddit-plugin-liveupdate/statuses/67604137141ad758d6d7e69cbf539201d6037ec3"}}}}