{"action":"created","comment":{"url":"https://api.github.com/repos/coralproject/talk/pulls/comments/309322845","pull_request_review_id":269121658,"id":309322845,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwOTMyMjg0NQ==","diff_hunk":"@@ -135,6 +135,8 @@ export interface SuspensionStatusHistory {\n    * was edited at.\n    */\n   modifiedAt?: Date;\n+\n+  message?: string;","path":"src/core/server/models/user/user.ts","position":5,"original_position":5,"commit_id":"ce2c7c0d8f44f5eb35b6240497e080f42911727b","original_commit_id":"ce2c7c0d8f44f5eb35b6240497e080f42911727b","user":{"login":"wyattjoh","id":633002,"node_id":"MDQ6VXNlcjYzMzAwMg==","avatar_url":"https://avatars2.githubusercontent.com/u/633002?v=4","gravatar_id":"","url":"https://api.github.com/users/wyattjoh","html_url":"https://github.com/wyattjoh","followers_url":"https://api.github.com/users/wyattjoh/followers","following_url":"https://api.github.com/users/wyattjoh/following{/other_user}","gists_url":"https://api.github.com/users/wyattjoh/gists{/gist_id}","starred_url":"https://api.github.com/users/wyattjoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wyattjoh/subscriptions","organizations_url":"https://api.github.com/users/wyattjoh/orgs","repos_url":"https://api.github.com/users/wyattjoh/repos","events_url":"https://api.github.com/users/wyattjoh/events{/privacy}","received_events_url":"https://api.github.com/users/wyattjoh/received_events","type":"User","site_admin":false},"body":"Remove `?`.","created_at":"2019-07-31T16:43:24Z","updated_at":"2019-07-31T16:50:55Z","html_url":"https://github.com/coralproject/talk/pull/2419#discussion_r309322845","pull_request_url":"https://api.github.com/repos/coralproject/talk/pulls/2419","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/coralproject/talk/pulls/comments/309322845"},"html":{"href":"https://github.com/coralproject/talk/pull/2419#discussion_r309322845"},"pull_request":{"href":"https://api.github.com/repos/coralproject/talk/pulls/2419"}}},"pull_request":{"url":"https://api.github.com/repos/coralproject/talk/pulls/2419","id":301239470,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAxMjM5NDcw","html_url":"https://github.com/coralproject/talk/pull/2419","diff_url":"https://github.com/coralproject/talk/pull/2419.diff","patch_url":"https://github.com/coralproject/talk/pull/2419.patch","issue_url":"https://api.github.com/repos/coralproject/talk/issues/2419","number":2419,"state":"open","locked":false,"title":"[CORL-156] Manage user suspension status","user":{"login":"tessalt","id":1789029,"node_id":"MDQ6VXNlcjE3ODkwMjk=","avatar_url":"https://avatars3.githubusercontent.com/u/1789029?v=4","gravatar_id":"","url":"https://api.github.com/users/tessalt","html_url":"https://github.com/tessalt","followers_url":"https://api.github.com/users/tessalt/followers","following_url":"https://api.github.com/users/tessalt/following{/other_user}","gists_url":"https://api.github.com/users/tessalt/gists{/gist_id}","starred_url":"https://api.github.com/users/tessalt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tessalt/subscriptions","organizations_url":"https://api.github.com/users/tessalt/orgs","repos_url":"https://api.github.com/users/tessalt/repos","events_url":"https://api.github.com/users/tessalt/events{/privacy}","received_events_url":"https://api.github.com/users/tessalt/received_events","type":"User","site_admin":false},"body":"## What does this PR do?\r\n- allow mods to suspend users and remove suspensions\r\n- allow mods to select suspension duration and suspension email message\r\n- show suspended users notice about suspension instead of comment box\r\n- prevent suspended users from respecting or replying to posts \r\n\r\n## How do I test this PR?\r\nAdmin:\r\n- log in as moderator\r\n- click \"community\"\r\n- click status dropdown in users table\r\n- click \"suspend user\"\r\n- select duration from modal\r\n- enter custom message in modal\r\n\r\nUser should be marked suspended and should receive an email\r\n\r\nStream:\r\n- log in as suspended user\r\n- should be able to view comments with responses/reactions and click \"share\"\r\n- should not be able to comment, react, or reply\r\n- should see box with suspension info","created_at":"2019-07-25T17:26:37Z","updated_at":"2019-07-31T16:50:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4eb00c8259c5f185740403239b51562f0e092368","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/coralproject/talk/milestones/46","html_url":"https://github.com/coralproject/talk/milestone/46","labels_url":"https://api.github.com/repos/coralproject/talk/milestones/46/labels","id":4522496,"node_id":"MDk6TWlsZXN0b25lNDUyMjQ5Ng==","number":46,"title":"v5.0.0-beta.6","description":"","creator":{"login":"kgardnr","id":1077300,"node_id":"MDQ6VXNlcjEwNzczMDA=","avatar_url":"https://avatars2.githubusercontent.com/u/1077300?v=4","gravatar_id":"","url":"https://api.github.com/users/kgardnr","html_url":"https://github.com/kgardnr","followers_url":"https://api.github.com/users/kgardnr/followers","following_url":"https://api.github.com/users/kgardnr/following{/other_user}","gists_url":"https://api.github.com/users/kgardnr/gists{/gist_id}","starred_url":"https://api.github.com/users/kgardnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgardnr/subscriptions","organizations_url":"https://api.github.com/users/kgardnr/orgs","repos_url":"https://api.github.com/users/kgardnr/repos","events_url":"https://api.github.com/users/kgardnr/events{/privacy}","received_events_url":"https://api.github.com/users/kgardnr/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":2,"state":"open","created_at":"2019-07-25T18:57:20Z","updated_at":"2019-07-31T15:12:26Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/coralproject/talk/pulls/2419/commits","review_comments_url":"https://api.github.com/repos/coralproject/talk/pulls/2419/comments","review_comment_url":"https://api.github.com/repos/coralproject/talk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coralproject/talk/issues/2419/comments","statuses_url":"https://api.github.com/repos/coralproject/talk/statuses/ce2c7c0d8f44f5eb35b6240497e080f42911727b","head":{"label":"coralproject:feature/CORL-156","ref":"feature/CORL-156","sha":"ce2c7c0d8f44f5eb35b6240497e080f42911727b","user":{"login":"coralproject","id":9255912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNTU5MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":72454242,"node_id":"MDEwOlJlcG9zaXRvcnk3MjQ1NDI0Mg==","name":"talk","full_name":"coralproject/talk","private":false,"owner":{"login":"coralproject","id":9255912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNTU5MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/coralproject/talk","description":"A better commenting experience from Vox Media","fork":false,"url":"https://api.github.com/repos/coralproject/talk","forks_url":"https://api.github.com/repos/coralproject/talk/forks","keys_url":"https://api.github.com/repos/coralproject/talk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/talk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/talk/teams","hooks_url":"https://api.github.com/repos/coralproject/talk/hooks","issue_events_url":"https://api.github.com/repos/coralproject/talk/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/talk/events","assignees_url":"https://api.github.com/repos/coralproject/talk/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/talk/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/talk/tags","blobs_url":"https://api.github.com/repos/coralproject/talk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/talk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/talk/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/talk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/talk/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/talk/languages","stargazers_url":"https://api.github.com/repos/coralproject/talk/stargazers","contributors_url":"https://api.github.com/repos/coralproject/talk/contributors","subscribers_url":"https://api.github.com/repos/coralproject/talk/subscribers","subscription_url":"https://api.github.com/repos/coralproject/talk/subscription","commits_url":"https://api.github.com/repos/coralproject/talk/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/talk/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/talk/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/talk/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/talk/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/talk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/talk/merges","archive_url":"https://api.github.com/repos/coralproject/talk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/talk/downloads","issues_url":"https://api.github.com/repos/coralproject/talk/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/talk/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/talk/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/talk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/talk/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/talk/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/talk/deployments","created_at":"2016-10-31T16:14:05Z","updated_at":"2019-07-31T12:13:23Z","pushed_at":"2019-07-31T15:46:02Z","git_url":"git://github.com/coralproject/talk.git","ssh_url":"git@github.com:coralproject/talk.git","clone_url":"https://github.com/coralproject/talk.git","svn_url":"https://github.com/coralproject/talk","homepage":"https://coralproject.net/","size":27234,"stargazers_count":1313,"watchers_count":1313,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":255,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":97,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":255,"open_issues":97,"watchers":1313,"default_branch":"master"}},"base":{"label":"coralproject:next","ref":"next","sha":"b108faed5e398fd4228e7395ac01032ea17c2782","user":{"login":"coralproject","id":9255912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNTU5MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"repo":{"id":72454242,"node_id":"MDEwOlJlcG9zaXRvcnk3MjQ1NDI0Mg==","name":"talk","full_name":"coralproject/talk","private":false,"owner":{"login":"coralproject","id":9255912,"node_id":"MDEyOk9yZ2FuaXphdGlvbjkyNTU5MTI=","avatar_url":"https://avatars2.githubusercontent.com/u/9255912?v=4","gravatar_id":"","url":"https://api.github.com/users/coralproject","html_url":"https://github.com/coralproject","followers_url":"https://api.github.com/users/coralproject/followers","following_url":"https://api.github.com/users/coralproject/following{/other_user}","gists_url":"https://api.github.com/users/coralproject/gists{/gist_id}","starred_url":"https://api.github.com/users/coralproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coralproject/subscriptions","organizations_url":"https://api.github.com/users/coralproject/orgs","repos_url":"https://api.github.com/users/coralproject/repos","events_url":"https://api.github.com/users/coralproject/events{/privacy}","received_events_url":"https://api.github.com/users/coralproject/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/coralproject/talk","description":"A better commenting experience from Vox Media","fork":false,"url":"https://api.github.com/repos/coralproject/talk","forks_url":"https://api.github.com/repos/coralproject/talk/forks","keys_url":"https://api.github.com/repos/coralproject/talk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coralproject/talk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coralproject/talk/teams","hooks_url":"https://api.github.com/repos/coralproject/talk/hooks","issue_events_url":"https://api.github.com/repos/coralproject/talk/issues/events{/number}","events_url":"https://api.github.com/repos/coralproject/talk/events","assignees_url":"https://api.github.com/repos/coralproject/talk/assignees{/user}","branches_url":"https://api.github.com/repos/coralproject/talk/branches{/branch}","tags_url":"https://api.github.com/repos/coralproject/talk/tags","blobs_url":"https://api.github.com/repos/coralproject/talk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coralproject/talk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coralproject/talk/git/refs{/sha}","trees_url":"https://api.github.com/repos/coralproject/talk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coralproject/talk/statuses/{sha}","languages_url":"https://api.github.com/repos/coralproject/talk/languages","stargazers_url":"https://api.github.com/repos/coralproject/talk/stargazers","contributors_url":"https://api.github.com/repos/coralproject/talk/contributors","subscribers_url":"https://api.github.com/repos/coralproject/talk/subscribers","subscription_url":"https://api.github.com/repos/coralproject/talk/subscription","commits_url":"https://api.github.com/repos/coralproject/talk/commits{/sha}","git_commits_url":"https://api.github.com/repos/coralproject/talk/git/commits{/sha}","comments_url":"https://api.github.com/repos/coralproject/talk/comments{/number}","issue_comment_url":"https://api.github.com/repos/coralproject/talk/issues/comments{/number}","contents_url":"https://api.github.com/repos/coralproject/talk/contents/{+path}","compare_url":"https://api.github.com/repos/coralproject/talk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coralproject/talk/merges","archive_url":"https://api.github.com/repos/coralproject/talk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coralproject/talk/downloads","issues_url":"https://api.github.com/repos/coralproject/talk/issues{/number}","pulls_url":"https://api.github.com/repos/coralproject/talk/pulls{/number}","milestones_url":"https://api.github.com/repos/coralproject/talk/milestones{/number}","notifications_url":"https://api.github.com/repos/coralproject/talk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coralproject/talk/labels{/name}","releases_url":"https://api.github.com/repos/coralproject/talk/releases{/id}","deployments_url":"https://api.github.com/repos/coralproject/talk/deployments","created_at":"2016-10-31T16:14:05Z","updated_at":"2019-07-31T12:13:23Z","pushed_at":"2019-07-31T15:46:02Z","git_url":"git://github.com/coralproject/talk.git","ssh_url":"git@github.com:coralproject/talk.git","clone_url":"https://github.com/coralproject/talk.git","svn_url":"https://github.com/coralproject/talk","homepage":"https://coralproject.net/","size":27234,"stargazers_count":1313,"watchers_count":1313,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":255,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":97,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":255,"open_issues":97,"watchers":1313,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coralproject/talk/pulls/2419"},"html":{"href":"https://github.com/coralproject/talk/pull/2419"},"issue":{"href":"https://api.github.com/repos/coralproject/talk/issues/2419"},"comments":{"href":"https://api.github.com/repos/coralproject/talk/issues/2419/comments"},"review_comments":{"href":"https://api.github.com/repos/coralproject/talk/pulls/2419/comments"},"review_comment":{"href":"https://api.github.com/repos/coralproject/talk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coralproject/talk/pulls/2419/commits"},"statuses":{"href":"https://api.github.com/repos/coralproject/talk/statuses/ce2c7c0d8f44f5eb35b6240497e080f42911727b"}},"author_association":"NONE"}}
{"actor":{"display_login":"wyattjoh"}}