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

refactor: consistenly use webdav abstraction layer #9728

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

JammingBen
Copy link
Contributor

Description

This makes it easier to remove the SDK in the future.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

@JammingBen JammingBen self-assigned this Sep 25, 2023
@update-docs
Copy link

update-docs bot commented Sep 25, 2023

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@JammingBen JammingBen force-pushed the use-webdav-abstraction branch from b095b55 to 5dc09e8 Compare September 25, 2023 11:55
@JammingBen
Copy link
Contributor Author

Currently waiting for #9731 and #9721 to be merged first.

return clientService.owncloudSdk.fileTrash
.clearTrashBin(path)
return clientService.webdav
.clearTrashBin(space, { hasShareJail: unref(hasShareJail), user: store.getters.user })
Copy link
Member

Choose a reason for hiding this comment

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

Should we pass this in via parameter here or should we set it globally for the clientService?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, good idea! I think we need that anyway in the future when we're removing the SDK. Will do in a follow-up.

@JammingBen JammingBen force-pushed the use-webdav-abstraction branch from 5dc09e8 to c492c11 Compare September 27, 2023 13:49
@JammingBen JammingBen force-pushed the use-webdav-abstraction branch from c492c11 to f07f687 Compare September 27, 2023 14:20
@JammingBen JammingBen marked this pull request as ready for review September 27, 2023 14:26
@sonarcloud
Copy link

sonarcloud bot commented Sep 27, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

63.6% 63.6% Coverage
0.0% 0.0% Duplication

@JammingBen JammingBen requested a review from dschmidt September 27, 2023 14:41
@JammingBen JammingBen merged commit 79fdf4a into master Sep 28, 2023
2 checks passed
@delete-merged-branch delete-merged-branch bot deleted the use-webdav-abstraction branch September 28, 2023 07:58
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