nextcloud-server/lib/private
Robin Appelman f5e2b0b22f
allow storing multiple mounts for the same rootid in the mount cache
currently `[$userId, $rootId]` is used as the unique key for storing mounts in the mount cache,
however there are cases where the same rootid is mounted in multiple places for a user which currently leads to not all of those mounts being added to the cache.

Previously this didn't matter as the mount cache was only used to list users with access to a specific file, so a user having access to the file multiple times didn' change anything.

With 24 the mount cache is used for more cases and multiple mounts for the same id becomes relevant.
While I think there isn't a real negative effect atm besides missing the optimized path we should ensure that the mounts are properly listed

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-04-28 15:08:08 +07:00
..
Accounts composer run cs:fix 2023-01-20 11:45:08 +07:00
Activity composer run cs:fix 2023-01-20 11:45:08 +07:00
App Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
AppFramework feat(security): Add PHP \Attribute for remaining security annotations 2023-04-25 14:50:32 +07:00
Archive Strong type filesize related methods to ease 32bits problem findings 2023-02-07 11:23:28 +07:00
Authentication Merge branch 'master' into enh/type-iconfig-getter-calls 2023-04-20 16:52:38 +07:00
Avatar another approach to fixing the avatar generation 2023-03-29 12:42:58 +07:00
BackgroundJob JobList: add debug log when hasReservedJob query fails 2023-04-24 17:16:32 +07:00
Broadcast/Events composer run cs:fix 2023-01-20 11:45:08 +07:00
Cache Revert "fix(performance): Do not set up filesystem on every call" 2023-02-21 07:36:43 +07:00
Calendar composer run cs:fix 2023-01-20 11:45:08 +07:00
Collaboration Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
Command Fix many tests and warnings 2022-08-08 17:03:51 +07:00
Comments Split the comments ids by chunks 2023-03-01 13:08:17 +07:00
Console fix: change maintenance mode info wording 2023-04-26 11:58:37 +07:00
Contacts/ContactsMenu fix the contacts-menu vcf-contact avatars 2023-02-15 23:16:43 +07:00
DB Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
Dashboard composer run cs:fix 2023-01-20 11:45:08 +07:00
Diagnostics composer run cs:fix 2023-01-20 11:45:08 +07:00
DirectEditing feat(directediting): Allow opening by file id 2023-02-20 12:16:34 +07:00
Encryption Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
EventDispatcher fix(events): Log deprecated events as debug, not info 2023-04-19 11:56:10 +07:00
Federation composer run cs:fix 2023-01-20 11:45:08 +07:00
Files allow storing multiple mounts for the same rootid in the mount cache 2023-04-28 15:08:08 +07:00
FullTextSearch composer run cs:fix 2023-01-20 11:45:08 +07:00
GlobalScale Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
Group dispatch new BeforeGroupChangedEvent before setDisplayName on groups 2023-02-21 10:42:38 +07:00
Hooks composer run cs:fix 2023-01-20 11:45:08 +07:00
Http Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
IntegrityCheck Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
KnownUser Add type hints for mappers 2023-04-07 09:49:42 +07:00
L10N Adapt tests to config value typing 2023-04-05 17:42:14 +07:00
LDAP
Lock composer run cs:fix 2023-01-20 11:45:08 +07:00
Lockdown Respect OCP interface in private classes 2023-02-07 11:23:35 +07:00
Log Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
Mail Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
Memcache Fix RedisCluster 2023-03-22 17:19:07 +07:00
Metadata Add type hints for mappers 2023-04-07 09:49:42 +07:00
Migration composer run cs:fix 2023-01-20 11:45:08 +07:00
Net Add remote host validation API 2022-10-31 16:13:28 +07:00
Notification composer run cs:fix 2023-01-20 11:45:08 +07:00
OCS composer run cs:fix 2023-01-20 11:45:08 +07:00
Preview Merge branch 'master' into enh/type-iconfig-getter-calls 2023-04-20 16:52:38 +07:00
Profile To be consistent with the list of users 2023-04-18 15:47:26 +07:00
Profiler Fix TypeError in Profiler 2023-04-20 10:43:00 +07:00
Remote
Repair Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
RichObjectStrings composer run cs:fix 2023-01-20 11:45:08 +07:00
Route DI for Router 2023-02-13 22:51:14 +07:00
Search composer run cs:fix 2023-01-20 11:45:08 +07:00
Security Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
Session Don't call session_start() when PHP session is still or already open. 2023-04-17 16:23:02 +07:00
Settings Add type hints for mappers 2023-04-07 09:49:42 +07:00
Setup postgresql - add quotes around user names 2023-03-08 01:03:27 +07:00
Share Fix the typo in comments 2023-03-15 23:03:24 +07:00
Share20 Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
SpeechToText fix(SpeechToText): Prevent parallel runs of TranscriptionJob 2023-04-23 12:36:12 +07:00
Support Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
SystemTag Add chunking in SystemTagObjectMapper::getTagIdsForObjects 2023-03-13 17:36:10 +07:00
Tagging Add type hints for mappers 2023-04-07 09:49:42 +07:00
Talk Add Talk converstation delete API 2022-10-31 11:44:39 +07:00
Template fix(OC/Template): Allow `.mjs` files within custom app paths 2023-02-22 21:19:37 +07:00
Translation feat(translations): Add translation provider API 2023-02-27 16:52:03 +07:00
Updater Merge branch 'master' into enh/type-iconfig-getter-calls 2023-04-20 16:52:38 +07:00
User Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
UserStatus composer run cs:fix 2023-01-20 11:45:08 +07:00
legacy Add missing taint analysis docblock comments, and improve escaping in some methods 2023-04-24 17:17:53 +07:00
AllConfig.php fix mistake in db query to delete a user config value 2022-07-27 16:45:10 +07:00
AppConfig.php fix(security): Mark recording_servers key appconfig as private as it contains a secret 2023-03-22 09:14:37 +07:00
AppScriptDependency.php
AppScriptSort.php
BinaryFinder.php Move findBinaryFinder and isFunctionEnabled away from OC_Helper 2022-08-23 19:44:04 +07:00
CapabilitiesManager.php composer run cs:fix 2023-01-20 11:45:08 +07:00
Color.php
Config.php add a check for disk_free_space in Config.php 2023-03-07 09:43:14 +07:00
ContactsManager.php composer run cs:fix 2023-01-20 11:45:08 +07:00
DatabaseException.php
DatabaseSetupException.php
DateTimeFormatter.php
DateTimeZone.php
EmojiHelper.php
ForbiddenException.php
HintException.php Fix typos in lib/private subdirectory 2022-07-27 08:52:17 +07:00
InitialStateService.php fix(initial-state): Log an error when initial-state can not be JSON encoded 2023-04-04 10:54:12 +07:00
Installer.php set defaultEnabled in shipped.json 2022-09-15 08:15:33 +07:00
LargeFileHelper.php Fix quota typing for 32bits after forward port from 25 2023-04-01 14:20:25 +07:00
Log.php composer run cs:fix 2023-01-20 11:45:08 +07:00
MemoryInfo.php Add helper to cast to int|float, fix MemoryInfo on 32bits 2023-02-07 11:23:29 +07:00
NaturalSort.php
NaturalSort_DefaultCollator.php
NavigationManager.php Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
NeedsUpdateException.php
NotSquareException.php
PreviewManager.php Adapt tests to config value typing 2023-04-05 17:42:14 +07:00
PreviewNotAvailableException.php
RedisFactory.php
Repair.php composer run cs:fix 2023-01-20 11:45:08 +07:00
RepairException.php
Search.php
Server.php Merge branch 'master' into enh/type-iconfig-getter-calls 2023-04-20 16:52:38 +07:00
ServerContainer.php Move to str_starts_with 2022-12-07 22:32:06 +07:00
ServerNotAvailableException.php
ServiceUnavailableException.php
Setup.php Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
StreamImage.php Allow empty mimeType 2022-12-04 14:51:33 +07:00
Streamer.php Type sizes as int|float throughout the code base 2023-02-07 11:23:31 +07:00
SubAdmin.php composer run cs:fix 2023-01-20 11:45:08 +07:00
SystemConfig.php composer run cs:fix 2023-01-20 11:45:08 +07:00
TagManager.php Cleanup tags and Share component 2022-09-29 15:15:28 +07:00
Tags.php Cleanup tags and Share component 2022-09-29 15:15:28 +07:00
TempManager.php
TemplateLayout.php Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
URLGenerator.php Use typed version of IConfig::getSystemValue as much as possible 2023-04-05 12:50:08 +07:00
Updater.php Merge branch 'master' into enh/type-iconfig-getter-calls 2023-04-20 16:52:38 +07:00