nextcloud/lib/private/Files
Jonas 10034c4d15 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:49:58 +00:00
..
AppData chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Cache fix: improve error message when cache rename source can't be found 2025-05-15 16:34:39 +00:00
Config Merge pull request #52988 from nextcloud/backport/50157/stable30 2025-05-27 13:24:15 +02:00
Lock chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Mount chore: apply code style 2025-04-30 19:04:59 +02:00
Node fix: improve handling of newFolder race condition handling 2025-05-13 11:59:28 +00:00
Notify chore: apply code style 2025-04-30 19:04:59 +02:00
ObjectStore Merge pull request #52759 from nextcloud/backport/49352/stable30 2025-05-19 06:44:24 +02:00
Search chore: apply code style 2025-04-30 19:04:59 +02:00
SimpleFS chore: apply code style 2025-04-30 19:04:59 +02:00
Storage Merge pull request #52696 from nextcloud/backport/49903/stable30 2025-05-16 16:23:56 +02:00
Stream chore: apply code style 2025-04-30 19:04:59 +02:00
Template fix(TemplateManager): Remove warning message 2025-01-20 13:41:38 +00:00
Type chore: apply code style 2025-04-30 19:04:59 +02:00
Utils chore: psalm fixes 2025-01-20 15:31:05 +01:00
FileInfo.php chore: apply code style 2025-04-30 19:04:59 +02:00
FilenameValidator.php fix(IFilenameValidator): correctly handle case insensitivity 2025-03-24 11:46:43 +00:00
Filesystem.php chore: apply code style 2025-04-30 19:04:59 +02:00
SetupManager.php fix(SetupManager): Include home and root providers when registering mounts 2025-05-20 15:14:08 +02:00
SetupManagerFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
View.php fix(node): emit hooks on Node::copy() 2025-05-28 11:49:58 +00:00