Repository navigation
add support for webdav copy to the encryption and versions app - #9897
Conversation
|
👍 makes sense |
|
🚀 Test Passed. 🚀 |
|
@schiesbn Rebase needed |
|
@MorrisJobke rebased, would be great if you could give it a try and review it, Thanks! |
|
@schiesbn I can't reproduce the initial issue. After the copy via webdav I can open the file and the content is correct. |
|
@MorrisJobke how do you perform the copy? Maybe your webdav client does internally something different then a copy? With cadaver I can reproduce the problem: then try to read welcome2.txt (e.g. open it with the internal text editor)? With encryption enabled ownCloud will not be able to read the file because the encryption keys are missing. If welcome.txt had versions then they will also not available for welcome2.txt. |
|
@schiesbn I used Nautilus |
|
Not sure if Nautilus sends a "copy" command or does something different, e.g. a upload from a cached version. You could debug it on the server side. But it is not really relevant for this PR. This PR simply listen to the "copy" hooks, something we didn't before. |
|
Works 👍 |
|
@karlitschek I will merge it once Jenkins finshed and backport it to stable7. Supporting webdav copy is not that urgent but as a side effect it also fixes a issue with the versions drop-down which didn't show all versions under certain circumstances in the past. Do you agree? |
|
@schiesbn agreed. Thanks |
|
The inspection completed: 8 new issues, 17 updated code elements |
|
🚀 Test Passed. 🚀 |
|
🚀 Test Passed. 🚀 |
add support for webdav copy to the encryption and versions app
|
stable7: 78ea700...19bad71 |
|
@karlitschek I need to backport this to stable6 as prerequisite to be able to backport important encryption fixes from #11252 The backport PR to stable6 is here: #11560 |
|
please backport. |
|
I decided to still backport them separately to avoid confusion. Here is the backport for the webdav copy: #11561 |
add support for webdav copy operations.
Create a copy of the encryption keys and the versions in case of a copy.
fix for #6705
cc @PVince81