nextcloud-server/apps/files/lib
Louis Chemineau 431f6d7c87 fix: Dispatch favorite event with an actual path
The `$path` argument was added in https://github.com/nextcloud/server/pull/48612, but was never actually used by the callers. The path was therefore missing in the favorite/unfavorite events, which lead to a broken activity information.

I also added a fallback to handle `addToFavorites` and `removeFromFavorites`, which are part of a public API, and are calling `tagAs` and `untag` without `$path`.

Fix https://github.com/nextcloud/activity/issues/2134

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-15 14:38:53 +07:00
..
Activity chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
AppInfo feat(files): provide UI to sanitize filenames after enabling WCF 2025-09-02 10:53:01 +07:00
BackgroundJob feat(files): provide UI to sanitize filenames after enabling WCF 2025-09-02 10:53:01 +07:00
Collaboration/Resources refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Command feat(files): provide UI to sanitize filenames after enabling WCF 2025-09-02 10:53:01 +07:00
Controller feat(files): provide UI to sanitize filenames after enabling WCF 2025-09-02 10:53:01 +07:00
Dashboard fix(dashboard): Fix favorite dashboard icon 2025-09-03 15:28:10 +07:00
Db chore: Add SPDX header 2024-05-29 08:58:16 +07:00
Event chore: Add SPDX header 2024-05-29 08:58:16 +07:00
Exception chore: Add SPDX header 2024-05-29 08:58:16 +07:00
Listener fix(SyncLivePhotosListener): Don't handle copy event emitted from us 2025-05-27 12:14:14 +07:00
Migration feat(files): Expose chunked upload config via capabilities 2024-10-21 12:03:33 +07:00
Notification refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Search refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Service fix: Dispatch favorite event with an actual path 2025-09-15 14:38:53 +07:00
Settings feat(files): provide UI to sanitize filenames after enabling WCF 2025-09-02 10:53:01 +07:00
AdvancedCapabilities.php feat(files): Add capability for clients to check WCF state 2025-03-18 17:02:06 +07:00
App.php feat(Navigation): emit dedicated event for loading additional entries 2024-12-18 12:50:11 +07:00
Capabilities.php fix(files): conversion api simplification and conflict check 2025-01-16 18:35:40 +07:00
DirectEditingCapabilities.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
Helper.php chore(files): remove dead code from files helper 2025-05-16 13:09:03 +07:00
ResponseDefinitions.php fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +07:00