Homec4science

Support HTML5 / Javascript chunked file uploads

Authored by epriestley <git@epriestley.com> on Mar 13 2015, 19:30.

Description

Support HTML5 / Javascript chunked file uploads

Summary:
Ref T7149. This adds chunking support to drag-and-drop uploads. It never activates right now unless you hack things up, since the chunk engine is still hard-coded as disabled.

The overall approach is the same as arc upload in D12061, with some slight changes to the API return values to avoid a few extra HTTP calls.

Test Plan:

  • Enabled chunk engine.
  • Uploaded some READMEs in a bunch of tiny 32 byte chunks.
  • Worked out of the box in Safari, Chrome, Firefox.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7149

Differential Revision: https://secure.phabricator.com/D12066

Details

Committed
epriestley <git@epriestley.com>Mar 13 2015, 19:30
Pushed
aubortJan 31 2017, 17:16
Parents
rPHaa4adf3ab870: Add support for partially uploaded files
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH135280be9e1f: Support HTML5 / Javascript chunked file uploads (authored by epriestley <git@epriestley.com>).Mar 13 2015, 19:30