You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
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.
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
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.
Activity
DeepDiver1975 commentedon Mar 27, 2018
We need to check if this plays well together with offline capabilities ......
ref https://blog.sicara.com/a-progressive-web-application-with-vue-js-webpack-material-design-part-3-service-workers-offline-ed3184264fd1
PVince81 commentedon Mar 28, 2018
Depends if we expect uploading to be an offline capability...
[-]Uploads with resumable JS[/-][+]File uploads with resumable JS[/+]PVince81 commentedon Oct 12, 2018
Estimate:
total: 8-10md
PVince81 commentedon Oct 18, 2018
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.
PVince81 commentedon Oct 20, 2018
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
scramb commentedon Jan 17, 2019
Is this still a thing to discuss since there allready is a working upload method by now?
michaelstingl commentedon Jan 17, 2019
@scramb How does uploads work now? Chunked? Do they resume after being offline? Otherwise we should keep it open for a future sprint…
DeepDiver1975 commentedon Jan 18, 2019
yes - we need to keep this open.
[-]File uploads with resumable JS[/-][+]File uploads with chunking[/+]kulmann commentedon Feb 3, 2020
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
DeepDiver1975 commentedon Feb 3, 2020
With the plan in mind to use the msgraph API. Please postpone this issue until WE are Set.
PVince81 commentedon Apr 15, 2020
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.putFileContentsmethod 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.
[-]File uploads with chunking[/-][+]File uploads with chunking and resumable[/+]PVince81 commentedon Apr 16, 2020
Merge pull request owncloud#67 from opencloud-eu/renovate/fast-xml-pa…