{"action":"created","comment":{"url":"https://api.github.com/repos/LLK/s2forums/pulls/comments/25430073","id":25430073,"diff_hunk":"@@ -793,6 +810,16 @@ def filter_ham(self):\n         pass\n \n     @transition(\n+        field=state, source=UNREVIEWED, target=USER_DELETED,","path":"djangobb_forum/models.py","position":35,"original_position":35,"commit_id":"b2c20927efec2b99d173d2da87a05588ffac679e","original_commit_id":"b2c20927efec2b99d173d2da87a05588ffac679e","user":{"login":"rschamp","id":1512021,"avatar_url":"https://avatars.githubusercontent.com/u/1512021?v=3","gravatar_id":"","url":"https://api.github.com/users/rschamp","html_url":"https://github.com/rschamp","followers_url":"https://api.github.com/users/rschamp/followers","following_url":"https://api.github.com/users/rschamp/following{/other_user}","gists_url":"https://api.github.com/users/rschamp/gists{/gist_id}","starred_url":"https://api.github.com/users/rschamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rschamp/subscriptions","organizations_url":"https://api.github.com/users/rschamp/orgs","repos_url":"https://api.github.com/users/rschamp/repos","events_url":"https://api.github.com/users/rschamp/events{/privacy}","received_events_url":"https://api.github.com/users/rschamp/received_events","type":"User","site_admin":false},"body":"I think we want to transition from all non-spam states, i.e., ``UNREVIEWED``, ``FILTERED_HAM``, ``MARKED_HAM``.","created_at":"2015-02-26T14:31:38Z","updated_at":"2015-02-26T14:31:38Z","html_url":"https://github.com/LLK/s2forums/pull/1331#discussion_r25430073","pull_request_url":"https://api.github.com/repos/LLK/s2forums/pulls/1331","_links":{"self":{"href":"https://api.github.com/repos/LLK/s2forums/pulls/comments/25430073"},"html":{"href":"https://github.com/LLK/s2forums/pull/1331#discussion_r25430073"},"pull_request":{"href":"https://api.github.com/repos/LLK/s2forums/pulls/1331"}}},"pull_request":{"url":"https://api.github.com/repos/LLK/s2forums/pulls/1331","id":30077334,"html_url":"https://github.com/LLK/s2forums/pull/1331","diff_url":"https://github.com/LLK/s2forums/pull/1331.diff","patch_url":"https://github.com/LLK/s2forums/pull/1331.patch","issue_url":"https://api.github.com/repos/LLK/s2forums/issues/1331","number":1331,"state":"open","locked":false,"title":"ban spammer - new user deleted status for global user deletion","user":{"login":"mewtaylor","id":1815772,"avatar_url":"https://avatars.githubusercontent.com/u/1815772?v=3","gravatar_id":"","url":"https://api.github.com/users/mewtaylor","html_url":"https://github.com/mewtaylor","followers_url":"https://api.github.com/users/mewtaylor/followers","following_url":"https://api.github.com/users/mewtaylor/following{/other_user}","gists_url":"https://api.github.com/users/mewtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/mewtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mewtaylor/subscriptions","organizations_url":"https://api.github.com/users/mewtaylor/orgs","repos_url":"https://api.github.com/users/mewtaylor/repos","events_url":"https://api.github.com/users/mewtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/mewtaylor/received_events","type":"User","site_admin":false},"body":"this created a new `PostStatus` state, `USER_DELETED`, which non spam posts can be set to on a user deletion. This allows for differentiation between user global deletion posts, and posts that are otherwise considered spam/deleted.\r\n\r\nThis also creates new manager methods to delete/undelete posts.","created_at":"2015-02-26T13:30:49Z","updated_at":"2015-02-26T14:31:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f4f4aaab08296909649c2edf40c336a8ddd4e2c0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/LLK/s2forums/pulls/1331/commits","review_comments_url":"https://api.github.com/repos/LLK/s2forums/pulls/1331/comments","review_comment_url":"https://api.github.com/repos/LLK/s2forums/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LLK/s2forums/issues/1331/comments","statuses_url":"https://api.github.com/repos/LLK/s2forums/statuses/b2c20927efec2b99d173d2da87a05588ffac679e","head":{"label":"LLK:feature/scratchr2-US802-ban-spammer","ref":"feature/scratchr2-US802-ban-spammer","sha":"b2c20927efec2b99d173d2da87a05588ffac679e","user":{"login":"LLK","id":3420800,"avatar_url":"https://avatars.githubusercontent.com/u/3420800?v=3","gravatar_id":"","url":"https://api.github.com/users/LLK","html_url":"https://github.com/LLK","followers_url":"https://api.github.com/users/LLK/followers","following_url":"https://api.github.com/users/LLK/following{/other_user}","gists_url":"https://api.github.com/users/LLK/gists{/gist_id}","starred_url":"https://api.github.com/users/LLK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLK/subscriptions","organizations_url":"https://api.github.com/users/LLK/orgs","repos_url":"https://api.github.com/users/LLK/repos","events_url":"https://api.github.com/users/LLK/events{/privacy}","received_events_url":"https://api.github.com/users/LLK/received_events","type":"Organization","site_admin":false},"repo":{"id":5907108,"name":"s2forums","full_name":"LLK/s2forums","owner":{"login":"LLK","id":3420800,"avatar_url":"https://avatars.githubusercontent.com/u/3420800?v=3","gravatar_id":"","url":"https://api.github.com/users/LLK","html_url":"https://github.com/LLK","followers_url":"https://api.github.com/users/LLK/followers","following_url":"https://api.github.com/users/LLK/following{/other_user}","gists_url":"https://api.github.com/users/LLK/gists{/gist_id}","starred_url":"https://api.github.com/users/LLK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLK/subscriptions","organizations_url":"https://api.github.com/users/LLK/orgs","repos_url":"https://api.github.com/users/LLK/repos","events_url":"https://api.github.com/users/LLK/events{/privacy}","received_events_url":"https://api.github.com/users/LLK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LLK/s2forums","description":"This is a fork of DjangoBB customized for Scratch 2.0. DjangoBB is a quick and simple forum which uses the Django Framework (written in Python language). Abbreviation DjangoBB stands for Django Bulletin Board. DjangoBB is distributed under the BSD license. ","fork":true,"url":"https://api.github.com/repos/LLK/s2forums","forks_url":"https://api.github.com/repos/LLK/s2forums/forks","keys_url":"https://api.github.com/repos/LLK/s2forums/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LLK/s2forums/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LLK/s2forums/teams","hooks_url":"https://api.github.com/repos/LLK/s2forums/hooks","issue_events_url":"https://api.github.com/repos/LLK/s2forums/issues/events{/number}","events_url":"https://api.github.com/repos/LLK/s2forums/events","assignees_url":"https://api.github.com/repos/LLK/s2forums/assignees{/user}","branches_url":"https://api.github.com/repos/LLK/s2forums/branches{/branch}","tags_url":"https://api.github.com/repos/LLK/s2forums/tags","blobs_url":"https://api.github.com/repos/LLK/s2forums/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LLK/s2forums/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LLK/s2forums/git/refs{/sha}","trees_url":"https://api.github.com/repos/LLK/s2forums/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LLK/s2forums/statuses/{sha}","languages_url":"https://api.github.com/repos/LLK/s2forums/languages","stargazers_url":"https://api.github.com/repos/LLK/s2forums/stargazers","contributors_url":"https://api.github.com/repos/LLK/s2forums/contributors","subscribers_url":"https://api.github.com/repos/LLK/s2forums/subscribers","subscription_url":"https://api.github.com/repos/LLK/s2forums/subscription","commits_url":"https://api.github.com/repos/LLK/s2forums/commits{/sha}","git_commits_url":"https://api.github.com/repos/LLK/s2forums/git/commits{/sha}","comments_url":"https://api.github.com/repos/LLK/s2forums/comments{/number}","issue_comment_url":"https://api.github.com/repos/LLK/s2forums/issues/comments{/number}","contents_url":"https://api.github.com/repos/LLK/s2forums/contents/{+path}","compare_url":"https://api.github.com/repos/LLK/s2forums/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LLK/s2forums/merges","archive_url":"https://api.github.com/repos/LLK/s2forums/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LLK/s2forums/downloads","issues_url":"https://api.github.com/repos/LLK/s2forums/issues{/number}","pulls_url":"https://api.github.com/repos/LLK/s2forums/pulls{/number}","milestones_url":"https://api.github.com/repos/LLK/s2forums/milestones{/number}","notifications_url":"https://api.github.com/repos/LLK/s2forums/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LLK/s2forums/labels{/name}","releases_url":"https://api.github.com/repos/LLK/s2forums/releases{/id}","created_at":"2012-09-21T20:39:37Z","updated_at":"2015-02-26T13:59:30Z","pushed_at":"2015-02-26T13:29:21Z","git_url":"git://github.com/LLK/s2forums.git","ssh_url":"git@github.com:LLK/s2forums.git","clone_url":"https://github.com/LLK/s2forums.git","svn_url":"https://github.com/LLK/s2forums","homepage":"djangobb.org","size":4143,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":34,"forks":7,"open_issues":34,"watchers":12,"default_branch":"master"}},"base":{"label":"LLK:master","ref":"master","sha":"d5c81a6107a9b21104ef0ca9e4ef5d9346b6e355","user":{"login":"LLK","id":3420800,"avatar_url":"https://avatars.githubusercontent.com/u/3420800?v=3","gravatar_id":"","url":"https://api.github.com/users/LLK","html_url":"https://github.com/LLK","followers_url":"https://api.github.com/users/LLK/followers","following_url":"https://api.github.com/users/LLK/following{/other_user}","gists_url":"https://api.github.com/users/LLK/gists{/gist_id}","starred_url":"https://api.github.com/users/LLK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLK/subscriptions","organizations_url":"https://api.github.com/users/LLK/orgs","repos_url":"https://api.github.com/users/LLK/repos","events_url":"https://api.github.com/users/LLK/events{/privacy}","received_events_url":"https://api.github.com/users/LLK/received_events","type":"Organization","site_admin":false},"repo":{"id":5907108,"name":"s2forums","full_name":"LLK/s2forums","owner":{"login":"LLK","id":3420800,"avatar_url":"https://avatars.githubusercontent.com/u/3420800?v=3","gravatar_id":"","url":"https://api.github.com/users/LLK","html_url":"https://github.com/LLK","followers_url":"https://api.github.com/users/LLK/followers","following_url":"https://api.github.com/users/LLK/following{/other_user}","gists_url":"https://api.github.com/users/LLK/gists{/gist_id}","starred_url":"https://api.github.com/users/LLK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLK/subscriptions","organizations_url":"https://api.github.com/users/LLK/orgs","repos_url":"https://api.github.com/users/LLK/repos","events_url":"https://api.github.com/users/LLK/events{/privacy}","received_events_url":"https://api.github.com/users/LLK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LLK/s2forums","description":"This is a fork of DjangoBB customized for Scratch 2.0. DjangoBB is a quick and simple forum which uses the Django Framework (written in Python language). Abbreviation DjangoBB stands for Django Bulletin Board. DjangoBB is distributed under the BSD license. ","fork":true,"url":"https://api.github.com/repos/LLK/s2forums","forks_url":"https://api.github.com/repos/LLK/s2forums/forks","keys_url":"https://api.github.com/repos/LLK/s2forums/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LLK/s2forums/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LLK/s2forums/teams","hooks_url":"https://api.github.com/repos/LLK/s2forums/hooks","issue_events_url":"https://api.github.com/repos/LLK/s2forums/issues/events{/number}","events_url":"https://api.github.com/repos/LLK/s2forums/events","assignees_url":"https://api.github.com/repos/LLK/s2forums/assignees{/user}","branches_url":"https://api.github.com/repos/LLK/s2forums/branches{/branch}","tags_url":"https://api.github.com/repos/LLK/s2forums/tags","blobs_url":"https://api.github.com/repos/LLK/s2forums/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LLK/s2forums/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LLK/s2forums/git/refs{/sha}","trees_url":"https://api.github.com/repos/LLK/s2forums/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LLK/s2forums/statuses/{sha}","languages_url":"https://api.github.com/repos/LLK/s2forums/languages","stargazers_url":"https://api.github.com/repos/LLK/s2forums/stargazers","contributors_url":"https://api.github.com/repos/LLK/s2forums/contributors","subscribers_url":"https://api.github.com/repos/LLK/s2forums/subscribers","subscription_url":"https://api.github.com/repos/LLK/s2forums/subscription","commits_url":"https://api.github.com/repos/LLK/s2forums/commits{/sha}","git_commits_url":"https://api.github.com/repos/LLK/s2forums/git/commits{/sha}","comments_url":"https://api.github.com/repos/LLK/s2forums/comments{/number}","issue_comment_url":"https://api.github.com/repos/LLK/s2forums/issues/comments{/number}","contents_url":"https://api.github.com/repos/LLK/s2forums/contents/{+path}","compare_url":"https://api.github.com/repos/LLK/s2forums/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LLK/s2forums/merges","archive_url":"https://api.github.com/repos/LLK/s2forums/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LLK/s2forums/downloads","issues_url":"https://api.github.com/repos/LLK/s2forums/issues{/number}","pulls_url":"https://api.github.com/repos/LLK/s2forums/pulls{/number}","milestones_url":"https://api.github.com/repos/LLK/s2forums/milestones{/number}","notifications_url":"https://api.github.com/repos/LLK/s2forums/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LLK/s2forums/labels{/name}","releases_url":"https://api.github.com/repos/LLK/s2forums/releases{/id}","created_at":"2012-09-21T20:39:37Z","updated_at":"2015-02-26T13:59:30Z","pushed_at":"2015-02-26T13:29:21Z","git_url":"git://github.com/LLK/s2forums.git","ssh_url":"git@github.com:LLK/s2forums.git","clone_url":"https://github.com/LLK/s2forums.git","svn_url":"https://github.com/LLK/s2forums","homepage":"djangobb.org","size":4143,"stargazers_count":12,"watchers_count":12,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":34,"forks":7,"open_issues":34,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LLK/s2forums/pulls/1331"},"html":{"href":"https://github.com/LLK/s2forums/pull/1331"},"issue":{"href":"https://api.github.com/repos/LLK/s2forums/issues/1331"},"comments":{"href":"https://api.github.com/repos/LLK/s2forums/issues/1331/comments"},"review_comments":{"href":"https://api.github.com/repos/LLK/s2forums/pulls/1331/comments"},"review_comment":{"href":"https://api.github.com/repos/LLK/s2forums/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LLK/s2forums/pulls/1331/commits"},"statuses":{"href":"https://api.github.com/repos/LLK/s2forums/statuses/b2c20927efec2b99d173d2da87a05588ffac679e"}}}}