{"action":"closed","number":2906,"pull_request":{"url":"https://api.github.com/repos/learningequality/ka-lite/pulls/2906","id":28163325,"html_url":"https://github.com/learningequality/ka-lite/pull/2906","diff_url":"https://github.com/learningequality/ka-lite/pull/2906.diff","patch_url":"https://github.com/learningequality/ka-lite/pull/2906.patch","issue_url":"https://api.github.com/repos/learningequality/ka-lite/issues/2906","number":2906,"state":"closed","locked":false,"title":"Fix redirect loop issue in one case","user":{"login":"MCGallaspy","id":8888020,"avatar_url":"https://avatars.githubusercontent.com/u/8888020?v=3","gravatar_id":"","url":"https://api.github.com/users/MCGallaspy","html_url":"https://github.com/MCGallaspy","followers_url":"https://api.github.com/users/MCGallaspy/followers","following_url":"https://api.github.com/users/MCGallaspy/following{/other_user}","gists_url":"https://api.github.com/users/MCGallaspy/gists{/gist_id}","starred_url":"https://api.github.com/users/MCGallaspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MCGallaspy/subscriptions","organizations_url":"https://api.github.com/users/MCGallaspy/orgs","repos_url":"https://api.github.com/users/MCGallaspy/repos","events_url":"https://api.github.com/users/MCGallaspy/events{/privacy}","received_events_url":"https://api.github.com/users/MCGallaspy/received_events","type":"User","site_admin":false},"body":"Minimum to reproduce seems to be:\r\nAn entry in `securesync_device` but not `securesync_devicezone` corresponding to the client_device (on the central server)\r\nNo `securesync_zone` or `securesync_devicezone` in the client database\r\nBut so what? If the registration object exists, then we'll just get the zone there and create a new DeviceZone.\r\nThere's another redirect loop possible, see comment in api_view.py, however I've been assured\r\nit shouldn't be reachable without some serious database deletions. Disregarding for now to avoid further time sink.","created_at":"2015-01-28T02:21:04Z","updated_at":"2015-01-29T18:29:36Z","closed_at":"2015-01-29T18:29:36Z","merged_at":"2015-01-29T18:29:36Z","merge_commit_sha":"946d1ea1f312387e7cf045d4020c500471bf8f68","assignee":{"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},"milestone":{"url":"https://api.github.com/repos/learningequality/ka-lite/milestones/37","labels_url":"https://api.github.com/repos/learningequality/ka-lite/milestones/37/labels","id":656433,"number":37,"title":"0.13.x","description":"- bootstrap for everything!\r\n- i18n beta languages\r\n- lots of fixes","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":28,"closed_issues":167,"state":"open","created_at":"2014-05-12T16:58:11Z","updated_at":"2015-01-29T18:29:36Z","due_on":"2015-01-31T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/2906/commits","review_comments_url":"https://api.github.com/repos/learningequality/ka-lite/pulls/2906/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/2906/comments","statuses_url":"https://api.github.com/repos/learningequality/ka-lite/statuses/735f0306cd9131614000e1b79a4ca8716dbc5867","head":{"label":"MCGallaspy:central-master","ref":"central-master","sha":"735f0306cd9131614000e1b79a4ca8716dbc5867","user":{"login":"MCGallaspy","id":8888020,"avatar_url":"https://avatars.githubusercontent.com/u/8888020?v=3","gravatar_id":"","url":"https://api.github.com/users/MCGallaspy","html_url":"https://github.com/MCGallaspy","followers_url":"https://api.github.com/users/MCGallaspy/followers","following_url":"https://api.github.com/users/MCGallaspy/following{/other_user}","gists_url":"https://api.github.com/users/MCGallaspy/gists{/gist_id}","starred_url":"https://api.github.com/users/MCGallaspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MCGallaspy/subscriptions","organizations_url":"https://api.github.com/users/MCGallaspy/orgs","repos_url":"https://api.github.com/users/MCGallaspy/repos","events_url":"https://api.github.com/users/MCGallaspy/events{/privacy}","received_events_url":"https://api.github.com/users/MCGallaspy/received_events","type":"User","site_admin":false},"repo":{"id":25265236,"name":"ka-lite","full_name":"MCGallaspy/ka-lite","owner":{"login":"MCGallaspy","id":8888020,"avatar_url":"https://avatars.githubusercontent.com/u/8888020?v=3","gravatar_id":"","url":"https://api.github.com/users/MCGallaspy","html_url":"https://github.com/MCGallaspy","followers_url":"https://api.github.com/users/MCGallaspy/followers","following_url":"https://api.github.com/users/MCGallaspy/following{/other_user}","gists_url":"https://api.github.com/users/MCGallaspy/gists{/gist_id}","starred_url":"https://api.github.com/users/MCGallaspy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MCGallaspy/subscriptions","organizations_url":"https://api.github.com/users/MCGallaspy/orgs","repos_url":"https://api.github.com/users/MCGallaspy/repos","events_url":"https://api.github.com/users/MCGallaspy/events{/privacy}","received_events_url":"https://api.github.com/users/MCGallaspy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MCGallaspy/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/MCGallaspy/ka-lite","forks_url":"https://api.github.com/repos/MCGallaspy/ka-lite/forks","keys_url":"https://api.github.com/repos/MCGallaspy/ka-lite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MCGallaspy/ka-lite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MCGallaspy/ka-lite/teams","hooks_url":"https://api.github.com/repos/MCGallaspy/ka-lite/hooks","issue_events_url":"https://api.github.com/repos/MCGallaspy/ka-lite/issues/events{/number}","events_url":"https://api.github.com/repos/MCGallaspy/ka-lite/events","assignees_url":"https://api.github.com/repos/MCGallaspy/ka-lite/assignees{/user}","branches_url":"https://api.github.com/repos/MCGallaspy/ka-lite/branches{/branch}","tags_url":"https://api.github.com/repos/MCGallaspy/ka-lite/tags","blobs_url":"https://api.github.com/repos/MCGallaspy/ka-lite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MCGallaspy/ka-lite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MCGallaspy/ka-lite/git/refs{/sha}","trees_url":"https://api.github.com/repos/MCGallaspy/ka-lite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MCGallaspy/ka-lite/statuses/{sha}","languages_url":"https://api.github.com/repos/MCGallaspy/ka-lite/languages","stargazers_url":"https://api.github.com/repos/MCGallaspy/ka-lite/stargazers","contributors_url":"https://api.github.com/repos/MCGallaspy/ka-lite/contributors","subscribers_url":"https://api.github.com/repos/MCGallaspy/ka-lite/subscribers","subscription_url":"https://api.github.com/repos/MCGallaspy/ka-lite/subscription","commits_url":"https://api.github.com/repos/MCGallaspy/ka-lite/commits{/sha}","git_commits_url":"https://api.github.com/repos/MCGallaspy/ka-lite/git/commits{/sha}","comments_url":"https://api.github.com/repos/MCGallaspy/ka-lite/comments{/number}","issue_comment_url":"https://api.github.com/repos/MCGallaspy/ka-lite/issues/comments/{number}","contents_url":"https://api.github.com/repos/MCGallaspy/ka-lite/contents/{+path}","compare_url":"https://api.github.com/repos/MCGallaspy/ka-lite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MCGallaspy/ka-lite/merges","archive_url":"https://api.github.com/repos/MCGallaspy/ka-lite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MCGallaspy/ka-lite/downloads","issues_url":"https://api.github.com/repos/MCGallaspy/ka-lite/issues{/number}","pulls_url":"https://api.github.com/repos/MCGallaspy/ka-lite/pulls{/number}","milestones_url":"https://api.github.com/repos/MCGallaspy/ka-lite/milestones{/number}","notifications_url":"https://api.github.com/repos/MCGallaspy/ka-lite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MCGallaspy/ka-lite/labels{/name}","releases_url":"https://api.github.com/repos/MCGallaspy/ka-lite/releases{/id}","created_at":"2014-10-15T17:21:39Z","updated_at":"2014-10-14T04:05:25Z","pushed_at":"2015-01-29T18:07:24Z","git_url":"git://github.com/MCGallaspy/ka-lite.git","ssh_url":"git@github.com:MCGallaspy/ka-lite.git","clone_url":"https://github.com/MCGallaspy/ka-lite.git","svn_url":"https://github.com/MCGallaspy/ka-lite","homepage":"https://learningequality.org/ka-lite/","size":125743,"stargazers_count":0,"watchers_count":0,"language":null,"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":"learningequality:central-master","ref":"central-master","sha":"4f2899abd87d89029293eeb95d52a22558967db2","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}","created_at":"2012-09-09T20:01:40Z","updated_at":"2015-01-27T22:51:02Z","pushed_at":"2015-01-29T18:29:36Z","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":197670,"stargazers_count":174,"watchers_count":174,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":195,"mirror_url":null,"open_issues_count":313,"forks":195,"open_issues":313,"watchers":174,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/2906"},"html":{"href":"https://github.com/learningequality/ka-lite/pull/2906"},"issue":{"href":"https://api.github.com/repos/learningequality/ka-lite/issues/2906"},"comments":{"href":"https://api.github.com/repos/learningequality/ka-lite/issues/2906/comments"},"review_comments":{"href":"https://api.github.com/repos/learningequality/ka-lite/pulls/2906/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/2906/commits"},"statuses":{"href":"https://api.github.com/repos/learningequality/ka-lite/statuses/735f0306cd9131614000e1b79a4ca8716dbc5867"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":3,"review_comments":0,"commits":4,"additions":19,"deletions":16,"changed_files":2}}