summaryrefslogtreecommitdiffstats
path: root/lib/public/Files/Storage
Commit message (Collapse)AuthorAgeFilesLines
* Make it clear that file sizes may be float on 32bitsCôme Chilliet2023-04-011-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* feat(s3): Use multipart upload for chunked uploadingJulius Härtl2023-03-091-0/+70
| | | | | | This allows to stream file chunks directly to S3 during upload. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move back typing to phpdoc to keep backward compatibility in OCPCôme Chilliet2023-02-071-1/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Strong type filesize related methods to ease 32bits problem findingsCôme Chilliet2023-02-071-4/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Rename file1 and file2 to source and target in Storage abstractionCarl Schwan2022-10-181-6/+6
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* don't overwrite the etag from storage backends that already provide "good" etagsRobin Appelman2022-04-041-0/+35
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* code checker fixes for instanceOfStorageRobin Appelman2021-12-022-1/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge branch 'master' into imountpoint-ocp-storageJohn Molakvoæ2021-10-226-15/+4
|\
| * Remove some mentions of ownCloud from our api documentationCarl Schwan2021-07-291-1/+1
| | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * Update php licensesJohn Molakvoæ (skjnldsv)2021-06-046-14/+3
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | dont return private storage interface from public mount interfaceRobin Appelman2021-03-231-1/+3
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersChristoph Wurst2020-12-301-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Bump icewind/streams from 0.7.1 to 0.7.2Christoph Wurst2020-12-291-13/+13
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma2020-12-221-19/+19
|\ | | | | Unify links to php.net
| * Unify links to php.netJ0WI2020-09-171-19/+19
| | | | | | | | | | | | 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-221-2/+2
|\ \
| * | storage: update IStorage#file_put_contents docs to match usageTigran Mkrtchyan2020-12-211-2/+2
| | | | | | | | | | | | | | | | | | | | | 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-162-1/+2
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Remove deprecated INotifyStorage::listenMorris Jobke2020-10-281-18/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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 19Christoph Wurst2020-04-292-0/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-0/+1
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-056-7/+16
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-222-1/+2
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add interface to allow storages from opting out of encryptionRobin Appelman2018-11-291-0/+31
| | | | | | As opposed to hard-coding a list of excluded storages Signed-off-by: Robin Appelman <robin@icewind.nl>
* extend storage api to allow directly writing a stream to storageRobin Appelman2018-10-311-0/+40
| | | | | | | | | | | this removes the need for temporary storages with some external storage backends. The new method is added to a separate interface to maintain compatibility with storage backends implementing the storage interface directly (without inheriting common) Currently the interface is implemented for objectstorage based storages and local storage and used by webdav uploads Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersMorris Jobke2017-11-062-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Replace wrong PHPDocsLukas Reschke2017-08-011-4/+4
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add missing PHPDoc and properly throw exceptionMorris Jobke2017-02-131-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add a more powerful notify mechanismRobin Appelman2017-01-271-0/+13
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* minor storage interface tweaksRobin Appelman2017-01-241-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update with robinJoas Schilling2016-07-214-4/+4
|
* Fix othersJoas Schilling2016-07-214-3/+8
|
* fix sinceRobin Appelman2016-07-151-0/+4
|
* add notify support to smb storageRobin Appelman2016-07-141-0/+47
|
* Move \OCP\Files to PSR-4Roeland Jago Douma2016-05-183-0/+570