aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Controller/StoragesController.php
Commit message (Collapse)AuthorAgeFilesLines
* feat: Use inline password confirmation in external storage settingsLouis Chemineau2024-11-281-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files_external): cast storage id intfix/external-storage-intskjnldsv2024-11-121-2/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: add PasswordConfirmationRequired to the eternal storages mentioned in ↵yemkareems2024-10-181-0/+2
| | | | | | review Signed-off-by: yemkareems <yemkareems@gmail.com>
* chore(apps): Apply new rector configuration to autouse classesCôme Chilliet2024-10-151-1/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* chore(deps): Update nextcloud/coding-standard to v1.3.1provokateurin2024-09-191-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* refactor: Use the elvis operatorChristoph Wurst2024-09-151-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* chore: Add SPDX headerAndy Scherzinger2024-06-061-25/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* full uppercase constMaxence Lange2024-02-241-1/+1
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+0
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* feat(files_external): migrate to vueJohn Molakvoæ2023-08-011-25/+2
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Migrate files external to PSR LoggerInterfaceBenjamin Gaussorgues2023-08-011-50/+9
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Force cast getCode to intCarl Schwan2022-10-161-2/+2
| | | | | | Otherwise psalm complains that the type can also be a non-falsy-string Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add option to disallow creation of local storagesVincent Petry2021-12-151-1/+19
| | | | | | | Introduce a new config option to prevent web UI admins to create or edit external storages of type "local". Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove unneeded casts that were found by PsalmMorris Jobke2021-01-111-10/+10
| | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* dont offer to edit external config settings if we can't edit themRobin Appelman2021-01-081-2/+22
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+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>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use placeholder values for password fields in external storage webuiRobin Appelman2020-03-121-27/+51
| | | | | | | | | | This prevents the password from being sent to the webui. While an admin will always be able to retrieve the passwords (as they can do arbitrairy code execution by design) this prevents casual password snooping Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update license headersChristoph Wurst2019-12-051-1/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-13/+12
| | | | | | | | | | | * 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>
* Fix translationsJoas Schilling2017-04-181-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow using '/' as external storage rootRobin Appelman2017-03-231-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-211-2/+4
|
* Fix conversion issuesJuan Pablo Villafáñez2016-06-201-0/+2
| | | | Change to phpdoc type for automatic conversion
* Change the default value to true instead of nullJuan Pablo Villafáñez2016-06-081-2/+2
|
* Rename variableJuan Pablo Villafáñez2016-06-071-4/+4
|
* Add support to know where the storage test comes fromJuan Pablo Villafáñez2016-06-071-4/+5
|
* Update license headersLukas Reschke2016-05-261-0/+1
|
* Move remaining classes to PSR-4Joas Schilling2016-05-241-2/+2
|
* Move stuff from outside lib/ to PSR-4Joas Schilling2016-05-241-0/+338