aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/ObjectStore/Swift.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-05-241-22/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-021-2/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Adapt more code to migration to LoggerInterfaceCôme Chilliet2022-03-241-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix Guzzle function callsCôme Chilliet2021-11-231-3/+3
| | | | | | | Since 1.7.0 and 2.0 these functions are turned into static methods. See https://github.com/guzzle/psr7#upgrading-from-function-api Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* set mimetype for objects uploaded to object storagesRobin Appelman2021-04-211-6/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* use in objectstore copyRobin Appelman2020-11-241-3/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18955 from adrb/swift_upload_large_objectsRoeland Jago Douma2020-05-061-4/+14
|\ | | | | Large Object support for OpenStack Swift
| * Large Object support for OpenStack Swift.Adrian Brzezinski2020-04-271-4/+14
| | | | | | | | | | | | | | | | | | Until now, you wouldn't be able to create objects larger that 5GB. It's somewhat related with pull #18883 Signed-off-by: Adrian Brzezinski <adrian.brzezinski@eo.pl>
* | Run the cs fixer for green ciRoeland Jago Douma2020-04-301-6/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | It's a fix for issue #14116,Adrian Brzezinski2020-04-271-14/+23
|/ | | | | | | | | | Improves efficiency when downloading files from Swift storage. Before, files were downloaded and then pushed back to user. That behaevior causes all kinds of performance problems. Now, files are streamed directly to user. Signed-off-by: Adrian Brzezinski <adrian.brzezinski@eo.pl>
* Update license headersChristoph Wurst2019-12-051-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Always use a temp file for swift writesRoeland Jago Douma2019-04-181-8/+3
| | | | | | | | Apparently the if statement doesn't work in all cases (even if I could not reproduce it). So for the time being we will just not directly stream to swift. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use a tmp file for swift writesRoeland Jago Douma2019-03-041-1/+10
| | | | | | Else this leads to a seekable stream error with chunked uploads Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add objectExists to objectstore interfaceRobin Appelman2018-12-121-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add PHPDoc for thrown exceptionMorris Jobke2018-11-191-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* forward object not found error in switch as dav 404Robin Appelman2018-11-191-5/+15
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #8857 from nextcloud/swift-verify-cached-tokenMorris Jobke2018-03-191-6/+5
|\ | | | | verify cached swift token
| * verify cached swift tokenRobin Appelman2018-03-161-6/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix bucket and container usageRoeland Jago Douma2018-03-141-0/+4
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* adjust swift external storage to new openstack sdkRobin Appelman2018-02-191-8/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* adjust swift object storage to new openstack sdkRobin Appelman2018-02-191-212/+30
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Try to silence phanRoeland Jago Douma2018-02-081-0/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* don't swallow exception from touchRobin Appelman2018-02-081-1/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* better error message on catalog errorRobin Appelman2018-02-081-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* actually return stream from swiftRobin Appelman2018-02-071-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Also replace all other occurencesMorris Jobke2017-12-181-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add retry wrapper when reading files from swiftRobin Appelman2017-12-041-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix uninitialized variable $this->paramsWilliam Pain2017-09-111-2/+2
| | | | Signed-off-by: William Pain <pain.william@gmail.com>
* Remove unused use statementsMorris Jobke2017-04-221-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* serialize the token to json instead of using php's serializeRobin Appelman2017-03-281-10/+36
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* cache swift tokens in memcacheRobin Appelman2017-03-281-10/+36
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* better error messages for invalid regions, urltypes and service namesRobin Appelman2017-03-281-4/+63
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* better error messages when swift authentication failsRobin Appelman2017-03-281-1/+17
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* allow using 'bucket' to set the swift containerRobin Appelman2016-11-041-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix othersJoas Schilling2016-07-211-1/+2
|
* Move \OC\Files to PSR-4Roeland Jago Douma2016-04-241-0/+154