nextcloud-server/apps/files/lib/Service
Louis Chemineau d7775cba6a
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 16:52:28 +07:00
..
ChunkedUploadConfig.php feat(files): Expose chunked upload config via capabilities 2024-10-21 12:03:33 +07:00
DirectEditingService.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
LivePhotosService.php
OwnershipTransferService.php fix(files): Always transfer incoming shares when doing ownership transfer to prevent broken reshares 2025-07-01 13:08:13 +07:00
SettingsService.php
TagService.php fix: Dispatch favorite event with an actual path 2025-09-15 16:52:28 +07:00
UserConfig.php feat(files): allow to ignore warning to change file type 2025-03-04 21:12:42 +07:00
ViewConfig.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00