{"action":"created","comment":{"url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/comments/232484317","pull_request_review_id":173694490,"id":232484317,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjQ4NDMxNw==","diff_hunk":"@@ -25,27 +27,38 @@\n   @Id\n   @Column(name = \"id\")\n   private Integer id;\n-\n   @ManyToOne\n   @JoinColumn(name = \"player_id\")\n+  @NotNull\n   private User user;\n-\n   @ManyToOne\n   @JoinColumn(name = \"author_id\")\n   private User author;\n-\n   @Column(name = \"reason\")\n+  @NotNull\n   private String reason;\n-\n   @Column(name = \"expires_at\")\n   private Timestamp expiresAt;\n-\n   @Column(name = \"level\")\n   @Enumerated(EnumType.STRING)\n   private BanScope scope;\n+  @Column(name = \"revoke_reason\")\n+  private String revokeReason;\n+  @ManyToOne\n+  @JoinColumn(name = \"revoke_author_id\")\n+  private User revokeAuthor;\n+  @Column(name = \"revoke_time\")\n+  private OffsetDateTime revokeTime;","path":"faf-java-server-app/src/main/java/com/faforever/server/security/BanDetails.java","position":49,"original_position":49,"commit_id":"f97af447a2ee01e80b063bdf040c4c4e521ee0ac","original_commit_id":"f97af447a2ee01e80b063bdf040c4c4e521ee0ac","user":{"login":"axel1200","id":19996713,"node_id":"MDQ6VXNlcjE5OTk2NzEz","avatar_url":"https://avatars3.githubusercontent.com/u/19996713?v=4","gravatar_id":"","url":"https://api.github.com/users/axel1200","html_url":"https://github.com/axel1200","followers_url":"https://api.github.com/users/axel1200/followers","following_url":"https://api.github.com/users/axel1200/following{/other_user}","gists_url":"https://api.github.com/users/axel1200/gists{/gist_id}","starred_url":"https://api.github.com/users/axel1200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel1200/subscriptions","organizations_url":"https://api.github.com/users/axel1200/orgs","repos_url":"https://api.github.com/users/axel1200/repos","events_url":"https://api.github.com/users/axel1200/events{/privacy}","received_events_url":"https://api.github.com/users/axel1200/received_events","type":"User","site_admin":false},"body":"No idea","created_at":"2018-11-11T11:37:30Z","updated_at":"2018-11-11T11:37:30Z","html_url":"https://github.com/FAForever/faf-java-server/pull/96#discussion_r232484317","pull_request_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/96","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/comments/232484317"},"html":{"href":"https://github.com/FAForever/faf-java-server/pull/96#discussion_r232484317"},"pull_request":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/96"}},"in_reply_to_id":231014074},"pull_request":{"url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/96","id":227667429,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NjY3NDI5","html_url":"https://github.com/FAForever/faf-java-server/pull/96","diff_url":"https://github.com/FAForever/faf-java-server/pull/96.diff","patch_url":"https://github.com/FAForever/faf-java-server/pull/96.patch","issue_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/96","number":96,"state":"open","locked":false,"title":"Ban Revoke Structure","user":{"login":"axel1200","id":19996713,"node_id":"MDQ6VXNlcjE5OTk2NzEz","avatar_url":"https://avatars3.githubusercontent.com/u/19996713?v=4","gravatar_id":"","url":"https://api.github.com/users/axel1200","html_url":"https://github.com/axel1200","followers_url":"https://api.github.com/users/axel1200/followers","following_url":"https://api.github.com/users/axel1200/following{/other_user}","gists_url":"https://api.github.com/users/axel1200/gists{/gist_id}","starred_url":"https://api.github.com/users/axel1200/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/axel1200/subscriptions","organizations_url":"https://api.github.com/users/axel1200/orgs","repos_url":"https://api.github.com/users/axel1200/repos","events_url":"https://api.github.com/users/axel1200/events{/privacy}","received_events_url":"https://api.github.com/users/axel1200/received_events","type":"User","site_admin":false},"body":"Fixes #95","created_at":"2018-11-01T15:54:28Z","updated_at":"2018-11-11T11:37:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9ca5678fba075d34f03629d1f2d1f904263c97e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Brutus5000","id":6843462,"node_id":"MDQ6VXNlcjY4NDM0NjI=","avatar_url":"https://avatars1.githubusercontent.com/u/6843462?v=4","gravatar_id":"","url":"https://api.github.com/users/Brutus5000","html_url":"https://github.com/Brutus5000","followers_url":"https://api.github.com/users/Brutus5000/followers","following_url":"https://api.github.com/users/Brutus5000/following{/other_user}","gists_url":"https://api.github.com/users/Brutus5000/gists{/gist_id}","starred_url":"https://api.github.com/users/Brutus5000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Brutus5000/subscriptions","organizations_url":"https://api.github.com/users/Brutus5000/orgs","repos_url":"https://api.github.com/users/Brutus5000/repos","events_url":"https://api.github.com/users/Brutus5000/events{/privacy}","received_events_url":"https://api.github.com/users/Brutus5000/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/96/commits","review_comments_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/96/comments","review_comment_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/96/comments","statuses_url":"https://api.github.com/repos/FAForever/faf-java-server/statuses/f97af447a2ee01e80b063bdf040c4c4e521ee0ac","head":{"label":"FAForever:feature/#95-ban-revoke-structure","ref":"feature/#95-ban-revoke-structure","sha":"f97af447a2ee01e80b063bdf040c4c4e521ee0ac","user":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"repo":{"id":78750512,"node_id":"MDEwOlJlcG9zaXRvcnk3ODc1MDUxMg==","name":"faf-java-server","full_name":"FAForever/faf-java-server","private":false,"owner":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FAForever/faf-java-server","description":"Spring Boot based server for Forged Alliance Forever","fork":false,"url":"https://api.github.com/repos/FAForever/faf-java-server","forks_url":"https://api.github.com/repos/FAForever/faf-java-server/forks","keys_url":"https://api.github.com/repos/FAForever/faf-java-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FAForever/faf-java-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FAForever/faf-java-server/teams","hooks_url":"https://api.github.com/repos/FAForever/faf-java-server/hooks","issue_events_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/events{/number}","events_url":"https://api.github.com/repos/FAForever/faf-java-server/events","assignees_url":"https://api.github.com/repos/FAForever/faf-java-server/assignees{/user}","branches_url":"https://api.github.com/repos/FAForever/faf-java-server/branches{/branch}","tags_url":"https://api.github.com/repos/FAForever/faf-java-server/tags","blobs_url":"https://api.github.com/repos/FAForever/faf-java-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FAForever/faf-java-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FAForever/faf-java-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/FAForever/faf-java-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FAForever/faf-java-server/statuses/{sha}","languages_url":"https://api.github.com/repos/FAForever/faf-java-server/languages","stargazers_url":"https://api.github.com/repos/FAForever/faf-java-server/stargazers","contributors_url":"https://api.github.com/repos/FAForever/faf-java-server/contributors","subscribers_url":"https://api.github.com/repos/FAForever/faf-java-server/subscribers","subscription_url":"https://api.github.com/repos/FAForever/faf-java-server/subscription","commits_url":"https://api.github.com/repos/FAForever/faf-java-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/FAForever/faf-java-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/FAForever/faf-java-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/FAForever/faf-java-server/contents/{+path}","compare_url":"https://api.github.com/repos/FAForever/faf-java-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FAForever/faf-java-server/merges","archive_url":"https://api.github.com/repos/FAForever/faf-java-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FAForever/faf-java-server/downloads","issues_url":"https://api.github.com/repos/FAForever/faf-java-server/issues{/number}","pulls_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls{/number}","milestones_url":"https://api.github.com/repos/FAForever/faf-java-server/milestones{/number}","notifications_url":"https://api.github.com/repos/FAForever/faf-java-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FAForever/faf-java-server/labels{/name}","releases_url":"https://api.github.com/repos/FAForever/faf-java-server/releases{/id}","deployments_url":"https://api.github.com/repos/FAForever/faf-java-server/deployments","created_at":"2017-01-12T13:54:53Z","updated_at":"2018-11-05T23:35:58Z","pushed_at":"2018-11-09T18:54:19Z","git_url":"git://github.com/FAForever/faf-java-server.git","ssh_url":"git@github.com:FAForever/faf-java-server.git","clone_url":"https://github.com/FAForever/faf-java-server.git","svn_url":"https://github.com/FAForever/faf-java-server","homepage":"","size":2569,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":4,"open_issues":13,"watchers":10,"default_branch":"develop"}},"base":{"label":"FAForever:develop","ref":"develop","sha":"414b82b0a6e2ff679221ecb97fd639392caa8409","user":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"repo":{"id":78750512,"node_id":"MDEwOlJlcG9zaXRvcnk3ODc1MDUxMg==","name":"faf-java-server","full_name":"FAForever/faf-java-server","private":false,"owner":{"login":"FAForever","id":8887184,"node_id":"MDEyOk9yZ2FuaXphdGlvbjg4ODcxODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8887184?v=4","gravatar_id":"","url":"https://api.github.com/users/FAForever","html_url":"https://github.com/FAForever","followers_url":"https://api.github.com/users/FAForever/followers","following_url":"https://api.github.com/users/FAForever/following{/other_user}","gists_url":"https://api.github.com/users/FAForever/gists{/gist_id}","starred_url":"https://api.github.com/users/FAForever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FAForever/subscriptions","organizations_url":"https://api.github.com/users/FAForever/orgs","repos_url":"https://api.github.com/users/FAForever/repos","events_url":"https://api.github.com/users/FAForever/events{/privacy}","received_events_url":"https://api.github.com/users/FAForever/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/FAForever/faf-java-server","description":"Spring Boot based server for Forged Alliance Forever","fork":false,"url":"https://api.github.com/repos/FAForever/faf-java-server","forks_url":"https://api.github.com/repos/FAForever/faf-java-server/forks","keys_url":"https://api.github.com/repos/FAForever/faf-java-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FAForever/faf-java-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FAForever/faf-java-server/teams","hooks_url":"https://api.github.com/repos/FAForever/faf-java-server/hooks","issue_events_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/events{/number}","events_url":"https://api.github.com/repos/FAForever/faf-java-server/events","assignees_url":"https://api.github.com/repos/FAForever/faf-java-server/assignees{/user}","branches_url":"https://api.github.com/repos/FAForever/faf-java-server/branches{/branch}","tags_url":"https://api.github.com/repos/FAForever/faf-java-server/tags","blobs_url":"https://api.github.com/repos/FAForever/faf-java-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FAForever/faf-java-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FAForever/faf-java-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/FAForever/faf-java-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FAForever/faf-java-server/statuses/{sha}","languages_url":"https://api.github.com/repos/FAForever/faf-java-server/languages","stargazers_url":"https://api.github.com/repos/FAForever/faf-java-server/stargazers","contributors_url":"https://api.github.com/repos/FAForever/faf-java-server/contributors","subscribers_url":"https://api.github.com/repos/FAForever/faf-java-server/subscribers","subscription_url":"https://api.github.com/repos/FAForever/faf-java-server/subscription","commits_url":"https://api.github.com/repos/FAForever/faf-java-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/FAForever/faf-java-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/FAForever/faf-java-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/FAForever/faf-java-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/FAForever/faf-java-server/contents/{+path}","compare_url":"https://api.github.com/repos/FAForever/faf-java-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FAForever/faf-java-server/merges","archive_url":"https://api.github.com/repos/FAForever/faf-java-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FAForever/faf-java-server/downloads","issues_url":"https://api.github.com/repos/FAForever/faf-java-server/issues{/number}","pulls_url":"https://api.github.com/repos/FAForever/faf-java-server/pulls{/number}","milestones_url":"https://api.github.com/repos/FAForever/faf-java-server/milestones{/number}","notifications_url":"https://api.github.com/repos/FAForever/faf-java-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FAForever/faf-java-server/labels{/name}","releases_url":"https://api.github.com/repos/FAForever/faf-java-server/releases{/id}","deployments_url":"https://api.github.com/repos/FAForever/faf-java-server/deployments","created_at":"2017-01-12T13:54:53Z","updated_at":"2018-11-05T23:35:58Z","pushed_at":"2018-11-09T18:54:19Z","git_url":"git://github.com/FAForever/faf-java-server.git","ssh_url":"git@github.com:FAForever/faf-java-server.git","clone_url":"https://github.com/FAForever/faf-java-server.git","svn_url":"https://github.com/FAForever/faf-java-server","homepage":"","size":2569,"stargazers_count":10,"watchers_count":10,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":4,"open_issues":13,"watchers":10,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/96"},"html":{"href":"https://github.com/FAForever/faf-java-server/pull/96"},"issue":{"href":"https://api.github.com/repos/FAForever/faf-java-server/issues/96"},"comments":{"href":"https://api.github.com/repos/FAForever/faf-java-server/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FAForever/faf-java-server/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/FAForever/faf-java-server/statuses/f97af447a2ee01e80b063bdf040c4c4e521ee0ac"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"axel1200"}}