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

Use chunk size and method override from caps #3568

Merged
merged 1 commit into from
Jun 3, 2020

Conversation

PVince81
Copy link
Contributor

@PVince81 PVince81 commented Jun 2, 2020

Use the chunk size from the capabilities if it is higher than the
locally configured one.

Use HTTP method override mode if the TUS capabilities says so.

For owncloud/ocis-reva#177.
Requires owncloud/ocis-reva#228 for testing the capabilities
Requires cs3org/reva#792 for testing the method override.

I've tested with the above PRs and the upload is using the correct chunk value and is also setting overridePatchMethod whenever the matching capability is set.

Note: merging this should be safe due to default values.

apps/files/src/mixins.js Outdated Show resolved Hide resolved
@PVince81 PVince81 force-pushed the tus-use-capability-values branch 2 times, most recently from e8281bc to 1b852fb Compare June 2, 2020 10:39
apps/files/src/mixins.js Outdated Show resolved Hide resolved
apps/files/src/mixins.js Outdated Show resolved Hide resolved
Use the chunk size from the capabilities if it is higher than the
locally configured one.

Use HTTP method override mode if the TUS capabilities says so.
@PVince81
Copy link
Contributor Author

PVince81 commented Jun 2, 2020

I've pushed again, hopefully all should be fine now...

Copy link
Contributor

@LukasHirt LukasHirt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@PVince81 PVince81 merged commit 7790e57 into master Jun 3, 2020
@delete-merged-branch delete-merged-branch bot deleted the tus-use-capability-values branch June 3, 2020 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants