aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/Backend
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #36089 from nextcloud/enh/noid/ext-storage-default-valuesVincent Petry2023-01-164-4/+8
|\ | | | | Ext storage configs default value support + enable SSL by default
| * Enable SSL by default in ext storage configsVincent Petry2023-01-134-4/+8
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Support of s3 storage class in External Storage applicationFrançois Ménabé2023-01-121-0/+2
|/ | | | Signed-off-by: François Ménabé <francois.menabe@gmail.com>
* Additional type hinting found by psalmCarl Schwan2022-10-181-1/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* More type safetyCarl Schwan2022-10-171-9/+5
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add corresponding interface to traitCarl Schwan2022-10-171-1/+3
| | | | | | | Since we can't specify that we want a class implementing a trait yet in PHP Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix typos in apps/ subdirectoryluz paz2022-09-051-1/+1
| | | | | | | Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/` Signed-off-by: luz paz <luzpaz@github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Add SCHEME_NULL to list of allowed auth mechanismhowardZa2022-02-071-0/+2
| | | | | | Add Auth::Mechanism::SCHEME_NULL to list of allowed auth mechanism for AmazonS3 backend to allow attaching S3 storage to nextcloud instances running on already authorized instances (e.g. EC2 instances with IAM Instance roles) Signed-off-by: Wolfram Gries <wolfram.gries@zapooflex.net>
* Fix php:csLouis Chemineau2022-01-261-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Fix accessing undefined offsetsCarl Schwan2022-01-211-4/+2
| | | | | | Move this to inside the else clause of the count($matches) Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* update to release smb libRobin Appelman2022-01-201-4/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add changes from Sebastian/dassIT and move default_realm to backendArthur Schiwon2022-01-201-4/+19
| | | | | | | | | - Sebastian added the switch depending on the preg_match result and with it the fall back to login credentials - I turned default_realm to a backend option (was previously suggested as system config key) Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* add KerberosApacheAuth support to files_externalArthur Schiwon2022-01-201-5/+28
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* files_external SMB: throw InvalidArgument when user is not setAnderson Luiz Alves2021-12-031-0/+4
| | | | Signed-off-by: Anderson Luiz Alves <alacn1@gmail.com>
* Fix ArrayAccess and JsonSerializable return typesCôme Chilliet2021-11-231-3/+1
| | | | | | First round of modifications for PHP 8.1 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0413-13/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* l10n: Spelling unificationValdnet2021-05-212-2/+2
| | | | | Spelling unification in Transifex. Signed-off-by: Valdnet 47037905+Valdnet@users.noreply.github.com
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-1/+1
| | | | 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>
* Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in ↵Morris Jobke2020-07-101-1/+1
| | | | | | files_external Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headers for 19Christoph Wurst2020-04-292-0/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* add tooltip to optionRobin Appelman2020-04-221-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add option to check share ACL's when listing directoriesRobin Appelman2020-04-211-0/+3
| | | | | | | | | | | | | | If a file or folder in a directory doesn't have read permissions they will not be shown Note that enabling this option incurs a performance penalty additional requests need to be made to get all the acl. Additionally the acl resolving logic is fairly primitive at the moment and might not work correctly in all setups (it should error to showing the entry) Signed-off-by: Robin Appelman <robin@icewind.nl>
* Fix issues with Keystone auth v3 in files_external appJulien Lutran2020-04-151-2/+1
| | | | Signed-off-by: Julien Lutran <julien.lutran@corp.ovh.com>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-1012-24/+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>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-252-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-0513-13/+38
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-2213-65/+63
| | | | | | | | | | | * 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>
* Make timeout a optional parameterDaniel Kesselberg2019-11-091-0/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update apps/files_external/lib/Lib/Backend/SMB.phpRobin Appelman2019-09-251-1/+1
| | | Co-Authored-By: Daniel Kesselberg <mail@danielkesselberg.de>
* add (hidden) option to configure smb timeoutRobin Appelman2019-09-251-0/+2
| | | | | | | | hidden from ui to prevent clutter ```occ files_external:config <mount> timeout 30``` Signed-off-by: Robin Appelman <robin@icewind.nl>
* add option to show hidden files in SMB sharesRobin Appelman2019-05-231-0/+3
| | | | | | | | | | | Note hidden files can mean different things in smb and the option the the files web ui, the webui only counts files starting with '.' as hidden, while smb files can be marked as hidden regardless, any files that are marked as hidden on smb will thus be shown in the webui regardless of the setting in the files app. Fixes #15644 Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add support for using kerberos ticket to authenticate to smb serversRobin Appelman2018-06-221-6/+22
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add support for v3 swift authRobin Appelman2018-02-261-2/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove unused import statementsMorris Jobke2018-02-1410-24/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove unneeded semicolon and parenthesesMorris Jobke2018-01-2610-11/+11
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* add option to use legacy v2 auth with s3Robin Appelman2017-12-191-0/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersMorris Jobke2017-11-063-1/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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-041-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Handle invalid ext storage backend to keep mount point visibleVincent Petry2017-09-041-0/+57
| | | | | | | | 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-211-53/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bye bye Dropbox v1Vincent Petry2017-08-161-53/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* [files_external] Fix phpdocRoeland Jago Douma2017-08-011-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove unused use statementsMorris Jobke2017-04-221-3/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* change remote cloud naming to NextcloudRobin Appelman2016-08-181-1/+1
|
* Fix apps/Joas Schilling2016-07-2114-14/+28
|