nextcloud-server/lib
Jonas ed492c5c70 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-28 11:50:11 +07:00
..
composer Merge pull request #52987 from nextcloud/backport/50157/stable31 2025-05-26 08:27:43 +07:00
l10n fix(l10n): Update translations from Transifex 2025-05-28 00:22:46 +07:00
private fix(node): emit hooks on `Node::copy()` 2025-05-28 11:50:11 +07:00
public feat: only load template fields when requested 2025-05-26 18:03:24 +07:00
unstable
autoloader.php
base.php fix: Move CSRF check from base to PublicAuth for public.php 2025-05-22 08:30:36 +07:00
versioncheck.php