{"action":"created","comment":{"url":"https://api.github.com/repos/librenms/librenms/pulls/comments/61412641","id":61412641,"diff_hunk":"@@ -11,6 +11,7 @@\n  * option) any later version.  Please see LICENSE.txt at the top level of\n  * the source code distribution for details.\n  */\n+header('Content-type: application/json');\n \n if (is_admin() === false) {\n     die('ERROR: You need to be admin');","path":"html/includes/forms/parse-device-group.inc.php","position":7,"original_position":7,"commit_id":"b5b3929d7064b960c5e1601b7a39cc2926379ae7","original_commit_id":"b5b3929d7064b960c5e1601b7a39cc2926379ae7","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":"Same again :(","created_at":"2016-04-28T11:39:10Z","updated_at":"2016-04-28T11:39:10Z","html_url":"https://github.com/librenms/librenms/pull/3434#discussion_r61412641","pull_request_url":"https://api.github.com/repos/librenms/librenms/pulls/3434","_links":{"self":{"href":"https://api.github.com/repos/librenms/librenms/pulls/comments/61412641"},"html":{"href":"https://github.com/librenms/librenms/pull/3434#discussion_r61412641"},"pull_request":{"href":"https://api.github.com/repos/librenms/librenms/pulls/3434"}}},"pull_request":{"url":"https://api.github.com/repos/librenms/librenms/pulls/3434","id":67966520,"html_url":"https://github.com/librenms/librenms/pull/3434","diff_url":"https://github.com/librenms/librenms/pull/3434.diff","patch_url":"https://github.com/librenms/librenms/pull/3434.patch","issue_url":"https://api.github.com/repos/librenms/librenms/issues/3434","number":3434,"state":"open","locked":false,"title":"Ajax headers for devices and pollers","user":{"login":"pblasquez","id":8316206,"avatar_url":"https://avatars.githubusercontent.com/u/8316206?v=3","gravatar_id":"","url":"https://api.github.com/users/pblasquez","html_url":"https://github.com/pblasquez","followers_url":"https://api.github.com/users/pblasquez/followers","following_url":"https://api.github.com/users/pblasquez/following{/other_user}","gists_url":"https://api.github.com/users/pblasquez/gists{/gist_id}","starred_url":"https://api.github.com/users/pblasquez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pblasquez/subscriptions","organizations_url":"https://api.github.com/users/pblasquez/orgs","repos_url":"https://api.github.com/users/pblasquez/repos","events_url":"https://api.github.com/users/pblasquez/events{/privacy}","received_events_url":"https://api.github.com/users/pblasquez/received_events","type":"User","site_admin":false},"body":"Please see #3113 for context, this is the devices & pollers logical grouping.","created_at":"2016-04-26T22:08:39Z","updated_at":"2016-04-28T11:39:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e7d43bb82e0800ecdac5b9f977bc3a5a6c3532b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/librenms/librenms/pulls/3434/commits","review_comments_url":"https://api.github.com/repos/librenms/librenms/pulls/3434/comments","review_comment_url":"https://api.github.com/repos/librenms/librenms/pulls/comments{/number}","comments_url":"https://api.github.com/repos/librenms/librenms/issues/3434/comments","statuses_url":"https://api.github.com/repos/librenms/librenms/statuses/b5b3929d7064b960c5e1601b7a39cc2926379ae7","head":{"label":"pblasquez:ajax_headers_3","ref":"ajax_headers_3","sha":"b5b3929d7064b960c5e1601b7a39cc2926379ae7","user":{"login":"pblasquez","id":8316206,"avatar_url":"https://avatars.githubusercontent.com/u/8316206?v=3","gravatar_id":"","url":"https://api.github.com/users/pblasquez","html_url":"https://github.com/pblasquez","followers_url":"https://api.github.com/users/pblasquez/followers","following_url":"https://api.github.com/users/pblasquez/following{/other_user}","gists_url":"https://api.github.com/users/pblasquez/gists{/gist_id}","starred_url":"https://api.github.com/users/pblasquez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pblasquez/subscriptions","organizations_url":"https://api.github.com/users/pblasquez/orgs","repos_url":"https://api.github.com/users/pblasquez/repos","events_url":"https://api.github.com/users/pblasquez/events{/privacy}","received_events_url":"https://api.github.com/users/pblasquez/received_events","type":"User","site_admin":false},"repo":{"id":51114969,"name":"librenms","full_name":"pblasquez/librenms","owner":{"login":"pblasquez","id":8316206,"avatar_url":"https://avatars.githubusercontent.com/u/8316206?v=3","gravatar_id":"","url":"https://api.github.com/users/pblasquez","html_url":"https://github.com/pblasquez","followers_url":"https://api.github.com/users/pblasquez/followers","following_url":"https://api.github.com/users/pblasquez/following{/other_user}","gists_url":"https://api.github.com/users/pblasquez/gists{/gist_id}","starred_url":"https://api.github.com/users/pblasquez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pblasquez/subscriptions","organizations_url":"https://api.github.com/users/pblasquez/orgs","repos_url":"https://api.github.com/users/pblasquez/repos","events_url":"https://api.github.com/users/pblasquez/events{/privacy}","received_events_url":"https://api.github.com/users/pblasquez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pblasquez/librenms","description":"Community-based GPL-licensed network monitoring system","fork":true,"url":"https://api.github.com/repos/pblasquez/librenms","forks_url":"https://api.github.com/repos/pblasquez/librenms/forks","keys_url":"https://api.github.com/repos/pblasquez/librenms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pblasquez/librenms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pblasquez/librenms/teams","hooks_url":"https://api.github.com/repos/pblasquez/librenms/hooks","issue_events_url":"https://api.github.com/repos/pblasquez/librenms/issues/events{/number}","events_url":"https://api.github.com/repos/pblasquez/librenms/events","assignees_url":"https://api.github.com/repos/pblasquez/librenms/assignees{/user}","branches_url":"https://api.github.com/repos/pblasquez/librenms/branches{/branch}","tags_url":"https://api.github.com/repos/pblasquez/librenms/tags","blobs_url":"https://api.github.com/repos/pblasquez/librenms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pblasquez/librenms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pblasquez/librenms/git/refs{/sha}","trees_url":"https://api.github.com/repos/pblasquez/librenms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pblasquez/librenms/statuses/{sha}","languages_url":"https://api.github.com/repos/pblasquez/librenms/languages","stargazers_url":"https://api.github.com/repos/pblasquez/librenms/stargazers","contributors_url":"https://api.github.com/repos/pblasquez/librenms/contributors","subscribers_url":"https://api.github.com/repos/pblasquez/librenms/subscribers","subscription_url":"https://api.github.com/repos/pblasquez/librenms/subscription","commits_url":"https://api.github.com/repos/pblasquez/librenms/commits{/sha}","git_commits_url":"https://api.github.com/repos/pblasquez/librenms/git/commits{/sha}","comments_url":"https://api.github.com/repos/pblasquez/librenms/comments{/number}","issue_comment_url":"https://api.github.com/repos/pblasquez/librenms/issues/comments{/number}","contents_url":"https://api.github.com/repos/pblasquez/librenms/contents/{+path}","compare_url":"https://api.github.com/repos/pblasquez/librenms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pblasquez/librenms/merges","archive_url":"https://api.github.com/repos/pblasquez/librenms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pblasquez/librenms/downloads","issues_url":"https://api.github.com/repos/pblasquez/librenms/issues{/number}","pulls_url":"https://api.github.com/repos/pblasquez/librenms/pulls{/number}","milestones_url":"https://api.github.com/repos/pblasquez/librenms/milestones{/number}","notifications_url":"https://api.github.com/repos/pblasquez/librenms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pblasquez/librenms/labels{/name}","releases_url":"https://api.github.com/repos/pblasquez/librenms/releases{/id}","deployments_url":"https://api.github.com/repos/pblasquez/librenms/deployments","created_at":"2016-02-05T00:08:03Z","updated_at":"2016-02-05T00:08:44Z","pushed_at":"2016-04-26T23:07:29Z","git_url":"git://github.com/pblasquez/librenms.git","ssh_url":"git@github.com:pblasquez/librenms.git","clone_url":"https://github.com/pblasquez/librenms.git","svn_url":"https://github.com/pblasquez/librenms","homepage":"http://www.librenms.org/","size":68147,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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:master","ref":"master","sha":"7066c27b0a5f5d9ffb759e3e4aaa260cc7270632","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":13914116,"name":"librenms","full_name":"librenms/librenms","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/librenms","description":"Community-based GPL-licensed network monitoring system","fork":false,"url":"https://api.github.com/repos/librenms/librenms","forks_url":"https://api.github.com/repos/librenms/librenms/forks","keys_url":"https://api.github.com/repos/librenms/librenms/keys{/key_id}","collaborators_url":"https://api.github.com/repos/librenms/librenms/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/librenms/librenms/teams","hooks_url":"https://api.github.com/repos/librenms/librenms/hooks","issue_events_url":"https://api.github.com/repos/librenms/librenms/issues/events{/number}","events_url":"https://api.github.com/repos/librenms/librenms/events","assignees_url":"https://api.github.com/repos/librenms/librenms/assignees{/user}","branches_url":"https://api.github.com/repos/librenms/librenms/branches{/branch}","tags_url":"https://api.github.com/repos/librenms/librenms/tags","blobs_url":"https://api.github.com/repos/librenms/librenms/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/librenms/librenms/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/librenms/librenms/git/refs{/sha}","trees_url":"https://api.github.com/repos/librenms/librenms/git/trees{/sha}","statuses_url":"https://api.github.com/repos/librenms/librenms/statuses/{sha}","languages_url":"https://api.github.com/repos/librenms/librenms/languages","stargazers_url":"https://api.github.com/repos/librenms/librenms/stargazers","contributors_url":"https://api.github.com/repos/librenms/librenms/contributors","subscribers_url":"https://api.github.com/repos/librenms/librenms/subscribers","subscription_url":"https://api.github.com/repos/librenms/librenms/subscription","commits_url":"https://api.github.com/repos/librenms/librenms/commits{/sha}","git_commits_url":"https://api.github.com/repos/librenms/librenms/git/commits{/sha}","comments_url":"https://api.github.com/repos/librenms/librenms/comments{/number}","issue_comment_url":"https://api.github.com/repos/librenms/librenms/issues/comments{/number}","contents_url":"https://api.github.com/repos/librenms/librenms/contents/{+path}","compare_url":"https://api.github.com/repos/librenms/librenms/compare/{base}...{head}","merges_url":"https://api.github.com/repos/librenms/librenms/merges","archive_url":"https://api.github.com/repos/librenms/librenms/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/librenms/librenms/downloads","issues_url":"https://api.github.com/repos/librenms/librenms/issues{/number}","pulls_url":"https://api.github.com/repos/librenms/librenms/pulls{/number}","milestones_url":"https://api.github.com/repos/librenms/librenms/milestones{/number}","notifications_url":"https://api.github.com/repos/librenms/librenms/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/librenms/librenms/labels{/name}","releases_url":"https://api.github.com/repos/librenms/librenms/releases{/id}","deployments_url":"https://api.github.com/repos/librenms/librenms/deployments","created_at":"2013-10-28T01:37:13Z","updated_at":"2016-04-26T12:21:08Z","pushed_at":"2016-04-28T11:29:59Z","git_url":"git://github.com/librenms/librenms.git","ssh_url":"git@github.com:librenms/librenms.git","clone_url":"https://github.com/librenms/librenms.git","svn_url":"https://github.com/librenms/librenms","homepage":"http://www.librenms.org/","size":96005,"stargazers_count":388,"watchers_count":388,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":250,"mirror_url":null,"open_issues_count":335,"forks":250,"open_issues":335,"watchers":388,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/librenms/librenms/pulls/3434"},"html":{"href":"https://github.com/librenms/librenms/pull/3434"},"issue":{"href":"https://api.github.com/repos/librenms/librenms/issues/3434"},"comments":{"href":"https://api.github.com/repos/librenms/librenms/issues/3434/comments"},"review_comments":{"href":"https://api.github.com/repos/librenms/librenms/pulls/3434/comments"},"review_comment":{"href":"https://api.github.com/repos/librenms/librenms/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/librenms/librenms/pulls/3434/commits"},"statuses":{"href":"https://api.github.com/repos/librenms/librenms/statuses/b5b3929d7064b960c5e1601b7a39cc2926379ae7"}}}}