{"action":"created","comment":{"url":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments/53572905","id":53572905,"diff_hunk":"@@ -352,6 +413,7 @@\n     'securesync.middleware.DBCheck',\n     'django.middleware.common.CommonMiddleware',\n     'kalite.distributed.middleware.LockdownCheck',\n+    'kalite.distributed.middleware.LogRequests',","path":"kalite/settings/base.py","position":151,"original_position":151,"commit_id":"287b4b7fae3e79cc3146d90ee7a4051dc25122c5","original_commit_id":"287b4b7fae3e79cc3146d90ee7a4051dc25122c5","user":{"login":"benjaoming","id":374612,"avatar_url":"https://avatars.githubusercontent.com/u/374612?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaoming","html_url":"https://github.com/benjaoming","followers_url":"https://api.github.com/users/benjaoming/followers","following_url":"https://api.github.com/users/benjaoming/following{/other_user}","gists_url":"https://api.github.com/users/benjaoming/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaoming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaoming/subscriptions","organizations_url":"https://api.github.com/users/benjaoming/orgs","repos_url":"https://api.github.com/users/benjaoming/repos","events_url":"https://api.github.com/users/benjaoming/events{/privacy}","received_events_url":"https://api.github.com/users/benjaoming/received_events","type":"User","site_admin":false},"body":"This one did the trick of logging requests and response status codes which have been gravely missing from people's log submissions.","created_at":"2016-02-21T20:38:26Z","updated_at":"2016-02-21T20:38:26Z","html_url":"https://github.com/learningequality/ka-lite/pull/4865#discussion_r53572905","pull_request_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/4865","_links":{"self":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments/53572905"},"html":{"href":"https://github.com/learningequality/ka-lite/pull/4865#discussion_r53572905"},"pull_request":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/4865"}}},"pull_request":{"url":"https://api.github.com/repos/learningequality/ka-lite/pulls/4865","id":59806174,"html_url":"https://github.com/learningequality/ka-lite/pull/4865","diff_url":"https://github.com/learningequality/ka-lite/pull/4865.diff","patch_url":"https://github.com/learningequality/ka-lite/pull/4865.patch","issue_url":"https://api.github.com/repos/learningequality/ka-lite/issues/4865","number":4865,"state":"open","locked":false,"title":"[WIP] Retrieving en-minimal content pack + remove stale code","user":{"login":"benjaoming","id":374612,"avatar_url":"https://avatars.githubusercontent.com/u/374612?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaoming","html_url":"https://github.com/benjaoming","followers_url":"https://api.github.com/users/benjaoming/followers","following_url":"https://api.github.com/users/benjaoming/following{/other_user}","gists_url":"https://api.github.com/users/benjaoming/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaoming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaoming/subscriptions","organizations_url":"https://api.github.com/users/benjaoming/orgs","repos_url":"https://api.github.com/users/benjaoming/repos","events_url":"https://api.github.com/users/benjaoming/events{/privacy}","received_events_url":"https://api.github.com/users/benjaoming/received_events","type":"User","site_admin":false},"body":"## Summary\r\n\r\nMake the sdist backwards-compatible by shipping an English content db. After backwards-compat is asserted, remove all the stale code and JSON data.\r\n\r\n## TODO\r\n\r\n- [x] Update `make assets`\r\n- [x] Merge in #4804 to use the English content db as a database template\r\n- [x] Added proper logging so we can read everything in server.log in the same format (settings.LOGGING)\r\n- [ ] Remove stale code and data files (as @rtibbles had previously suggested but retargetted for 0.17)\r\n\r\n## Reviewer guidance\r\n\r\nCheck that there are no regressions in removed functionality.\r\n\r\n## Issues addressed\r\n\r\n#4864 \r\n#3327 (logging)\r\n\r\n## Documentation\r\n\r\nNo","created_at":"2016-02-18T14:30:53Z","updated_at":"2016-02-21T20:38:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a5a9075830240a219ba950aee66564ad60ec1427","assignee":null,"milestone":{"url":"https://api.github.com/repos/learningequality/ka-lite/milestones/50","html_url":"https://github.com/learningequality/ka-lite/milestones/0.16.0","labels_url":"https://api.github.com/repos/learningequality/ka-lite/milestones/50/labels","id":1227915,"number":50,"title":"0.16.0","description":"","creator":{"login":"aronasorman","id":191955,"avatar_url":"https://avatars.githubusercontent.com/u/191955?v=3","gravatar_id":"","url":"https://api.github.com/users/aronasorman","html_url":"https://github.com/aronasorman","followers_url":"https://api.github.com/users/aronasorman/followers","following_url":"https://api.github.com/users/aronasorman/following{/other_user}","gists_url":"https://api.github.com/users/aronasorman/gists{/gist_id}","starred_url":"https://api.github.com/users/aronasorman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aronasorman/subscriptions","organizations_url":"https://api.github.com/users/aronasorman/orgs","repos_url":"https://api.github.com/users/aronasorman/repos","events_url":"https://api.github.com/users/aronasorman/events{/privacy}","received_events_url":"https://api.github.com/users/aronasorman/received_events","type":"User","site_admin":false},"open_issues":75,"closed_issues":214,"state":"open","created_at":"2015-07-27T17:17:39Z","updated_at":"2016-02-19T23:12:27Z","due_on":"2015-12-30T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/4865/commits","review_comments_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/4865/comments","review_comment_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/learningequality/ka-lite/issues/4865/comments","statuses_url":"https://api.github.com/repos/learningequality/ka-lite/statuses/287b4b7fae3e79cc3146d90ee7a4051dc25122c5","head":{"label":"benjaoming:init_content_items_w_contentpack_minimal","ref":"init_content_items_w_contentpack_minimal","sha":"287b4b7fae3e79cc3146d90ee7a4051dc25122c5","user":{"login":"benjaoming","id":374612,"avatar_url":"https://avatars.githubusercontent.com/u/374612?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaoming","html_url":"https://github.com/benjaoming","followers_url":"https://api.github.com/users/benjaoming/followers","following_url":"https://api.github.com/users/benjaoming/following{/other_user}","gists_url":"https://api.github.com/users/benjaoming/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaoming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaoming/subscriptions","organizations_url":"https://api.github.com/users/benjaoming/orgs","repos_url":"https://api.github.com/users/benjaoming/repos","events_url":"https://api.github.com/users/benjaoming/events{/privacy}","received_events_url":"https://api.github.com/users/benjaoming/received_events","type":"User","site_admin":false},"repo":{"id":29163611,"name":"ka-lite","full_name":"benjaoming/ka-lite","owner":{"login":"benjaoming","id":374612,"avatar_url":"https://avatars.githubusercontent.com/u/374612?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaoming","html_url":"https://github.com/benjaoming","followers_url":"https://api.github.com/users/benjaoming/followers","following_url":"https://api.github.com/users/benjaoming/following{/other_user}","gists_url":"https://api.github.com/users/benjaoming/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaoming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaoming/subscriptions","organizations_url":"https://api.github.com/users/benjaoming/orgs","repos_url":"https://api.github.com/users/benjaoming/repos","events_url":"https://api.github.com/users/benjaoming/events{/privacy}","received_events_url":"https://api.github.com/users/benjaoming/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benjaoming/ka-lite","description":"KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity","fork":true,"url":"https://api.github.com/repos/benjaoming/ka-lite","forks_url":"https://api.github.com/repos/benjaoming/ka-lite/forks","keys_url":"https://api.github.com/repos/benjaoming/ka-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benjaoming/ka-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benjaoming/ka-lite/teams","hooks_url":"https://api.github.com/repos/benjaoming/ka-lite/hooks","issue_events_url":"https://api.github.com/repos/benjaoming/ka-lite/issues/events{/number}","events_url":"https://api.github.com/repos/benjaoming/ka-lite/events","assignees_url":"https://api.github.com/repos/benjaoming/ka-lite/assignees{/user}","branches_url":"https://api.github.com/repos/benjaoming/ka-lite/branches{/branch}","tags_url":"https://api.github.com/repos/benjaoming/ka-lite/tags","blobs_url":"https://api.github.com/repos/benjaoming/ka-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benjaoming/ka-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benjaoming/ka-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/benjaoming/ka-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benjaoming/ka-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/benjaoming/ka-lite/languages","stargazers_url":"https://api.github.com/repos/benjaoming/ka-lite/stargazers","contributors_url":"https://api.github.com/repos/benjaoming/ka-lite/contributors","subscribers_url":"https://api.github.com/repos/benjaoming/ka-lite/subscribers","subscription_url":"https://api.github.com/repos/benjaoming/ka-lite/subscription","commits_url":"https://api.github.com/repos/benjaoming/ka-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/benjaoming/ka-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/benjaoming/ka-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/benjaoming/ka-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/benjaoming/ka-lite/contents/{+path}","compare_url":"https://api.github.com/repos/benjaoming/ka-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benjaoming/ka-lite/merges","archive_url":"https://api.github.com/repos/benjaoming/ka-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benjaoming/ka-lite/downloads","issues_url":"https://api.github.com/repos/benjaoming/ka-lite/issues{/number}","pulls_url":"https://api.github.com/repos/benjaoming/ka-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/benjaoming/ka-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/benjaoming/ka-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benjaoming/ka-lite/labels{/name}","releases_url":"https://api.github.com/repos/benjaoming/ka-lite/releases{/id}","deployments_url":"https://api.github.com/repos/benjaoming/ka-lite/deployments","created_at":"2015-01-13T00:04:53Z","updated_at":"2015-04-05T18:11:24Z","pushed_at":"2016-02-21T20:28:31Z","git_url":"git://github.com/benjaoming/ka-lite.git","ssh_url":"git@github.com:benjaoming/ka-lite.git","clone_url":"https://github.com/benjaoming/ka-lite.git","svn_url":"https://github.com/benjaoming/ka-lite","homepage":"https://learningequality.org/ka-lite/","size":169507,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"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":1,"default_branch":"master"}},"base":{"label":"learningequality:0.16.x","ref":"0.16.x","sha":"7eade95393b69599bf1656ae631edd8dcc0cccb7","user":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"repo":{"id":5741125,"name":"ka-lite","full_name":"learningequality/ka-lite","owner":{"login":"learningequality","id":3926525,"avatar_url":"https://avatars.githubusercontent.com/u/3926525?v=3","gravatar_id":"","url":"https://api.github.com/users/learningequality","html_url":"https://github.com/learningequality","followers_url":"https://api.github.com/users/learningequality/followers","following_url":"https://api.github.com/users/learningequality/following{/other_user}","gists_url":"https://api.github.com/users/learningequality/gists{/gist_id}","starred_url":"https://api.github.com/users/learningequality/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/learningequality/subscriptions","organizations_url":"https://api.github.com/users/learningequality/orgs","repos_url":"https://api.github.com/users/learningequality/repos","events_url":"https://api.github.com/users/learningequality/events{/privacy}","received_events_url":"https://api.github.com/users/learningequality/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/learningequality/ka-lite","description":"KA Lite: lightweight web server for serving core Khan Academy content (videos and exercises) without needing internet connectivity","fork":false,"url":"https://api.github.com/repos/learningequality/ka-lite","forks_url":"https://api.github.com/repos/learningequality/ka-lite/forks","keys_url":"https://api.github.com/repos/learningequality/ka-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/learningequality/ka-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/learningequality/ka-lite/teams","hooks_url":"https://api.github.com/repos/learningequality/ka-lite/hooks","issue_events_url":"https://api.github.com/repos/learningequality/ka-lite/issues/events{/number}","events_url":"https://api.github.com/repos/learningequality/ka-lite/events","assignees_url":"https://api.github.com/repos/learningequality/ka-lite/assignees{/user}","branches_url":"https://api.github.com/repos/learningequality/ka-lite/branches{/branch}","tags_url":"https://api.github.com/repos/learningequality/ka-lite/tags","blobs_url":"https://api.github.com/repos/learningequality/ka-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/learningequality/ka-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/learningequality/ka-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/learningequality/ka-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/learningequality/ka-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/learningequality/ka-lite/languages","stargazers_url":"https://api.github.com/repos/learningequality/ka-lite/stargazers","contributors_url":"https://api.github.com/repos/learningequality/ka-lite/contributors","subscribers_url":"https://api.github.com/repos/learningequality/ka-lite/subscribers","subscription_url":"https://api.github.com/repos/learningequality/ka-lite/subscription","commits_url":"https://api.github.com/repos/learningequality/ka-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/learningequality/ka-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/learningequality/ka-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/learningequality/ka-lite/issues/comments{/number}","contents_url":"https://api.github.com/repos/learningequality/ka-lite/contents/{+path}","compare_url":"https://api.github.com/repos/learningequality/ka-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/learningequality/ka-lite/merges","archive_url":"https://api.github.com/repos/learningequality/ka-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/learningequality/ka-lite/downloads","issues_url":"https://api.github.com/repos/learningequality/ka-lite/issues{/number}","pulls_url":"https://api.github.com/repos/learningequality/ka-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/learningequality/ka-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/learningequality/ka-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/learningequality/ka-lite/labels{/name}","releases_url":"https://api.github.com/repos/learningequality/ka-lite/releases{/id}","deployments_url":"https://api.github.com/repos/learningequality/ka-lite/deployments","created_at":"2012-09-09T20:01:40Z","updated_at":"2016-02-19T12:37:36Z","pushed_at":"2016-02-21T20:28:32Z","git_url":"git://github.com/learningequality/ka-lite.git","ssh_url":"git@github.com:learningequality/ka-lite.git","clone_url":"https://github.com/learningequality/ka-lite.git","svn_url":"https://github.com/learningequality/ka-lite","homepage":"https://learningequality.org/ka-lite/","size":228596,"stargazers_count":280,"watchers_count":280,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":280,"mirror_url":null,"open_issues_count":260,"forks":280,"open_issues":260,"watchers":280,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/4865"},"html":{"href":"https://github.com/learningequality/ka-lite/pull/4865"},"issue":{"href":"https://api.github.com/repos/learningequality/ka-lite/issues/4865"},"comments":{"href":"https://api.github.com/repos/learningequality/ka-lite/issues/4865/comments"},"review_comments":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/4865/comments"},"review_comment":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/4865/commits"},"statuses":{"href":"https://api.github.com/repos/learningequality/ka-lite/statuses/287b4b7fae3e79cc3146d90ee7a4051dc25122c5"}}}}