-
Notifications
You must be signed in to change notification settings - Fork 157
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
Support archive downloads on oc10 backends aka archiver v1.0.0 #6697
Conversation
Moved archive download related code to the `archiverService` to keep it in one place and expose less api for the service. Unit tests have been changed to only use the public api of the service as well.
@@ -127,7 +127,14 @@ export default { | |||
userReady({ store }) { | |||
archiverService.initialize( | |||
store.getters.configuration.server || window.location.origin, | |||
get(store, 'getters.capabilities.files.archivers', []) | |||
get(store, 'getters.capabilities.files.archivers', [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
long term we should add the v1.0.0 capability to core
/ php based backend. Added it as a fallback for compatibility in the meantime.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. Care to open a ticket in github.com/owncloud/core/issues?:)
Results for oC10Files2 https://drone.owncloud.com/owncloud/web/24280/17/1 💥 The acceptance tests pipeline failed. The build has been cancelled. |
SonarCloud Quality Gate failed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM and CI is happy, however as seen in the screenshare it doesn't work on public links due to the lack of token/presigned URL
@@ -127,7 +127,14 @@ export default { | |||
userReady({ store }) { | |||
archiverService.initialize( | |||
store.getters.configuration.server || window.location.origin, | |||
get(store, 'getters.capabilities.files.archivers', []) | |||
get(store, 'getters.capabilities.files.archivers', [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
True. Care to open a ticket in github.com/owncloud/core/issues?:)
will followup in a separate PR in the future, but needs backend changes first. for the moment this already brings new functionality for the authenticated context. |
Description
Support archive downloads on oc10 backends aka archiver v1.0.0.
Also moved archive download related code to the
archiverService
to keep itin one place and expose less api for the service.
Unit tests have been changed to only use the public api of the service
as well.
Related Issue
Motivation and Context
customer demand
How Has This Been Tested?
Types of changes
Checklist: