Commit Graph

67 Commits (43589312ccbdf977bb6d89eae3bec28bde2dceff)

Author SHA1 Message Date
Côme Chilliet a78595a45f
Make sure that path is normalized and then checked, 3 years ago
Carl Schwan 67551f379f
Filter out old files when trying to get recent files 3 years ago
Robin Appelman e9ba58ca61
remove leading slash for search results at mountpoint root 3 years ago
Julius Härtl 83b1415906
Only pass parent if paths match 3 years ago
Julius Härtl b2d6435737
Avoid extra query for the parent node if we can pass it along 3 years ago
luz paz 368f83095d Fix typos in lib/private subdirectory 4 years ago
Côme Chilliet 1bd5222224
Fix PHP 8.2 warnings about undeclared properties 4 years ago
Robin Appelman 151c800397
allow reusing known folder info when getting directory contents 4 years ago
Robin Appelman 44a8ebdc1f
optimize getById on LazyUserFolder to not require a full fs setup 4 years ago
Robin Appelman 700444e218
split out some path manipulation logic 4 years ago
Robin Appelman 5c2e7c7d28
fix Folder->getById() when a single storage is mounted multiple times 5 years ago
Robin Appelman 9884344230
dont include folder being search in in the results 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
John Molakvoæ (skjnldsv) 215aef3cbd
Update php licenses 5 years ago
Robin Appelman 0d5f4edc22
adjust tests 5 years ago
Robin Appelman e8221303e9
use search query for Folder::getRecent 5 years ago
Julius Härtl 8398762d78
Fail when creating new files with an empty path 5 years ago
Robin Appelman 8a92229485
getStorage can also return null 5 years ago
Robin Appelman f842608c95
getRelativePath can return null 5 years ago
Robin Appelman bfe3712372
handle ordering in folder search 5 years ago
Robin Appelman feed42dd6d
folder filtering in sql 5 years ago
Robin Appelman de713967c0
cleanup fileinfo creation 5 years ago
Robin Appelman a428f7d1e0
format 5 years ago
Robin Appelman bd229e7548
handle limit and offset in folder file search 5 years ago
Robin Appelman f8bca545df
unify handling of Folder::search methods into "new" query objects 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
Christoph Wurst 2a054e6c04
Update the license headers for Nextcloud 20 5 years ago
Roeland Jago Douma 6ed4c8a946
Improve recent file fetching 5 years ago
Georg Ehrke ee23906c3c
Allow writing empty content to new file 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
Robin Appelman 5ca1929e8c
Create SimpleFile only when writing the content 6 years ago
Christoph Wurst 5bf3d1bb38
Update license headers 6 years ago
Robin Appelman c62637da8b
Allow filtering the search results to the users home storage 6 years ago
Joas Schilling a4ba2113b2
Fix getById for files in appdata and the root mount 6 years ago
Arthur Schiwon 20901c59d4
emit file events via Dispatcher, too 6 years ago
Julius Härtl e43b341b04
Add additional check for read permissions 7 years ago
Julius Härtl 3674f6fa2d
Check the if we can actually access the storage cache for recent files 7 years ago
Roeland Jago Douma 8ca2b31804
Do not keep searching for recent 7 years ago
Julius Härtl 67dd4b018a
Check for free space on touch 7 years ago
Arthur Schiwon 009c2dfbd5
take return of mkdir into account, throw exception on failure 7 years ago
Roeland Jago Douma 62ddb124a1
Filter out versions and trashbin 7 years ago
Roeland Jago Douma cb67c6aa00
Loop for the recent search 7 years ago
Roeland Jago Douma 4c7424d38b
We need to initialize the storage else the jailed path is always null 7 years ago