-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Synchronize operation on live photo files #41765
Conversation
/backport to stable28 |
a464f22
to
56e501c
Compare
56e501c
to
3c03c96
Compare
de8842d
to
fe81619
Compare
fe81619
to
8e45909
Compare
35bf478
to
0f5b386
Compare
Signed-off-by: Louis Chemineau <louis@chmn.me>
0f5b386
to
2f6a4bf
Compare
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.
Add cypress tests
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.
Validate logic with what's expected by the user, and add it as a comment
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.
🐘
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:
BeforeNodeRestoredEvent
event to react to restore action from the trashbinNodeRestoredEvent
, for completeness.apps/files_trashbin/lib/Trashbin.php
abortOperation
method in bothBeforeNodeDeletedEvent
andBeforeNodeRenamedEvent
to allow an event listener to abort the operation.