Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[oc] Enable chunking for bigger files in authenticated web upload #7056

Merged
merged 1 commit into from
Nov 10, 2017

Commits on Nov 3, 2017

  1. Enable chunking for bigger files in authenticated web upload

    This commit adds chunked uploads in the Web UI (for authenticated users,
    but not for public uploads). To do that the server endpoint used by the
    uploader is changed from WebDAV v1 to WebDAV v2. The chunking itself is
    done automatically by the jQuery-File-Upload plugin when the
    "maxChunkSize" parameter is set; in "fileuploadchunksend" the request is
    adjusted to adapt the behaviour of the plugin to the one expected by
    "uploads/" in WebDAV v2.
    
    The chunk size to be used by the Web UI can be set in the
    "max_chunk_size" parameter of the Files app configuration. By default it
    is set to 10MiB.
    
    Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
    Vincent Petry authored and danxuliu committed Nov 3, 2017
    Configuration menu
    Copy the full SHA
    cd8d13b View commit details
    Browse the repository at this point in the history