summaryrefslogtreecommitdiffstats
path: root/lib/public/Files
Commit message (Collapse)AuthorAgeFilesLines
* code checker fixes for instanceOfStorageRobin Appelman2021-12-023-2/+7
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* teach psalm about `Storage::instanceOfStorage`Robin Appelman2021-12-021-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge branch 'master' into imountpoint-ocp-storageJohn Molakvoæ2021-10-22100-280/+135
|\
| * Add already used optional sizeDifference parameter to IPropagatorJulius Härtl2021-10-141-1/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Merge pull request #28608 from nextcloud/path-prefix-filterVincent Petry2021-10-072-0/+20
| |\ | | | | | | generate a better optimized query for path prefix search filters
| | * generate a better optimized query for path prefix search filtersRobin Appelman2021-08-262-0/+20
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Fix typo on the DocBlock of the copy methodAsier Iturralde Sarasola2021-08-271-1/+1
| |/ | | | | | | Signed-off-by: Asier Iturralde Sarasola <asier.iturralde@gmail.com>
| * Merge pull request #28476 from nextcloud/search-jail-insensitiveVincent Petry2021-08-241-0/+1
| |\ | | | | | | use case insensitive like when limiting search to jail
| | * use case insensitive like when limiting search to jailRobin Appelman2021-08-171-0/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | Remove some mentions of ownCloud from our api documentationCarl Schwan2021-07-292-4/+4
| |/ | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Migrate HintException to OCPGary Kim2021-06-301-1/+1
| | | | | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
| * use searchoperation for storage filter instead of db expressionRobin Appelman2021-06-141-6/+4
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * rework search api to allow searching on multiple caches at onceRobin Appelman2021-06-141-0/+29
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Update php licensesJohn Molakvoæ (skjnldsv)2021-06-04100-268/+73
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Rename External storages to External storageszaimen2021-05-202-2/+2
| | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
| * set mimetype for objects uploaded to object storagesRobin Appelman2021-04-211-1/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * getStorage can also return nullRobin Appelman2021-03-241-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * getRelativePath can return nullRobin Appelman2021-03-241-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | dont return private storage interface from public mount interfaceRobin Appelman2021-03-232-2/+4
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* handle ordering in folder searchRobin Appelman2021-03-191-0/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* only require user to be set in a query that handles tagsRobin Appelman2021-03-181-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add ICopyFromCache trait to expose existing implementationRobin Appelman2021-03-121-0/+11
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* catch notfound and forbidden exception in smb::getmetadataRobin Appelman2021-03-041-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* move AbstractCacheEvent into OCPRobin Appelman2021-02-154-6/+95
| | | | | | otherwise we have concrete cache events in OCP extending non OCP classes Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make whole Template class finalJulius Härtl2021-01-281-10/+16
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move TemplateProvider registration to boot context and make template type ↵Julius Härtl2021-01-282-8/+7
| | | | | | registration lazy Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Skip template picker if none availableJohn Molakvoæ (skjnldsv)2021-01-282-3/+20
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add templatedirectory config value to let admins have their custom templates ↵Julius Härtl2021-01-282-2/+18
| | | | | | by default Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add ratio to template creatorsJulius Härtl2021-01-281-1/+29
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add template pickerJohn Molakvoæ (skjnldsv)2021-01-281-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* files: Create files from template APIJulius Härtl2021-01-285-0/+350
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update license headersChristoph Wurst2020-12-303-1/+7
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump icewind/streams from 0.7.1 to 0.7.2Christoph Wurst2020-12-293-28/+28
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma2020-12-222-38/+38
|\ | | | | Unify links to php.net
| * Unify links to php.netJ0WI2020-09-172-38/+38
| | | | | | | | | | | | Update all links to https://www.php.net/ Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Merge pull request #24594 from kofemann/dcacheJulius Härtl2020-12-222-4/+4
|\ \
| * | storage: update IStorage#file_put_contents docs to match usageTigran Mkrtchyan2020-12-212-4/+4
| | | | | | | | | | | | | | | | | | | | | The current phpdoc of IStorage#file_put_contents doesnt corresponds to it's actual usage in code, e.g. Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
* | | Update all license headers for Nextcloud 21Christoph Wurst2020-12-168-7/+17
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | code style and dispatchTypedRobin Appelman2020-12-022-2/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | rename cache event to follow new naming standardsRobin Appelman2020-11-265-7/+75
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | extend cache eventsRobin Appelman2020-11-262-0/+40
| | | | | | | | | | | | | | | | - adds cache remove event - expose storage id in event - emit events during cache move Signed-off-by: Robin Appelman <robin@icewind.nl>
* | use in objectstore copyRobin Appelman2020-11-241-0/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Remove deprecated INotifyStorage::listenMorris Jobke2020-10-281-18/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | The file cache entry is array accessibleChristoph Wurst2020-10-131-1/+7
|/ | | | | | … so let's make this part of our API. We use it as array already. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Annotate that writeStream can throw a GenericFileExceptionJulius Härtl2020-09-101-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-071-0/+1
| | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Transfer shares of the transferred root nodeJulius Härtl2020-08-311-0/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #22432 from nextcloud/enh/phpdocRoeland Jago Douma2020-08-2618-18/+0
|\ | | | | Add php docs build script
| * Remove @package annotations from public namespaceJulius Härtl2020-08-2617-17/+0
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Remove wrongly annotated package namesJulius Härtl2020-08-261-1/+0
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>