Commit Graph

120 Commits (master)

Author SHA1 Message Date
Robin Appelman 51a4bc519b fix: make getMountsForFileId work with sharding again 6 days ago
Carl Schwan 33d6f1e984
refactor(CacheMountInfo): Use constructor paramater promotion 1 week ago
Carl Schwan 668ad4faac
perf(UserMountCache): Invert condition so that we avoid some SQL queries 1 week ago
Benjamin Gaussorgues f71f19c0c7
feat: optimize user mount cache 1 week ago
Robin Appelman d71c6796ca
feat: perform share mount validation on share instead of on mount 2 weeks ago
Louis Chmn 7c9c74f4f0 feat(files_sharing): Implement partial mount providers 3 weeks ago
Robin Appelman 53b160ce9b fix: add some extra checks for getMountsForPath arguments 3 weeks ago
Carl Schwan 94dd919b88
perf(UserMountCache): Optimize loop 3 weeks ago
Carl Schwan 7b05c8f797
refactor(files): Rename IMountProviderArgs 3 weeks ago
Robin Appelman 9dffca2f07
fix: improve handling of unavailable storages 4 weeks ago
Robin Appelman e3551e576c
feat: add api for authoritative mount providers to update the user mounts 4 weeks ago
Salvatore Martire 6e9ba894a2 fix: add $forChildren parameter to IPartialMountProvider 1 month ago
provokateurin 341fd348e6
fix(UserMountCache): Add back unique index for oc_mounts and use normal insert 2 months ago
Salvatore Martire d14a032220 feat: implement support for authoritative mount providers 2 months ago
Salvatore Martire 9b519b4679 refactor: simplify code 2 months ago
Salvatore Martire f47a586cdd docs: update comments 2 months ago
Benjamin Gaussorgues 39e2e70084
feat(mounts): optimize load of mounts by filtering on database side 5 months ago
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules 7 months ago
provokateurin ecfa58d3d7
fix(SetupManager): Include home and root providers when registering mounts 9 months ago
provokateurin 6818aa9b12
feat(UserMountCache): Emit events for added, removed and updated mounts 9 months ago
Robin Appelman c3f06b370c
feat: add debug logging for adding/removing items from the user mounts cache 10 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 2 years ago
Robin Appelman 0931492ff0
fix: make usermountcache compatible with sharding 2 years 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 4 years ago
luz paz 368f83095d Fix typos in lib/private subdirectory 4 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