Uploads should not unpack zip files, and should check for consistency client-side
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IVLE |
Triaged
|
Medium
|
Nick Chadwick |
Bug Description
At issue is the way the uploads are currently handled. Currently there is
an option to 'Unpack zip files'. This option should be removed, as there is
no easy way to check for file conflicts whilst the file is uploading.
Instead, we should simply allow users to upload files. Once they have done
so, we should then give them the option to zip files as part of the
standard interface.
This allows us to let users upload large zip files, without rebuffing them
once the upload is finished.
We can then 'hook-into' the upload button, doing a quick sanity-check
client-side, which can ask users for confirmation before performing an
upload which will overwrite a file. This will require a flag on the upload
set to 'override=true', to deal with the unlikely scenario which occurs
when a user's view has become out-of-date.