summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Controller
Commit message (Collapse)AuthorAgeFilesLines
* fix(external_storage): fix settings saveskjnldsv13 days1-10/+25
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat: Use inline password confirmation in external storage settingsLouis Chemineau2024-11-285-8/+8
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(external_storage): Cast id to intbackport/49464/stable30Marcel Klehr2024-11-251-2/+2
| | | | | | follow up to #49218 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
* fix(files_external): cast storage id intbackport/49218/stable30skjnldsv2024-11-121-2/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: add PasswordConfirmationRequired to saveGlobalCredentialsbackport/48992/stable30yemkareems2024-10-301-0/+2
| | | | | Co-authored-by: yemkareems <yemkareems@gmail.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: cs fix namespacebackport/48788/stable30yemkareems2024-10-291-1/+1
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: add PasswordConfirmationRequired to the eternal storages mentioned in ↵yemkareems2024-10-293-0/+7
| | | | | | review Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: add PasswordConfirmationRequired to update and delete methodyemkareems2024-10-181-0/+2
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix: add PasswordConfirmationRequired to create user storages endpointyemkareems2024-10-181-0/+2
| | | | Signed-off-by: yemkareems <yemkareems@gmail.com>
* fix(files_external): broken credentials dialogJohn Molakvoæ (skjnldsv)2024-09-131-28/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* refactor(files_external): Replace security annotations with respective ↵provokateurin2024-08-144-24/+16
| | | | | | attributes Signed-off-by: provokateurin <kate@provokateurin.de>
* fix: allows admin to edit global credentialsBenjamin Gaussorgues2024-06-241-3/+9
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* chore: Add SPDX headerAndy Scherzinger2024-06-066-145/+18
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* full uppercase constMaxence Lange2024-02-242-2/+2
| | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* feat: rename users to account or personVincent Petry2024-02-131-1/+1
| | | | | | Replace translated text in most locations Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* refactor: Migrate IgnoreOpenAPI attributes to OpenAPIprovokateurin2024-01-181-2/+2
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-232-6/+5
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* refactor: Rename OpenAPI type aliases to their namespacesjld31032023-11-021-3/+3
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* fix(files_external): basic auth user storage triggerJohn Molakvoæ2023-10-101-0/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Add single status code descriptions for OpenAPIjld31032023-09-271-0/+2
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* admin have no special rights on users' entriesMaxence Lange2023-09-011-1/+1
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* files_external: Fix OpenAPIjld31032023-08-071-1/+3
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.com>
* feat(files_external): migrate to vueJohn Molakvoæ2023-08-015-50/+48
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* Migrate files external to PSR LoggerInterfaceBenjamin Gaussorgues2023-08-014-59/+18
| | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* files_external: Add OpenAPI specjld31032023-07-111-3/+8
| | | | Signed-off-by: jld3103 <jld3103yt@gmail.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>
* 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 option to disallow creation of local storagesVincent Petry2021-12-154-7/+54
| | | | | | | 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>
* move files_external to IBootstrapRobin Appelman2021-06-161-2/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* remove depricated methods from MountConfigRobin Appelman2021-06-161-17/+36
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-046-8/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove unneeded casts that were found by PsalmMorris Jobke2021-01-114-15/+15
| | | | | | 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-084-22/+53
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-164-4/+4
| | | | 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-102-2/+2
| | | | | | files_external Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-105-9/+1
| | | | | | | | | | | | | | | 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 php keywords in lowercaseChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-093-3/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-315-0/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-265-10/+10
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use placeholder values for password fields in external storage webuiRobin Appelman2020-03-124-34/+58
| | | | | | | | | | 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-056-8/+12
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-225-38/+37
| | | | | | | | | | | * 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>
* allow setting user provided global credentials trough credentials popupRobin Appelman2019-09-091-1/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove unused import statementsMorris Jobke2018-02-141-2/+0
| | | | 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>
* [files_external] OCS endpoint to proper OCSControllerRoeland Jago Douma2018-01-181-0/+108
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>