summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use proper method to log exceptionsMorris Jobke2018-03-122-13/+13
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8285 from ↵Roeland Jago Douma2018-02-271-3/+13
|\ | | | | | | | | nextcloud/apps_files-smb-catch-exceptions-on-listing Make SMB module more fault-tolerant
| * Make SMB module more fault-tolerantRoland Tapken2018-02-091-3/+13
| | | | | | | | | | | | | | | | | | Ignore unavailable files when fetching the share's mtime or reading directory listings. This can happen on servers using a distributed file system (DFS) with unavailable destinations, for example when the remote server is offline. Signed-off-by: Roland Tapken <roland@bitarbeiter.net>
* | Merge pull request #8359 from nextcloud/swift-v3Morris Jobke2018-02-265-8/+71
|\ \ | | | | | | Support swift v3 authentication
| * | adjust external storage config format to the one used in primary storageRobin Appelman2018-02-262-5/+9
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | add support for v3 swift authRobin Appelman2018-02-265-8/+67
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Properly set the mount type for external storagesRoeland Jago Douma2018-02-202-3/+3
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | adjust swift external storage to new openstack sdkRobin Appelman2018-02-191-158/+89
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #8158 from nextcloud/s3-minioRoeland Jago Douma2018-02-191-7/+4
|\ \ | | | | | | Use a more widely available method to test s3 settings
| * | Use a more widely available method to test s3 settingsRobin Appelman2018-02-081-7/+4
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Remove unused import statementsMorris Jobke2018-02-1424-45/+0
| |/ |/| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8100 from nextcloud/s3-folder-deleteMorris Jobke2018-02-081-7/+12
|\ \ | |/ |/| Fix deleting folders when using s3 external storage
| * fix invalidating folder cache for s3Robin Appelman2018-01-291-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * adjust s3 bulk delete to new sdk syntaxRobin Appelman2018-01-291-6/+11
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use ::class statement instead of stringMorris Jobke2018-01-292-32/+62
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-2620-24/+24
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8054 from nextcloud/substr-use-indexMorris Jobke2018-01-263-18/+6
|\ | | | | Use index based string access for substr with length of 1
| * Use index based string access for substr with length of 1Morris Jobke2018-01-263-18/+6
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Simplify ternary operator statementsMorris Jobke2018-01-261-3/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #8063 from nextcloud/inline-valueJoas Schilling2018-01-261-2/+1
|\ \ | | | | | | Return value immediately instead of assigning to a one-time variable
| * | Return value immediately instead of assigning to a one-time variableMorris Jobke2018-01-261-2/+1
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Use proper code flow instead of not needed else branchMorris Jobke2018-01-251-1/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Properly log the full exception instead of only the messageMorris Jobke2018-01-233-29/+55
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* [files_external] OCS endpoint to proper OCSControllerRoeland Jago Douma2018-01-181-13/+31
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove deprecated functions for OCP\UtilRoeland Jago Douma2018-01-131-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add option to use legacy v2 auth with s3Robin Appelman2017-12-191-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #7556 from nextcloud/smb-stat-exceptionMorris Jobke2017-12-181-5/+7
|\ | | | | handle exceptions in SMB::stat
| * handle exceptions in SMB::statRobin Appelman2017-12-181-5/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | additional debug logging on smb copy/rename failuresRobin Appelman2017-12-181-0/+2
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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-0632-4/+47
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* OC_OCS_Response is deprecatedRoeland Jago Douma2017-09-211-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix undefined offset warning when using '/' as external storage rootRobin Appelman2017-09-191-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix undefined constantsRobin Appelman2017-09-181-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* disable part files for s3 external storageRobin Appelman2017-09-181-0/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add stat cache for s3 external storageRobin Appelman2017-09-181-7/+56
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* more efficient is_dirRobin Appelman2017-09-181-0/+10
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* more efficient permissions for s3 external storageRobin Appelman2017-09-181-0/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* more efficient write only fopenRobin Appelman2017-09-181-1/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* reuse object read/write/delete logic in s3 implementationsRobin Appelman2017-09-181-35/+14
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* update aws sdk and move it to 3rdpartyRobin Appelman2017-09-181-17/+21
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* show storage as unavailable in the file listRobin Appelman2017-09-041-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* set the exception for failedstorageRobin Appelman2017-09-041-2/+9
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Use the FailedStorage insteadMorris Jobke2017-09-042-31/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Handle invalid ext storage backend to keep mount point visibleVincent Petry2017-09-044-2/+139
| | | | | | | | Keep mount point visible and also ext storage config visible when dealing with configs relating to storage backends or auth mechanisms that were provided by an app that is currently disabled. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move GDrive external storage to a separate repoVincent Petry2017-08-213-791/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bye bye Dropbox v1Vincent Petry2017-08-163-410/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6101 from cbartz/patch-1Lukas Reschke2017-08-151-6/+1
|\ | | | | Missing array assignment in Swift.php
| * Remove tmpFiles Array in Swift.phpChristopher Bartz2017-08-141-6/+1
| | | | | | | | | | | | tmpFiles Array is unnecessary and there has been a reference without an assignment which lead to a bug making swift external storage unuseable.
* | Merge pull request #5872 from nextcloud/swift-filter-dotRobin Appelman2017-08-141-1/+1
|\ \ | |/ |/| Filter magic dot object when swift directory