{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/pulls/1","id":27961481,"html_url":"https://github.com/SeanHeuer/laughing-octo-GFW_Checker/pull/1","diff_url":"https://github.com/SeanHeuer/laughing-octo-GFW_Checker/pull/1.diff","patch_url":"https://github.com/SeanHeuer/laughing-octo-GFW_Checker/pull/1.patch","issue_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/issues/1","number":1,"state":"closed","locked":false,"title":"Cleanup Code and Funsies","user":{"login":"drussell393","id":7795204,"avatar_url":"https://avatars.githubusercontent.com/u/7795204?v=3","gravatar_id":"","url":"https://api.github.com/users/drussell393","html_url":"https://github.com/drussell393","followers_url":"https://api.github.com/users/drussell393/followers","following_url":"https://api.github.com/users/drussell393/following{/other_user}","gists_url":"https://api.github.com/users/drussell393/gists{/gist_id}","starred_url":"https://api.github.com/users/drussell393/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drussell393/subscriptions","organizations_url":"https://api.github.com/users/drussell393/orgs","repos_url":"https://api.github.com/users/drussell393/repos","events_url":"https://api.github.com/users/drussell393/events{/privacy}","received_events_url":"https://api.github.com/users/drussell393/received_events","type":"User","site_admin":false},"body":"Things done:\r\n\r\n- Create config file for database stuff.\r\n- Add styling to make it look super cool.\r\n- Clean up index.php (removed occurrences of mysql API commands in favour of the non-depreciated PDO)\r\n- Add \"search all\" feature by clicking \"search\"\r\n- Removed Regex in favour of filter_var and validate IP through that.\r\n- Made functions to make this a bit more object-oriented and easier to handle without copypasta. \r\n\r\nSo yeah :D ","created_at":"2015-01-23T22:39:09Z","updated_at":"2015-01-23T22:43:14Z","closed_at":"2015-01-23T22:43:14Z","merged_at":"2015-01-23T22:43:14Z","merge_commit_sha":"b1a4614c88a589efda24491faf2c5d8b6bc32cd6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/pulls/1/commits","review_comments_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/pulls/1/comments","review_comment_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/pulls/comments/{number}","comments_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/issues/1/comments","statuses_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/statuses/197086b39926ef2b2a09ec69dd89f5db141f9332","head":{"label":"drussell393:cleanup","ref":"cleanup","sha":"197086b39926ef2b2a09ec69dd89f5db141f9332","user":{"login":"drussell393","id":7795204,"avatar_url":"https://avatars.githubusercontent.com/u/7795204?v=3","gravatar_id":"","url":"https://api.github.com/users/drussell393","html_url":"https://github.com/drussell393","followers_url":"https://api.github.com/users/drussell393/followers","following_url":"https://api.github.com/users/drussell393/following{/other_user}","gists_url":"https://api.github.com/users/drussell393/gists{/gist_id}","starred_url":"https://api.github.com/users/drussell393/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drussell393/subscriptions","organizations_url":"https://api.github.com/users/drussell393/orgs","repos_url":"https://api.github.com/users/drussell393/repos","events_url":"https://api.github.com/users/drussell393/events{/privacy}","received_events_url":"https://api.github.com/users/drussell393/received_events","type":"User","site_admin":false},"repo":{"id":29740701,"name":"laughing-octo-GFW_Checker","full_name":"drussell393/laughing-octo-GFW_Checker","owner":{"login":"drussell393","id":7795204,"avatar_url":"https://avatars.githubusercontent.com/u/7795204?v=3","gravatar_id":"","url":"https://api.github.com/users/drussell393","html_url":"https://github.com/drussell393","followers_url":"https://api.github.com/users/drussell393/followers","following_url":"https://api.github.com/users/drussell393/following{/other_user}","gists_url":"https://api.github.com/users/drussell393/gists{/gist_id}","starred_url":"https://api.github.com/users/drussell393/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drussell393/subscriptions","organizations_url":"https://api.github.com/users/drussell393/orgs","repos_url":"https://api.github.com/users/drussell393/repos","events_url":"https://api.github.com/users/drussell393/events{/privacy}","received_events_url":"https://api.github.com/users/drussell393/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drussell393/laughing-octo-GFW_Checker","description":"A proof of concept database checker for IaaS/hosting providers to record IP addresses blocked by the GFW.","fork":true,"url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker","forks_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/forks","keys_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/teams","hooks_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/hooks","issue_events_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/issues/events{/number}","events_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/events","assignees_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/assignees{/user}","branches_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/branches{/branch}","tags_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/tags","blobs_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/git/refs{/sha}","trees_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/statuses/{sha}","languages_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/languages","stargazers_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/stargazers","contributors_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/contributors","subscribers_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/subscribers","subscription_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/subscription","commits_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/commits{/sha}","git_commits_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/git/commits{/sha}","comments_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/comments{/number}","issue_comment_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/issues/comments/{number}","contents_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/contents/{+path}","compare_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/merges","archive_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/downloads","issues_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/issues{/number}","pulls_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/pulls{/number}","milestones_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/milestones{/number}","notifications_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/labels{/name}","releases_url":"https://api.github.com/repos/drussell393/laughing-octo-GFW_Checker/releases{/id}","created_at":"2015-01-23T16:12:12Z","updated_at":"2015-01-23T16:12:14Z","pushed_at":"2015-01-23T22:35:53Z","git_url":"git://github.com/drussell393/laughing-octo-GFW_Checker.git","ssh_url":"git@github.com:drussell393/laughing-octo-GFW_Checker.git","clone_url":"https://github.com/drussell393/laughing-octo-GFW_Checker.git","svn_url":"https://github.com/drussell393/laughing-octo-GFW_Checker","homepage":null,"size":0,"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":"SeanHeuer:master","ref":"master","sha":"baf71f23ebf9848e7521fd0c5c438c634b7042f6","user":{"login":"SeanHeuer","id":6522669,"avatar_url":"https://avatars.githubusercontent.com/u/6522669?v=3","gravatar_id":"","url":"https://api.github.com/users/SeanHeuer","html_url":"https://github.com/SeanHeuer","followers_url":"https://api.github.com/users/SeanHeuer/followers","following_url":"https://api.github.com/users/SeanHeuer/following{/other_user}","gists_url":"https://api.github.com/users/SeanHeuer/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanHeuer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanHeuer/subscriptions","organizations_url":"https://api.github.com/users/SeanHeuer/orgs","repos_url":"https://api.github.com/users/SeanHeuer/repos","events_url":"https://api.github.com/users/SeanHeuer/events{/privacy}","received_events_url":"https://api.github.com/users/SeanHeuer/received_events","type":"User","site_admin":false},"repo":{"id":29637397,"name":"laughing-octo-GFW_Checker","full_name":"SeanHeuer/laughing-octo-GFW_Checker","owner":{"login":"SeanHeuer","id":6522669,"avatar_url":"https://avatars.githubusercontent.com/u/6522669?v=3","gravatar_id":"","url":"https://api.github.com/users/SeanHeuer","html_url":"https://github.com/SeanHeuer","followers_url":"https://api.github.com/users/SeanHeuer/followers","following_url":"https://api.github.com/users/SeanHeuer/following{/other_user}","gists_url":"https://api.github.com/users/SeanHeuer/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanHeuer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanHeuer/subscriptions","organizations_url":"https://api.github.com/users/SeanHeuer/orgs","repos_url":"https://api.github.com/users/SeanHeuer/repos","events_url":"https://api.github.com/users/SeanHeuer/events{/privacy}","received_events_url":"https://api.github.com/users/SeanHeuer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SeanHeuer/laughing-octo-GFW_Checker","description":"A proof of concept database checker for IaaS/hosting providers to record IP addresses blocked by the GFW.","fork":false,"url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker","forks_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/forks","keys_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/teams","hooks_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/hooks","issue_events_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/issues/events{/number}","events_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/events","assignees_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/assignees{/user}","branches_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/branches{/branch}","tags_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/tags","blobs_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/git/refs{/sha}","trees_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/statuses/{sha}","languages_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/languages","stargazers_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/stargazers","contributors_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/contributors","subscribers_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/subscribers","subscription_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/subscription","commits_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/commits{/sha}","git_commits_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/git/commits{/sha}","comments_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/comments{/number}","issue_comment_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/issues/comments/{number}","contents_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/contents/{+path}","compare_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/merges","archive_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/downloads","issues_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/issues{/number}","pulls_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/pulls{/number}","milestones_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/milestones{/number}","notifications_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/labels{/name}","releases_url":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/releases{/id}","created_at":"2015-01-22T01:14:21Z","updated_at":"2015-01-23T03:56:12Z","pushed_at":"2015-01-23T22:43:14Z","git_url":"git://github.com/SeanHeuer/laughing-octo-GFW_Checker.git","ssh_url":"git@github.com:SeanHeuer/laughing-octo-GFW_Checker.git","clone_url":"https://github.com/SeanHeuer/laughing-octo-GFW_Checker.git","svn_url":"https://github.com/SeanHeuer/laughing-octo-GFW_Checker","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/pulls/1"},"html":{"href":"https://github.com/SeanHeuer/laughing-octo-GFW_Checker/pull/1"},"issue":{"href":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/issues/1"},"comments":{"href":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/SeanHeuer/laughing-octo-GFW_Checker/statuses/197086b39926ef2b2a09ec69dd89f5db141f9332"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"SeanHeuer","id":6522669,"avatar_url":"https://avatars.githubusercontent.com/u/6522669?v=3","gravatar_id":"","url":"https://api.github.com/users/SeanHeuer","html_url":"https://github.com/SeanHeuer","followers_url":"https://api.github.com/users/SeanHeuer/followers","following_url":"https://api.github.com/users/SeanHeuer/following{/other_user}","gists_url":"https://api.github.com/users/SeanHeuer/gists{/gist_id}","starred_url":"https://api.github.com/users/SeanHeuer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeanHeuer/subscriptions","organizations_url":"https://api.github.com/users/SeanHeuer/orgs","repos_url":"https://api.github.com/users/SeanHeuer/repos","events_url":"https://api.github.com/users/SeanHeuer/events{/privacy}","received_events_url":"https://api.github.com/users/SeanHeuer/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":262,"deletions":161,"changed_files":3}}