{"action":"created","issue":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/14178","repository_url":"https://api.github.com/repos/dimagi/commcare-hq","labels_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/14178/labels{/name}","comments_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/14178/comments","events_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/14178/events","html_url":"https://github.com/dimagi/commcare-hq/pull/14178","id":194624368,"number":14178,"title":"Case import history: phase 2","user":{"login":"dannyroberts","id":137212,"avatar_url":"https://avatars.githubusercontent.com/u/137212?v=3","gravatar_id":"","url":"https://api.github.com/users/dannyroberts","html_url":"https://github.com/dannyroberts","followers_url":"https://api.github.com/users/dannyroberts/followers","following_url":"https://api.github.com/users/dannyroberts/following{/other_user}","gists_url":"https://api.github.com/users/dannyroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyroberts/subscriptions","organizations_url":"https://api.github.com/users/dannyroberts/orgs","repos_url":"https://api.github.com/users/dannyroberts/repos","events_url":"https://api.github.com/users/dannyroberts/events{/privacy}","received_events_url":"https://api.github.com/users/dannyroberts/received_events","type":"User","site_admin":false},"labels":[{"id":180677609,"url":"https://api.github.com/repos/dimagi/commcare-hq/labels/No%20lint%20errors","name":"No lint errors","color":"bfe5bf","default":false},{"id":79032211,"url":"https://api.github.com/repos/dimagi/commcare-hq/labels/Open%20for%20review:%20hold%20off%20on%20merge","name":"Open for review: hold off on merge","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-09T15:32:13Z","updated_at":"2016-12-12T15:39:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/dimagi/commcare-hq/pulls/14178","html_url":"https://github.com/dimagi/commcare-hq/pull/14178","diff_url":"https://github.com/dimagi/commcare-hq/pull/14178.diff","patch_url":"https://github.com/dimagi/commcare-hq/pull/14178.patch"},"body":"- first two commits: make case importer return to landing page when initiated instead of special progress polling page\r\n- the rest: expose original upload file in case import history (allow domain admins to download all of them, allow everyone else to download their own; we can modify the permissions in the future to be more permissive, but wanted something simple that definitely doesn't give anyone access to case data they shouldn't have)\r\n\r\n<img width=\"1188\" alt=\"screen shot 2016-12-09 at 10 31 14 am\" src=\"https://cloud.githubusercontent.com/assets/137212/21054216/b1aa89ba-bdfa-11e6-8fca-4da3b89df6a6.png\">\r\n"},"comment":{"url":"https://api.github.com/repos/dimagi/commcare-hq/issues/comments/266463249","html_url":"https://github.com/dimagi/commcare-hq/pull/14178#issuecomment-266463249","issue_url":"https://api.github.com/repos/dimagi/commcare-hq/issues/14178","id":266463249,"user":{"login":"snopoke","id":249606,"avatar_url":"https://avatars.githubusercontent.com/u/249606?v=3","gravatar_id":"","url":"https://api.github.com/users/snopoke","html_url":"https://github.com/snopoke","followers_url":"https://api.github.com/users/snopoke/followers","following_url":"https://api.github.com/users/snopoke/following{/other_user}","gists_url":"https://api.github.com/users/snopoke/gists{/gist_id}","starred_url":"https://api.github.com/users/snopoke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snopoke/subscriptions","organizations_url":"https://api.github.com/users/snopoke/orgs","repos_url":"https://api.github.com/users/snopoke/repos","events_url":"https://api.github.com/users/snopoke/events{/privacy}","received_events_url":"https://api.github.com/users/snopoke/received_events","type":"User","site_admin":false},"created_at":"2016-12-12T15:39:58Z","updated_at":"2016-12-12T15:39:58Z","body":"I don't think we've addressed (or even considered) this anywhere else. When\nwe started using Riak I though we might go with a bucket / domain scheme\nwhich would allow us to use Riak's built in storage tracking etc. but we\naren't using that approach so don't think that's an option. It does seem\nreasonable to limit this in some way (per file and probably per domain).\n\nIn terms of the per file limit, uploading huge Excel files also causes\nissues with celery and makes the task more likely to fail so forcing them\nto break up huge files into smaller ones could also reduce the number of\nattempts they have to make to get the import through.\n"}}
{"actor":{"display_login":"snopoke"}}