aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/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-064-8/+19
| | | | 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(files_external): add back js config filesJohn Molakvoæ2024-01-063-0/+242
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* feat(files_external): migrate to vueJohn Molakvoæ2023-08-017-1253/+0
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.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 preview cropJohn Molakvoæ2023-01-041-1/+1
| | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.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>
* Remove legacy #dir element in files listVincent Petry2022-07-271-1/+1
| | | | | | | | | | Removed legacy "#dir" input element in the DOM. Apps should use OCA.Files.App.currentFileList or OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to retrieve the current directory and changeDirectory() to change it. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Replace files app ids to classesVincent Petry2022-07-263-10/+10
| | | | | | | | | | | 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>
* Add generic type and description when its missingLouis Chemineau2022-01-111-2/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* 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>
* don't flash external storage mountpoints during the status checkszaimen2021-11-121-3/+0
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* 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>
* Fix mountsfilelist to do the v1 callJoas Schilling2021-08-311-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Revert OC.linkToOCS() calls back to old behaviourJoas Schilling2021-08-312-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Bump @nextcloud/router from 1.2.0 to 2.0.0dependabot[bot]2021-07-232-2/+2
| | | | | | | | | | Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0. - [Release notes](https://github.com/nextcloud/nextcloud-router/releases) - [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0) Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Rename External storages to External storageszaimen2021-05-202-2/+2
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* l10n: Spelling unificationValdnet2021-04-201-1/+1
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* dont offer to edit external config settings if we can't edit themRobin Appelman2021-01-081-2/+5
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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-205-5/+5
| | | | 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>
* Compile templatesJohn Molakvoæ (skjnldsv)2020-01-211-14/+24
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix credentials saving success message notification colorSascha Wiswedel2019-12-181-1/+1
| | | | | | was red, now green Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
* Bump handlebars from 4.5.2 to 4.5.3dependabot-preview[bot]2019-11-251-14/+14
| | | | | | | | | | | | Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.2 to 4.5.3. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md) - [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.2...v4.5.3) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>