{"action":"opened","number":947,"pull_request":{"url":"https://api.github.com/repos/opengovfoundation/madison/pulls/947","id":68063873,"html_url":"https://github.com/opengovfoundation/madison/pull/947","diff_url":"https://github.com/opengovfoundation/madison/pull/947.diff","patch_url":"https://github.com/opengovfoundation/madison/pull/947.patch","issue_url":"https://api.github.com/repos/opengovfoundation/madison/issues/947","number":947,"state":"open","locked":false,"title":"Send notifications for replies to a users comment","user":{"login":"doshitan","id":5341292,"avatar_url":"https://avatars.githubusercontent.com/u/5341292?v=3","gravatar_id":"","url":"https://api.github.com/users/doshitan","html_url":"https://github.com/doshitan","followers_url":"https://api.github.com/users/doshitan/followers","following_url":"https://api.github.com/users/doshitan/following{/other_user}","gists_url":"https://api.github.com/users/doshitan/gists{/gist_id}","starred_url":"https://api.github.com/users/doshitan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doshitan/subscriptions","organizations_url":"https://api.github.com/users/doshitan/orgs","repos_url":"https://api.github.com/users/doshitan/repos","events_url":"https://api.github.com/users/doshitan/events{/privacy}","received_events_url":"https://api.github.com/users/doshitan/received_events","type":"User","site_admin":false},"body":"* Utilize the event and queue systems in Laravel 5 to trigger and handle\r\n  notifications for new comments, this requires deployments now include\r\n  a `php artisan queue:listen` or `php artisan queue:work --daemon`\r\n  (each has upsides and downsides) command under some sort of process\r\n  management system (e.g., systemd, supervisor) so that the queuing\r\n  stuff works\r\n* Update references to DBAnnotation model to the Annotation model\r\n* Remove the OldAnnotation model\r\n* Remove soft delete stuff from the Notification model as the required\r\n  columns do not exist in the DB schema (adding the soft delete stuff\r\n  was a mistake made during the Laravel 5 upgrade)","created_at":"2016-04-27T14:34:21Z","updated_at":"2016-04-27T14:34:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/opengovfoundation/madison/pulls/947/commits","review_comments_url":"https://api.github.com/repos/opengovfoundation/madison/pulls/947/comments","review_comment_url":"https://api.github.com/repos/opengovfoundation/madison/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opengovfoundation/madison/issues/947/comments","statuses_url":"https://api.github.com/repos/opengovfoundation/madison/statuses/1dce2753ddddfd17095c2f4bd7e08b717c336cbb","head":{"label":"opengovfoundation:917-reply-notifications","ref":"917-reply-notifications","sha":"1dce2753ddddfd17095c2f4bd7e08b717c336cbb","user":{"login":"opengovfoundation","id":2090211,"avatar_url":"https://avatars.githubusercontent.com/u/2090211?v=3","gravatar_id":"","url":"https://api.github.com/users/opengovfoundation","html_url":"https://github.com/opengovfoundation","followers_url":"https://api.github.com/users/opengovfoundation/followers","following_url":"https://api.github.com/users/opengovfoundation/following{/other_user}","gists_url":"https://api.github.com/users/opengovfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/opengovfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opengovfoundation/subscriptions","organizations_url":"https://api.github.com/users/opengovfoundation/orgs","repos_url":"https://api.github.com/users/opengovfoundation/repos","events_url":"https://api.github.com/users/opengovfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/opengovfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":9036469,"name":"madison","full_name":"opengovfoundation/madison","owner":{"login":"opengovfoundation","id":2090211,"avatar_url":"https://avatars.githubusercontent.com/u/2090211?v=3","gravatar_id":"","url":"https://api.github.com/users/opengovfoundation","html_url":"https://github.com/opengovfoundation","followers_url":"https://api.github.com/users/opengovfoundation/followers","following_url":"https://api.github.com/users/opengovfoundation/following{/other_user}","gists_url":"https://api.github.com/users/opengovfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/opengovfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opengovfoundation/subscriptions","organizations_url":"https://api.github.com/users/opengovfoundation/orgs","repos_url":"https://api.github.com/users/opengovfoundation/repos","events_url":"https://api.github.com/users/opengovfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/opengovfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opengovfoundation/madison","description":"Madison 2.0","fork":false,"url":"https://api.github.com/repos/opengovfoundation/madison","forks_url":"https://api.github.com/repos/opengovfoundation/madison/forks","keys_url":"https://api.github.com/repos/opengovfoundation/madison/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opengovfoundation/madison/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opengovfoundation/madison/teams","hooks_url":"https://api.github.com/repos/opengovfoundation/madison/hooks","issue_events_url":"https://api.github.com/repos/opengovfoundation/madison/issues/events{/number}","events_url":"https://api.github.com/repos/opengovfoundation/madison/events","assignees_url":"https://api.github.com/repos/opengovfoundation/madison/assignees{/user}","branches_url":"https://api.github.com/repos/opengovfoundation/madison/branches{/branch}","tags_url":"https://api.github.com/repos/opengovfoundation/madison/tags","blobs_url":"https://api.github.com/repos/opengovfoundation/madison/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opengovfoundation/madison/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opengovfoundation/madison/git/refs{/sha}","trees_url":"https://api.github.com/repos/opengovfoundation/madison/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opengovfoundation/madison/statuses/{sha}","languages_url":"https://api.github.com/repos/opengovfoundation/madison/languages","stargazers_url":"https://api.github.com/repos/opengovfoundation/madison/stargazers","contributors_url":"https://api.github.com/repos/opengovfoundation/madison/contributors","subscribers_url":"https://api.github.com/repos/opengovfoundation/madison/subscribers","subscription_url":"https://api.github.com/repos/opengovfoundation/madison/subscription","commits_url":"https://api.github.com/repos/opengovfoundation/madison/commits{/sha}","git_commits_url":"https://api.github.com/repos/opengovfoundation/madison/git/commits{/sha}","comments_url":"https://api.github.com/repos/opengovfoundation/madison/comments{/number}","issue_comment_url":"https://api.github.com/repos/opengovfoundation/madison/issues/comments{/number}","contents_url":"https://api.github.com/repos/opengovfoundation/madison/contents/{+path}","compare_url":"https://api.github.com/repos/opengovfoundation/madison/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opengovfoundation/madison/merges","archive_url":"https://api.github.com/repos/opengovfoundation/madison/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opengovfoundation/madison/downloads","issues_url":"https://api.github.com/repos/opengovfoundation/madison/issues{/number}","pulls_url":"https://api.github.com/repos/opengovfoundation/madison/pulls{/number}","milestones_url":"https://api.github.com/repos/opengovfoundation/madison/milestones{/number}","notifications_url":"https://api.github.com/repos/opengovfoundation/madison/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opengovfoundation/madison/labels{/name}","releases_url":"https://api.github.com/repos/opengovfoundation/madison/releases{/id}","deployments_url":"https://api.github.com/repos/opengovfoundation/madison/deployments","created_at":"2013-03-26T17:49:22Z","updated_at":"2016-04-26T11:12:32Z","pushed_at":"2016-04-27T14:26:10Z","git_url":"git://github.com/opengovfoundation/madison.git","ssh_url":"git@github.com:opengovfoundation/madison.git","clone_url":"https://github.com/opengovfoundation/madison.git","svn_url":"https://github.com/opengovfoundation/madison","homepage":null,"size":141393,"stargazers_count":189,"watchers_count":189,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":204,"forks":58,"open_issues":204,"watchers":189,"default_branch":"master"}},"base":{"label":"opengovfoundation:dev","ref":"dev","sha":"c81fac52919153bcccba8d737f8f0e027dd42414","user":{"login":"opengovfoundation","id":2090211,"avatar_url":"https://avatars.githubusercontent.com/u/2090211?v=3","gravatar_id":"","url":"https://api.github.com/users/opengovfoundation","html_url":"https://github.com/opengovfoundation","followers_url":"https://api.github.com/users/opengovfoundation/followers","following_url":"https://api.github.com/users/opengovfoundation/following{/other_user}","gists_url":"https://api.github.com/users/opengovfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/opengovfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opengovfoundation/subscriptions","organizations_url":"https://api.github.com/users/opengovfoundation/orgs","repos_url":"https://api.github.com/users/opengovfoundation/repos","events_url":"https://api.github.com/users/opengovfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/opengovfoundation/received_events","type":"Organization","site_admin":false},"repo":{"id":9036469,"name":"madison","full_name":"opengovfoundation/madison","owner":{"login":"opengovfoundation","id":2090211,"avatar_url":"https://avatars.githubusercontent.com/u/2090211?v=3","gravatar_id":"","url":"https://api.github.com/users/opengovfoundation","html_url":"https://github.com/opengovfoundation","followers_url":"https://api.github.com/users/opengovfoundation/followers","following_url":"https://api.github.com/users/opengovfoundation/following{/other_user}","gists_url":"https://api.github.com/users/opengovfoundation/gists{/gist_id}","starred_url":"https://api.github.com/users/opengovfoundation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opengovfoundation/subscriptions","organizations_url":"https://api.github.com/users/opengovfoundation/orgs","repos_url":"https://api.github.com/users/opengovfoundation/repos","events_url":"https://api.github.com/users/opengovfoundation/events{/privacy}","received_events_url":"https://api.github.com/users/opengovfoundation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opengovfoundation/madison","description":"Madison 2.0","fork":false,"url":"https://api.github.com/repos/opengovfoundation/madison","forks_url":"https://api.github.com/repos/opengovfoundation/madison/forks","keys_url":"https://api.github.com/repos/opengovfoundation/madison/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opengovfoundation/madison/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opengovfoundation/madison/teams","hooks_url":"https://api.github.com/repos/opengovfoundation/madison/hooks","issue_events_url":"https://api.github.com/repos/opengovfoundation/madison/issues/events{/number}","events_url":"https://api.github.com/repos/opengovfoundation/madison/events","assignees_url":"https://api.github.com/repos/opengovfoundation/madison/assignees{/user}","branches_url":"https://api.github.com/repos/opengovfoundation/madison/branches{/branch}","tags_url":"https://api.github.com/repos/opengovfoundation/madison/tags","blobs_url":"https://api.github.com/repos/opengovfoundation/madison/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opengovfoundation/madison/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opengovfoundation/madison/git/refs{/sha}","trees_url":"https://api.github.com/repos/opengovfoundation/madison/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opengovfoundation/madison/statuses/{sha}","languages_url":"https://api.github.com/repos/opengovfoundation/madison/languages","stargazers_url":"https://api.github.com/repos/opengovfoundation/madison/stargazers","contributors_url":"https://api.github.com/repos/opengovfoundation/madison/contributors","subscribers_url":"https://api.github.com/repos/opengovfoundation/madison/subscribers","subscription_url":"https://api.github.com/repos/opengovfoundation/madison/subscription","commits_url":"https://api.github.com/repos/opengovfoundation/madison/commits{/sha}","git_commits_url":"https://api.github.com/repos/opengovfoundation/madison/git/commits{/sha}","comments_url":"https://api.github.com/repos/opengovfoundation/madison/comments{/number}","issue_comment_url":"https://api.github.com/repos/opengovfoundation/madison/issues/comments{/number}","contents_url":"https://api.github.com/repos/opengovfoundation/madison/contents/{+path}","compare_url":"https://api.github.com/repos/opengovfoundation/madison/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opengovfoundation/madison/merges","archive_url":"https://api.github.com/repos/opengovfoundation/madison/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opengovfoundation/madison/downloads","issues_url":"https://api.github.com/repos/opengovfoundation/madison/issues{/number}","pulls_url":"https://api.github.com/repos/opengovfoundation/madison/pulls{/number}","milestones_url":"https://api.github.com/repos/opengovfoundation/madison/milestones{/number}","notifications_url":"https://api.github.com/repos/opengovfoundation/madison/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opengovfoundation/madison/labels{/name}","releases_url":"https://api.github.com/repos/opengovfoundation/madison/releases{/id}","deployments_url":"https://api.github.com/repos/opengovfoundation/madison/deployments","created_at":"2013-03-26T17:49:22Z","updated_at":"2016-04-26T11:12:32Z","pushed_at":"2016-04-27T14:26:10Z","git_url":"git://github.com/opengovfoundation/madison.git","ssh_url":"git@github.com:opengovfoundation/madison.git","clone_url":"https://github.com/opengovfoundation/madison.git","svn_url":"https://github.com/opengovfoundation/madison","homepage":null,"size":141393,"stargazers_count":189,"watchers_count":189,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":58,"mirror_url":null,"open_issues_count":204,"forks":58,"open_issues":204,"watchers":189,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opengovfoundation/madison/pulls/947"},"html":{"href":"https://github.com/opengovfoundation/madison/pull/947"},"issue":{"href":"https://api.github.com/repos/opengovfoundation/madison/issues/947"},"comments":{"href":"https://api.github.com/repos/opengovfoundation/madison/issues/947/comments"},"review_comments":{"href":"https://api.github.com/repos/opengovfoundation/madison/pulls/947/comments"},"review_comment":{"href":"https://api.github.com/repos/opengovfoundation/madison/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opengovfoundation/madison/pulls/947/commits"},"statuses":{"href":"https://api.github.com/repos/opengovfoundation/madison/statuses/1dce2753ddddfd17095c2f4bd7e08b717c336cbb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":343,"deletions":569,"changed_files":25}}