nextcloud-server/apps/files/lib/Service
Louis Chemineau 634e8d2587
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 15:04:00 +07:00
..
ChunkedUploadConfig.php feat(files): Expose chunked upload config via capabilities 2024-10-21 12:03:33 +07:00
DirectEditingService.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
LivePhotosService.php chore: Add SPDX header 2024-05-29 08:58:16 +07:00
OwnershipTransferService.php fix: don't use view->getPath in ownership transfer 2025-08-13 19:42:42 +07:00
SettingsService.php feat(files): provide UI to sanitize filenames after enabling WCF 2025-09-02 10:53:01 +07:00
TagService.php fix: Dispatch favorite event with an actual path 2025-09-15 15:04:00 +07:00
UserConfig.php feat(files): allow hidding files extensions 2025-07-28 18:05:15 +07:00
ViewConfig.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00