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

Enable tus upload for password protected public links #6890

Merged
merged 3 commits into from May 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .drone.env
@@ -1,3 +1,3 @@
# The version of OCIS to use in pipelines that test against OCIS
OCIS_COMMITID=a11250ee1c79d2c290c393b697b6553a1e540127
OCIS_COMMITID=761d72d901cce2c03b524d11cf0b169293e2c8cd
OCIS_BRANCH=master
6 changes: 6 additions & 0 deletions changelog/unreleased/enhancement-tus-uploads-on-public-pages
@@ -0,0 +1,6 @@
Enhancement: Enable tus upload for password protected public links

Uploading files on password protected public links now features tus uploads if the backend supports it.

https://github.com/owncloud/web/issues/6819
https://github.com/owncloud/web/pull/6890
3 changes: 1 addition & 2 deletions packages/web-runtime/src/composables/upload/useUpload.ts
Expand Up @@ -80,8 +80,7 @@ export function useUpload(options: UploadOptions): UploadResult {
watch(
uppyOptions,
() => {
// @TODO use Tus once the backend supports it on password protected links
if (unref(uppyOptions).isTusSupported && !unref(publicLinkPassword)) {
if (unref(uppyOptions).isTusSupported) {
options.uppyService.useTus(unref(uppyOptions) as any)
return
}
Expand Down