{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/stayallive/wp-sentry/pulls/2","id":94612393,"html_url":"https://github.com/stayallive/wp-sentry/pull/2","diff_url":"https://github.com/stayallive/wp-sentry/pull/2.diff","patch_url":"https://github.com/stayallive/wp-sentry/pull/2.patch","issue_url":"https://api.github.com/repos/stayallive/wp-sentry/issues/2","number":2,"state":"open","locked":false,"title":"[WIP] Refactor implementation","user":{"login":"ikappas","id":7887523,"avatar_url":"https://avatars.githubusercontent.com/u/7887523?v=3","gravatar_id":"","url":"https://api.github.com/users/ikappas","html_url":"https://github.com/ikappas","followers_url":"https://api.github.com/users/ikappas/followers","following_url":"https://api.github.com/users/ikappas/following{/other_user}","gists_url":"https://api.github.com/users/ikappas/gists{/gist_id}","starred_url":"https://api.github.com/users/ikappas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikappas/subscriptions","organizations_url":"https://api.github.com/users/ikappas/orgs","repos_url":"https://api.github.com/users/ikappas/repos","events_url":"https://api.github.com/users/ikappas/events{/privacy}","received_events_url":"https://api.github.com/users/ikappas/received_events","type":"User","site_admin":false},"body":"# Short Description\r\nThis is a proposal for a major refactoring of the project to enable better integration with WordPress.\r\n\r\n# Common Features\r\n- [x] Make plugin work under mu-plugins folder.\r\n- [x] Make plugin work when symlinked.\r\n- [x] Set user context when it is available.\r\n- [x] Add wordpress version tag\r\n- [x] Add `wp_sentry_user_context` filter to allow customization.\r\n- [x] Enable context manipulation on Tracker class instances.\r\n\r\n# PHP Tracker Features\r\n- [x] Load Raven PHP client as early as possible.\r\n- [x] Add php version tag\r\n- [x] Add `wp_sentry_dsn` filter to allow customization.\r\n- [x] Add `wp_sentry_options` filter to allow customization.\r\n\r\n# JS Tracker Features\r\n- [x] Update Raven JS client to v3.8.0\r\n- [x] Load Raven JS client as early as possible.\r\n- [x] Load Raven JS client on admin.\r\n- [x] Load Raven JS client on login.\r\n- [x] Add `wp_sentry_public_dsn` filter to allow customization.\r\n- [x] Add `wp_sentry_public_options` filter to allow customization.\r\n\r\n","created_at":"2016-11-21T13:11:31Z","updated_at":"2016-11-21T13:11:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/stayallive/wp-sentry/pulls/2/commits","review_comments_url":"https://api.github.com/repos/stayallive/wp-sentry/pulls/2/comments","review_comment_url":"https://api.github.com/repos/stayallive/wp-sentry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stayallive/wp-sentry/issues/2/comments","statuses_url":"https://api.github.com/repos/stayallive/wp-sentry/statuses/d6d2b1bdcecc9202aaa1ae20c0ead41a62cf0ba6","head":{"label":"ikappas:feature/refactor-implementation","ref":"feature/refactor-implementation","sha":"d6d2b1bdcecc9202aaa1ae20c0ead41a62cf0ba6","user":{"login":"ikappas","id":7887523,"avatar_url":"https://avatars.githubusercontent.com/u/7887523?v=3","gravatar_id":"","url":"https://api.github.com/users/ikappas","html_url":"https://github.com/ikappas","followers_url":"https://api.github.com/users/ikappas/followers","following_url":"https://api.github.com/users/ikappas/following{/other_user}","gists_url":"https://api.github.com/users/ikappas/gists{/gist_id}","starred_url":"https://api.github.com/users/ikappas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikappas/subscriptions","organizations_url":"https://api.github.com/users/ikappas/orgs","repos_url":"https://api.github.com/users/ikappas/repos","events_url":"https://api.github.com/users/ikappas/events{/privacy}","received_events_url":"https://api.github.com/users/ikappas/received_events","type":"User","site_admin":false},"repo":{"id":74243470,"name":"wp-sentry","full_name":"ikappas/wp-sentry","owner":{"login":"ikappas","id":7887523,"avatar_url":"https://avatars.githubusercontent.com/u/7887523?v=3","gravatar_id":"","url":"https://api.github.com/users/ikappas","html_url":"https://github.com/ikappas","followers_url":"https://api.github.com/users/ikappas/followers","following_url":"https://api.github.com/users/ikappas/following{/other_user}","gists_url":"https://api.github.com/users/ikappas/gists{/gist_id}","starred_url":"https://api.github.com/users/ikappas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ikappas/subscriptions","organizations_url":"https://api.github.com/users/ikappas/orgs","repos_url":"https://api.github.com/users/ikappas/repos","events_url":"https://api.github.com/users/ikappas/events{/privacy}","received_events_url":"https://api.github.com/users/ikappas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ikappas/wp-sentry","description":"A (unofficial) WordPress plugin to report PHP errors and JavaScript errors to Sentry.","fork":true,"url":"https://api.github.com/repos/ikappas/wp-sentry","forks_url":"https://api.github.com/repos/ikappas/wp-sentry/forks","keys_url":"https://api.github.com/repos/ikappas/wp-sentry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ikappas/wp-sentry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ikappas/wp-sentry/teams","hooks_url":"https://api.github.com/repos/ikappas/wp-sentry/hooks","issue_events_url":"https://api.github.com/repos/ikappas/wp-sentry/issues/events{/number}","events_url":"https://api.github.com/repos/ikappas/wp-sentry/events","assignees_url":"https://api.github.com/repos/ikappas/wp-sentry/assignees{/user}","branches_url":"https://api.github.com/repos/ikappas/wp-sentry/branches{/branch}","tags_url":"https://api.github.com/repos/ikappas/wp-sentry/tags","blobs_url":"https://api.github.com/repos/ikappas/wp-sentry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ikappas/wp-sentry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ikappas/wp-sentry/git/refs{/sha}","trees_url":"https://api.github.com/repos/ikappas/wp-sentry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ikappas/wp-sentry/statuses/{sha}","languages_url":"https://api.github.com/repos/ikappas/wp-sentry/languages","stargazers_url":"https://api.github.com/repos/ikappas/wp-sentry/stargazers","contributors_url":"https://api.github.com/repos/ikappas/wp-sentry/contributors","subscribers_url":"https://api.github.com/repos/ikappas/wp-sentry/subscribers","subscription_url":"https://api.github.com/repos/ikappas/wp-sentry/subscription","commits_url":"https://api.github.com/repos/ikappas/wp-sentry/commits{/sha}","git_commits_url":"https://api.github.com/repos/ikappas/wp-sentry/git/commits{/sha}","comments_url":"https://api.github.com/repos/ikappas/wp-sentry/comments{/number}","issue_comment_url":"https://api.github.com/repos/ikappas/wp-sentry/issues/comments{/number}","contents_url":"https://api.github.com/repos/ikappas/wp-sentry/contents/{+path}","compare_url":"https://api.github.com/repos/ikappas/wp-sentry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ikappas/wp-sentry/merges","archive_url":"https://api.github.com/repos/ikappas/wp-sentry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ikappas/wp-sentry/downloads","issues_url":"https://api.github.com/repos/ikappas/wp-sentry/issues{/number}","pulls_url":"https://api.github.com/repos/ikappas/wp-sentry/pulls{/number}","milestones_url":"https://api.github.com/repos/ikappas/wp-sentry/milestones{/number}","notifications_url":"https://api.github.com/repos/ikappas/wp-sentry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ikappas/wp-sentry/labels{/name}","releases_url":"https://api.github.com/repos/ikappas/wp-sentry/releases{/id}","deployments_url":"https://api.github.com/repos/ikappas/wp-sentry/deployments","created_at":"2016-11-20T00:15:06Z","updated_at":"2016-11-20T00:15:07Z","pushed_at":"2016-11-21T12:51:10Z","git_url":"git://github.com/ikappas/wp-sentry.git","ssh_url":"git@github.com:ikappas/wp-sentry.git","clone_url":"https://github.com/ikappas/wp-sentry.git","svn_url":"https://github.com/ikappas/wp-sentry","homepage":"https://sentry.io","size":220,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"stayallive:master","ref":"master","sha":"838d875bdf4aec8aed6cf366bda598f7bab89c6d","user":{"login":"stayallive","id":1090754,"avatar_url":"https://avatars.githubusercontent.com/u/1090754?v=3","gravatar_id":"","url":"https://api.github.com/users/stayallive","html_url":"https://github.com/stayallive","followers_url":"https://api.github.com/users/stayallive/followers","following_url":"https://api.github.com/users/stayallive/following{/other_user}","gists_url":"https://api.github.com/users/stayallive/gists{/gist_id}","starred_url":"https://api.github.com/users/stayallive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stayallive/subscriptions","organizations_url":"https://api.github.com/users/stayallive/orgs","repos_url":"https://api.github.com/users/stayallive/repos","events_url":"https://api.github.com/users/stayallive/events{/privacy}","received_events_url":"https://api.github.com/users/stayallive/received_events","type":"User","site_admin":false},"repo":{"id":71796600,"name":"wp-sentry","full_name":"stayallive/wp-sentry","owner":{"login":"stayallive","id":1090754,"avatar_url":"https://avatars.githubusercontent.com/u/1090754?v=3","gravatar_id":"","url":"https://api.github.com/users/stayallive","html_url":"https://github.com/stayallive","followers_url":"https://api.github.com/users/stayallive/followers","following_url":"https://api.github.com/users/stayallive/following{/other_user}","gists_url":"https://api.github.com/users/stayallive/gists{/gist_id}","starred_url":"https://api.github.com/users/stayallive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stayallive/subscriptions","organizations_url":"https://api.github.com/users/stayallive/orgs","repos_url":"https://api.github.com/users/stayallive/repos","events_url":"https://api.github.com/users/stayallive/events{/privacy}","received_events_url":"https://api.github.com/users/stayallive/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stayallive/wp-sentry","description":"A (unofficial) WordPress plugin to report PHP errors and JavaScript errors to Sentry.","fork":false,"url":"https://api.github.com/repos/stayallive/wp-sentry","forks_url":"https://api.github.com/repos/stayallive/wp-sentry/forks","keys_url":"https://api.github.com/repos/stayallive/wp-sentry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stayallive/wp-sentry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stayallive/wp-sentry/teams","hooks_url":"https://api.github.com/repos/stayallive/wp-sentry/hooks","issue_events_url":"https://api.github.com/repos/stayallive/wp-sentry/issues/events{/number}","events_url":"https://api.github.com/repos/stayallive/wp-sentry/events","assignees_url":"https://api.github.com/repos/stayallive/wp-sentry/assignees{/user}","branches_url":"https://api.github.com/repos/stayallive/wp-sentry/branches{/branch}","tags_url":"https://api.github.com/repos/stayallive/wp-sentry/tags","blobs_url":"https://api.github.com/repos/stayallive/wp-sentry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stayallive/wp-sentry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stayallive/wp-sentry/git/refs{/sha}","trees_url":"https://api.github.com/repos/stayallive/wp-sentry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stayallive/wp-sentry/statuses/{sha}","languages_url":"https://api.github.com/repos/stayallive/wp-sentry/languages","stargazers_url":"https://api.github.com/repos/stayallive/wp-sentry/stargazers","contributors_url":"https://api.github.com/repos/stayallive/wp-sentry/contributors","subscribers_url":"https://api.github.com/repos/stayallive/wp-sentry/subscribers","subscription_url":"https://api.github.com/repos/stayallive/wp-sentry/subscription","commits_url":"https://api.github.com/repos/stayallive/wp-sentry/commits{/sha}","git_commits_url":"https://api.github.com/repos/stayallive/wp-sentry/git/commits{/sha}","comments_url":"https://api.github.com/repos/stayallive/wp-sentry/comments{/number}","issue_comment_url":"https://api.github.com/repos/stayallive/wp-sentry/issues/comments{/number}","contents_url":"https://api.github.com/repos/stayallive/wp-sentry/contents/{+path}","compare_url":"https://api.github.com/repos/stayallive/wp-sentry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stayallive/wp-sentry/merges","archive_url":"https://api.github.com/repos/stayallive/wp-sentry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stayallive/wp-sentry/downloads","issues_url":"https://api.github.com/repos/stayallive/wp-sentry/issues{/number}","pulls_url":"https://api.github.com/repos/stayallive/wp-sentry/pulls{/number}","milestones_url":"https://api.github.com/repos/stayallive/wp-sentry/milestones{/number}","notifications_url":"https://api.github.com/repos/stayallive/wp-sentry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stayallive/wp-sentry/labels{/name}","releases_url":"https://api.github.com/repos/stayallive/wp-sentry/releases{/id}","deployments_url":"https://api.github.com/repos/stayallive/wp-sentry/deployments","created_at":"2016-10-24T14:19:11Z","updated_at":"2016-11-08T04:22:02Z","pushed_at":"2016-11-20T19:50:58Z","git_url":"git://github.com/stayallive/wp-sentry.git","ssh_url":"git@github.com:stayallive/wp-sentry.git","clone_url":"https://github.com/stayallive/wp-sentry.git","svn_url":"https://github.com/stayallive/wp-sentry","homepage":"https://sentry.io","size":220,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stayallive/wp-sentry/pulls/2"},"html":{"href":"https://github.com/stayallive/wp-sentry/pull/2"},"issue":{"href":"https://api.github.com/repos/stayallive/wp-sentry/issues/2"},"comments":{"href":"https://api.github.com/repos/stayallive/wp-sentry/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/stayallive/wp-sentry/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/stayallive/wp-sentry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stayallive/wp-sentry/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/stayallive/wp-sentry/statuses/d6d2b1bdcecc9202aaa1ae20c0ead41a62cf0ba6"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":7,"additions":511,"deletions":154,"changed_files":11}}
{"actor":{"display_login":"ikappas"}}