{"action":"created","comment":{"url":"https://api.github.com/repos/diasporg/Poduptime/pulls/comments/199666919","pull_request_review_id":133829704,"id":199666919,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTY2NjkxOQ==","diff_hunk":"@@ -118,19 +124,17 @@\n \n     $message_lines = [\n       'https://' . $_SERVER['HTTP_HOST'],\n-      'Pod: https://' . $_SERVER['HTTP_HOST'] . '/db/pull.php?debug=1&domain=' . $_domain,\n-      '',\n-      'Your pod will not show up right away, as it needs to pass a few checks first.',\n+      'Your pod ' . $_domain . ' will not show up right away, as it needs to pass a few checks first.',\n       'Give it a few hours!',\n     ];\n \n     @mail($to, $subject, implode(\"\\r\\n\", $message_lines), implode(\"\\r\\n\", $headers));\n   }\n \n-  echo 'Data successfully inserted! Your pod will be reviewed and live on the list in a few hours!';\n+  echo 'Data successfully inserted! Your pod will be checked and live on the list in a few hours!';\n \n } else {\n   $log->lwrite('Could not validate your pod, check your setup! ' . $_domain);\n-  echo 'Could not validate your pod, check your setup!<br>Take a look at <a href=\"https://' . $_domain . '/nodeinfo/1.0\">your /nodeinfo</a>';\n+  echo 'Could not validate your pod, check your setup!<br>Take a look at <a href=\"' . $link . '\">your /nodeinfo</a>';","path":"db/add.php","position":45,"original_position":45,"commit_id":"d0a3d258d77a4bf6c325699ff864cf8082dc5226","original_commit_id":"d0a3d258d77a4bf6c325699ff864cf8082dc5226","user":{"login":"codacy-bot","id":19940114,"node_id":"MDQ6VXNlcjE5OTQwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Expected next thing to be an escaping function (see Codex for 'Data Validation'), not '$link'](https://app.codacy.com/app/d_3/Poduptime/pullRequest?prid=1853546)","created_at":"2018-07-03T02:14:46Z","updated_at":"2018-07-03T02:14:46Z","html_url":"https://github.com/diasporg/Poduptime/pull/159#discussion_r199666919","pull_request_url":"https://api.github.com/repos/diasporg/Poduptime/pulls/159","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/diasporg/Poduptime/pulls/comments/199666919"},"html":{"href":"https://github.com/diasporg/Poduptime/pull/159#discussion_r199666919"},"pull_request":{"href":"https://api.github.com/repos/diasporg/Poduptime/pulls/159"}}},"pull_request":{"url":"https://api.github.com/repos/diasporg/Poduptime/pulls/159","id":196618890,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NjE4ODkw","html_url":"https://github.com/diasporg/Poduptime/pull/159","diff_url":"https://github.com/diasporg/Poduptime/pull/159.diff","patch_url":"https://github.com/diasporg/Poduptime/pull/159.patch","issue_url":"https://api.github.com/repos/diasporg/Poduptime/issues/159","number":159,"state":"open","locked":false,"title":"use API for pulls of master version - enforce some security","user":{"login":"dmorley","id":481091,"node_id":"MDQ6VXNlcjQ4MTA5MQ==","avatar_url":"https://avatars3.githubusercontent.com/u/481091?v=4","gravatar_id":"","url":"https://api.github.com/users/dmorley","html_url":"https://github.com/dmorley","followers_url":"https://api.github.com/users/dmorley/followers","following_url":"https://api.github.com/users/dmorley/following{/other_user}","gists_url":"https://api.github.com/users/dmorley/gists{/gist_id}","starred_url":"https://api.github.com/users/dmorley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmorley/subscriptions","organizations_url":"https://api.github.com/users/dmorley/orgs","repos_url":"https://api.github.com/users/dmorley/repos","events_url":"https://api.github.com/users/dmorley/events{/privacy}","received_events_url":"https://api.github.com/users/dmorley/received_events","type":"User","site_admin":false},"body":"Going to push this up for review, its been 4 weeks since I worked on it so it's getting stale.\r\n\r\nhttps://github.com/diasporg/Poduptime/issues/152\r\nhttps://github.com/diasporg/Poduptime/issues/143\r\nhttps://github.com/diasporg/Poduptime/issues/158","created_at":"2018-06-22T01:51:04Z","updated_at":"2018-07-03T02:14:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34a8829371c2bd0297cd417f9d60d2cac48fb76f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/diasporg/Poduptime/pulls/159/commits","review_comments_url":"https://api.github.com/repos/diasporg/Poduptime/pulls/159/comments","review_comment_url":"https://api.github.com/repos/diasporg/Poduptime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diasporg/Poduptime/issues/159/comments","statuses_url":"https://api.github.com/repos/diasporg/Poduptime/statuses/d0a3d258d77a4bf6c325699ff864cf8082dc5226","head":{"label":"diasporg:revamp-masterversionpull","ref":"revamp-masterversionpull","sha":"d0a3d258d77a4bf6c325699ff864cf8082dc5226","user":{"login":"diasporg","id":553322,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1MzMyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/553322?v=4","gravatar_id":"","url":"https://api.github.com/users/diasporg","html_url":"https://github.com/diasporg","followers_url":"https://api.github.com/users/diasporg/followers","following_url":"https://api.github.com/users/diasporg/following{/other_user}","gists_url":"https://api.github.com/users/diasporg/gists{/gist_id}","starred_url":"https://api.github.com/users/diasporg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diasporg/subscriptions","organizations_url":"https://api.github.com/users/diasporg/orgs","repos_url":"https://api.github.com/users/diasporg/repos","events_url":"https://api.github.com/users/diasporg/events{/privacy}","received_events_url":"https://api.github.com/users/diasporg/received_events","type":"Organization","site_admin":false},"repo":{"id":2407620,"node_id":"MDEwOlJlcG9zaXRvcnkyNDA3NjIw","name":"Poduptime","full_name":"diasporg/Poduptime","owner":{"login":"diasporg","id":553322,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1MzMyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/553322?v=4","gravatar_id":"","url":"https://api.github.com/users/diasporg","html_url":"https://github.com/diasporg","followers_url":"https://api.github.com/users/diasporg/followers","following_url":"https://api.github.com/users/diasporg/following{/other_user}","gists_url":"https://api.github.com/users/diasporg/gists{/gist_id}","starred_url":"https://api.github.com/users/diasporg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diasporg/subscriptions","organizations_url":"https://api.github.com/users/diasporg/orgs","repos_url":"https://api.github.com/users/diasporg/repos","events_url":"https://api.github.com/users/diasporg/events{/privacy}","received_events_url":"https://api.github.com/users/diasporg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diasporg/Poduptime","description":"Diaspora pod uptime watch script in PHP","fork":false,"url":"https://api.github.com/repos/diasporg/Poduptime","forks_url":"https://api.github.com/repos/diasporg/Poduptime/forks","keys_url":"https://api.github.com/repos/diasporg/Poduptime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diasporg/Poduptime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diasporg/Poduptime/teams","hooks_url":"https://api.github.com/repos/diasporg/Poduptime/hooks","issue_events_url":"https://api.github.com/repos/diasporg/Poduptime/issues/events{/number}","events_url":"https://api.github.com/repos/diasporg/Poduptime/events","assignees_url":"https://api.github.com/repos/diasporg/Poduptime/assignees{/user}","branches_url":"https://api.github.com/repos/diasporg/Poduptime/branches{/branch}","tags_url":"https://api.github.com/repos/diasporg/Poduptime/tags","blobs_url":"https://api.github.com/repos/diasporg/Poduptime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diasporg/Poduptime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diasporg/Poduptime/git/refs{/sha}","trees_url":"https://api.github.com/repos/diasporg/Poduptime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diasporg/Poduptime/statuses/{sha}","languages_url":"https://api.github.com/repos/diasporg/Poduptime/languages","stargazers_url":"https://api.github.com/repos/diasporg/Poduptime/stargazers","contributors_url":"https://api.github.com/repos/diasporg/Poduptime/contributors","subscribers_url":"https://api.github.com/repos/diasporg/Poduptime/subscribers","subscription_url":"https://api.github.com/repos/diasporg/Poduptime/subscription","commits_url":"https://api.github.com/repos/diasporg/Poduptime/commits{/sha}","git_commits_url":"https://api.github.com/repos/diasporg/Poduptime/git/commits{/sha}","comments_url":"https://api.github.com/repos/diasporg/Poduptime/comments{/number}","issue_comment_url":"https://api.github.com/repos/diasporg/Poduptime/issues/comments{/number}","contents_url":"https://api.github.com/repos/diasporg/Poduptime/contents/{+path}","compare_url":"https://api.github.com/repos/diasporg/Poduptime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diasporg/Poduptime/merges","archive_url":"https://api.github.com/repos/diasporg/Poduptime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diasporg/Poduptime/downloads","issues_url":"https://api.github.com/repos/diasporg/Poduptime/issues{/number}","pulls_url":"https://api.github.com/repos/diasporg/Poduptime/pulls{/number}","milestones_url":"https://api.github.com/repos/diasporg/Poduptime/milestones{/number}","notifications_url":"https://api.github.com/repos/diasporg/Poduptime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diasporg/Poduptime/labels{/name}","releases_url":"https://api.github.com/repos/diasporg/Poduptime/releases{/id}","deployments_url":"https://api.github.com/repos/diasporg/Poduptime/deployments","created_at":"2011-09-18T01:40:22Z","updated_at":"2018-06-28T04:15:46Z","pushed_at":"2018-07-03T02:01:12Z","git_url":"git://github.com/diasporg/Poduptime.git","ssh_url":"git@github.com:diasporg/Poduptime.git","clone_url":"https://github.com/diasporg/Poduptime.git","svn_url":"https://github.com/diasporg/Poduptime","homepage":"https://podupti.me","size":2068,"stargazers_count":44,"watchers_count":44,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":18,"open_issues":20,"watchers":44,"default_branch":"master"}},"base":{"label":"diasporg:develop","ref":"develop","sha":"4fe717ba060e35cb26c2cd2309bba1245603abb7","user":{"login":"diasporg","id":553322,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1MzMyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/553322?v=4","gravatar_id":"","url":"https://api.github.com/users/diasporg","html_url":"https://github.com/diasporg","followers_url":"https://api.github.com/users/diasporg/followers","following_url":"https://api.github.com/users/diasporg/following{/other_user}","gists_url":"https://api.github.com/users/diasporg/gists{/gist_id}","starred_url":"https://api.github.com/users/diasporg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diasporg/subscriptions","organizations_url":"https://api.github.com/users/diasporg/orgs","repos_url":"https://api.github.com/users/diasporg/repos","events_url":"https://api.github.com/users/diasporg/events{/privacy}","received_events_url":"https://api.github.com/users/diasporg/received_events","type":"Organization","site_admin":false},"repo":{"id":2407620,"node_id":"MDEwOlJlcG9zaXRvcnkyNDA3NjIw","name":"Poduptime","full_name":"diasporg/Poduptime","owner":{"login":"diasporg","id":553322,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU1MzMyMg==","avatar_url":"https://avatars1.githubusercontent.com/u/553322?v=4","gravatar_id":"","url":"https://api.github.com/users/diasporg","html_url":"https://github.com/diasporg","followers_url":"https://api.github.com/users/diasporg/followers","following_url":"https://api.github.com/users/diasporg/following{/other_user}","gists_url":"https://api.github.com/users/diasporg/gists{/gist_id}","starred_url":"https://api.github.com/users/diasporg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diasporg/subscriptions","organizations_url":"https://api.github.com/users/diasporg/orgs","repos_url":"https://api.github.com/users/diasporg/repos","events_url":"https://api.github.com/users/diasporg/events{/privacy}","received_events_url":"https://api.github.com/users/diasporg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diasporg/Poduptime","description":"Diaspora pod uptime watch script in PHP","fork":false,"url":"https://api.github.com/repos/diasporg/Poduptime","forks_url":"https://api.github.com/repos/diasporg/Poduptime/forks","keys_url":"https://api.github.com/repos/diasporg/Poduptime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diasporg/Poduptime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diasporg/Poduptime/teams","hooks_url":"https://api.github.com/repos/diasporg/Poduptime/hooks","issue_events_url":"https://api.github.com/repos/diasporg/Poduptime/issues/events{/number}","events_url":"https://api.github.com/repos/diasporg/Poduptime/events","assignees_url":"https://api.github.com/repos/diasporg/Poduptime/assignees{/user}","branches_url":"https://api.github.com/repos/diasporg/Poduptime/branches{/branch}","tags_url":"https://api.github.com/repos/diasporg/Poduptime/tags","blobs_url":"https://api.github.com/repos/diasporg/Poduptime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diasporg/Poduptime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diasporg/Poduptime/git/refs{/sha}","trees_url":"https://api.github.com/repos/diasporg/Poduptime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diasporg/Poduptime/statuses/{sha}","languages_url":"https://api.github.com/repos/diasporg/Poduptime/languages","stargazers_url":"https://api.github.com/repos/diasporg/Poduptime/stargazers","contributors_url":"https://api.github.com/repos/diasporg/Poduptime/contributors","subscribers_url":"https://api.github.com/repos/diasporg/Poduptime/subscribers","subscription_url":"https://api.github.com/repos/diasporg/Poduptime/subscription","commits_url":"https://api.github.com/repos/diasporg/Poduptime/commits{/sha}","git_commits_url":"https://api.github.com/repos/diasporg/Poduptime/git/commits{/sha}","comments_url":"https://api.github.com/repos/diasporg/Poduptime/comments{/number}","issue_comment_url":"https://api.github.com/repos/diasporg/Poduptime/issues/comments{/number}","contents_url":"https://api.github.com/repos/diasporg/Poduptime/contents/{+path}","compare_url":"https://api.github.com/repos/diasporg/Poduptime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diasporg/Poduptime/merges","archive_url":"https://api.github.com/repos/diasporg/Poduptime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diasporg/Poduptime/downloads","issues_url":"https://api.github.com/repos/diasporg/Poduptime/issues{/number}","pulls_url":"https://api.github.com/repos/diasporg/Poduptime/pulls{/number}","milestones_url":"https://api.github.com/repos/diasporg/Poduptime/milestones{/number}","notifications_url":"https://api.github.com/repos/diasporg/Poduptime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diasporg/Poduptime/labels{/name}","releases_url":"https://api.github.com/repos/diasporg/Poduptime/releases{/id}","deployments_url":"https://api.github.com/repos/diasporg/Poduptime/deployments","created_at":"2011-09-18T01:40:22Z","updated_at":"2018-06-28T04:15:46Z","pushed_at":"2018-07-03T02:01:12Z","git_url":"git://github.com/diasporg/Poduptime.git","ssh_url":"git@github.com:diasporg/Poduptime.git","clone_url":"https://github.com/diasporg/Poduptime.git","svn_url":"https://github.com/diasporg/Poduptime","homepage":"https://podupti.me","size":2068,"stargazers_count":44,"watchers_count":44,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":20,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":18,"open_issues":20,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/diasporg/Poduptime/pulls/159"},"html":{"href":"https://github.com/diasporg/Poduptime/pull/159"},"issue":{"href":"https://api.github.com/repos/diasporg/Poduptime/issues/159"},"comments":{"href":"https://api.github.com/repos/diasporg/Poduptime/issues/159/comments"},"review_comments":{"href":"https://api.github.com/repos/diasporg/Poduptime/pulls/159/comments"},"review_comment":{"href":"https://api.github.com/repos/diasporg/Poduptime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diasporg/Poduptime/pulls/159/commits"},"statuses":{"href":"https://api.github.com/repos/diasporg/Poduptime/statuses/d0a3d258d77a4bf6c325699ff864cf8082dc5226"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"codacy-bot"}}