Commit Graph

95 Commits (ae5f796d0c267136fa99424bf6f00766ca8063ff)

Author SHA1 Message Date
Git'Fellow fcc63b9603
refactor(dbal): move to modern calls 1 month ago
Ferdinand Thiessen e0ba4d71b6
chore: add missing `Override` attribute to `OC` 4 months ago
Robin Appelman ac9da6eaa0
perf: only load possible results in UserMountCache::getMountForPath 4 months ago
Robin Appelman 41e6124dcc
perf: only load a single mount at a time when checking for share conflicts 4 months ago
Robin Appelman aedc57afe7
fix: add optional user param to IUserMountCache::removeMount 4 months ago
Robin Appelman 4679c6d9a1
perf: remove needless check for changed storage id for mounts 4 months ago
Robin Appelman 0da86facc5
fix: clear in-memory cached mounts for user when adding/removing mounts 4 months ago
Robin Appelman 8030a14382
fix: use proper index when deleting mounts 4 months ago
ailkiv e958fa0113 fix: PostgreSQL transaction aborts when caching user mounts 6 months ago
Robin Appelman 9884dec646
fix: fix updating cached mounts with multiple entries for root id 6 months ago
Carl Schwan 7b6078875b
refactor: Run rector on lib/private 7 months ago
Robin Appelman 51a4bc519b fix: make getMountsForFileId work with sharding again 7 months ago
Carl Schwan 668ad4faac
perf(UserMountCache): Invert condition so that we avoid some SQL queries 7 months ago
Benjamin Gaussorgues f71f19c0c7
feat: optimize user mount cache 7 months ago
Robin Appelman d71c6796ca
feat: perform share mount validation on share instead of on mount 7 months ago
Carl Schwan 94dd919b88
perf(UserMountCache): Optimize loop 7 months ago
Robin Appelman 9dffca2f07
fix: improve handling of unavailable storages 7 months ago
Robin Appelman e3551e576c
feat: add api for authoritative mount providers to update the user mounts 7 months ago
provokateurin 341fd348e6
fix(UserMountCache): Add back unique index for oc_mounts and use normal insert 8 months ago
Benjamin Gaussorgues 39e2e70084
feat(mounts): optimize load of mounts by filtering on database side 1 year ago
Ferdinand Thiessen 5981b7eb51
chore: apply new CSFixer rules 1 year ago
provokateurin 6818aa9b12
feat(UserMountCache): Emit events for added, removed and updated mounts 1 year ago
Robin Appelman c3f06b370c
feat: add debug logging for adding/removing items from the user mounts cache 1 year ago
Git'Fellow a1681b0756 chore(db): Apply query prepared statements 2 years ago
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1 2 years ago
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3 2 years 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 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 963721330f only get the path for the users cached mount info when we use it 3 years ago
Robin Appelman b942850af9
optimize UserMountCache::registerStorage 3 years ago
Jonas 7441ce2b11
enh(IMountManager): Add method to get MountPoint from CachedMountInfo 3 years ago
Hamid Dehnavi ea06cf2f39 Convert isset ternary to null coalescing operator 3 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 4 years ago
Robin Appelman 91d5f6a826 more filesystem setup performance instrumentation 4 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
Joas Schilling 49e62149d8
Make the binary operation order explicit 4 years ago
Robin Appelman 1179873f33
add comment for getMountForPath loop 4 years ago
Robin Appelman 63ad99ba4a
fix method name 4 years ago