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

Add dav plugin to trigger recalculating of checksums #29510

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

backportbot-nextcloud[bot]
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Nov 1, 2021

Re-created after revert. It's a feature, postponing to 24


Allows clients to ask the server to recalculate the stored checksums by sending a PATCH request with the X-Recalculate-Hash hash set.

For example

curl -X PATCH -u admin:admin -H 'X-Recalculate-Hash: sha1' https://cloud.example.com/remote.php/dav/files/admin/test.md

This will both update the stored checksum using the provided algorithm and return the new checksum in the OC-Checksum header

cc @allexzander

@backportbot-nextcloud backportbot-nextcloud bot added this to the Nextcloud 20.0.14 milestone Nov 1, 2021
@skjnldsv skjnldsv added 1. to develop Accepted and waiting to be taken care of enhancement 3. to review Waiting for reviews and removed bug 1. to develop Accepted and waiting to be taken care of labels Nov 1, 2021
@skjnldsv skjnldsv changed the title [master] add dav plugin to trigger recalculating of checksums Add dav plugin to trigger recalculating of checksums Nov 1, 2021
@skjnldsv
Copy link
Member

/rebase

@skjnldsv skjnldsv requested a review from a team January 10, 2022 08:52
@skjnldsv skjnldsv mentioned this pull request Mar 24, 2022
@blizzz blizzz mentioned this pull request Mar 31, 2022
Copy link
Member

@PVince81 PVince81 left a comment

Choose a reason for hiding this comment

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

👍

@PVince81
Copy link
Member

/rebase

@PVince81 PVince81 added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Mar 31, 2022
Signed-off-by: Robin Appelman <robin@icewind.nl>
@skjnldsv skjnldsv merged commit 47cc5a9 into master Apr 4, 2022
@skjnldsv skjnldsv deleted the backport/27378/master branch April 4, 2022 20:15
@blizzz blizzz mentioned this pull request Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants