Commit Graph

79 Commits (stable21)

Author SHA1 Message Date
Côme Chilliet 88e1d6bbb7 Make sure that path is normalized and then checked, 3 years ago
Robin Appelman f6024a895c
also use case sensitive like when searching in a folder 4 years ago
Robin Appelman 4c954e7dd1 fix Folder->getById() when a single storage is mounted multiple times 5 years ago
Julius Härtl e2fffcda44 Fail when creating new files with an empty path 5 years ago
Robin Appelman d4381c0eac handle ordering in folder search 5 years ago
Robin Appelman 8551ee079d folder filtering in sql 5 years ago
Robin Appelman 277c0039f6 cleanup fileinfo creation 5 years ago
Robin Appelman c8679885f6 format 5 years ago
Robin Appelman 423e1581e0 handle limit and offset in folder file search 5 years ago
Robin Appelman d2245734d4 unify handling of Folder::search methods into "new" query objects 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 6 years ago
Roeland Jago Douma 6ed4c8a946
Improve recent file fetching 6 years ago
Georg Ehrke ee23906c3c
Allow writing empty content to new file 6 years ago
Roeland Jago Douma 6aa6ab3e02
Add lazy events for the Node API 6 years ago
Robin Appelman f7153a3d0c
generalize the "lazy folder" concept 6 years ago
Christoph Wurst cb057829f7
Update license headers for 19 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
Julius Härtl 56aa8fd035
Properly hint exceptions thrown by getUserFolder 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
Julius Härtl 9eb1554fad
Properly anotate LockedException in files node api 6 years ago
Arthur Schiwon fc16b09a2c
Files first to use own GenericEvent 6 years ago
Roeland Jago Douma 68748d4f85
Some php-cs fixes 6 years ago
Robin Appelman 136c4ef925
dont expose metadata etag for now 6 years ago
Robin Appelman 1b6e647b63
expose filecache extension data in FileInfo 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 7 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
Robin Appelman 3ca1e90044
allow renaming the root of a movable mount even if the parent folder is readonly 7 years ago
Robin Appelman 8fc47c6f00
add option to get raw size (without submounts) from fileinfo 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
Robin Appelman 9d9f6903c9
Fix folder path containing leading slash when getting mount root by id 7 years ago
Christoph Wurst 1b85ef4bf2
Fix string doc type casing 7 years ago
Robin Appelman e5c3e4b76f
Add getExtension() to FileInfo 7 years ago
Robin Appelman 922c851494
fix double slash in search result path when the result is in a submount 8 years ago
Julius Härtl 73cf71a20f
Add resource type phpDoc for putContent methods 8 years ago
Roeland Jago Douma 235e3480e6
Actually return the root folder when traversing up the tree 8 years ago
Roeland Jago Douma 53447ae2b2
Throw an exception if file_put_contents fails 8 years ago