[
https://issues.apache.org/jira/browse/AIRAVATA-3081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Christie resolved AIRAVATA-3081.
---------------------------------------
Resolution: Fixed
> 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
> * [x] Max file size restriction enforcement/guidance in UI
> * [ ] -configure tusd with max file size restriction?- deferred
> * [x] enforce max upload size in tus upload finish handler?
> * [ ] Need a cleanup script for tusd?
> * [x] Add XHR upload fallback mechanism when tusd server isn't running
> * [x] 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
> * [x] 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
> * [x] Document tusd deployment configuration
> **
> [completed|https://apache-airavata-django-portal.readthedocs.io/en/latest/admin/tusd/]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)