Feature #3194
Make image upload more resilient in Sunstone
Status: | Closed | Start date: | 09/19/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Daniel Molina | % Done: | 100% | |
Category: | Sunstone | |||
Target version: | Release 4.10 | |||
Resolution: | fixed | Pull request: |
Description
Image uploads are now done with a single POST call. For big files it gives problems with the maximum request size and can give errors in the middle of the upload. Moreover it creates an extra file that is not deleted until the image is registered.
The upload should be made by chunks and retry when some connection problem happens.
Associated revisions
feature #3194: Change image upload to use resumable library
Now images are uploaded in chunks and they are retried when
an error happens
fearure #3194: bug assembling the image file
feature #3194: show add file button in the upload wizard
feature #3194: fix malformed input tag
feature #3194: use resumable.js for files upload
feature #3194: delete old unused code
feature #3194: Remove file uploader and add resumablejs dependency
feature #3194: Fix upload error message format
feature #3194: Do not remove event target when the file input changes
History
#1 Updated by Javi Fontan almost 7 years ago
- Assignee set to Daniel Molina
Still needs to be done:
- Add error messages to upload:
https://github.com/OpenNebula/one/blob/feature-3194/src/sunstone/public/js/plugins/images-tab.js#L983-L987
https://github.com/OpenNebula/one/blob/feature-3194/src/sunstone/public/js/plugins/files-tab.js#L681-L685
- Fix file selection button. Always says "No file selected". Maybe it is better to change it to a custom button and add the name of the file with a label next to it.
https://github.com/OpenNebula/one/blob/feature-3194/src/sunstone/public/js/plugins/images-tab.js#L101
https://github.com/OpenNebula/one/blob/feature-3194/src/sunstone/public/js/plugins/files-tab.js#L96
#2 Updated by Daniel Molina almost 7 years ago
- Status changed from Pending to Closed
- Target version set to Release 4.10
- % Done changed from 0 to 100
- Resolution set to fixed