{"action":"closed","number":15,"pull_request":{"url":"https://api.github.com/repos/webgrafia/ginger/pulls/15","id":181484801,"html_url":"https://github.com/webgrafia/ginger/pull/15","diff_url":"https://github.com/webgrafia/ginger/pull/15.diff","patch_url":"https://github.com/webgrafia/ginger/pull/15.patch","issue_url":"https://api.github.com/repos/webgrafia/ginger/issues/15","number":15,"state":"closed","locked":false,"title":"Add option to disable activity logging","user":{"login":"TobiasMende","id":1168406,"avatar_url":"https://avatars1.githubusercontent.com/u/1168406?v=4","gravatar_id":"","url":"https://api.github.com/users/TobiasMende","html_url":"https://github.com/TobiasMende","followers_url":"https://api.github.com/users/TobiasMende/followers","following_url":"https://api.github.com/users/TobiasMende/following{/other_user}","gists_url":"https://api.github.com/users/TobiasMende/gists{/gist_id}","starred_url":"https://api.github.com/users/TobiasMende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TobiasMende/subscriptions","organizations_url":"https://api.github.com/users/TobiasMende/orgs","repos_url":"https://api.github.com/users/TobiasMende/repos","events_url":"https://api.github.com/users/TobiasMende/events{/privacy}","received_events_url":"https://api.github.com/users/TobiasMende/received_events","type":"User","site_admin":false},"body":"fixes https://github.com/webgrafia/ginger/issues/14\r\n\r\nHi, I have tried to come up with a new option. As I do not have much experience with PHP or Wordpress plugins, please have a look if you can make some time.\r\n\r\nThe idea is to have a new option on the policy admin page and to not execute the activity logging if the option `ginger_policy_disable_logger` is set to `true`. \r\n\r\nI have manually tested it with my Wordpress installation (4.9.5) and as far as I can tell, it works fine.","created_at":"2018-04-13T13:14:56Z","updated_at":"2018-04-13T13:29:57Z","closed_at":"2018-04-13T13:29:57Z","merged_at":"2018-04-13T13:29:57Z","merge_commit_sha":"d9d45107cd0e37fcd53861ff6a14afd90ffc839e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/webgrafia/ginger/pulls/15/commits","review_comments_url":"https://api.github.com/repos/webgrafia/ginger/pulls/15/comments","review_comment_url":"https://api.github.com/repos/webgrafia/ginger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/webgrafia/ginger/issues/15/comments","statuses_url":"https://api.github.com/repos/webgrafia/ginger/statuses/fe24905a81e13f9942b103dd458830acefe24e79","head":{"label":"TobiasMende:feature/make-logger-optional","ref":"feature/make-logger-optional","sha":"fe24905a81e13f9942b103dd458830acefe24e79","user":{"login":"TobiasMende","id":1168406,"avatar_url":"https://avatars1.githubusercontent.com/u/1168406?v=4","gravatar_id":"","url":"https://api.github.com/users/TobiasMende","html_url":"https://github.com/TobiasMende","followers_url":"https://api.github.com/users/TobiasMende/followers","following_url":"https://api.github.com/users/TobiasMende/following{/other_user}","gists_url":"https://api.github.com/users/TobiasMende/gists{/gist_id}","starred_url":"https://api.github.com/users/TobiasMende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TobiasMende/subscriptions","organizations_url":"https://api.github.com/users/TobiasMende/orgs","repos_url":"https://api.github.com/users/TobiasMende/repos","events_url":"https://api.github.com/users/TobiasMende/events{/privacy}","received_events_url":"https://api.github.com/users/TobiasMende/received_events","type":"User","site_admin":false},"repo":{"id":129402024,"name":"ginger","full_name":"TobiasMende/ginger","owner":{"login":"TobiasMende","id":1168406,"avatar_url":"https://avatars1.githubusercontent.com/u/1168406?v=4","gravatar_id":"","url":"https://api.github.com/users/TobiasMende","html_url":"https://github.com/TobiasMende","followers_url":"https://api.github.com/users/TobiasMende/followers","following_url":"https://api.github.com/users/TobiasMende/following{/other_user}","gists_url":"https://api.github.com/users/TobiasMende/gists{/gist_id}","starred_url":"https://api.github.com/users/TobiasMende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TobiasMende/subscriptions","organizations_url":"https://api.github.com/users/TobiasMende/orgs","repos_url":"https://api.github.com/users/TobiasMende/repos","events_url":"https://api.github.com/users/TobiasMende/events{/privacy}","received_events_url":"https://api.github.com/users/TobiasMende/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TobiasMende/ginger","description":"Wordpress plugin to make website compliant with EU Cookie Policy, with opt-in feature","fork":true,"url":"https://api.github.com/repos/TobiasMende/ginger","forks_url":"https://api.github.com/repos/TobiasMende/ginger/forks","keys_url":"https://api.github.com/repos/TobiasMende/ginger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TobiasMende/ginger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TobiasMende/ginger/teams","hooks_url":"https://api.github.com/repos/TobiasMende/ginger/hooks","issue_events_url":"https://api.github.com/repos/TobiasMende/ginger/issues/events{/number}","events_url":"https://api.github.com/repos/TobiasMende/ginger/events","assignees_url":"https://api.github.com/repos/TobiasMende/ginger/assignees{/user}","branches_url":"https://api.github.com/repos/TobiasMende/ginger/branches{/branch}","tags_url":"https://api.github.com/repos/TobiasMende/ginger/tags","blobs_url":"https://api.github.com/repos/TobiasMende/ginger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TobiasMende/ginger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TobiasMende/ginger/git/refs{/sha}","trees_url":"https://api.github.com/repos/TobiasMende/ginger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TobiasMende/ginger/statuses/{sha}","languages_url":"https://api.github.com/repos/TobiasMende/ginger/languages","stargazers_url":"https://api.github.com/repos/TobiasMende/ginger/stargazers","contributors_url":"https://api.github.com/repos/TobiasMende/ginger/contributors","subscribers_url":"https://api.github.com/repos/TobiasMende/ginger/subscribers","subscription_url":"https://api.github.com/repos/TobiasMende/ginger/subscription","commits_url":"https://api.github.com/repos/TobiasMende/ginger/commits{/sha}","git_commits_url":"https://api.github.com/repos/TobiasMende/ginger/git/commits{/sha}","comments_url":"https://api.github.com/repos/TobiasMende/ginger/comments{/number}","issue_comment_url":"https://api.github.com/repos/TobiasMende/ginger/issues/comments{/number}","contents_url":"https://api.github.com/repos/TobiasMende/ginger/contents/{+path}","compare_url":"https://api.github.com/repos/TobiasMende/ginger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TobiasMende/ginger/merges","archive_url":"https://api.github.com/repos/TobiasMende/ginger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TobiasMende/ginger/downloads","issues_url":"https://api.github.com/repos/TobiasMende/ginger/issues{/number}","pulls_url":"https://api.github.com/repos/TobiasMende/ginger/pulls{/number}","milestones_url":"https://api.github.com/repos/TobiasMende/ginger/milestones{/number}","notifications_url":"https://api.github.com/repos/TobiasMende/ginger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TobiasMende/ginger/labels{/name}","releases_url":"https://api.github.com/repos/TobiasMende/ginger/releases{/id}","deployments_url":"https://api.github.com/repos/TobiasMende/ginger/deployments","created_at":"2018-04-13T12:53:11Z","updated_at":"2018-04-13T12:53:13Z","pushed_at":"2018-04-13T13:13:42Z","git_url":"git://github.com/TobiasMende/ginger.git","ssh_url":"git@github.com:TobiasMende/ginger.git","clone_url":"https://github.com/TobiasMende/ginger.git","svn_url":"https://github.com/TobiasMende/ginger","homepage":null,"size":132,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"webgrafia:master","ref":"master","sha":"c3b2599d096ded0969c0a705d083bc25bd6db57f","user":{"login":"webgrafia","id":9932389,"avatar_url":"https://avatars1.githubusercontent.com/u/9932389?v=4","gravatar_id":"","url":"https://api.github.com/users/webgrafia","html_url":"https://github.com/webgrafia","followers_url":"https://api.github.com/users/webgrafia/followers","following_url":"https://api.github.com/users/webgrafia/following{/other_user}","gists_url":"https://api.github.com/users/webgrafia/gists{/gist_id}","starred_url":"https://api.github.com/users/webgrafia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webgrafia/subscriptions","organizations_url":"https://api.github.com/users/webgrafia/orgs","repos_url":"https://api.github.com/users/webgrafia/repos","events_url":"https://api.github.com/users/webgrafia/events{/privacy}","received_events_url":"https://api.github.com/users/webgrafia/received_events","type":"User","site_admin":false},"repo":{"id":85941237,"name":"ginger","full_name":"webgrafia/ginger","owner":{"login":"webgrafia","id":9932389,"avatar_url":"https://avatars1.githubusercontent.com/u/9932389?v=4","gravatar_id":"","url":"https://api.github.com/users/webgrafia","html_url":"https://github.com/webgrafia","followers_url":"https://api.github.com/users/webgrafia/followers","following_url":"https://api.github.com/users/webgrafia/following{/other_user}","gists_url":"https://api.github.com/users/webgrafia/gists{/gist_id}","starred_url":"https://api.github.com/users/webgrafia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webgrafia/subscriptions","organizations_url":"https://api.github.com/users/webgrafia/orgs","repos_url":"https://api.github.com/users/webgrafia/repos","events_url":"https://api.github.com/users/webgrafia/events{/privacy}","received_events_url":"https://api.github.com/users/webgrafia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/webgrafia/ginger","description":"Wordpress plugin to make website compliant with EU Cookie Policy, with opt-in feature","fork":false,"url":"https://api.github.com/repos/webgrafia/ginger","forks_url":"https://api.github.com/repos/webgrafia/ginger/forks","keys_url":"https://api.github.com/repos/webgrafia/ginger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webgrafia/ginger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webgrafia/ginger/teams","hooks_url":"https://api.github.com/repos/webgrafia/ginger/hooks","issue_events_url":"https://api.github.com/repos/webgrafia/ginger/issues/events{/number}","events_url":"https://api.github.com/repos/webgrafia/ginger/events","assignees_url":"https://api.github.com/repos/webgrafia/ginger/assignees{/user}","branches_url":"https://api.github.com/repos/webgrafia/ginger/branches{/branch}","tags_url":"https://api.github.com/repos/webgrafia/ginger/tags","blobs_url":"https://api.github.com/repos/webgrafia/ginger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webgrafia/ginger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webgrafia/ginger/git/refs{/sha}","trees_url":"https://api.github.com/repos/webgrafia/ginger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webgrafia/ginger/statuses/{sha}","languages_url":"https://api.github.com/repos/webgrafia/ginger/languages","stargazers_url":"https://api.github.com/repos/webgrafia/ginger/stargazers","contributors_url":"https://api.github.com/repos/webgrafia/ginger/contributors","subscribers_url":"https://api.github.com/repos/webgrafia/ginger/subscribers","subscription_url":"https://api.github.com/repos/webgrafia/ginger/subscription","commits_url":"https://api.github.com/repos/webgrafia/ginger/commits{/sha}","git_commits_url":"https://api.github.com/repos/webgrafia/ginger/git/commits{/sha}","comments_url":"https://api.github.com/repos/webgrafia/ginger/comments{/number}","issue_comment_url":"https://api.github.com/repos/webgrafia/ginger/issues/comments{/number}","contents_url":"https://api.github.com/repos/webgrafia/ginger/contents/{+path}","compare_url":"https://api.github.com/repos/webgrafia/ginger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webgrafia/ginger/merges","archive_url":"https://api.github.com/repos/webgrafia/ginger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webgrafia/ginger/downloads","issues_url":"https://api.github.com/repos/webgrafia/ginger/issues{/number}","pulls_url":"https://api.github.com/repos/webgrafia/ginger/pulls{/number}","milestones_url":"https://api.github.com/repos/webgrafia/ginger/milestones{/number}","notifications_url":"https://api.github.com/repos/webgrafia/ginger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webgrafia/ginger/labels{/name}","releases_url":"https://api.github.com/repos/webgrafia/ginger/releases{/id}","deployments_url":"https://api.github.com/repos/webgrafia/ginger/deployments","created_at":"2017-03-23T11:17:22Z","updated_at":"2018-04-12T19:44:59Z","pushed_at":"2018-04-13T13:29:57Z","git_url":"git://github.com/webgrafia/ginger.git","ssh_url":"git@github.com:webgrafia/ginger.git","clone_url":"https://github.com/webgrafia/ginger.git","svn_url":"https://github.com/webgrafia/ginger","homepage":null,"size":132,"stargazers_count":5,"watchers_count":5,"language":"PHP","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":3,"license":null,"forks":4,"open_issues":3,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/webgrafia/ginger/pulls/15"},"html":{"href":"https://github.com/webgrafia/ginger/pull/15"},"issue":{"href":"https://api.github.com/repos/webgrafia/ginger/issues/15"},"comments":{"href":"https://api.github.com/repos/webgrafia/ginger/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/webgrafia/ginger/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/webgrafia/ginger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/webgrafia/ginger/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/webgrafia/ginger/statuses/fe24905a81e13f9942b103dd458830acefe24e79"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"webgrafia","id":9932389,"avatar_url":"https://avatars1.githubusercontent.com/u/9932389?v=4","gravatar_id":"","url":"https://api.github.com/users/webgrafia","html_url":"https://github.com/webgrafia","followers_url":"https://api.github.com/users/webgrafia/followers","following_url":"https://api.github.com/users/webgrafia/following{/other_user}","gists_url":"https://api.github.com/users/webgrafia/gists{/gist_id}","starred_url":"https://api.github.com/users/webgrafia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webgrafia/subscriptions","organizations_url":"https://api.github.com/users/webgrafia/orgs","repos_url":"https://api.github.com/users/webgrafia/repos","events_url":"https://api.github.com/users/webgrafia/events{/privacy}","received_events_url":"https://api.github.com/users/webgrafia/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":30,"deletions":5,"changed_files":4}}
{"actor":{"display_login":"webgrafia"}}