You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@airavata.apache.org by "Marcus Christie (Jira)" <ji...@apache.org> on 2019/10/01 16:49:00 UTC

[jira] [Updated] (AIRAVATA-3081) Use tus for file uploads

     [ https://issues.apache.org/jira/browse/AIRAVATA-3081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcus Christie updated AIRAVATA-3081:
--------------------------------------
    Description: 
h5. TODO
 * [x] integrate with data storage views
 * [ ] Max file size restriction
 * [ ] Need a cleanup script for tusd?
 * [x] Add XHR upload fallback mechanism when tusd server isn't running
 * [ ] Put component in common ui package?
 * [x] Ansible changes for specifying TUS_ENDPOINT, TUS_DATA_DIR in settings_local.py
 * [x] UI: hide the native file input and use bootstrap file upload component (https://uppy.io/docs/file-input/#Custom-file-input). Or use the https://uppy.io/docs/drag-drop/ UI.
 * [x] Handle (or prevent) multiple file uploads for application inputs
 * [x] Move files from tusd data directory instead of copying
 * [ ] Factor out tus file upload data parsing
 * [x] Test with 1 and 5 GB file uploads - specifically test how long it takes to move the file from the tus server directory into the final location
 ** tested locally with 1 and 5 GB files, no issues with moving the files to the final location

  was:
h5. TODO
 * [x] integrate with data storage views
 * [ ] Max file size restriction
 * [ ] Need a cleanup script for tusd?
 * [x] Add XHR upload fallback mechanism when tusd server isn't running
 * [ ] Put component in common ui package?
 * [x] Ansible changes for specifying TUS_ENDPOINT, TUS_DATA_DIR in settings_local.py
 * [ ] UI: hide the native file input and use bootstrap file upload component (https://uppy.io/docs/file-input/#Custom-file-input). Or use the https://uppy.io/docs/drag-drop/ UI.
 * [ ] Handle (or prevent) multiple file uploads for application inputs
 * [x] Move files from tusd data directory instead of copying
 * [ ] Factor out tus file upload data parsing
 * [x] Test with 1 and 5 GB file uploads - specifically test how long it takes to move the file from the tus server directory into the final location
 ** tested locally with 1 and 5 GB files, no issues with moving the files to the final location


> Use tus for file uploads
> ------------------------
>
>                 Key: AIRAVATA-3081
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3081
>             Project: Airavata
>          Issue Type: New Feature
>          Components: Django Portal
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> h5. TODO
>  * [x] integrate with data storage views
>  * [ ] Max file size restriction
>  * [ ] Need a cleanup script for tusd?
>  * [x] Add XHR upload fallback mechanism when tusd server isn't running
>  * [ ] Put component in common ui package?
>  * [x] Ansible changes for specifying TUS_ENDPOINT, TUS_DATA_DIR in settings_local.py
>  * [x] UI: hide the native file input and use bootstrap file upload component (https://uppy.io/docs/file-input/#Custom-file-input). Or use the https://uppy.io/docs/drag-drop/ UI.
>  * [x] Handle (or prevent) multiple file uploads for application inputs
>  * [x] Move files from tusd data directory instead of copying
>  * [ ] Factor out tus file upload data parsing
>  * [x] Test with 1 and 5 GB file uploads - specifically test how long it takes to move the file from the tus server directory into the final location
>  ** tested locally with 1 and 5 GB files, no issues with moving the files to the final location



--
This message was sent by Atlassian Jira
(v8.3.4#803005)