nextcloud-server/build/integration
Daniel Calviño Sánchez 16c26101d0 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 13:22:25 +07:00
..
capabilities_features chore: Add SPDX header 2024-06-06 22:53:41 +07:00
collaboration_features fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 13:22:25 +07:00
comments_features chore: Remove deprecated legacy search backend 2024-08-01 12:33:18 +07:00
config fix: Fix theming for disabled accounts 2025-07-10 15:19:01 +07:00
data Revert "perf(base): Stop setting up the FS for every basic auth request" 2025-07-11 17:07:44 +07:00
dav_features Merge branch 'master' into remove-x-xss-protection 2025-06-30 21:32:22 +07:00
features test: Add integration tests to get collaborators without sharebymail app 2025-11-12 11:16:16 +07:00
federation_features chore(federation): add trusted server auto accept integration tests 2025-01-09 12:54:51 +07:00
file_conversions fix(files): more conversion tests and translate error messages 2025-01-17 18:22:58 +07:00
files_features feat(encryption): Add integration tests for occ commands 2025-09-11 21:18:37 +07:00
filesdrop_features fix(dav): file drop nickname 2025-06-05 09:09:17 +07:00
ldap_features fix(LDAP): properly disable are require TLS certificate verification 2025-10-14 07:42:25 +07:00
openldap_features test: Check unique display name if provided in the response 2025-11-12 11:16:16 +07:00
openldap_numerical_features chore: Add SPDX header 2024-06-06 22:53:41 +07:00
ratelimiting_features test: enable rate limiting for ratelimiting.feature 2025-04-15 10:31:02 +07:00
remoteapi_features chore: Add SPDX header 2024-06-06 22:53:41 +07:00
routing_features feat(tests): Test application enabling/disabling and routes 2025-06-05 15:12:28 +07:00
setup_features chore: Add SPDX header 2024-06-06 22:53:41 +07:00
sharees_features fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 13:22:25 +07:00
sharing_features fix(dav): ensure moving or copying a file is possible 2025-09-02 16:23:47 +07:00
theming_features fix: Fix theming for disabled accounts 2025-07-10 15:19:01 +07:00
videoverification_features chore: Add SPDX header 2024-05-27 14:53:40 +07:00
.gitignore ci: Align integration test dependencies with 3rdaprty/ 2024-10-29 22:54:30 +07:00
composer.json ci: Bump behat/behat as well 2024-10-30 09:04:05 +07:00
composer.lock build(deps-dev): bump phpunit/phpunit in /build/integration 2025-09-27 13:20:44 +07:00
run-docker.sh feat: Make `ISharedStorage` public API and reuse where possible 2024-08-12 11:42:10 +07:00
run.sh chore: Disable appstore from integration tests 2025-06-05 16:23:07 +07:00