aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/js/settings.js
Commit message (Collapse)AuthorAgeFilesLines
* feat: Use inline password confirmation in external storage settingsLouis Chemineau2024-11-281-1551/+0
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: add PasswordConfirmationRequired to saveGlobalCredentialsfix/add-password-confirmation-to-save-global-credsyemkareems2024-10-301-10/+17
| | | | | Co-authored-by: yemkareems <yemkareems@gmail.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Add frontend code for password confirmationfix/788/add-password-confirmation-required-to-user-storage-createFerdinand Thiessen2024-10-161-1/+21
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Reset selected backend when adding a new storageDaniel Calviño Sánchez2024-09-041-0/+2
| | | | | | | | As a new storage is added by selecting a backend the selected backend needs to be reset. Otherwise it is not possible to add another storage with the same backend. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* fix: Add missing translation for UI stringDaniel Calviño Sánchez2024-09-041-1/+1
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* fix: Restore default status tooltip when no status message is providedDaniel Calviño Sánchez2024-09-041-2/+3
| | | | | | | | | | If the status is updated but no explicit message is provided (for example, if the status check succeeded) the default tooltip (from the template) is now set to prevent a mismatch between the status and the tooltip (for example, if the configuration is fixed after a failed status check). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* fix: Set status tooltip to error message on failed actionsDaniel Calviño Sánchez2024-09-041-6/+9
| | | | | | | | | When saving, updating and rechecking an storage fails (which is different to the soft-fail when the action itself succeeds but the status check does not) further details are provided in the error message of the response, which is now set as the tooltip. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* fix: Set status tooltip to status message when saving an storageDaniel Calviño Sánchez2024-09-041-1/+1
| | | | | | | | | When a storage is saved the status check can fail even if saving the storage succeeds. In those cases further details are provided in the status message of the storage, which is now set as the tooltip, similarly to how it is done when rechecking the storage. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* fix: Remove status check when configuration was changedDaniel Calviño Sánchez2024-09-041-0/+4
| | | | | | | | | | | | | | | Setting a null status was supposed to remove the status check, but nothing was changed in that case. Now the status check is properly removed, and doing that by hiding the element rather than just turning it invisible also prevents that clicking on the invisible status triggers a check, as until the new configuration is saved the check will still be performed with the old configuration, which could be misleading for the user. Additionally, an explicit width is set to the parent of the span element to prevent its width from changing when the span is shown and hidden. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* fix: Recheck userglobal storages when loadedDaniel Calviño Sánchez2024-09-041-0/+7
| | | | | | | Userglobal storages are now automatically recheck when loaded, similarly to how it is done for global storages. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* refactor: Store result in its own variableDaniel Calviño Sánchez2024-09-041-1/+2
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-06-061-8/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* fix(files_external): Remove invalid jQuery Tooltip usageFerdinand Thiessen2024-03-181-3/+0
| | | | | | This caused the UI to throw an error causing it to be unusable. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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>
* Fix: External storage - exception thrown for the handler whenSelectAuthMechanismVincent Handfield2023-04-171-2/+2
| | | | Signed-off-by: Vincent Handfield <vincent@accestech.com>
* Merge pull request #36087 from nextcloud/enh/noid/improve-applicable-ext-storageVincent Petry2023-01-161-24/+72
|\ | | | | Improve saving applicable users in ext storage
| * Improve saving applicable users in ext storageVincent Petry2023-01-121-24/+72
| | | | | | | | | | | | | | Added a checkbox to prevent saving "All users" by mistake and giving access to everyone when not wanted. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Extend ext storage params to contain default valueVincent Petry2023-01-131-0/+8
|/ | | | | | | Extend the external storage configuration parameters definition to allow to specify a default value Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix accessibility of buttons in the external storage configurationLukáš Tyrychtr2022-08-031-0/+2
| | | | | | Note that there is no keyboard only way to close the dropdown Signed-off-by: Christopher Ng <chrng8@gmail.com>
* Replace files app ids to classesVincent Petry2022-07-261-1/+1
| | | | | | | | | | | Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* update the wording of external storage deletionszaimen2022-04-071-2/+2
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Explicitly close div elementLouis Chemineau2022-04-041-1/+1
| | | | | | Fix: #30002 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* don't recheck config automatically when there are a large number of storagesRobin Appelman2022-03-171-2/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add all storage config rows in one go on loadRobin Appelman2022-03-171-8/+22
| | | | | | this prevents repeated reflows Signed-off-by: Robin Appelman <robin@icewind.nl>
* Typing correctionsLouis Chemineau2022-01-111-4/+4
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Add option to disallow creation of local storagesVincent Petry2021-12-151-3/+10
| | | | | | | 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>
* Add spinner when loading ext storagesVincent Petry2021-12-061-0/+12
| | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Migrate deprecated toolip methodsMichaIng2021-09-261-1/+1
| | | | | | | With Bootstrap v4, the tooltip methods "fixTitle" and "destroy" have been removed. Only core/src/Polyfill/tooltip.js keeps them methods valid by translating them. Signed-off-by: MichaIng <micha@dietpi.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* l10n: Spelling unificationValdnet2021-04-201-1/+1
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* save group ids not display names in configurationArthur Schiwon2020-11-301-2/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Add local version of escapeHTMLDaniel Kesselberg2020-10-071-0/+8
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Remove encryption option for nextcloud external storageRoeland Jago Douma2020-08-201-2/+10
| | | | | | | | Fixes #16017 Since it never worked we should not show it. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use DOMContentLoaded and fix sharebymail loading issueJohn Molakvoæ (skjnldsv)2020-07-201-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* 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>
* allow setting tooltips for external storage config optionsRobin Appelman2020-04-031-0/+5
| | | | | | allows explaining non-obvious config options a bit more Signed-off-by: Robin Appelman <robin@icewind.nl>
* l10n: Triple dot to ellipsis rakekniven2020-02-051-1/+1
| | | Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
* Fix JS namespace of files_external appJoas Schilling2018-10-301-27/+27
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Move files_external to compiled handlebarsRoeland Jago Douma2018-10-191-60/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* files_external: Move delete option to 3-dots menuJulius Härtl2018-08-011-4/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add group iconJulius Härtl2018-07-241-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Make it possible to make external storages read onlyRoeland Jago Douma2018-05-011-2/+10
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update settings.jsrakekniven2018-03-101-1/+1
| | | | Added question mark. Reported at Transifex. See https://www.transifex.com/nextcloud/nextcloud/translate/#de/$/120539223?issue=yes
* Merge pull request #8496 from nextcloud/ext-strg-design-fixesMorris Jobke2018-02-271-47/+50
|\ | | | | External storage design fixes and update
| * fixup! Fixed testsJohn Molakvoæ (skjnldsv)2018-02-271-3/+3
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * fixup! Fixed testsJohn Molakvoæ (skjnldsv)2018-02-271-8/+9
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Fixed actions and header missing thJohn Molakvoæ (skjnldsv)2018-02-271-3/+3
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Select in popover fixJohn Molakvoæ (skjnldsv)2018-02-221-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Tooltip fix on status iconJohn Molakvoæ (skjnldsv)2018-02-221-1/+6
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * fixup! Changed config saving feedback designJohn Molakvoæ (skjnldsv)2018-02-221-2/+0
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Changed config saving feedback designJohn Molakvoæ (skjnldsv)2018-02-221-5/+6
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>