nextcloud/lib/private
Daniel Calviño Sánchez c40fcba5a4 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-11 01:20:17 +01:00
..
Accounts fix(Accounts): Add back v2 scope migration 2025-08-28 13:30:04 +02:00
Activity fix(activity): do not loop affected userIDs twice 2025-11-04 13:55:50 +01:00
App feat(AppManager): log which apps requires the upgrade procedure 2025-10-27 18:05:00 +01:00
AppFramework feat(EphemeralSessions): Introduce lax period 2025-11-05 16:08:13 +01:00
Archive refactor: use logical && || instead of weak and or operators 2025-09-27 23:02:18 +02:00
Authentication feat(EphemeralSessions): Introduce lax period 2025-11-05 16:08:13 +01:00
Avatar feat(avatars): use different colors for guests for the same name 2025-09-02 11:31:14 +02:00
BackgroundJob refactor(preview): Cleanup the implementation of the new preview backend 2025-10-06 13:37:15 +02:00
Blurhash/Listener fix(blurhash): Skip generation the if previews are disabled. 2025-05-27 12:26:42 +02:00
Broadcast/Events chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Cache chore: Remove unused \OC\Cache\CappedMemoryCache 2025-09-16 10:08:19 +02:00
Calendar fix: iMip reply from outlook.com does not contain organizer property 2025-10-14 12:44:06 -04:00
Collaboration fix: Fix user collaborators returned when searching for mail collaborators 2025-11-11 01:20:17 +01:00
Command fix(jobs): Limit command jobs to known cases 2025-11-04 11:10:40 +01:00
Comments fix(comments): Don's catch invalid DriverException 2025-09-02 11:55:58 +02:00
Config fix(lexicon): switch bool value to non-lazy 2025-10-21 09:27:40 -01:00
Console chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Contacts/ContactsMenu chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
ContextChat fix: add strict typing to ContextChat classes 2025-07-15 08:16:25 -07:00
Dashboard fix(dashboard): Document expected icon behaviour 2024-07-11 13:14:03 +00:00
DB feat(Db): Use SnowflakeId for previews 2025-10-28 17:50:03 +01:00
Diagnostics chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
DirectEditing chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Encryption chore(encryption): Cleanup typing in EncryptAll/DecryptAll 2025-09-09 11:46:18 +02:00
EventDispatcher fix: Do not use deprecated IServerContainer in EventDispatcher 2025-07-08 13:32:15 +02:00
Federation fix(federation): Allow outgoing federation with oCIS federated cloud ids 2025-10-20 15:38:36 +02:00
Files Merge pull request #56096 from nextcloud/fix/56077/s3-configure-checksum-defaults 2025-11-03 11:08:33 +01:00
FilesMetadata test: add some minimal testing for metadata storage 2024-11-07 16:27:16 +01:00
FullTextSearch chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
GlobalScale chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Group Revert "feat(group): Sanitize group names and ids on creation" 2025-11-07 10:37:50 +01:00
Hooks refactor: use logical && || instead of weak and or operators 2025-09-27 23:02:18 +02:00
Http chore: Add server version to default crawler user agent 2025-11-07 11:20:56 +01:00
IntegrityCheck refactor: use logical && || instead of weak and or operators 2025-09-27 23:02:18 +02:00
KnownUser chore: Use more gender neutral language 2024-10-14 13:59:24 +02:00
L10N fix(l10n): Don't fallback from 3-letter languages to 2-letter 2025-10-16 11:46:01 +02:00
LDAP style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
legacy fix: Cleanup and fix tests, and fix related issues in code 2025-09-30 11:53:59 +02:00
Lock refactor: use logical && || instead of weak and or operators 2025-09-27 23:02:18 +02:00
Lockdown chore: Fix all method calls with too many arguments 2025-07-22 12:34:49 +02:00
Log fix(syslog): open syslog channel on write 2025-07-02 09:14:33 +08:00
Mail fix(Mailer): Log errors 2025-10-30 08:42:12 +01:00
Memcache fix(Memcache): ensure global prefix depends on enabled apps 2025-10-27 16:18:24 +01:00
Migration chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Net fix(net): Add IPv6 zone handling to IpAddressClassifier 2024-10-31 17:06:36 -04:00
Notification feat: indicate reason for preloading notifications 2025-08-18 15:28:46 +02:00
OCM fix(ocm): align discovery process with OCM spec 2025-11-09 19:35:57 -01:00
OCS fix(OCS): Add IRequest::getFormat to determine the response Content-Type the same way everywhere 2025-08-26 09:50:03 +02:00
Preview feat(Db): Use SnowflakeId for previews 2025-10-28 17:50:03 +01:00
Profile fix(config): fix tests+psalm 2025-08-08 11:00:49 -01:00
Profiler fix(profiler): Harden profiler writes 2025-10-24 15:23:20 +02:00
Remote chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Repair fix(lexicon): switch bool value to non-lazy 2025-10-21 09:27:40 -01:00
RichObjectStrings Revert "refactor(RichObjectStrings): Only log error if key or value is not string in validator" 2025-04-09 08:35:56 +02:00
Route fix(route): Change "core.ProfilePage.index" to lowercase 2025-08-20 11:52:36 +02:00
Search feat(unified-search): Use existing min search length config 2025-09-24 17:29:09 +02:00
Security fix(bfp): Trim meta data so it can still be stored 2025-10-22 15:45:21 +02:00
Session feat(core): add cookie_domain config option 2025-06-16 15:33:48 +02:00
Settings feat(settings): Add support for delegated settings not appearing in menu 2025-09-28 14:50:14 +02:00
Setup refactor(querybuilder): Port away from qb::execute() in lib/ 2025-09-02 11:55:56 +02:00
SetupCheck chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Share feat(preset): share link expiration date 2025-08-14 16:07:32 -01:00
Share20 feat(Share\IManager): add matchUserId method and update docs 2025-09-26 18:26:37 +02:00
Snowflake Merge pull request #56106 from nextcloud/fix/snowflake_apcu 2025-11-04 16:01:12 +01:00
SpeechToText fix(SpeechToTextManager): Throw TaskProcessing Task failed 2024-08-30 10:07:01 +02:00
Support fix: Fix issues and tests in DIContainer and friends 2025-07-08 13:32:14 +02:00
SystemTag Merge pull request #54810 from nextcloud/feat/typed-tag-events 2025-09-04 11:19:28 +02:00
Tagging feat(db): switch from settype to casts 2024-09-15 19:26:58 +02:00
Talk style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
TaskProcessing Merge branch 'master' into feat/taskprocessing/user-facing-error-message 2025-10-30 10:13:39 +01:00
Teams fix(team-api): get all teams details in a single request 2025-10-13 14:21:15 +02:00
Template chore(Template): allow styles from dist folder 2025-10-22 14:57:47 +02:00
TextProcessing fix(textprocessing): accept scheduling a task if there are equivalent taskprocessing providers only 2024-11-13 16:59:46 +01:00
TextToImage fix: Prevent breaking change in IQueryBuilder 2024-10-17 18:31:44 +02:00
Translation chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Updater fix: handle ambiguous IResponse.getBody return types 2025-06-30 11:50:11 +02:00
User refactor(dbal): Port away from getDatabasePlatform() instanceof pattern 2025-10-13 13:44:08 +02:00
UserStatus fix(container): Reduce general deprecation spam on all requests 2025-08-09 11:53:30 +02:00
AllConfig.php feat(AppConfig): cache app config in local cache if available 2025-08-18 13:24:18 +02:00
AppConfig.php feat(lexicon): add FLAG_INTERNAL 2025-11-03 11:39:25 -01:00
AppScriptDependency.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
AppScriptSort.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
BinaryFinder.php chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixer 2024-10-19 07:57:35 +02:00
CapabilitiesManager.php feat(api): File conversion API 2025-01-15 16:38:18 -05:00
Color.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
Config.php fix: Fix psalm taint false-positives by small refactorings 2025-02-17 18:08:23 +01:00
ContactsManager.php fix(cardav): only show useres from enabled addressBooks in contacts menu 2025-03-17 11:56:34 +01:00
DatabaseException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DatabaseSetupException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
DateTimeFormatter.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
DateTimeZone.php feat(IDateTimeZone): allow to fetch timezone of specified user 2025-08-18 14:26:52 +02:00
EmojiHelper.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
EventSource.php refactor: use logical && || instead of weak and or operators 2025-09-27 23:02:18 +02:00
EventSourceFactory.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ForbiddenException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
HintException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Image.php refactor: use logical && || instead of weak and or operators 2025-09-27 23:02:18 +02:00
InitialStateService.php fix(container): Reduce general deprecation spam on all requests 2025-08-09 11:53:30 +02:00
Installer.php refactor: use logical && || instead of weak and or operators 2025-09-27 23:02:18 +02:00
LargeFileHelper.php fix: remove executable flag from source files 2025-09-04 11:57:44 +02:00
Log.php fix(log): Fix call to normalize function 2025-10-27 16:46:10 +01:00
MemoryInfo.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
NaturalSort.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
NaturalSort_DefaultCollator.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NavigationManager.php fix(navigation): Fix default app entry registered as closure 2025-04-25 14:47:33 +02:00
NeedsUpdateException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NotSquareException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
PhoneNumberUtil.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
PreviewManager.php feat(Db): Use SnowflakeId for previews 2025-10-28 17:50:03 +01:00
PreviewNotAvailableException.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
RedisFactory.php fix(cache): Set default Redis port to 0 for UNIX sockets 2025-09-07 14:30:34 -04:00
Repair.php fix(lexicon): switch bool value to non-lazy 2025-10-21 09:27:40 -01:00
RepairException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Server.php fix: Fix user collaborators returned when searching for mail collaborators 2025-11-11 01:20:17 +01:00
ServerContainer.php feat: Improve init a bit, and add more profiling steps 2025-05-13 16:08:49 +02:00
ServerNotAvailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
ServiceUnavailableException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Setup.php perf(preview): Migrate previews to the new optimized table 2025-10-06 13:37:15 +02:00
Streamer.php refactor(Streamer): inject IDateTimeZone as constructor arg 2025-08-14 17:19:28 +02:00
StreamImage.php fix(OCP): Fix Image interface 2024-09-02 14:57:17 +02:00
SubAdmin.php chore(db): Correctly apply query types 2024-10-17 09:21:07 +02:00
SystemConfig.php feat: allow admins to configure additional sensitive config values 2025-08-05 19:16:14 +02:00
TagManager.php fix: Dispatch favorite event with an actual path 2025-09-15 15:04:00 +02:00
Tags.php fix: Dispatch favorite event with an actual path 2025-09-15 15:04:00 +02:00
TemplateLayout.php chore: Cleanup typing and deprecated method calls in resource locators 2025-09-29 12:10:56 +02:00
TempManager.php chore: move implementation from OC legacy to OCP\Files 2025-05-14 14:55:45 +02:00
Updater.php chore: Replace last calls to OC_App::enable by IAppManager 2025-08-18 17:09:39 +02:00
URLGenerator.php refactor: use logical && || instead of weak and or operators 2025-09-27 23:02:18 +02:00