Commit Graph

76 Commits (39bb9c06d165af8b39ba2c3cdcd8d4f9727e6afd)

Author SHA1 Message Date
Arthur Schiwon 38a90130ce
move log constants to ILogger 8 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
Morris Jobke eb51f06a3b
Use ::class statement instead of string 8 years ago
Morris Jobke a661f043e1
Remove unneeded semicolon and parentheses 8 years ago
Morris Jobke 16a558871c
Use proper code flow instead of not needed else branch 8 years ago
Morris Jobke 4dbee99b7b
Remove useless return statements 8 years ago
Morris Jobke 2a38605545
Properly log the full exception instead of only the message 8 years ago
Robin Appelman 326d55db81
Support arbitrary number of arguments for d:or and d:and in search queries 8 years ago
Roeland Jago Douma 8a41d05761
Remove deprecated \OCP\Config 8 years ago
Robin Appelman c87d689253
delay calculating the shared cache root until it's used 8 years ago
Morris Jobke be4e921306
Use basename() instead of self implementation 8 years ago
Morris Jobke 0eebff152a
Update license headers 8 years ago
Robin Appelman 804d97d6ff
unlock file when an exception occurs during scanning 8 years ago
Morris Jobke c27498db71 Use IConfig instead of static OCP\Config 9 years ago
Robin Appelman 06a4d6b5b9 Also repair storage id's when repairing invalid entries 9 years ago
Lukas Reschke 3d2600b039
Add Phan plugin to check for SQL injections 9 years ago
Artem Kochnev 5abeb9519e Fix for mb strlen 9 years ago
Robin Appelman dfe662ad42
Fix propagating changes within jail wrapper 9 years ago
Robin Appelman fa81759917
fix moving folders out of a cache jail 9 years ago
Robin Appelman 1f1e1b0d00
use unmasked permissions during scanning 9 years ago
Morris Jobke c54a59d51e
Remove unused use statements 9 years ago
Robin Appelman bb7e236e74
Allow searching file by fileid 9 years ago
Robin Appelman d4a7cfec7c
rename fun to func 9 years ago
Robin Appelman fee818f493
Add tests for query builder (i)like 9 years ago
Robin Appelman 4b7bc2af0e
Move all children of a folder in a single query 9 years ago
Robin Appelman 2d02a4735c
Fix search ordering 9 years ago
Vincent Petry 89c42a76c3
Remove SharedCache::getNumericStorageId to let CacheWrapper do it 9 years ago
Xuanwo 210f4106c4 [OC/Files/Cache]: Fix wrong usage of basename 9 years ago
Robin Appelman 6d0c756ff9
dont allow empty wildcard search 9 years ago
Robin Appelman e61606a767
Allow searching for favorites 9 years ago
Robin Appelman df2063ee7b
Implement webdav SEARCH 9 years ago
Robin Appelman 706131b394
add icewind/searchdav 9 years ago
Frédéric Fortier 55a37c1db9 Refactor files' CacheEntry object creation to call cacheEntryFromData() all the time thus allowing proper casts to be done 9 years ago
Frédéric Fortier cc511ac7b8 Typecast filecache 'storage' as int to return it as documented, fixes #3461 9 years ago
Robin Appelman f27113a6ee
also apply permissions mask in getMetaData 9 years ago
Robin Appelman 2520a4831b
Make sure we use the correct storage id when scanning a jailed storage 9 years ago
Robin Appelman 14a561ddad
always use numeric storage id in cacheentry 9 years ago
Robin Appelman 86473306f3
fix cacheentry return wrong storage id 9 years ago
Joas Schilling 558f169671
Move the validation into one place only 9 years ago
Joas Schilling 4652d203e3
Make sure we don't scan files that can not be accessed 9 years ago
Robin Appelman 2f03fcab4a
let the share backend get the node cacheentry to save queries 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
Robin Appelman 7be62d083e
explicitly cast mtime to int 9 years ago
Robin Appelman e8e950a4d2
more efficient querying of numeric storage ids 9 years ago
Jörn Friedrich Dreyer d5518735c9
always return numeric storage id as int, also check type equality in test asserts 10 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
Joas Schilling 0215b004da
Update with robin 10 years ago