{"action":"created","comment":{"url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/comments/47105685","id":47105685,"diff_hunk":"@@ -0,0 +1,98 @@\n+<!DOCTYPE html>\n+<html lang=\"en\">\n+<head>\n+    <meta name=\"robots\" content=\"noindex\">\n+    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n+    <title><?= $errorCode ?><?php if (isset($message)) echo \" - \", $message; ?></title>\n+    <style type=\"text/css\">\n+    ::selection {\n+        background-color: #2094CF;\n+        color: white;\n+    }\n+\n+    ::moz-selection {\n+        background-color: #2094CF;\n+        color: white;\n+    }\n+\n+    ::webkit-selection {\n+        background-color: #2094CF;\n+        color: white;\n+    }\n+\n+    body {\n+        background-color: #f2f2f2;\n+        margin: 40px;\n+        font-family: 'Verdana', sans-serif;\n+        font-size: 24px;\n+    }\n+\n+    h1,h2 {\n+        font-weight: 400;\n+    }\n+\n+    h1 {\n+        font-size: 3em;\n+    }\n+\n+    h2 {\n+        font-size: 2.5em;\n+        color: #999;\n+    }\n+\n+    .messages p {\n+        color: #666;\n+    }\n+\n+    #container {\n+        margin: auto;\n+        text-align: center;\n+    }\n+\n+    a {\n+        color: #08c;\n+        text-decoration: none;\n+    }\n+\n+    @media (max-width: 600px) {\n+        body {\n+            font-size: 16px;\n+        }\n+    }\n+    </style>\n+</head>\n+<body>\n+    <div id=\"container\">\n+    <h2><?= $errorCode ?></h2>\n+    <div class=\"messages\">\n+    <?php\n+    switch ($errorCode) {\n+        case '400':\n+            $message = 'Invalid request!';\n+            $messageDetails = 'Your browser sent an invalid request. Please try again.';","path":"src/app/views/http_error.php","position":72,"original_position":72,"commit_id":"41cb24d66e9d1950923561f3e7e24bac7a9bed96","original_commit_id":"41cb24d66e9d1950923561f3e7e24bac7a9bed96","user":{"login":"polybuildr","id":6189009,"avatar_url":"https://avatars.githubusercontent.com/u/6189009?v=3","gravatar_id":"","url":"https://api.github.com/users/polybuildr","html_url":"https://github.com/polybuildr","followers_url":"https://api.github.com/users/polybuildr/followers","following_url":"https://api.github.com/users/polybuildr/following{/other_user}","gists_url":"https://api.github.com/users/polybuildr/gists{/gist_id}","starred_url":"https://api.github.com/users/polybuildr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polybuildr/subscriptions","organizations_url":"https://api.github.com/users/polybuildr/orgs","repos_url":"https://api.github.com/users/polybuildr/repos","events_url":"https://api.github.com/users/polybuildr/events{/privacy}","received_events_url":"https://api.github.com/users/polybuildr/received_events","type":"User","site_admin":false},"body":":+1:","created_at":"2015-12-09T15:36:36Z","updated_at":"2015-12-09T15:36:36Z","html_url":"https://github.com/felicity-iiith/felicity16-website/pull/56#discussion_r47105685","pull_request_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/comments/47105685"},"html":{"href":"https://github.com/felicity-iiith/felicity16-website/pull/56#discussion_r47105685"},"pull_request":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/56","id":52897904,"html_url":"https://github.com/felicity-iiith/felicity16-website/pull/56","diff_url":"https://github.com/felicity-iiith/felicity16-website/pull/56.diff","patch_url":"https://github.com/felicity-iiith/felicity16-website/pull/56.patch","issue_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/56","number":56,"state":"open","locked":false,"title":"Improve 40x pages and http library's handling of them","user":{"login":"polybuildr","id":6189009,"avatar_url":"https://avatars.githubusercontent.com/u/6189009?v=3","gravatar_id":"","url":"https://api.github.com/users/polybuildr","html_url":"https://github.com/polybuildr","followers_url":"https://api.github.com/users/polybuildr/followers","following_url":"https://api.github.com/users/polybuildr/following{/other_user}","gists_url":"https://api.github.com/users/polybuildr/gists{/gist_id}","starred_url":"https://api.github.com/users/polybuildr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polybuildr/subscriptions","organizations_url":"https://api.github.com/users/polybuildr/orgs","repos_url":"https://api.github.com/users/polybuildr/repos","events_url":"https://api.github.com/users/polybuildr/events{/privacy}","received_events_url":"https://api.github.com/users/polybuildr/received_events","type":"User","site_admin":false},"body":"Keep just one 40x page and output the error code and message inside\r\nthat. Keep a list of codes and messages in http_lib.\r\n\r\nStyling of 40x page is currently arbitrary - can be improved when rest\r\nof the site is styled.\r\n\r\nResolves T90.","created_at":"2015-12-07T20:42:14Z","updated_at":"2015-12-09T15:36:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e18dbf4f162bf63a6205d81d5052071f6aef5d96","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/56/commits","review_comments_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/56/comments","review_comment_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/56/comments","statuses_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/statuses/41cb24d66e9d1950923561f3e7e24bac7a9bed96","head":{"label":"polybuildr:40x","ref":"40x","sha":"41cb24d66e9d1950923561f3e7e24bac7a9bed96","user":{"login":"polybuildr","id":6189009,"avatar_url":"https://avatars.githubusercontent.com/u/6189009?v=3","gravatar_id":"","url":"https://api.github.com/users/polybuildr","html_url":"https://github.com/polybuildr","followers_url":"https://api.github.com/users/polybuildr/followers","following_url":"https://api.github.com/users/polybuildr/following{/other_user}","gists_url":"https://api.github.com/users/polybuildr/gists{/gist_id}","starred_url":"https://api.github.com/users/polybuildr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polybuildr/subscriptions","organizations_url":"https://api.github.com/users/polybuildr/orgs","repos_url":"https://api.github.com/users/polybuildr/repos","events_url":"https://api.github.com/users/polybuildr/events{/privacy}","received_events_url":"https://api.github.com/users/polybuildr/received_events","type":"User","site_admin":false},"repo":{"id":39137006,"name":"felicity16","full_name":"polybuildr/felicity16","owner":{"login":"polybuildr","id":6189009,"avatar_url":"https://avatars.githubusercontent.com/u/6189009?v=3","gravatar_id":"","url":"https://api.github.com/users/polybuildr","html_url":"https://github.com/polybuildr","followers_url":"https://api.github.com/users/polybuildr/followers","following_url":"https://api.github.com/users/polybuildr/following{/other_user}","gists_url":"https://api.github.com/users/polybuildr/gists{/gist_id}","starred_url":"https://api.github.com/users/polybuildr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polybuildr/subscriptions","organizations_url":"https://api.github.com/users/polybuildr/orgs","repos_url":"https://api.github.com/users/polybuildr/repos","events_url":"https://api.github.com/users/polybuildr/events{/privacy}","received_events_url":"https://api.github.com/users/polybuildr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/polybuildr/felicity16","description":"Felicity 2k16 website.","fork":true,"url":"https://api.github.com/repos/polybuildr/felicity16","forks_url":"https://api.github.com/repos/polybuildr/felicity16/forks","keys_url":"https://api.github.com/repos/polybuildr/felicity16/keys{/key_id}","collaborators_url":"https://api.github.com/repos/polybuildr/felicity16/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/polybuildr/felicity16/teams","hooks_url":"https://api.github.com/repos/polybuildr/felicity16/hooks","issue_events_url":"https://api.github.com/repos/polybuildr/felicity16/issues/events{/number}","events_url":"https://api.github.com/repos/polybuildr/felicity16/events","assignees_url":"https://api.github.com/repos/polybuildr/felicity16/assignees{/user}","branches_url":"https://api.github.com/repos/polybuildr/felicity16/branches{/branch}","tags_url":"https://api.github.com/repos/polybuildr/felicity16/tags","blobs_url":"https://api.github.com/repos/polybuildr/felicity16/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/polybuildr/felicity16/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/polybuildr/felicity16/git/refs{/sha}","trees_url":"https://api.github.com/repos/polybuildr/felicity16/git/trees{/sha}","statuses_url":"https://api.github.com/repos/polybuildr/felicity16/statuses/{sha}","languages_url":"https://api.github.com/repos/polybuildr/felicity16/languages","stargazers_url":"https://api.github.com/repos/polybuildr/felicity16/stargazers","contributors_url":"https://api.github.com/repos/polybuildr/felicity16/contributors","subscribers_url":"https://api.github.com/repos/polybuildr/felicity16/subscribers","subscription_url":"https://api.github.com/repos/polybuildr/felicity16/subscription","commits_url":"https://api.github.com/repos/polybuildr/felicity16/commits{/sha}","git_commits_url":"https://api.github.com/repos/polybuildr/felicity16/git/commits{/sha}","comments_url":"https://api.github.com/repos/polybuildr/felicity16/comments{/number}","issue_comment_url":"https://api.github.com/repos/polybuildr/felicity16/issues/comments{/number}","contents_url":"https://api.github.com/repos/polybuildr/felicity16/contents/{+path}","compare_url":"https://api.github.com/repos/polybuildr/felicity16/compare/{base}...{head}","merges_url":"https://api.github.com/repos/polybuildr/felicity16/merges","archive_url":"https://api.github.com/repos/polybuildr/felicity16/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/polybuildr/felicity16/downloads","issues_url":"https://api.github.com/repos/polybuildr/felicity16/issues{/number}","pulls_url":"https://api.github.com/repos/polybuildr/felicity16/pulls{/number}","milestones_url":"https://api.github.com/repos/polybuildr/felicity16/milestones{/number}","notifications_url":"https://api.github.com/repos/polybuildr/felicity16/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/polybuildr/felicity16/labels{/name}","releases_url":"https://api.github.com/repos/polybuildr/felicity16/releases{/id}","created_at":"2015-07-15T13:00:57Z","updated_at":"2015-12-02T11:55:17Z","pushed_at":"2015-12-09T15:26:59Z","git_url":"git://github.com/polybuildr/felicity16.git","ssh_url":"git@github.com:polybuildr/felicity16.git","clone_url":"https://github.com/polybuildr/felicity16.git","svn_url":"https://github.com/polybuildr/felicity16","homepage":null,"size":326,"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":"felicity-iiith:master","ref":"master","sha":"d8a5e14dc678c1a975a5386db640f3a017b5f7c3","user":{"login":"felicity-iiith","id":7930741,"avatar_url":"https://avatars.githubusercontent.com/u/7930741?v=3","gravatar_id":"","url":"https://api.github.com/users/felicity-iiith","html_url":"https://github.com/felicity-iiith","followers_url":"https://api.github.com/users/felicity-iiith/followers","following_url":"https://api.github.com/users/felicity-iiith/following{/other_user}","gists_url":"https://api.github.com/users/felicity-iiith/gists{/gist_id}","starred_url":"https://api.github.com/users/felicity-iiith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicity-iiith/subscriptions","organizations_url":"https://api.github.com/users/felicity-iiith/orgs","repos_url":"https://api.github.com/users/felicity-iiith/repos","events_url":"https://api.github.com/users/felicity-iiith/events{/privacy}","received_events_url":"https://api.github.com/users/felicity-iiith/received_events","type":"Organization","site_admin":false},"repo":{"id":39135757,"name":"felicity16-website","full_name":"felicity-iiith/felicity16-website","owner":{"login":"felicity-iiith","id":7930741,"avatar_url":"https://avatars.githubusercontent.com/u/7930741?v=3","gravatar_id":"","url":"https://api.github.com/users/felicity-iiith","html_url":"https://github.com/felicity-iiith","followers_url":"https://api.github.com/users/felicity-iiith/followers","following_url":"https://api.github.com/users/felicity-iiith/following{/other_user}","gists_url":"https://api.github.com/users/felicity-iiith/gists{/gist_id}","starred_url":"https://api.github.com/users/felicity-iiith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicity-iiith/subscriptions","organizations_url":"https://api.github.com/users/felicity-iiith/orgs","repos_url":"https://api.github.com/users/felicity-iiith/repos","events_url":"https://api.github.com/users/felicity-iiith/events{/privacy}","received_events_url":"https://api.github.com/users/felicity-iiith/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/felicity-iiith/felicity16-website","description":"Felicity '16 website.","fork":false,"url":"https://api.github.com/repos/felicity-iiith/felicity16-website","forks_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/forks","keys_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/teams","hooks_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/hooks","issue_events_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/events{/number}","events_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/events","assignees_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/assignees{/user}","branches_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/branches{/branch}","tags_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/tags","blobs_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/statuses/{sha}","languages_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/languages","stargazers_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/stargazers","contributors_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/contributors","subscribers_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/subscribers","subscription_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/subscription","commits_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/contents/{+path}","compare_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/merges","archive_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/downloads","issues_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues{/number}","pulls_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls{/number}","milestones_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/milestones{/number}","notifications_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/labels{/name}","releases_url":"https://api.github.com/repos/felicity-iiith/felicity16-website/releases{/id}","created_at":"2015-07-15T12:32:54Z","updated_at":"2015-12-02T11:15:47Z","pushed_at":"2015-12-09T15:29:11Z","git_url":"git://github.com/felicity-iiith/felicity16-website.git","ssh_url":"git@github.com:felicity-iiith/felicity16-website.git","clone_url":"https://github.com/felicity-iiith/felicity16-website.git","svn_url":"https://github.com/felicity-iiith/felicity16-website","homepage":"","size":341,"stargazers_count":7,"watchers_count":7,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":4,"forks":15,"open_issues":4,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/56"},"html":{"href":"https://github.com/felicity-iiith/felicity16-website/pull/56"},"issue":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/56"},"comments":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/felicity-iiith/felicity16-website/statuses/41cb24d66e9d1950923561f3e7e24bac7a9bed96"}}}}