aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Lib/Backend
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-06-0613-269/+39
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: Improve phpdoc typing to silence psalm errorsCôme Chilliet2024-04-023-0/+9
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Apply new coding standard to all filesCôme Chilliet2024-04-024-4/+4
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix: Allow to disable multipart copy on external s3 storageJulius Härtl2024-02-241-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix: replace `Account name` by `Login`John Molakvoæ2024-02-131-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat: rename users to account or personVincent Petry2024-02-132-2/+2
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Correct a typoValdnet2023-11-281-1/+1
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-232-14/+14
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(files_external): on case insensitive system, block case changeBenjamin Gaussorgues2023-10-231-0/+5
| | | | | | | | When a file/directory is renamed to the same name with only case change, the rename fail. We block this kind of rename. The user will have to rename to another name first. Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Allow ext storage Local to go unavailableVincent Petry2023-08-291-0/+6
| | | | | | | | | | | | | Whenever an external storage of type Local points at a non-existing directory, process this as a StorageNotAvailable instead of returning 404. This makes desktop clients ignore the folder instead of deleting it when it becomes unavailable. The code change was limited to external storages to avoid issues during setup and with the default home storage. Signed-off-by: Vincent Petry <pvince81@yahoo.fr>
* 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>