Commit Graph

100 Commits (2bc77a3c5aff352cdc19aa683bbb36da2ff20b01)

Author SHA1 Message Date
Benjamin Gaussorgues 39e2e70084
feat(mounts): optimize load of mounts by filtering on database side 4 months ago
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules 6 months ago
provokateurin ecfa58d3d7
fix(SetupManager): Include home and root providers when registering mounts 8 months ago
provokateurin 6818aa9b12
feat(UserMountCache): Emit events for added, removed and updated mounts 8 months ago
Robin Appelman c3f06b370c
feat: add debug logging for adding/removing items from the user mounts cache 9 months ago
Git'Fellow a1681b0756 chore(db): Apply query prepared statements 1 year ago
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1 1 year ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 1 year ago
Robin Appelman eb4fb994cf
fix: ensure array returned from getMountsForFileId is continious 1 year ago
Robin Appelman 0931492ff0
fix: make usermountcache compatible with sharding 1 year ago
Andy Scherzinger dae7c159f7
chore: Add SPDX header 2 years ago
Côme Chilliet 47b765552f fix: Remove incorrect default null value 2 years ago
Côme Chilliet ec5133b739 fix: Apply new coding standard to all files 2 years ago
Joas Schilling 951c330d39
Revert "don't perform an explicit setup when using the file cache" 2 years ago
Robin Appelman 4fba4cd14c fix: fix user folder init 2 years ago
Robin Appelman 51019fda7a fix: clearify logic around getMountsForFileId filtering 2 years ago
Robin Appelman e33b32095e Revert "Filter mounts for file id before trying to get user information" 2 years ago
Robin Appelman 9ea3f4ab8f perf: use lazy user in UserMountCache for getting user for cached mount 2 years ago
Robin Appelman e7a7b4a401 perf: switch places that always use the first getById result to getFirstNodeById 2 years ago
Robin Appelman 963721330f only get the path for the users cached mount info when we use it 2 years ago
Robin Appelman b942850af9
optimize UserMountCache::registerStorage 2 years ago
Jonas 7441ce2b11
enh(IMountManager): Add method to get MountPoint from CachedMountInfo 2 years ago
Hamid Dehnavi ea06cf2f39 Convert isset ternary to null coalescing operator 2 years ago
Robin Appelman 5685d68bd3
add more checks to ensure mounts aren't empty 2 years ago
Faraz Samapoor e7cc7653b8 Refactors "strpos" calls in lib/private to improve code readability. 3 years ago
Robin Appelman f5e2b0b22f
allow storing multiple mounts for the same rootid in the mount cache 3 years ago
Joas Schilling 6b0cef6b9a Add transaction around mass mounts operations 3 years ago
Robin Appelman 91d5f6a826 more filesystem setup performance instrumentation 3 years ago
Robin Appelman 10767d7779 fix updating cached mounts that didn't have their mount provider set previously 3 years ago
luz paz 368f83095d Fix typos in lib/private subdirectory 3 years ago
Carl Schwan d5c23dbb9f Move CappedMemoryCache to OCP 4 years ago
Carl Schwan ec6b83cc18 Add stricter psalm type for CappedMemoryCache 4 years ago
Robin Appelman 561a2071e4
only register mounts that are new from providers that are new during a full setup 4 years ago
Joas Schilling 49e62149d8
Make the binary operation order explicit 4 years ago
Robin Appelman 99ac46d8f5
allow getting mounts by providers 4 years ago
Vincent Petry 1bc86a95c4
Make phpcs happy in MountProviderCollection 4 years ago
Robin Appelman 881e107543
Apply suggestions from code review 4 years ago
Robin Appelman 1179873f33
add comment for getMountForPath loop 4 years ago
Robin Appelman 63ad99ba4a
fix method name 4 years ago
Robin Appelman d342c764f2
don't double setup provider when calling `setupForUser` after `setupForPath` 4 years ago
Robin Appelman 506d29c095
update cached mounts when only specific providers have been setup 4 years ago
Robin Appelman 469a684d45
allow getting mounts by provider 4 years ago
Robin Appelman 04052a9594
allow getting cached mounts by path from the mount cache 4 years ago
Côme Chilliet 6be7aa112f
Migrate from ILogger to LoggerInterface in lib/private 4 years ago
Robin Appelman 07a7dcb824
move user mountpoint setup to setupmanager 4 years ago
Robin Appelman 5c0fe93498
move teardown logic to SetupManager 4 years ago
Robin Appelman 7630d7a934
more type hints for ICachedMountInfo and IMountManager 4 years ago
Robin Appelman cfb7923e08
store mountprovider for each mount in the mounts table 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Richard de Boer f23d057ad9 Fix functions taking optional parameters before required ones 5 years ago