Commit Graph

70 Commits (8ef920fdf90bc54d6f17134ebd80a71db2f9d8ea)

Author SHA1 Message Date
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 6 years ago
Robin Appelman d7748e2b4d
verify that cache entry is valid 6 years ago
Robin Appelman d2bcb57a54
add ICopyFromCache trait to expose existing implementation 6 years ago
Robin Appelman a44aab11f7
do cachejail search filtering in sql 6 years ago
Christoph Wurst 8b64e92b92
Bump doctrine/dbal from 2.12.0 to 3.0.0 6 years ago
Christoph Wurst 9ce3ea3368
Update license headers 6 years ago
Christoph Wurst d89a75be0b
Update all license headers for Nextcloud 21 6 years ago
Daniel Kesselberg e0e76bb784
Limit getIncomplete query to one row 6 years ago
Robin Appelman aef1cdba03
code style and dispatchTyped 6 years ago
Robin Appelman 88f35d52d2
rename cache event to follow new naming standards 6 years ago
Robin Appelman 23fb497ff5
extend cache events 6 years ago
Joas Schilling cffad62771
Empty string is returned as null, but empty string in file cache is the root and exists 6 years ago
Joas Schilling 8027dcbc6f
Don't leave cursors open when tests fail 6 years ago
Morris Jobke 99c9423766
Remove @suppress SqlInjectionChecker 6 years ago
Robin Appelman 5af7d921a9
Make Cache::removeChildren non recursive 6 years ago
Christoph Wurst cb057829f7
Update license headers for 19 6 years ago
Christoph Wurst 1584c9ae9c
Add visibility to all methods and position of static keyword 6 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 afbd9c4e6e
Unify function spacing to PSR2 recommendation 6 years ago
Robin Appelman d9184584e0
restart transaction when cache insert fails due to duplicate 6 years ago
Robin Appelman 3fb32f6f3d
reuse known parentId when inserting cache entries in scanner 6 years ago
Roeland Jago Douma 5dba8d318d
Fix search limit to home 7 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 7 years ago
Robin Appelman c62637da8b
Allow filtering the search results to the users home storage 7 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 7 years ago
Robin Appelman 4c97181128
filter out empty filecache extension values 7 years ago
Robin Appelman 066faaec05
fix folder delete 7 years ago
Robin Appelman 43fa746ad9
dont create empty filecache extended rows 7 years ago
Robin Appelman 842da3f183
store filecache extension fields 7 years ago
Robin Appelman d3b6dbc0bc
move more cache logic to querybuilder 7 years ago
Roeland Jago Douma 650927a822
Properly return an int in the getId function of the cache 7 years ago
Roeland Jago Douma 0487144b26
Remove deprecated searchByTag 7 years ago
Robin Appelman 6a30c65a32
remove extra param in cache update call 7 years ago
Ari Selseng d16cfb519e Avoid calculating folder size for parent that needs scan. 8 years ago
Robin Appelman 092f78d7a4
add event for cache update 8 years ago
Robin Appelman 748bcd407b
add event for inserting cache entries 8 years ago
Robin Appelman 5d5cfefd35
return the correct value when trying to get a non existing item from cache by id 8 years ago
Morris Jobke 93c62d78db
Fix UniqueConstraintViolationException while insert into oc_filecache 8 years ago
Morris Jobke a661f043e1
Remove unneeded semicolon and parentheses 9 years ago
Morris Jobke 16a558871c
Use proper code flow instead of not needed else branch 9 years ago
Morris Jobke be4e921306
Use basename() instead of self implementation 9 years ago
Morris Jobke 0eebff152a
Update license headers 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 d4a7cfec7c
rename fun to func 10 years ago
Robin Appelman fee818f493
Add tests for query builder (i)like 10 years ago
Robin Appelman 4b7bc2af0e
Move all children of a folder in a single query 10 years ago