Uh oh!
There was an error while loading. Please reload this page.
Synchronize operation on live photo files - #41765
Conversation
artonge
commented
Nov 27, 2023
/backport to stable28 |
a464f22 to
56e501cCompareUh oh!
There was an error while loading. Please reload this page.
56e501c to
3c03c96CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| $view->chroot($fakeRoot); | ||
| \OCP\Util::emitHook('\OCA\Files_Trashbin\Trashbin', 'post_restore', ['filePath' => Filesystem::normalizePath('/' . $location . '/' . $uniqueFilename), | ||
| 'trashPath' => Filesystem::normalizePath($file)]); | ||
| \OCP\Util::emitHook('\OCA\Files_Trashbin\Trashbin', 'post_restore', ['filePath' => $targetPath, 'trashPath' => $sourcePath]); |
Check notice
Code scanning / Psalm
DeprecatedMethod
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
de8842d to
fe81619CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
fe81619 to
8e45909CompareUh oh!
There was an error while loading. Please reload this page.
35bf478 to
0f5b386CompareSigned-off-by: Louis Chemineau <louis@chmn.me>
0f5b386 to
2f6a4bfCompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Validate logic with what's expected by the user, and add it as a comment
blizzz
commented
Nov 30, 2023
fixed milestone. master is 29. |
This PR adds automatic management of live photos. This means that both file of a live photo will be kept in sync, if they are renamed, moved, or deleted.
A few extra changes were needed:
BeforeNodeRestoredEventevent to react to restore action from the trashbinNodeRestoredEvent, for completeness.apps/files_trashbin/lib/Trashbin.phpabortOperationmethod in bothBeforeNodeDeletedEventandBeforeNodeRenamedEventto allow an event listener to abort the operation.