Commit Graph

58 Commits (master)

Author SHA1 Message Date
Ferdinand Thiessen 660f3f6fd1
refactor: use logical `&&` `||` instead of weak `and` `or` operators 3 months ago
Robin Appelman 1e72620169 fix: fix unjailedroot of nested jails if there are other wrappers in between 8 months ago
Robin Appelman 0001c22668 test: add test for nested cache jail unjailedroot 8 months ago
Ferdinand Thiessen b48ee2e924
fix: Harden files scanner for invalid null access 11 months 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
Robin Appelman e50c176428 also improe cache ci for shared cache 2 years ago
Robin Appelman 460344336e
optimize cache jail creation 2 years ago
Faraz Samapoor e7cc7653b8 Refactors "strpos" calls in lib/private to improve code readability. 3 years ago
Côme Chilliet ae525e1935
Fix return types in phpdoc 3 years ago
Robin Appelman 5267a74027
fix type hints 3 years ago
Robin Appelman f76b4473ee
escape path prefix when doing cache jail search 3 years ago
Carl Schwan 54031e370a Fix various other small psalm issues 3 years ago
Robin Appelman b6f8b8da60 directly build the search filter for shared storage instead of setting up the source cache 3 years ago
Robin Appelman 9d6c2ce301 optimize search post-processing for jail wrapper 3 years ago
Côme Chilliet 7ae6791737
Document all getIncomplete implementations as returning string|false 3 years ago
Robin Appelman 118c647f61
properly handle cases where cache wrappers block access 4 years ago
Robin Appelman c688703117
use getGetUnjailedRoot to determine if jailed search needs the path filter 4 years ago
Robin Appelman c48f9ffcdd
use case insensitive like when limiting search to jail 4 years ago
Robin Appelman 97aadbe46c
dont apply jail search filter is on the root 4 years ago
Robin Appelman 9774fb1573
use searchoperation for storage filter instead of db expression 5 years ago
Robin Appelman e198dc1b20
rework search api to allow searching on multiple caches at once 5 years ago
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Robin Appelman 7ee528fc5a
properly use limit and offset for search in Jail wrapper 5 years ago
Robin Appelman e511a539b7
adjust tests 5 years ago
Robin Appelman 5ae0be08b4
fix search in nested jails 5 years ago
Robin Appelman 27f9df2e87
fix cachjail searching for root 5 years ago
Robin Appelman a44aab11f7
do cachejail search filtering in sql 5 years ago
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Morris Jobke fedf9c69d9
Use matching parameter names form interfaces and implementations 5 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function 6 years ago
Christoph Wurst 14c996d982
Use elseif instead of else if 6 years ago
Christoph Wurst 1a9330cd69
Update the license headers for Nextcloud 19 6 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere 6 years ago
Christoph Wurst 23eb0462e5
Use lowercase true, false and null constants 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Roeland Jago Douma 0487144b26
Remove deprecated searchByTag 7 years ago
Ari Selseng d16cfb519e Avoid calculating folder size for parent that needs scan. 7 years ago
Roeland Jago Douma 0277cd7158
Properly search the root of a shared external storage 7 years ago
Roeland Jago Douma c1ff12e234
CacheJail should apply limit and offset after searching 8 years ago
Roeland Jago Douma 53a780e31c
Do not try to get the jailed path if we can't find the id 8 years ago
Robin Appelman c87d689253
delay calculating the shared cache root until it's used 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Robin Appelman fa81759917
fix moving folders out of a cache jail 9 years ago
Robin Appelman df2063ee7b
Implement webdav SEARCH 9 years ago
Robin Appelman 2520a4831b
Make sure we use the correct storage id when scanning a jailed storage 9 years ago
Robin Appelman 14cdeafc3e
make source cache injectable in cache wrappers 9 years ago
Robin Appelman 30e7c27d86
reuse the known rootinfo in the shared cache when possible 9 years ago
Thomas Müller f1cd68d713 Adding test case for getPathById including a jailed cache where root is just empty 10 years ago
Thomas Müller d252d79059 getJailedPath expects $path to have a trailing / - fixes #25464 10 years ago