aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/ObjectStore/SwiftFactory.php
Commit message (Collapse)AuthorAgeFilesLines
* fix: make swift connect exception message more informativeRobin Appelman2024-09-091-4/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-26/+2
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Migrate from ILogger to LoggerInterface in lib/privateCôme Chilliet2022-03-241-5/+5
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix getDirectoryContent implementation for Jail wrapperRobin Appelman2020-04-301-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #18883 from adrb/optimize_swift_14116Roeland Jago Douma2020-04-301-4/+25
|\ | | | | Optimize Openstack Swift files download
| * It's a fix for issue #14116,Adrian Brzezinski2020-04-271-4/+25
| | | | | | | | | | | | | | | | | | | | 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 headers for 19Christoph Wurst2020-04-291-0/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix issues with Keystone auth v3 in files_external appJulien Lutran2020-04-151-0/+4
| | | | Signed-off-by: Julien Lutran <julien.lutran@corp.ovh.com>
* Add visibility to all constantsChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use elseif instead of else ifChristoph Wurst2020-04-101-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-3/+3
| | | | | | | | | | | * 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>
* Update SwiftFactory.phpVolker2019-02-131-0/+1
| | | Auth-Service (in explizit v3) will recheck the cached-token and will end in an "token expired exception".
* Fix: Check if `$this->params['user']` is an arrayWilliam Pain2019-02-051-1/+1
| | | | Signed-off-by: William Pain <pain.william@gmail.com>
* Cache tokens when using swift's v2 authenticationRobin Appelman2019-01-131-17/+51
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* generateTokenFromCache is only valid for V3Roeland Jago Douma2018-04-261-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* json_decode an associative array for the swift cached tokenRoeland Jago Douma2018-04-261-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #9280 from nextcloud/bugfix/noid/swift-v3-scopeRoeland Jago Douma2018-04-241-0/+4
|\ | | | | Swift v3 requires setting a scope
| * Swift v3 requires setting a scopeRoeland Jago Douma2018-04-231-0/+4
| | | | | | | | | | | | | | | | | | Unscoped auth is not guaranteed to return a catalog. So require the scope to be set properly. See https://developer.openstack.org/api-ref/identity/v3/index.html#password-authentication-with-unscoped-authorization Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix undefined variable - found by phanMorris Jobke2018-04-231-1/+1
|/ | | | | | Added in https://github.com/nextcloud/server/pull/8314/files#diff-a55c10804586cd797b7f3f16556c1457R157 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8857 from nextcloud/swift-verify-cached-tokenMorris Jobke2018-03-191-6/+19
|\ | | | | verify cached swift token
| * verify cached swift tokenRobin Appelman2018-03-161-6/+19
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix bucket and container usageRoeland Jago Douma2018-03-141-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Properly cache swift v3 tokenRoeland Jago Douma2018-03-121-1/+6
|/ | | | | | | The V3 token has an export function. Without this the token is effectively never cached. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* User proper username + passRoeland Jago Douma2018-02-261-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add support for v3 swift authRobin Appelman2018-02-261-7/+27
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* adjust swift external storage to new openstack sdkRobin Appelman2018-02-191-0/+174
Signed-off-by: Robin Appelman <robin@icewind.nl>