nextcloud/lib/private
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
..
Accounts fix(settings): add link check in webfinger 2025-07-07 10:02:19 +00:00
Activity fix(RichObjectStrings): Make exception messages for invalid parameters more useful for debugging 2025-03-17 06:46:12 +01:00
App Merge pull request #55436 from nextcloud/backport/55422/stable31 2025-09-30 23:50:03 +02:00
AppFramework feat(EphemeralSessions): Introduce lax period 2025-11-06 10:24:45 +00:00
Archive chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Authentication feat(EphemeralSessions): Introduce lax period 2025-11-06 10:24:45 +00:00
Avatar chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
BackgroundJob fix(cron): Fix infinite loop on ParallelAware blocked jobs 2025-07-28 06:23:11 +00:00
Blurhash/Listener fix(blurhash): Skip generation the if previews are disabled. 2025-05-27 12:56:31 +00:00
Broadcast/Events
Cache refactor(filecache): Move to more strict typing 2024-11-25 10:29:51 +01:00
Calendar fix: iMip reply from outlook.com does not contain organizer property 2025-10-23 12:14:00 -04:00
Collaboration fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 21:08:25 +01:00
Command fix(jobs): Limit command jobs to known cases 2025-11-05 13:51:42 +01:00
Comments Merge pull request #47329 from nextcloud/feat/add-datetime-qbmapper-support 2024-10-18 19:05:08 +02:00
Config fix: revive always storing lowercased email addresses 2025-06-24 14:24:48 +02:00
Console fix(command): Make method compatible with upstream class (requires 3rdparty bump) 2024-10-07 12:11:25 +02:00
Contacts/ContactsMenu feat(contacts): Show time difference for users in different timezones 2025-01-16 18:10:04 +01:00
Dashboard fix(dashboard): Document expected icon behaviour 2024-07-11 13:14:03 +00:00
DB feat(db): add SSL/TLS support for PostgreSQL 2025-09-22 14:59:54 +02:00
Diagnostics feat(log): Allow to combine log.conditions to only log (app&user) 2024-07-30 13:18:09 +02:00
DirectEditing chore(db): Apply query prepared statements 2024-10-17 20:30:47 +02:00
Encryption chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
EventDispatcher
Federation fix(federation): Allow outgoing federation with oCIS federated cloud ids 2025-10-24 09:56:08 +00:00
Files fix: validate filename when creating file from template 2025-11-04 16:08:49 +01:00
FilesMetadata test: add some minimal testing for metadata storage 2024-11-07 16:27:16 +01:00
FullTextSearch chore: Use more gender neutral language 2024-10-14 13:59:24 +02:00
GlobalScale
Group fix: join accounts_data instead of preferences when searching users 2025-10-23 16:22:43 +02:00
Hooks
Http fix: remove superflous line 2024-11-09 11:56:19 +01:00
IntegrityCheck fix: Report duplicated extra files in integrity check 2025-02-26 13:26:38 +00: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:43:22 +00:00
LDAP style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
legacy fix(installer): ensure valid tempFile & extractDir 2025-08-19 22:37:22 +02:00
Lock fix(locking): Accept mixed as value on setTTL 2024-10-14 12:17:27 +02:00
Lockdown refactor(Storage): Align all Storage constructors 2024-10-23 13:24:18 +02:00
Log fix(syslog): open syslog channel on write 2025-07-03 13:41:57 +08:00
Mail fix(Mailer): Log errors 2025-10-30 11:02:59 +00:00
Memcache Merge pull request #46151 from nextcloud/enh/do-not-enforce-cache-for-cli 2024-10-29 15:28:47 +01:00
Migration chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Net fix(net): Add IPv6 zone handling to IpAddressClassifier 2024-10-31 17:06:36 -04:00
Notification fix(notifications): Fix check for hasNotifiers when all apps use RegistrationContext 2025-06-12 22:00:46 +02:00
OCM fix(ocm): ignore cache if not setup 2025-10-13 11:24:57 -01:00
OCS chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Preview fix: unbloc ffmpeg on some broken videos 2025-06-12 11:58:47 +02:00
Profile feat(profile): Add an API to get the profile field data 2025-04-24 00:50:11 +02:00
Profiler fix(profiler): Harden profiler writes 2025-10-27 16:36:57 +01:00
Remote chore: fix some comments 2024-07-29 14:43:27 +08:00
Repair fix: use mb_substr 2025-09-12 10:50:37 +00:00
RichObjectStrings Revert "refactor(RichObjectStrings): Only log error if key or value is not string in validator" 2025-04-09 08:29:43 +02:00
Route fix(route): Change "core.ProfilePage.index" to lowercase 2025-08-24 18:42:11 +02:00
Search feat(unified-search): Use existing min search length config 2025-09-29 10:55:48 +02:00
Security fix(bfp): Trim meta data so it can still be stored 2025-10-27 14:12:15 +00:00
Session fix(setup): ignore long session login during installation 2024-08-27 12:29:42 -01:00
Settings Merge pull request #48721 from nextcloud/feat/allow-getter-setter-decl-fors 2024-11-06 08:54:40 +01:00
Setup chore(db): Apply query prepared statements 2024-10-17 20:30:47 +02:00
SetupCheck chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Share feat(share): make sharelink token length configurable 2024-09-28 08:06:24 +02:00
Share20 feat(Share\IManager): add matchUserId method and update docs 2025-10-13 16:12:22 +02:00
SpeechToText fix(SpeechToTextManager): Throw TaskProcessing Task failed 2024-08-30 10:07:01 +02:00
Support fix: Fix warning when crash reporter fails to get loaded 2025-05-20 20:30:15 +00:00
SystemTag fix(systemtags): case-insensitive search & prevent duplicates 2025-07-10 08:50:23 +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 fix(TaskProcessing): Increase MAX_TASK_AGE to 6 months 2025-10-07 12:31:03 +02:00
Teams fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
Template fix: Do not show password dialog when user can not validate password 2025-07-29 15:55:09 +00: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
Updater fix(OpenAPI): Adjust array syntax to avoid ambiguities 2024-11-05 09:58:11 +01:00
User fix(IUserManager): Fix deprecation of search method 2025-10-01 16:26:06 +02:00
UserStatus
AllConfig.php fix(userconfig): Don't fail the precondition if the value is not set at all 2024-11-19 18:02:22 +01:00
AppConfig.php fix(AppConfig#setTypedValue): Catch AppConfigUnknownKeyException 2025-08-27 21:31:35 +00:00
AppScriptDependency.php
AppScriptSort.php
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
Config.php fix(config): Suppress error at install time 2024-09-27 17:28:14 -04:00
ContactsManager.php fix(cardav): only show useres from enabled addressBooks in contacts menu 2025-03-19 23:46:57 +01:00
DatabaseException.php
DatabaseSetupException.php
DateTimeFormatter.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
DateTimeZone.php chore: Use more gender neutral language 2024-10-14 13:59:24 +02:00
EmojiHelper.php
EventSource.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
EventSourceFactory.php
ForbiddenException.php
HintException.php
Image.php fix(OCP): Fix Image interface 2024-09-02 14:57:17 +02:00
InitialStateService.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
Installer.php fix(installer): ensure valid tempFile & extractDir 2025-08-19 22:37:22 +02:00
LargeFileHelper.php style: update codestyle for coding-standard 1.2.3 2024-08-25 19:34:58 +02:00
Log.php fix(log): Fix log level handling 2025-01-27 10:23:28 +00: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
NavigationManager.php fix(navigation): Fix default app entry registered as closure 2025-04-28 14:54:35 +00:00
NeedsUpdateException.php
NotSquareException.php
PhoneNumberUtil.php
PreviewManager.php fix: disable mp3 preview provider 2025-10-13 17:55:25 +02:00
PreviewNotAvailableException.php
RedisFactory.php fix(cache): Set default Redis port to 0 for UNIX sockets 2025-09-14 21:31:23 +02:00
Repair.php fix(dav): Mark removal of dav object properties as expensive 2025-09-02 19:36:26 +00:00
RepairException.php
Server.php fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 21:08:25 +01:00
ServerContainer.php
ServerNotAvailableException.php
ServiceUnavailableException.php
Setup.php fix(metadata): set background job on fresh setup 2025-05-29 14:52:23 +02:00
Streamer.php refactor(Streamer): inject IDateTimeZone as constructor arg 2025-10-14 15:27:25 +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-07 13:09:23 +00:00
TagManager.php fix: Dispatch favorite event with an actual path 2025-09-15 16:52:28 +02:00
Tags.php fix: Dispatch favorite event with an actual path 2025-09-15 16:52:28 +02:00
TemplateLayout.php feat(unified-search): Use existing min search length config 2025-09-29 10:55:48 +02:00
TempManager.php refactor(TempManager): Simplify and unify implementations and remove legacy behavior 2025-03-03 15:25:00 +00:00
Updater.php fix(update): Correctly trigger update for auto-disabled local apps 2025-07-21 12:09:42 +00:00
URLGenerator.php fix(navigation): Fix absolute URLs from default apps 2025-04-28 14:54:35 +00:00