Commit Graph

203 Commits (stable22)

Author SHA1 Message Date
Jonas 3fbd7a6602 Check whether entry is of type ICacheEntry in Cache->remove() 4 years ago
Robin Appelman 0edce619c8 tell mysql to ignore the sort index for search queries 4 years ago
Joas Schilling 4eff6b1c81 Deduplicate storage ids in list before reusing 4 years ago
Robin Appelman 73a8ea2d4e background scan the source storage when a background scan on a storage jail is triggered 4 years ago
Robin Appelman c4fa59c540 properly handle cases where cache wrappers block access 4 years ago
Vincent Petry a721d346b9 Normalize directory entries in Encoding wrapper 4 years ago
Vincent Petry 2b4badf768 Move storage encoding compatibility warning logic 4 years ago
Vincent Petry 787d7956cb Normalize file name before existence check in scanner 4 years ago
Sijmen Schoon 071eda7baa Move query outside the loop and reduce chunk size to 1000 4 years ago
Sijmen Schoon ec3b1ccd91 Limit parameter count per query in Cache.removeChildren 4 years ago
Carl Schwan 7bf4a45f49 Fix permissions when copying from ObjectStorage 4 years ago
Robin Appelman 5f438375a9 more reliable return value for Watcher::checkUpdate 4 years ago
Robin Appelman d4fb676dd7 generate a better optimized query for path prefix search filters 4 years ago
Robin Appelman 9e5440abc3 use getGetUnjailedRoot to determine if jailed search needs the path filter 5 years ago
Robin Appelman 5444db1ebf use case insensitive like when limiting search to jail 5 years ago
Robin Appelman 1534b24e38 dont apply jail search filter is on the root 5 years ago
Robin Appelman 362cb2a11f
inject SearchBuilder 5 years ago
Robin Appelman 66e10718c6
split of query building bits from searchhelper 5 years ago
Robin Appelman f938daa6e4
update tests and fix some edge cases around new search 5 years ago
Robin Appelman 27e50b24aa
some cleanup and documentation 5 years ago
Robin Appelman 5d1d53c42e
perform file search in a single query 5 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 ed2396b045
better cleanup of filecache when deleting an external storage 5 years ago
Morris Jobke 81fef4ddee
Log when a storage is marked as unavailable 5 years ago
John Molakvoæ (skjnldsv) 2074d87d0c
Catch invalid cache source storage path 5 years ago
Robin Appelman 50e374c12f
only require user to be set in a query that handles tags 5 years ago
Robin Appelman d7748e2b4d
verify that cache entry is valid 5 years ago
Robin Appelman c2fc3195dd
also implement for FailedCache and NullCache 5 years ago
Robin Appelman d2bcb57a54
add ICopyFromCache trait to expose existing implementation 5 years ago
Robin Appelman b844293536 catch notfound and forbidden exception in smb::getmetadata 5 years ago
Roeland Jago Douma c3f1eb4f7f Remove Redundantcasts 5 years ago
dependabot-preview[bot] eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0 5 years ago
Robin Appelman 0363af3790
move AbstractCacheEvent into OCP 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 8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0 5 years ago
Robin Appelman 205386b24e
ignore files that have no read permissions during scanning 5 years ago
Christoph Wurst 9ce3ea3368
Update license headers 5 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 5 years ago
Daniel Kesselberg e0e76bb784
Limit getIncomplete query to one row 5 years ago
Robin Appelman aef1cdba03
code style and dispatchTyped 5 years ago
Robin Appelman 88f35d52d2
rename cache event to follow new naming standards 5 years ago
Robin Appelman 23fb497ff5
extend cache events 5 years ago
Joas Schilling cffad62771
Empty string is returned as null, but empty string in file cache is the root and exists 5 years ago
Joas Schilling 8027dcbc6f
Don't leave cursors open when tests fail 5 years ago