curationexperts / laevigata

A Hyrax-based ETD repository including deposit workflow
Other
5 stars 4 forks source link

Add large file support #111

Closed mark-dce closed 7 years ago

mark-dce commented 7 years ago

STORY As Carla, I want students to easily be able to load up large files from cloud services like DropBox, so that I don't have to set up special complicated processes to support students with large PDFs and supplemental files.

DETAILS This story can probably be accomplished by integrating the Browse Everything gem. This might already be done. For details see https://github.com/projecthydra/sufia/wiki/Sufia-Management-Guide#integration-with-dropbox-box-etc and https://github.com/projecthydra/browse-everything

ACCEPTANCE

shanitajohn commented 7 years ago

Upload limit is 2.5GB per file, will need messaging in the application to let student's know if the file is too large, etc. Above this size requires Superadmin intervention.

rotated8 commented 7 years ago

Upload limit config was moved in this PR for Hyrax 2.x : https://github.com/projecthydra-labs/hyrax/pull/933

jenlindner commented 7 years ago

There are a few aspects to uploading large files, and I'm going to start with this one: “let the user know before they start upload if their file is too big (because of poor user experience) to use the the built-in uploader” - which is in ticket #174

acozine commented 7 years ago

The browse-everything gem is integrated in laevigata and mounted in the file-limits-ux branch. On the stresstest server, we are using it to connect to Box. Unfortunately DropBox changed its API and that connection is not working - see https://github.com/projecthydra/browse-everything/issues/159 and https://github.com/psu-stewardship/scholarsphere/issues/862. Our other options for browse-everything are:

mark-dce commented 7 years ago

I was mostly just looking to be able to demonstrate more than one service to make sure there weren't any edge-cases we didn't catch. Looks like it worked ;) I've changed the acceptance criteria to Box and Google Drive. It looks like Emory is more used to using Box, so that's probably a better choice anyway.

acozine commented 7 years ago

Currently the stresstest box hits a fedora bug (https://jira.duraspace.org/browse/FCREPO-2311) when uploading a 1.7GB file.

jenlindner commented 7 years ago

https://docs.google.com/document/d/1wLFXH3XChgVoQGWH3L1I5XJFJ3Jk9orLIM-Ua-pa__A/edit