nextcloud/lib
Jonas c952570e67
fix(node): emit hooks on Node::copy()
When calling `Files\Node\Node::copy()`, `Files\View::copy()` gets called,
but `Files\View::fakeRoot` is empty so the hooks are not emitted if no
path is given to `Files\View::shouldEmitHooks()`.

This results in node-related events like `NodeCopiedEvent` not being
fired when copying files via `Files\Node\Node::copy()`.

`Files\View::shouldEmitHooks()` is given a path as parameter in almost
all places except when called from the `copy()` function. This commit
changes it and passes the copy target path.

Fixes: nextcloud/collectives#1756

Signed-off-by: Jonas <jonas@freesources.org>
2025-05-27 12:14:14 +02:00
..
composer fix(autoloader): Fix location of class to be autoloadable 2025-05-23 10:23:03 +02:00
l10n fix(l10n): Update translations from Transifex 2025-05-27 00:22:15 +00:00
private fix(node): emit hooks on Node::copy() 2025-05-27 12:14:14 +02:00
public docs(caldav): update documentation for calendar search 2025-05-23 14:37:20 +02:00
unstable fix(lexicon): syntax 2025-01-14 10:38:15 -01:00
autoloader.php feat: Improve init a bit, and add more profiling steps 2025-05-13 16:08:49 +02:00
base.php Merge pull request #52810 from nextcloud/artonge/feat/do_not_require_samesite_strict_cookie_on_public.php 2025-05-22 10:30:16 +02:00
versioncheck.php feat(PHP): Allow PHP 8.4 2024-11-08 12:59:12 +01:00