aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Reuse information from ListObjects for stat / filetypeDaniel Kesselberg2018-09-301-0/+5
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Merge pull request #10589 from nextcloud/smb-stat-retryMorris Jobke2018-08-241-1/+8
|\ | | | | retry smb stat on timeout
| * retry stat on timeoutRobin Appelman2018-08-081-1/+8
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | log entries that are hidden during file listingRobin Appelman2018-08-161-11/+25
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #10025 from nextcloud/smb-rename-invalidargument-retryMorris Jobke2018-07-111-3/+17
|\ | | | | also retry rename operation on InvalidArgumentException
| * also retry rename operation on InvalidArgumentExceptionRobin Appelman2018-06-271-3/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Improved logging of smb connection errorsRobin Appelman2018-07-031-0/+8
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add support for using kerberos ticket to authenticate to smb serversRobin Appelman2018-06-224-15/+74
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* update icewind/smb to 3.0.0Robin Appelman2018-06-211-13/+23
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add SFTP auth mechanism to use a password and public key for SFTPRoeland Jago Douma2018-06-072-6/+82
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #8842 from lanxenet/patch-1Morris Jobke2018-05-071-8/+10
|\ | | | | fix(AmazonS3): fix loop $result['Contents'] error
| * fix(AmazonS3): fix loop $result['Contents'] errorenoch2018-03-161-8/+10
| | | | | | Invalid argument supplied for foreach() at /var/www/html/apps/files_external/lib/Lib/Storage/AmazonS3.php#295
* | Use an actual function of the storage to determine needsPartFileRoeland Jago Douma2018-05-011-0/+4
| | | | | | | | | | | | | | We have a function for it so better to override that. Also because other codes that might check this should get the right value. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | move log constants to ILoggerArthur Schiwon2018-04-262-10/+12
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Remove \OCP\Files::tmpFileRoeland Jago Douma2018-03-194-5/+5
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #8857 from nextcloud/swift-verify-cached-tokenMorris Jobke2018-03-191-1/+5
|\ \ | |/ |/| verify cached swift token
| * verify cached swift tokenRobin Appelman2018-03-161-1/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use proper method to log exceptionsMorris Jobke2018-03-121-12/+12
|/ | | | 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-264-6/+67
|\ \ | | | | | | 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-264-6/+63
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Properly set the mount type for external storagesRoeland Jago Douma2018-02-201-2/+2
|/ / | | | | | | 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-1419-38/+0
| |/ |/| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | 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>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-2619-23/+23
| | | | 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>
* | 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-231-9/+36
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* [files_external] OCS endpoint to proper OCSControllerRoeland Jago Douma2018-01-181-90/+0
| | | | 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-0618-4/+28
| | | | 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>