Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

File uploads with chunking and resumable #67

Closed

Description

@PVince81

We should look into using http://www.resumablejs.com/ for Phoenix.

Don't pick up the old upload code from core as it uses jquery.fileupload and needs to much hacking around to make it work with our chunking.

Activity

  1. PVince81 commented on Mar 28, 2018

    @PVince81
    ContributorAuthor

    Depends if we expect uploading to be an offline capability...

  2. changed the title [-]Uploads with resumable JS[/-] [+]File uploads with resumable JS[/+] on Oct 12, 2018
  3. PVince81 commented on Oct 12, 2018

    @PVince81
    ContributorAuthor

    Estimate:

    • web UI add button + styles: 0.5md
    • actual upload without chunking: 3md
    • add chunking (PUT of chunks + final MOVE): 4md
    • simple progress bar: 0.5md
    • acceptance test: 2md ? check with QA

    total: 8-10md

  4. PVince81 commented on Oct 18, 2018

    @PVince81
    ContributorAuthor

    From what I see, resumable JS is using POST with multipart, which is not desired and not compatible with Webdav. We'd need to rewrite parts of resumable JS to talk our Webdav chunking protocol.

  5. PVince81 commented on Oct 20, 2018

    @PVince81
    ContributorAuthor

    seems there is a way to set the method to be "PUT".
    we also need a way to set headers, maybe need to intercept the XHR object unless there are early callbacks or events for setting them

    Also see this old "OC bulk upload" app which was based on resumable.js: https://github.com/fmkaiser/bulkupload

  6. scramb commented on Jan 17, 2019

    @scramb
    Contributor

    Is this still a thing to discuss since there allready is a working upload method by now?

  7. michaelstingl commented on Jan 17, 2019

    @michaelstingl
    Contributor

    @scramb How does uploads work now? Chunked? Do they resume after being offline? Otherwise we should keep it open for a future sprint…

  8. DeepDiver1975 commented on Jan 18, 2019

    @DeepDiver1975
    Contributor

    Otherwise we should keep it open for a future sprint…

    yes - we need to keep this open.

  9. added this to the backlog milestone on Sep 24, 2019
  10. changed the title [-]File uploads with resumable JS[/-] [+]File uploads with chunking[/+] on Dec 17, 2019
  11. kulmann commented on Feb 3, 2020

    @kulmann
    Contributor

    Might be interesting to look into TUS protocol for resumable, chunked uploads. Implementations exist in both Golang and Javascript. Saving this here for later. https://tus.io/implementations.html

  12. DeepDiver1975 commented on Feb 3, 2020

    @DeepDiver1975
    Contributor

    With the plan in mind to use the msgraph API. Please postpone this issue until WE are Set.

  13. PVince81 commented on Apr 15, 2020

    @PVince81
    ContributorAuthor

    We're going to look into the TUS protocol using https://github.com/tus/tus-js-client

    For prototyping, let's put the code into Phoenix directly and dynamically override the this.$client.putFileContents method when OCIS is detected (capability?)

    Later on we could decide to move the function to the SDK once it's ready.

    Thoughts: since we're going to pass in extra metadata like "mtime", we should pass those as part of the "options" argument and not as part of the headers, because the way of passing metadata with TUS is different than for the OC 10 approach.

  14. changed the title [-]File uploads with chunking[/-] [+]File uploads with chunking and resumable[/+] on Apr 15, 2020
  15. PVince81 commented on Apr 16, 2020

    @PVince81
    ContributorAuthor
  16. added a commit that references this issue on May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions