{"action":"created","comment":{"url":"https://api.github.com/repos/librenms/librenmsv2/pulls/comments/60828019","id":60828019,"diff_hunk":"@@ -72,9 +72,9 @@ public function widgets()\n      * @param $user_id\n      * @return Builder|static\n      */\n-    public function scopeAllAvailable(Builder $query, $user_id)","path":"app/Models/Dashboard.php","position":4,"original_position":4,"commit_id":"6daeae873bc9037bd113a626538891b4979e10b3","original_commit_id":"4bff6063889939e8a23c4b2ebc5be4948dad91eb","user":{"login":"murrant","id":39462,"avatar_url":"https://avatars.githubusercontent.com/u/39462?v=3","gravatar_id":"","url":"https://api.github.com/users/murrant","html_url":"https://github.com/murrant","followers_url":"https://api.github.com/users/murrant/followers","following_url":"https://api.github.com/users/murrant/following{/other_user}","gists_url":"https://api.github.com/users/murrant/gists{/gist_id}","starred_url":"https://api.github.com/users/murrant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/murrant/subscriptions","organizations_url":"https://api.github.com/users/murrant/orgs","repos_url":"https://api.github.com/users/murrant/repos","events_url":"https://api.github.com/users/murrant/events{/privacy}","received_events_url":"https://api.github.com/users/murrant/received_events","type":"User","site_admin":false},"body":"Reason for this change was thinking we should in general prefer passing models over ids.  ","created_at":"2016-04-23T12:47:35Z","updated_at":"2016-04-23T12:47:35Z","html_url":"https://github.com/librenms/librenmsv2/pull/98#discussion_r60828019","pull_request_url":"https://api.github.com/repos/librenms/librenmsv2/pulls/98","_links":{"self":{"href":"https://api.github.com/repos/librenms/librenmsv2/pulls/comments/60828019"},"html":{"href":"https://github.com/librenms/librenmsv2/pull/98#discussion_r60828019"},"pull_request":{"href":"https://api.github.com/repos/librenms/librenmsv2/pulls/98"}}},"pull_request":{"url":"https://api.github.com/repos/librenms/librenmsv2/pulls/98","id":67589242,"html_url":"https://github.com/librenms/librenmsv2/pull/98","diff_url":"https://github.com/librenms/librenmsv2/pull/98.diff","patch_url":"https://github.com/librenms/librenmsv2/pull/98.patch","issue_url":"https://api.github.com/repos/librenms/librenmsv2/issues/98","number":98,"state":"open","locked":false,"title":"Alerts page including lang, api and testing","user":{"login":"laf","id":3941142,"avatar_url":"https://avatars.githubusercontent.com/u/3941142?v=3","gravatar_id":"","url":"https://api.github.com/users/laf","html_url":"https://github.com/laf","followers_url":"https://api.github.com/users/laf/followers","following_url":"https://api.github.com/users/laf/following{/other_user}","gists_url":"https://api.github.com/users/laf/gists{/gist_id}","starred_url":"https://api.github.com/users/laf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laf/subscriptions","organizations_url":"https://api.github.com/users/laf/orgs","repos_url":"https://api.github.com/users/laf/repos","events_url":"https://api.github.com/users/laf/events{/privacy}","received_events_url":"https://api.github.com/users/laf/received_events","type":"User","site_admin":false},"body":"Please see our [contributing docs](https://github.com/librenms/librenmsv2/blob/develop/docs/General/Contributing.md)\r\n\r\n- [x] Have you created any necessary docs?\r\n- [x] Have you created tests for Travis integration?\r\n- [x] Have you used localisation in the WebUI?\r\n- [x] Have you included the proper copyright?\r\n\r\nNeeds to have the acknowledge button adding to it but should be complete aside from that.","created_at":"2016-04-23T00:21:33Z","updated_at":"2016-04-23T12:47:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a7bfb74b4afea80c0eea47c8655a5b4ca39c7d3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/librenms/librenmsv2/pulls/98/commits","review_comments_url":"https://api.github.com/repos/librenms/librenmsv2/pulls/98/comments","review_comment_url":"https://api.github.com/repos/librenms/librenmsv2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/librenms/librenmsv2/issues/98/comments","statuses_url":"https://api.github.com/repos/librenms/librenmsv2/statuses/6daeae873bc9037bd113a626538891b4979e10b3","head":{"label":"laf:alerts-page","ref":"alerts-page","sha":"6daeae873bc9037bd113a626538891b4979e10b3","user":{"login":"laf","id":3941142,"avatar_url":"https://avatars.githubusercontent.com/u/3941142?v=3","gravatar_id":"","url":"https://api.github.com/users/laf","html_url":"https://github.com/laf","followers_url":"https://api.github.com/users/laf/followers","following_url":"https://api.github.com/users/laf/following{/other_user}","gists_url":"https://api.github.com/users/laf/gists{/gist_id}","starred_url":"https://api.github.com/users/laf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laf/subscriptions","organizations_url":"https://api.github.com/users/laf/orgs","repos_url":"https://api.github.com/users/laf/repos","events_url":"https://api.github.com/users/laf/events{/privacy}","received_events_url":"https://api.github.com/users/laf/received_events","type":"User","site_admin":false},"repo":{"id":52285061,"name":"librenmsv2","full_name":"laf/librenmsv2","owner":{"login":"laf","id":3941142,"avatar_url":"https://avatars.githubusercontent.com/u/3941142?v=3","gravatar_id":"","url":"https://api.github.com/users/laf","html_url":"https://github.com/laf","followers_url":"https://api.github.com/users/laf/followers","following_url":"https://api.github.com/users/laf/following{/other_user}","gists_url":"https://api.github.com/users/laf/gists{/gist_id}","starred_url":"https://api.github.com/users/laf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laf/subscriptions","organizations_url":"https://api.github.com/users/laf/orgs","repos_url":"https://api.github.com/users/laf/repos","events_url":"https://api.github.com/users/laf/events{/privacy}","received_events_url":"https://api.github.com/users/laf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/laf/librenmsv2","description":"LibreNMS WebUI Rewrite","fork":true,"url":"https://api.github.com/repos/laf/librenmsv2","forks_url":"https://api.github.com/repos/laf/librenmsv2/forks","keys_url":"https://api.github.com/repos/laf/librenmsv2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laf/librenmsv2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laf/librenmsv2/teams","hooks_url":"https://api.github.com/repos/laf/librenmsv2/hooks","issue_events_url":"https://api.github.com/repos/laf/librenmsv2/issues/events{/number}","events_url":"https://api.github.com/repos/laf/librenmsv2/events","assignees_url":"https://api.github.com/repos/laf/librenmsv2/assignees{/user}","branches_url":"https://api.github.com/repos/laf/librenmsv2/branches{/branch}","tags_url":"https://api.github.com/repos/laf/librenmsv2/tags","blobs_url":"https://api.github.com/repos/laf/librenmsv2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laf/librenmsv2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laf/librenmsv2/git/refs{/sha}","trees_url":"https://api.github.com/repos/laf/librenmsv2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laf/librenmsv2/statuses/{sha}","languages_url":"https://api.github.com/repos/laf/librenmsv2/languages","stargazers_url":"https://api.github.com/repos/laf/librenmsv2/stargazers","contributors_url":"https://api.github.com/repos/laf/librenmsv2/contributors","subscribers_url":"https://api.github.com/repos/laf/librenmsv2/subscribers","subscription_url":"https://api.github.com/repos/laf/librenmsv2/subscription","commits_url":"https://api.github.com/repos/laf/librenmsv2/commits{/sha}","git_commits_url":"https://api.github.com/repos/laf/librenmsv2/git/commits{/sha}","comments_url":"https://api.github.com/repos/laf/librenmsv2/comments{/number}","issue_comment_url":"https://api.github.com/repos/laf/librenmsv2/issues/comments{/number}","contents_url":"https://api.github.com/repos/laf/librenmsv2/contents/{+path}","compare_url":"https://api.github.com/repos/laf/librenmsv2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laf/librenmsv2/merges","archive_url":"https://api.github.com/repos/laf/librenmsv2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laf/librenmsv2/downloads","issues_url":"https://api.github.com/repos/laf/librenmsv2/issues{/number}","pulls_url":"https://api.github.com/repos/laf/librenmsv2/pulls{/number}","milestones_url":"https://api.github.com/repos/laf/librenmsv2/milestones{/number}","notifications_url":"https://api.github.com/repos/laf/librenmsv2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laf/librenmsv2/labels{/name}","releases_url":"https://api.github.com/repos/laf/librenmsv2/releases{/id}","deployments_url":"https://api.github.com/repos/laf/librenmsv2/deployments","created_at":"2016-02-22T15:55:26Z","updated_at":"2016-02-22T15:55:28Z","pushed_at":"2016-04-23T10:05:49Z","git_url":"git://github.com/laf/librenmsv2.git","ssh_url":"git@github.com:laf/librenmsv2.git","clone_url":"https://github.com/laf/librenmsv2.git","svn_url":"https://github.com/laf/librenmsv2","homepage":null,"size":6910,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"librenms:develop","ref":"develop","sha":"a4058dc23475034b3bf0f5a7df4cff489cb48f64","user":{"login":"librenms","id":5791783,"avatar_url":"https://avatars.githubusercontent.com/u/5791783?v=3","gravatar_id":"","url":"https://api.github.com/users/librenms","html_url":"https://github.com/librenms","followers_url":"https://api.github.com/users/librenms/followers","following_url":"https://api.github.com/users/librenms/following{/other_user}","gists_url":"https://api.github.com/users/librenms/gists{/gist_id}","starred_url":"https://api.github.com/users/librenms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librenms/subscriptions","organizations_url":"https://api.github.com/users/librenms/orgs","repos_url":"https://api.github.com/users/librenms/repos","events_url":"https://api.github.com/users/librenms/events{/privacy}","received_events_url":"https://api.github.com/users/librenms/received_events","type":"Organization","site_admin":false},"repo":{"id":52284599,"name":"librenmsv2","full_name":"librenms/librenmsv2","owner":{"login":"librenms","id":5791783,"avatar_url":"https://avatars.githubusercontent.com/u/5791783?v=3","gravatar_id":"","url":"https://api.github.com/users/librenms","html_url":"https://github.com/librenms","followers_url":"https://api.github.com/users/librenms/followers","following_url":"https://api.github.com/users/librenms/following{/other_user}","gists_url":"https://api.github.com/users/librenms/gists{/gist_id}","starred_url":"https://api.github.com/users/librenms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/librenms/subscriptions","organizations_url":"https://api.github.com/users/librenms/orgs","repos_url":"https://api.github.com/users/librenms/repos","events_url":"https://api.github.com/users/librenms/events{/privacy}","received_events_url":"https://api.github.com/users/librenms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/librenms/librenmsv2","description":"LibreNMS WebUI Rewrite","fork":false,"url":"https://api.github.com/repos/librenms/librenmsv2","forks_url":"https://api.github.com/repos/librenms/librenmsv2/forks","keys_url":"https://api.github.com/repos/librenms/librenmsv2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/librenms/librenmsv2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/librenms/librenmsv2/teams","hooks_url":"https://api.github.com/repos/librenms/librenmsv2/hooks","issue_events_url":"https://api.github.com/repos/librenms/librenmsv2/issues/events{/number}","events_url":"https://api.github.com/repos/librenms/librenmsv2/events","assignees_url":"https://api.github.com/repos/librenms/librenmsv2/assignees{/user}","branches_url":"https://api.github.com/repos/librenms/librenmsv2/branches{/branch}","tags_url":"https://api.github.com/repos/librenms/librenmsv2/tags","blobs_url":"https://api.github.com/repos/librenms/librenmsv2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/librenms/librenmsv2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/librenms/librenmsv2/git/refs{/sha}","trees_url":"https://api.github.com/repos/librenms/librenmsv2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/librenms/librenmsv2/statuses/{sha}","languages_url":"https://api.github.com/repos/librenms/librenmsv2/languages","stargazers_url":"https://api.github.com/repos/librenms/librenmsv2/stargazers","contributors_url":"https://api.github.com/repos/librenms/librenmsv2/contributors","subscribers_url":"https://api.github.com/repos/librenms/librenmsv2/subscribers","subscription_url":"https://api.github.com/repos/librenms/librenmsv2/subscription","commits_url":"https://api.github.com/repos/librenms/librenmsv2/commits{/sha}","git_commits_url":"https://api.github.com/repos/librenms/librenmsv2/git/commits{/sha}","comments_url":"https://api.github.com/repos/librenms/librenmsv2/comments{/number}","issue_comment_url":"https://api.github.com/repos/librenms/librenmsv2/issues/comments{/number}","contents_url":"https://api.github.com/repos/librenms/librenmsv2/contents/{+path}","compare_url":"https://api.github.com/repos/librenms/librenmsv2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/librenms/librenmsv2/merges","archive_url":"https://api.github.com/repos/librenms/librenmsv2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/librenms/librenmsv2/downloads","issues_url":"https://api.github.com/repos/librenms/librenmsv2/issues{/number}","pulls_url":"https://api.github.com/repos/librenms/librenmsv2/pulls{/number}","milestones_url":"https://api.github.com/repos/librenms/librenmsv2/milestones{/number}","notifications_url":"https://api.github.com/repos/librenms/librenmsv2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/librenms/librenmsv2/labels{/name}","releases_url":"https://api.github.com/repos/librenms/librenmsv2/releases{/id}","deployments_url":"https://api.github.com/repos/librenms/librenmsv2/deployments","created_at":"2016-02-22T15:48:16Z","updated_at":"2016-04-22T08:49:49Z","pushed_at":"2016-04-23T10:05:50Z","git_url":"git://github.com/librenms/librenmsv2.git","ssh_url":"git@github.com:librenms/librenmsv2.git","clone_url":"https://github.com/librenms/librenmsv2.git","svn_url":"https://github.com/librenms/librenmsv2","homepage":null,"size":7133,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":10,"forks":8,"open_issues":10,"watchers":8,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/librenms/librenmsv2/pulls/98"},"html":{"href":"https://github.com/librenms/librenmsv2/pull/98"},"issue":{"href":"https://api.github.com/repos/librenms/librenmsv2/issues/98"},"comments":{"href":"https://api.github.com/repos/librenms/librenmsv2/issues/98/comments"},"review_comments":{"href":"https://api.github.com/repos/librenms/librenmsv2/pulls/98/comments"},"review_comment":{"href":"https://api.github.com/repos/librenms/librenmsv2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/librenms/librenmsv2/pulls/98/commits"},"statuses":{"href":"https://api.github.com/repos/librenms/librenmsv2/statuses/6daeae873bc9037bd113a626538891b4979e10b3"}}}}