Commit Graph

62 Commits (ba94de2510b3858f10d60f0230a58b1252346372)

Author SHA1 Message Date
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 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
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
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
Robin Appelman 506d29c095
update cached mounts when only specific providers have been setup 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 cfb7923e08
store mountprovider for each mount in the mounts table 4 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Julius Härtl 1e2cf820c8
Filter mounts for file id before trying to get user information 5 years ago
dependabot-preview[bot] eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Joas Schilling 8027dcbc6f
Don't leave cursors open when tests fail 5 years ago
Morris Jobke 99c9423766
Remove @suppress SqlInjectionChecker 5 years ago
Christoph Wurst 1f7f93a695
Update license headers for Nextcloud 20 (again) 5 years ago
Julius Härtl ac2999a26a
Transfer shares of the transferred root node 5 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Robin Appelman c300516e51
more efficient way to detect added and removed mounts 7 years ago
Robin Appelman 95981810c0
remove double loop for detecting changed mounts 7 years ago
Morris Jobke 19c49c8473
Use the path_hash instead of the path to query the filecache 8 years ago
Morris Jobke d3d045dd5c
Remove unused import statements 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Dariusz Olszewski 07016a1e5b Improve performance of UserMountCache with external storage folders 8 years ago
Robin Appelman 3f0cb13042
Allow getting the filepath when getting cached mounts by fileid 8 years ago
Joas Schilling b29baababd
Oracle does not support PDO::FETCH_KEY_PAIR 9 years ago
Lukas Reschke 3d2600b039
Add Phan plugin to check for SQL injections 9 years ago
Robin Appelman 2e8e6f95b9
show used space in user list 9 years ago
Morris Jobke c54a59d51e
Remove unused use statements 9 years ago
Robin Appelman 6fbe991afb
limit the user when searching for a file by id if we know the user already 9 years ago
Robin Appelman 6f46a8bd5b
also compare storage ids when checking for changed mounts 9 years ago
Robin Appelman ce2f9493a7
filter out oc_mounts results from non existing users 9 years ago
Robin Appelman 0d842e0550
optimize Folder::getById to use less queries 9 years ago
Vincent Petry 669b0bc2ae
Prevent error with orphaned shares when updating user mount cache 9 years ago