{"action":"created","comment":{"url":"https://api.github.com/repos/Wattpad/dns-server/pulls/comments/80955118","pull_request_review_id":1966213,"id":80955118,"diff_hunk":"@@ -0,0 +1,118 @@\n+import re\n+\n+from django.http import HttpResponse\n+from django.shortcuts import render\n+from rest_framework.decorators import api_view\n+\n+from .models import RewriteRules\n+from . import helper\n+\n+\n+@api_view(['GET'])\n+def index(request):\n+    entries = RewriteRules.objects.all().order_by('-modified_date')\n+    return render(request, 'proxy/index.html', {'entries': entries})\n+\n+\n+@api_view(['GET', 'POST'])","path":"proxy/views.py","position":17,"original_position":17,"commit_id":"50dfc32862d0375e1fff83912b1fb0d7f8788f24","original_commit_id":"50dfc32862d0375e1fff83912b1fb0d7f8788f24","user":{"login":"denniskpw","id":3465936,"avatar_url":"https://avatars.githubusercontent.com/u/3465936?v=3","gravatar_id":"","url":"https://api.github.com/users/denniskpw","html_url":"https://github.com/denniskpw","followers_url":"https://api.github.com/users/denniskpw/followers","following_url":"https://api.github.com/users/denniskpw/following{/other_user}","gists_url":"https://api.github.com/users/denniskpw/gists{/gist_id}","starred_url":"https://api.github.com/users/denniskpw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denniskpw/subscriptions","organizations_url":"https://api.github.com/users/denniskpw/orgs","repos_url":"https://api.github.com/users/denniskpw/repos","events_url":"https://api.github.com/users/denniskpw/events{/privacy}","received_events_url":"https://api.github.com/users/denniskpw/received_events","type":"User","site_admin":false},"body":"Remove `POST`","created_at":"2016-09-28T16:08:38Z","updated_at":"2016-09-28T16:57:06Z","html_url":"https://github.com/Wattpad/dns-server/pull/3#discussion_r80955118","pull_request_url":"https://api.github.com/repos/Wattpad/dns-server/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/Wattpad/dns-server/pulls/comments/80955118"},"html":{"href":"https://github.com/Wattpad/dns-server/pull/3#discussion_r80955118"},"pull_request":{"href":"https://api.github.com/repos/Wattpad/dns-server/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/Wattpad/dns-server/pulls/3","id":86797639,"html_url":"https://github.com/Wattpad/dns-server/pull/3","diff_url":"https://github.com/Wattpad/dns-server/pull/3.diff","patch_url":"https://github.com/Wattpad/dns-server/pull/3.patch","issue_url":"https://api.github.com/repos/Wattpad/dns-server/issues/3","number":3,"state":"open","locked":false,"title":"Proxy functionality","user":{"login":"eavuong23","id":6466908,"avatar_url":"https://avatars.githubusercontent.com/u/6466908?v=3","gravatar_id":"","url":"https://api.github.com/users/eavuong23","html_url":"https://github.com/eavuong23","followers_url":"https://api.github.com/users/eavuong23/followers","following_url":"https://api.github.com/users/eavuong23/following{/other_user}","gists_url":"https://api.github.com/users/eavuong23/gists{/gist_id}","starred_url":"https://api.github.com/users/eavuong23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eavuong23/subscriptions","organizations_url":"https://api.github.com/users/eavuong23/orgs","repos_url":"https://api.github.com/users/eavuong23/repos","events_url":"https://api.github.com/users/eavuong23/events{/privacy}","received_events_url":"https://api.github.com/users/eavuong23/received_events","type":"User","site_admin":false},"body":"Included:\r\n- dockerfiles\r\n- docker-compose\r\n- proxy rewriting rules\r\n- database\r\n- database view (index.html)\r\n- database interface via POST requests\r\n- script to generate certs (originally part of proxy2)\r\n\r\nIssues:\r\n- HTTPS on OSX and Chrome 53 do not work for some websites\r\n- sometimes there are hanging database connections? need to investigate more\r\n- need to test performance","created_at":"2016-09-26T18:50:30Z","updated_at":"2016-09-28T16:57:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19c91c538c69411fd209e748a6423a7478893ebe","assignee":{"login":"rays","id":19767,"avatar_url":"https://avatars.githubusercontent.com/u/19767?v=3","gravatar_id":"","url":"https://api.github.com/users/rays","html_url":"https://github.com/rays","followers_url":"https://api.github.com/users/rays/followers","following_url":"https://api.github.com/users/rays/following{/other_user}","gists_url":"https://api.github.com/users/rays/gists{/gist_id}","starred_url":"https://api.github.com/users/rays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rays/subscriptions","organizations_url":"https://api.github.com/users/rays/orgs","repos_url":"https://api.github.com/users/rays/repos","events_url":"https://api.github.com/users/rays/events{/privacy}","received_events_url":"https://api.github.com/users/rays/received_events","type":"User","site_admin":false},"assignees":[{"login":"rays","id":19767,"avatar_url":"https://avatars.githubusercontent.com/u/19767?v=3","gravatar_id":"","url":"https://api.github.com/users/rays","html_url":"https://github.com/rays","followers_url":"https://api.github.com/users/rays/followers","following_url":"https://api.github.com/users/rays/following{/other_user}","gists_url":"https://api.github.com/users/rays/gists{/gist_id}","starred_url":"https://api.github.com/users/rays/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rays/subscriptions","organizations_url":"https://api.github.com/users/rays/orgs","repos_url":"https://api.github.com/users/rays/repos","events_url":"https://api.github.com/users/rays/events{/privacy}","received_events_url":"https://api.github.com/users/rays/received_events","type":"User","site_admin":false},{"login":"denniskpw","id":3465936,"avatar_url":"https://avatars.githubusercontent.com/u/3465936?v=3","gravatar_id":"","url":"https://api.github.com/users/denniskpw","html_url":"https://github.com/denniskpw","followers_url":"https://api.github.com/users/denniskpw/followers","following_url":"https://api.github.com/users/denniskpw/following{/other_user}","gists_url":"https://api.github.com/users/denniskpw/gists{/gist_id}","starred_url":"https://api.github.com/users/denniskpw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denniskpw/subscriptions","organizations_url":"https://api.github.com/users/denniskpw/orgs","repos_url":"https://api.github.com/users/denniskpw/repos","events_url":"https://api.github.com/users/denniskpw/events{/privacy}","received_events_url":"https://api.github.com/users/denniskpw/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Wattpad/dns-server/pulls/3/commits","review_comments_url":"https://api.github.com/repos/Wattpad/dns-server/pulls/3/comments","review_comment_url":"https://api.github.com/repos/Wattpad/dns-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wattpad/dns-server/issues/3/comments","statuses_url":"https://api.github.com/repos/Wattpad/dns-server/statuses/50dfc32862d0375e1fff83912b1fb0d7f8788f24","head":{"label":"Wattpad:dev","ref":"dev","sha":"50dfc32862d0375e1fff83912b1fb0d7f8788f24","user":{"login":"Wattpad","id":1958757,"avatar_url":"https://avatars.githubusercontent.com/u/1958757?v=3","gravatar_id":"","url":"https://api.github.com/users/Wattpad","html_url":"https://github.com/Wattpad","followers_url":"https://api.github.com/users/Wattpad/followers","following_url":"https://api.github.com/users/Wattpad/following{/other_user}","gists_url":"https://api.github.com/users/Wattpad/gists{/gist_id}","starred_url":"https://api.github.com/users/Wattpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wattpad/subscriptions","organizations_url":"https://api.github.com/users/Wattpad/orgs","repos_url":"https://api.github.com/users/Wattpad/repos","events_url":"https://api.github.com/users/Wattpad/events{/privacy}","received_events_url":"https://api.github.com/users/Wattpad/received_events","type":"Organization","site_admin":false},"repo":{"id":66302339,"name":"dns-server","full_name":"Wattpad/dns-server","owner":{"login":"Wattpad","id":1958757,"avatar_url":"https://avatars.githubusercontent.com/u/1958757?v=3","gravatar_id":"","url":"https://api.github.com/users/Wattpad","html_url":"https://github.com/Wattpad","followers_url":"https://api.github.com/users/Wattpad/followers","following_url":"https://api.github.com/users/Wattpad/following{/other_user}","gists_url":"https://api.github.com/users/Wattpad/gists{/gist_id}","starred_url":"https://api.github.com/users/Wattpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wattpad/subscriptions","organizations_url":"https://api.github.com/users/Wattpad/orgs","repos_url":"https://api.github.com/users/Wattpad/repos","events_url":"https://api.github.com/users/Wattpad/events{/privacy}","received_events_url":"https://api.github.com/users/Wattpad/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wattpad/dns-server","description":"Simple Django/REST/Twisted DNS server","fork":true,"url":"https://api.github.com/repos/Wattpad/dns-server","forks_url":"https://api.github.com/repos/Wattpad/dns-server/forks","keys_url":"https://api.github.com/repos/Wattpad/dns-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wattpad/dns-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wattpad/dns-server/teams","hooks_url":"https://api.github.com/repos/Wattpad/dns-server/hooks","issue_events_url":"https://api.github.com/repos/Wattpad/dns-server/issues/events{/number}","events_url":"https://api.github.com/repos/Wattpad/dns-server/events","assignees_url":"https://api.github.com/repos/Wattpad/dns-server/assignees{/user}","branches_url":"https://api.github.com/repos/Wattpad/dns-server/branches{/branch}","tags_url":"https://api.github.com/repos/Wattpad/dns-server/tags","blobs_url":"https://api.github.com/repos/Wattpad/dns-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wattpad/dns-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wattpad/dns-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wattpad/dns-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wattpad/dns-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Wattpad/dns-server/languages","stargazers_url":"https://api.github.com/repos/Wattpad/dns-server/stargazers","contributors_url":"https://api.github.com/repos/Wattpad/dns-server/contributors","subscribers_url":"https://api.github.com/repos/Wattpad/dns-server/subscribers","subscription_url":"https://api.github.com/repos/Wattpad/dns-server/subscription","commits_url":"https://api.github.com/repos/Wattpad/dns-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wattpad/dns-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wattpad/dns-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wattpad/dns-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wattpad/dns-server/contents/{+path}","compare_url":"https://api.github.com/repos/Wattpad/dns-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wattpad/dns-server/merges","archive_url":"https://api.github.com/repos/Wattpad/dns-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wattpad/dns-server/downloads","issues_url":"https://api.github.com/repos/Wattpad/dns-server/issues{/number}","pulls_url":"https://api.github.com/repos/Wattpad/dns-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Wattpad/dns-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Wattpad/dns-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wattpad/dns-server/labels{/name}","releases_url":"https://api.github.com/repos/Wattpad/dns-server/releases{/id}","deployments_url":"https://api.github.com/repos/Wattpad/dns-server/deployments","created_at":"2016-08-22T19:35:51Z","updated_at":"2016-08-22T19:35:52Z","pushed_at":"2016-09-27T17:13:29Z","git_url":"git://github.com/Wattpad/dns-server.git","ssh_url":"git@github.com:Wattpad/dns-server.git","clone_url":"https://github.com/Wattpad/dns-server.git","svn_url":"https://github.com/Wattpad/dns-server","homepage":"","size":258,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Wattpad:master","ref":"master","sha":"f875e3a0a2ab02b240c76beea6c2605aabf31fe6","user":{"login":"Wattpad","id":1958757,"avatar_url":"https://avatars.githubusercontent.com/u/1958757?v=3","gravatar_id":"","url":"https://api.github.com/users/Wattpad","html_url":"https://github.com/Wattpad","followers_url":"https://api.github.com/users/Wattpad/followers","following_url":"https://api.github.com/users/Wattpad/following{/other_user}","gists_url":"https://api.github.com/users/Wattpad/gists{/gist_id}","starred_url":"https://api.github.com/users/Wattpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wattpad/subscriptions","organizations_url":"https://api.github.com/users/Wattpad/orgs","repos_url":"https://api.github.com/users/Wattpad/repos","events_url":"https://api.github.com/users/Wattpad/events{/privacy}","received_events_url":"https://api.github.com/users/Wattpad/received_events","type":"Organization","site_admin":false},"repo":{"id":66302339,"name":"dns-server","full_name":"Wattpad/dns-server","owner":{"login":"Wattpad","id":1958757,"avatar_url":"https://avatars.githubusercontent.com/u/1958757?v=3","gravatar_id":"","url":"https://api.github.com/users/Wattpad","html_url":"https://github.com/Wattpad","followers_url":"https://api.github.com/users/Wattpad/followers","following_url":"https://api.github.com/users/Wattpad/following{/other_user}","gists_url":"https://api.github.com/users/Wattpad/gists{/gist_id}","starred_url":"https://api.github.com/users/Wattpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wattpad/subscriptions","organizations_url":"https://api.github.com/users/Wattpad/orgs","repos_url":"https://api.github.com/users/Wattpad/repos","events_url":"https://api.github.com/users/Wattpad/events{/privacy}","received_events_url":"https://api.github.com/users/Wattpad/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wattpad/dns-server","description":"Simple Django/REST/Twisted DNS server","fork":true,"url":"https://api.github.com/repos/Wattpad/dns-server","forks_url":"https://api.github.com/repos/Wattpad/dns-server/forks","keys_url":"https://api.github.com/repos/Wattpad/dns-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wattpad/dns-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wattpad/dns-server/teams","hooks_url":"https://api.github.com/repos/Wattpad/dns-server/hooks","issue_events_url":"https://api.github.com/repos/Wattpad/dns-server/issues/events{/number}","events_url":"https://api.github.com/repos/Wattpad/dns-server/events","assignees_url":"https://api.github.com/repos/Wattpad/dns-server/assignees{/user}","branches_url":"https://api.github.com/repos/Wattpad/dns-server/branches{/branch}","tags_url":"https://api.github.com/repos/Wattpad/dns-server/tags","blobs_url":"https://api.github.com/repos/Wattpad/dns-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wattpad/dns-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wattpad/dns-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wattpad/dns-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wattpad/dns-server/statuses/{sha}","languages_url":"https://api.github.com/repos/Wattpad/dns-server/languages","stargazers_url":"https://api.github.com/repos/Wattpad/dns-server/stargazers","contributors_url":"https://api.github.com/repos/Wattpad/dns-server/contributors","subscribers_url":"https://api.github.com/repos/Wattpad/dns-server/subscribers","subscription_url":"https://api.github.com/repos/Wattpad/dns-server/subscription","commits_url":"https://api.github.com/repos/Wattpad/dns-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wattpad/dns-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wattpad/dns-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wattpad/dns-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wattpad/dns-server/contents/{+path}","compare_url":"https://api.github.com/repos/Wattpad/dns-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wattpad/dns-server/merges","archive_url":"https://api.github.com/repos/Wattpad/dns-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wattpad/dns-server/downloads","issues_url":"https://api.github.com/repos/Wattpad/dns-server/issues{/number}","pulls_url":"https://api.github.com/repos/Wattpad/dns-server/pulls{/number}","milestones_url":"https://api.github.com/repos/Wattpad/dns-server/milestones{/number}","notifications_url":"https://api.github.com/repos/Wattpad/dns-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wattpad/dns-server/labels{/name}","releases_url":"https://api.github.com/repos/Wattpad/dns-server/releases{/id}","deployments_url":"https://api.github.com/repos/Wattpad/dns-server/deployments","created_at":"2016-08-22T19:35:51Z","updated_at":"2016-08-22T19:35:52Z","pushed_at":"2016-09-27T17:13:29Z","git_url":"git://github.com/Wattpad/dns-server.git","ssh_url":"git@github.com:Wattpad/dns-server.git","clone_url":"https://github.com/Wattpad/dns-server.git","svn_url":"https://github.com/Wattpad/dns-server","homepage":"","size":258,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wattpad/dns-server/pulls/3"},"html":{"href":"https://github.com/Wattpad/dns-server/pull/3"},"issue":{"href":"https://api.github.com/repos/Wattpad/dns-server/issues/3"},"comments":{"href":"https://api.github.com/repos/Wattpad/dns-server/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/Wattpad/dns-server/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/Wattpad/dns-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wattpad/dns-server/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/Wattpad/dns-server/statuses/50dfc32862d0375e1fff83912b1fb0d7f8788f24"}}}}
{"actor":{"display_login":"denniskpw"}}