nextcloud-server/lib/private
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
..
Accounts fix(Accounts): Add back v2 scope migration 2025-08-28 13:30:04 +07:00
Activity fix(activity): do not loop affected userIDs twice 2025-11-05 12:49:38 +07:00
App Merge pull request #55440 from nextcloud/backport/55420/stable32 2025-09-30 23:38:33 +07:00
AppFramework feat(EphemeralSessions): Introduce lax period 2025-11-06 10:24:34 +07:00
Archive
Authentication feat(EphemeralSessions): Introduce lax period 2025-11-06 10:24:34 +07:00
Avatar feat(avatars): use different colors for guests for the same name 2025-09-02 11:31:14 +07:00
BackgroundJob fix(cron): Fix infinite loop on ParallelAware blocked jobs 2025-07-25 15:28:24 +07:00
Blurhash/Listener fix(blurhash): Skip generation the if previews are disabled. 2025-05-27 12:26:42 +07:00
Broadcast/Events
Cache Revert "perf(base): Stop setting up the FS for every basic auth request" 2025-08-28 17:11:31 +07:00
Calendar Merge pull request #55763 from nextcloud/backport/54819/stable32 2025-10-16 10:07:57 +07:00
Collaboration fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 13:22:25 +07:00
Command fix(jobs): Limit command jobs to known cases 2025-11-05 11:05:36 +07:00
Comments fix(comments): Don's catch invalid DriverException 2025-09-02 11:55:58 +07:00
Config fix(lexicon): switch bool value to non-lazy 2025-10-21 12:19:01 +07:00
Console chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
Contacts/ContactsMenu chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
ContextChat fix: add strict typing to ContextChat classes 2025-07-15 08:16:25 +07:00
DB feat(db): add SSL/TLS support for PostgreSQL 2025-09-22 14:55:29 +07:00
Dashboard
Diagnostics chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
DirectEditing chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
Encryption chore(encryption): Cleanup typing in EncryptAll/DecryptAll 2025-09-11 21:18:37 +07:00
EventDispatcher fix: Do not use deprecated IServerContainer in EventDispatcher 2025-07-08 13:32:15 +07:00
Federation fix(federation): Allow outgoing federation with oCIS federated cloud ids 2025-10-24 09:56:23 +07:00
Files fix(s3): expose request_checksum_calculation and response_checksum_validation 2025-11-03 16:07:08 +07:00
FilesMetadata
FullTextSearch chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
GlobalScale chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
Group fix: join accounts_data instead of preferences when searching users 2025-10-23 10:12:40 +07:00
Hooks chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
Http chore(Http\Client): fix linting issues 2025-07-09 14:42:58 +07:00
IntegrityCheck chore: Get rid of AppLocator helper 2025-08-18 17:09:40 +07:00
KnownUser
L10N fix(l10n): Don't fallback from 3-letter languages to 2-letter 2025-10-16 11:43:35 +07:00
LDAP
Lock
Lockdown chore: Fix all method calls with too many arguments 2025-07-22 12:34:49 +07:00
Log fix(syslog): open syslog channel on write 2025-07-02 09:14:33 +07:00
Mail fix(Mailer): Log errors 2025-10-30 11:03:21 +07:00
Memcache fix(Memcache): ensure global prefix depends on enabled apps 2025-10-28 16:04:25 +07:00
Migration chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
Net
Notification feat: indicate reason for preloading notifications 2025-08-18 15:28:46 +07:00
OCM fix(ocm): align discovery process with OCM spec 2025-11-10 09:55:19 +07:00
OCS fix(OCS): Add IRequest::getFormat to determine the response Content-Type the same way everywhere 2025-08-26 09:50:03 +07:00
Preview chore(Preview): Remove avconv support 2025-08-27 20:51:08 +07:00
Profile fix(config): fix tests+psalm 2025-08-08 11:00:49 +07:00
Profiler fix(profiler): Harden profiler writes 2025-10-27 14:35:57 +07:00
Remote chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
Repair fix(lexicon): switch bool value to non-lazy 2025-10-21 12:19:01 +07:00
RichObjectStrings Revert "refactor(RichObjectStrings): Only log error if key or value is not string in validator" 2025-04-09 08:35:56 +07:00
Route fix(route): Change "core.ProfilePage.index" to lowercase 2025-08-20 11:52:36 +07:00
Search feat(unified-search): Use existing min search length config 2025-09-29 10:55:51 +07:00
Security fix(bfp): Trim meta data so it can still be stored 2025-10-27 14:12:29 +07:00
Session feat(core): add cookie_domain config option 2025-06-16 15:33:48 +07:00
Settings chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
Setup refactor(querybuilder): Port away from qb::execute() in lib/ 2025-09-02 11:55:56 +07:00
SetupCheck
Share feat(preset): share link expiration date 2025-08-14 16:07:32 +07:00
Share20 feat(Share\IManager): add `matchUserId` method and update docs 2025-10-13 13:41:56 +07:00
SpeechToText
Support fix: Fix issues and tests in DIContainer and friends 2025-07-08 13:32:14 +07:00
SystemTag feat(SystemTag): Add typed events for tag mapper events 2025-09-04 09:21:13 +07:00
Tagging
Talk
TaskProcessing fix(TaskProcessing): Increase MAX_TASK_AGE to 6 months 2025-10-07 06:22:57 +07:00
Teams chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
Template fix: remove executable flag from source files 2025-09-05 01:20:07 +07:00
TextProcessing
TextToImage
Translation
Updater fix: handle ambiguous IResponse.getBody return types 2025-06-30 11:50:11 +07:00
User fix(IUserManager): Fix deprecation of search method 2025-10-02 09:21:42 +07:00
UserStatus fix(container): Reduce general deprecation spam on all requests 2025-08-09 11:53:30 +07:00
legacy chore: remove `mbstring.func_overload` check from `checkserver()` 2025-08-25 13:19:36 +07:00
AllConfig.php feat(AppConfig): cache app config in local cache if available 2025-08-18 13:24:18 +07:00
AppConfig.php fix(lexicon): send single notice/warning when using unknown config key 2025-09-02 10:51:44 +07:00
AppScriptDependency.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
AppScriptSort.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
BinaryFinder.php
CapabilitiesManager.php
Color.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
Config.php
ContactsManager.php fix(cardav): only show useres from enabled addressBooks in contacts menu 2025-03-17 11:56:34 +07:00
DatabaseException.php
DatabaseSetupException.php
DateTimeFormatter.php
DateTimeZone.php feat(IDateTimeZone): allow to fetch timezone of specified user 2025-08-18 14:26:52 +07:00
EmojiHelper.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
EventSource.php
EventSourceFactory.php
ForbiddenException.php
HintException.php
Image.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
InitialStateService.php fix(container): Reduce general deprecation spam on all requests 2025-08-09 11:53:30 +07:00
Installer.php fix: Log that using an appinfo/install.php file is deprecated 2025-08-18 17:25:07 +07:00
LargeFileHelper.php fix: remove executable flag from source files 2025-09-05 01:20:07 +07:00
Log.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
MemoryInfo.php
NaturalSort.php
NaturalSort_DefaultCollator.php
NavigationManager.php fix(navigation): Fix default app entry registered as closure 2025-04-25 14:47:33 +07:00
NeedsUpdateException.php
NotSquareException.php
PhoneNumberUtil.php
PreviewManager.php fix: disable mp3 preview provider 2025-10-13 17:54:37 +07:00
PreviewNotAvailableException.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +07:00
RedisFactory.php fix(cache): Set default Redis port to `0` for UNIX sockets 2025-09-08 09:12:07 +07:00
Repair.php Merge pull request #55884 from nextcloud/backport/55864/stable32 2025-10-21 17:07:33 +07:00
RepairException.php
Server.php fix: Fix user collaborators returned when searching for mail collaborators 2025-11-12 13:22:25 +07:00
ServerContainer.php feat: Improve init a bit, and add more profiling steps 2025-05-13 16:08:49 +07:00
ServerNotAvailableException.php
ServiceUnavailableException.php
Setup.php chore: Set installShippedApps as non-static in Installer 2025-08-18 16:18:27 +07:00
StreamImage.php
Streamer.php refactor(Streamer): inject `IDateTimeZone` as constructor arg 2025-08-14 17:19:28 +07:00
SubAdmin.php
SystemConfig.php feat: allow admins to configure additional sensitive config values 2025-08-05 19:16:14 +07:00
TagManager.php fix: Dispatch favorite event with an actual path 2025-09-15 14:38:53 +07:00
Tags.php fix: Dispatch favorite event with an actual path 2025-09-15 14:38:53 +07:00
TempManager.php chore: move implementation from OC legacy to OCP\Files 2025-05-14 14:55:45 +07:00
TemplateLayout.php feat(unified-search): Use existing min search length config 2025-09-29 10:55:51 +07:00
URLGenerator.php fix: make core application bootstrapable by coordinator 2025-06-02 15:58:54 +07:00
Updater.php chore: Replace last calls to OC_App::enable by IAppManager 2025-08-18 17:09:39 +07:00