payload: {"action":"opened","number":2236,"pull_request":{"url":"https://api.github.com/repos/dotkom/onlineweb4/pulls/2236","id":268512412,"node_id":"MDExOlB1bGxSZXF1ZXN0MjY4NTEyNDEy","html_url":"https://github.com/dotkom/onlineweb4/pull/2236","diff_url":"https://github.com/dotkom/onlineweb4/pull/2236.diff","patch_url":"https://github.com/dotkom/onlineweb4/pull/2236.patch","issue_url":"https://api.github.com/repos/dotkom/onlineweb4/issues/2236","number":2236,"state":"open","locked":false,"title":"Minor code-cleanup in event-hiding","user":{"login":"henrikhorluck","id":36937807,"node_id":"MDQ6VXNlcjM2OTM3ODA3","avatar_url":"https://avatars2.githubusercontent.com/u/36937807?v=4","gravatar_id":"","url":"https://api.github.com/users/henrikhorluck","html_url":"https://github.com/henrikhorluck","followers_url":"https://api.github.com/users/henrikhorluck/followers","following_url":"https://api.github.com/users/henrikhorluck/following{/other_user}","gists_url":"https://api.github.com/users/henrikhorluck/gists{/gist_id}","starred_url":"https://api.github.com/users/henrikhorluck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henrikhorluck/subscriptions","organizations_url":"https://api.github.com/users/henrikhorluck/orgs","repos_url":"https://api.github.com/users/henrikhorluck/repos","events_url":"https://api.github.com/users/henrikhorluck/events{/privacy}","received_events_url":"https://api.github.com/users/henrikhorluck/received_events","type":"User","site_admin":false},"body":"\r\n## What kind of a pull request is this?\r\n\r\n- QA / Code Review\r\n<!-- Add other options if appropriate -->\r\n\r\n\r\n## Code Checklist\r\n\r\n- [x] The code follows dotkom code style \r\n- [x] The code passes the defined tests\r\n- [ ] I have added tests for the code I added\r\n- [ ] I have provided documentation for the code I added\r\n- [x] The code is ready to be merged\r\n\r\n\r\n## (Possible) Breaking Changes\r\n\r\n- [x] The changes are backwards compatible\r\n<!-- this means that other people can use this code without having to do/change anything -->\r\n- [ ] I have updated the build configuration\r\n- [ ] These changes requires changes to configuration in production <!-- E.g. an API token -->\r\n    - [ ] I have applied the required changes in production\r\n    - [ ] I cannot apply the required changes in production before this is deployed.\r\n\r\n\r\n## Description of changes\r\nThere is no need to filter out non-visible events here, since the function filters with `event.can_display()` further down.\r\n\r\n\r\n<!-- provide screenshots (before and after) if doing design changes -->\r\n","created_at":"2019-04-08T21:53:26Z","updated_at":"2019-04-08T21:53:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dotkom/onlineweb4/pulls/2236/commits","review_comments_url":"https://api.github.com/repos/dotkom/onlineweb4/pulls/2236/comments","review_comment_url":"https://api.github.com/repos/dotkom/onlineweb4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dotkom/onlineweb4/issues/2236/comments","statuses_url":"https://api.github.com/repos/dotkom/onlineweb4/statuses/276ffd58516698bdda4c0c0a1082842fef476494","head":{"label":"dotkom:code-cleanup-event-hiding","ref":"code-cleanup-event-hiding","sha":"276ffd58516698bdda4c0c0a1082842fef476494","user":{"login":"dotkom","id":693951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5Mzk1MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/693951?v=4","gravatar_id":"","url":"https://api.github.com/users/dotkom","html_url":"https://github.com/dotkom","followers_url":"https://api.github.com/users/dotkom/followers","following_url":"https://api.github.com/users/dotkom/following{/other_user}","gists_url":"https://api.github.com/users/dotkom/gists{/gist_id}","starred_url":"https://api.github.com/users/dotkom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotkom/subscriptions","organizations_url":"https://api.github.com/users/dotkom/orgs","repos_url":"https://api.github.com/users/dotkom/repos","events_url":"https://api.github.com/users/dotkom/events{/privacy}","received_events_url":"https://api.github.com/users/dotkom/received_events","type":"Organization","site_admin":false},"repo":{"id":4277814,"node_id":"MDEwOlJlcG9zaXRvcnk0Mjc3ODE0","name":"onlineweb4","full_name":"dotkom/onlineweb4","private":false,"owner":{"login":"dotkom","id":693951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5Mzk1MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/693951?v=4","gravatar_id":"","url":"https://api.github.com/users/dotkom","html_url":"https://github.com/dotkom","followers_url":"https://api.github.com/users/dotkom/followers","following_url":"https://api.github.com/users/dotkom/following{/other_user}","gists_url":"https://api.github.com/users/dotkom/gists{/gist_id}","starred_url":"https://api.github.com/users/dotkom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotkom/subscriptions","organizations_url":"https://api.github.com/users/dotkom/orgs","repos_url":"https://api.github.com/users/dotkom/repos","events_url":"https://api.github.com/users/dotkom/events{/privacy}","received_events_url":"https://api.github.com/users/dotkom/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotkom/onlineweb4","description":"Web pages for Online, Linjeforeningen for Informatikk at NTNU","fork":false,"url":"https://api.github.com/repos/dotkom/onlineweb4","forks_url":"https://api.github.com/repos/dotkom/onlineweb4/forks","keys_url":"https://api.github.com/repos/dotkom/onlineweb4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotkom/onlineweb4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotkom/onlineweb4/teams","hooks_url":"https://api.github.com/repos/dotkom/onlineweb4/hooks","issue_events_url":"https://api.github.com/repos/dotkom/onlineweb4/issues/events{/number}","events_url":"https://api.github.com/repos/dotkom/onlineweb4/events","assignees_url":"https://api.github.com/repos/dotkom/onlineweb4/assignees{/user}","branches_url":"https://api.github.com/repos/dotkom/onlineweb4/branches{/branch}","tags_url":"https://api.github.com/repos/dotkom/onlineweb4/tags","blobs_url":"https://api.github.com/repos/dotkom/onlineweb4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotkom/onlineweb4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotkom/onlineweb4/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotkom/onlineweb4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotkom/onlineweb4/statuses/{sha}","languages_url":"https://api.github.com/repos/dotkom/onlineweb4/languages","stargazers_url":"https://api.github.com/repos/dotkom/onlineweb4/stargazers","contributors_url":"https://api.github.com/repos/dotkom/onlineweb4/contributors","subscribers_url":"https://api.github.com/repos/dotkom/onlineweb4/subscribers","subscription_url":"https://api.github.com/repos/dotkom/onlineweb4/subscription","commits_url":"https://api.github.com/repos/dotkom/onlineweb4/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotkom/onlineweb4/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotkom/onlineweb4/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotkom/onlineweb4/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotkom/onlineweb4/contents/{+path}","compare_url":"https://api.github.com/repos/dotkom/onlineweb4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotkom/onlineweb4/merges","archive_url":"https://api.github.com/repos/dotkom/onlineweb4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotkom/onlineweb4/downloads","issues_url":"https://api.github.com/repos/dotkom/onlineweb4/issues{/number}","pulls_url":"https://api.github.com/repos/dotkom/onlineweb4/pulls{/number}","milestones_url":"https://api.github.com/repos/dotkom/onlineweb4/milestones{/number}","notifications_url":"https://api.github.com/repos/dotkom/onlineweb4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotkom/onlineweb4/labels{/name}","releases_url":"https://api.github.com/repos/dotkom/onlineweb4/releases{/id}","deployments_url":"https://api.github.com/repos/dotkom/onlineweb4/deployments","created_at":"2012-05-09T22:45:30Z","updated_at":"2019-04-04T09:32:36Z","pushed_at":"2019-04-08T21:50:45Z","git_url":"git://github.com/dotkom/onlineweb4.git","ssh_url":"git@github.com:dotkom/onlineweb4.git","clone_url":"https://github.com/dotkom/onlineweb4.git","svn_url":"https://github.com/dotkom/onlineweb4","homepage":"https://online.ntnu.no","size":43820,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":101,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":12,"open_issues":101,"watchers":33,"default_branch":"develop"}},"base":{"label":"dotkom:develop","ref":"develop","sha":"aa4ccc09c8f9657f3394d9c48c0db246b71aa13a","user":{"login":"dotkom","id":693951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5Mzk1MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/693951?v=4","gravatar_id":"","url":"https://api.github.com/users/dotkom","html_url":"https://github.com/dotkom","followers_url":"https://api.github.com/users/dotkom/followers","following_url":"https://api.github.com/users/dotkom/following{/other_user}","gists_url":"https://api.github.com/users/dotkom/gists{/gist_id}","starred_url":"https://api.github.com/users/dotkom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotkom/subscriptions","organizations_url":"https://api.github.com/users/dotkom/orgs","repos_url":"https://api.github.com/users/dotkom/repos","events_url":"https://api.github.com/users/dotkom/events{/privacy}","received_events_url":"https://api.github.com/users/dotkom/received_events","type":"Organization","site_admin":false},"repo":{"id":4277814,"node_id":"MDEwOlJlcG9zaXRvcnk0Mjc3ODE0","name":"onlineweb4","full_name":"dotkom/onlineweb4","private":false,"owner":{"login":"dotkom","id":693951,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY5Mzk1MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/693951?v=4","gravatar_id":"","url":"https://api.github.com/users/dotkom","html_url":"https://github.com/dotkom","followers_url":"https://api.github.com/users/dotkom/followers","following_url":"https://api.github.com/users/dotkom/following{/other_user}","gists_url":"https://api.github.com/users/dotkom/gists{/gist_id}","starred_url":"https://api.github.com/users/dotkom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dotkom/subscriptions","organizations_url":"https://api.github.com/users/dotkom/orgs","repos_url":"https://api.github.com/users/dotkom/repos","events_url":"https://api.github.com/users/dotkom/events{/privacy}","received_events_url":"https://api.github.com/users/dotkom/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dotkom/onlineweb4","description":"Web pages for Online, Linjeforeningen for Informatikk at NTNU","fork":false,"url":"https://api.github.com/repos/dotkom/onlineweb4","forks_url":"https://api.github.com/repos/dotkom/onlineweb4/forks","keys_url":"https://api.github.com/repos/dotkom/onlineweb4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dotkom/onlineweb4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dotkom/onlineweb4/teams","hooks_url":"https://api.github.com/repos/dotkom/onlineweb4/hooks","issue_events_url":"https://api.github.com/repos/dotkom/onlineweb4/issues/events{/number}","events_url":"https://api.github.com/repos/dotkom/onlineweb4/events","assignees_url":"https://api.github.com/repos/dotkom/onlineweb4/assignees{/user}","branches_url":"https://api.github.com/repos/dotkom/onlineweb4/branches{/branch}","tags_url":"https://api.github.com/repos/dotkom/onlineweb4/tags","blobs_url":"https://api.github.com/repos/dotkom/onlineweb4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dotkom/onlineweb4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dotkom/onlineweb4/git/refs{/sha}","trees_url":"https://api.github.com/repos/dotkom/onlineweb4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dotkom/onlineweb4/statuses/{sha}","languages_url":"https://api.github.com/repos/dotkom/onlineweb4/languages","stargazers_url":"https://api.github.com/repos/dotkom/onlineweb4/stargazers","contributors_url":"https://api.github.com/repos/dotkom/onlineweb4/contributors","subscribers_url":"https://api.github.com/repos/dotkom/onlineweb4/subscribers","subscription_url":"https://api.github.com/repos/dotkom/onlineweb4/subscription","commits_url":"https://api.github.com/repos/dotkom/onlineweb4/commits{/sha}","git_commits_url":"https://api.github.com/repos/dotkom/onlineweb4/git/commits{/sha}","comments_url":"https://api.github.com/repos/dotkom/onlineweb4/comments{/number}","issue_comment_url":"https://api.github.com/repos/dotkom/onlineweb4/issues/comments{/number}","contents_url":"https://api.github.com/repos/dotkom/onlineweb4/contents/{+path}","compare_url":"https://api.github.com/repos/dotkom/onlineweb4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dotkom/onlineweb4/merges","archive_url":"https://api.github.com/repos/dotkom/onlineweb4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dotkom/onlineweb4/downloads","issues_url":"https://api.github.com/repos/dotkom/onlineweb4/issues{/number}","pulls_url":"https://api.github.com/repos/dotkom/onlineweb4/pulls{/number}","milestones_url":"https://api.github.com/repos/dotkom/onlineweb4/milestones{/number}","notifications_url":"https://api.github.com/repos/dotkom/onlineweb4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dotkom/onlineweb4/labels{/name}","releases_url":"https://api.github.com/repos/dotkom/onlineweb4/releases{/id}","deployments_url":"https://api.github.com/repos/dotkom/onlineweb4/deployments","created_at":"2012-05-09T22:45:30Z","updated_at":"2019-04-04T09:32:36Z","pushed_at":"2019-04-08T21:50:45Z","git_url":"git://github.com/dotkom/onlineweb4.git","ssh_url":"git@github.com:dotkom/onlineweb4.git","clone_url":"https://github.com/dotkom/onlineweb4.git","svn_url":"https://github.com/dotkom/onlineweb4","homepage":"https://online.ntnu.no","size":43820,"stargazers_count":33,"watchers_count":33,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":101,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":12,"open_issues":101,"watchers":33,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/dotkom/onlineweb4/pulls/2236"},"html":{"href":"https://github.com/dotkom/onlineweb4/pull/2236"},"issue":{"href":"https://api.github.com/repos/dotkom/onlineweb4/issues/2236"},"comments":{"href":"https://api.github.com/repos/dotkom/onlineweb4/issues/2236/comments"},"review_comments":{"href":"https://api.github.com/repos/dotkom/onlineweb4/pulls/2236/comments"},"review_comment":{"href":"https://api.github.com/repos/dotkom/onlineweb4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dotkom/onlineweb4/pulls/2236/commits"},"statuses":{"href":"https://api.github.com/repos/dotkom/onlineweb4/statuses/276ffd58516698bdda4c0c0a1082842fef476494"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
other: {"actor":{"display_login":"henrikhorluck"}}