nextcloud-server/build
Daniel Calviño Sánchez a4bf16e779 fix: Fix user collaborators returned when searching for mail collaborators
The MailPlugin collaborator returned results for both user and mail
collaborators, but it was registered only for mail collaborators. While
it might make sense to move the user results to the UserPlugin instead
that change would be more complex and riskier, so for now the MailPlugin
is now registered for both user and mail collaborators and the results
are limited only to the registered type.

As the plugins are registered only with their class and then resolved
when needed using dependency injection it is not possible (as far as I
know) to provide an explicit parameter in the constructor to
differentiate whether the MailPlugin should return user or mail
collaborators. To overcome this two subclasses are introduced,
MailByMailPlugin and UserByMailPlugin, which just hardcode in their
constructor the collaborator type that their parent MailPlugin must use,
and those subclasses are the ones registered instead of the MailPlugin
(which still contains all the logic).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-11-12 21:08:25 +07:00
..
.ci-conf
integration fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 21:08:25 +07:00
psalm chore: check enums for since and experimental comments 2024-12-02 14:30:18 +07:00
stubs chore: fix some comments 2024-07-29 14:43:27 +07:00
.htaccess chore: Add SPDX header 2024-06-06 22:53:41 +07:00
WebpackSPDXPlugin.js chore: adjust webpack plugin to also extract inline asset licenses 2025-08-31 16:32:16 +07:00
autoloaderchecker.sh build(autoloader): Remove noisy changes when regenerating 2024-10-17 09:20:36 +07:00
build.xml chore: Add SPDX header 2024-05-10 11:07:50 +07:00
buildjsdocs.sh chore: Add SPDX header 2024-05-27 14:53:40 +07:00
ca-bundle-etag.txt fix(security): Update CA certificate bundle 2025-11-05 02:39:05 +07:00
ca-bundle-etag.txt.license chore: Add SPDX header 2024-06-06 22:53:41 +07:00
compile-handlebars-templates.sh chore(files): Remove legacy UI scripts now that everything is migrated to Vue 2024-09-20 13:46:39 +07:00
files-checker.php chore: Use new REUSE format 2025-09-10 23:10:36 +07:00
gen-coverage-badge.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +07:00
htaccess-checker.php ci(autochecks): Run some autochecks also on non-PHP files 2025-02-21 12:04:34 +07:00
image-optimization.sh chore: Add SPDX header 2024-05-27 14:53:40 +07:00
jsdocs9.tar.bz2
jsdocs9.tar.bz2.license chore: Add SPDX header 2024-06-06 22:53:41 +07:00
license.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +07:00
merge-font-noto-fix-merging-v20201206-phase3-76b29f8f8f9b.patch
merge-font-noto-fix-merging-v20201206-phase3-76b29f8f8f9b.patch.license chore: Add SPDX header 2024-06-06 22:53:41 +07:00
merge-font-noto.sh chore: Add SPDX header 2024-05-27 14:53:40 +07:00
npm-post-build.sh Update build/npm-post-build.sh 2024-06-14 08:53:02 +07:00
openapi-checker.sh chore: Add SPDX header 2024-05-27 14:53:40 +07:00
phpDocumentor.sh chore: Add SPDX header 2024-05-27 14:53:40 +07:00
psalm-baseline-ocp.xml chore(tests): Update psalm baseline 2024-09-16 02:37:08 +07:00
psalm-baseline-security.xml fix(appmanager): Fix tainted file path when loading appinfos 2024-10-14 14:33:19 +07:00
psalm-baseline.xml fix(jobs): Limit command jobs to known cases 2025-11-05 13:51:42 +07:00
rector.php refactor(apps): Use constructor property promotion when possible 2024-10-21 12:37:59 +07:00
translation-checker.php ci(autochecks): Run some autochecks also on non-PHP files 2025-02-21 12:04:34 +07:00
triple-dot-checker.php ci(autochecks): Run some autochecks also on non-PHP files 2025-02-21 12:04:34 +07:00
update-apps.sh build: Adjust checkout branch script 2025-01-23 10:32:24 +07:00
update.sh build: Adjust checkout branch script 2025-01-23 10:32:24 +07:00