1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 11:12:42 +01:00
phorge-phorge/src/applications/files/conduit
epriestley b7fa55ff93 Fix improper selection of the chunk engine as a writable engine
Summary:
Fixes T7621. The engine selection code started out making sense, but didn't make as much sense by the time I was done with it.

Specifically, from the vanilla file upload, we may incorrectly try to write directly to the chunk storage engine. This is incorrect, and produces a confusing/bad error.

Make chunk storage engines explicit and don't try to do single-file one-shot writes to them.

Test Plan:
  - Tried to upload a large file with vanilla uploader, got better error message.
  - Uploaded small and large files with drag and drop.
  - Viewed {nav Files > Help/Options}.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7621

Differential Revision: https://secure.phabricator.com/D12110
2015-03-18 19:06:39 -07:00
..
FileAllocateConduitAPIMethod.php Fix improper selection of the chunk engine as a writable engine 2015-03-18 19:06:39 -07:00
FileConduitAPIMethod.php Add support for partially uploaded files 2015-03-13 11:30:24 -07:00
FileDownloadConduitAPIMethod.php Rename Conduit classes 2014-07-25 10:54:15 +10:00
FileInfoConduitAPIMethod.php Make file upload policies more consistent 2015-03-17 06:33:30 -07:00
FileQueryChunksConduitAPIMethod.php Add a chunking storage engine for files 2015-03-13 11:30:02 -07:00
FileUploadChunkConduitAPIMethod.php Add support for partially uploaded files 2015-03-13 11:30:24 -07:00
FileUploadConduitAPIMethod.php Make file upload policies more consistent 2015-03-17 06:33:30 -07:00
FileUploadHashConduitAPIMethod.php Add a chunking storage engine for files 2015-03-13 11:30:02 -07:00