nextcloud/build/integration
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 +01:00
..
capabilities_features chore: Add SPDX header 2024-06-06 22:53:41 +02:00
collaboration_features fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 21:08:25 +01:00
comments_features chore: Remove deprecated legacy search backend 2024-08-01 12:33:18 +02:00
config fix: Fix theming for disabled accounts 2025-07-11 02:54:16 +02:00
data chore: add file conversion integration tests 2025-01-16 18:55:44 +01:00
dav_features test(dav): add integration test for principal property search 2025-06-17 20:02:30 +02:00
features test: Add integration tests to get collaborators without sharebymail app 2025-11-12 21:08:25 +01:00
federation_features chore(federation): add trusted server auto accept integration tests 2025-01-09 12:54:51 +01:00
file_conversions fix(files): more conversion tests and translate error messages 2025-01-17 18:22:58 +01:00
files_features fix(files): Always transfer incoming shares when doing ownership transfer to prevent broken reshares 2025-07-01 13:08:13 +02:00
filesdrop_features fix(dav): file drop nickname 2025-06-05 08:56:17 +02:00
ldap_features chore: Add SPDX header 2024-06-06 22:53:41 +02:00
openldap_features test: Check unique display name if provided in the response 2025-11-12 12:51:42 +01:00
openldap_numerical_features chore: Add SPDX header 2024-06-06 22:53:41 +02:00
ratelimiting_features test: enable rate limiting for ratelimiting.feature 2025-04-15 08:58:17 +00:00
remoteapi_features chore: Add SPDX header 2024-06-06 22:53:41 +02:00
setup_features chore: Add SPDX header 2024-06-06 22:53:41 +02:00
sharees_features fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 21:08:25 +01:00
sharing_features fix(dav): ensure moving or copying a file is possible 2025-09-02 18:01:10 +02:00
theming_features fix: Fix theming for disabled accounts 2025-07-11 02:54:16 +02:00
videoverification_features chore: Add SPDX header 2024-05-27 14:53:40 +02:00
.gitignore ci: Align integration test dependencies with 3rdaprty/ 2024-10-29 22:54:30 +01:00
composer.json ci: Bump behat/behat as well 2024-10-30 09:04:05 +01:00
composer.lock build(deps-dev): bump phpunit/phpunit in /build/integration 2025-09-29 00:25:55 +02:00
run-docker.sh feat: Make ISharedStorage public API and reuse where possible 2024-08-12 11:42:10 +02:00
run.sh test: Disable ratelimit as tests trigger it 2025-04-15 08:58:17 +00:00