Louis Chemineau
a2f2f7ce93
feat: Use inline password confirmation in external storage settings
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 11:01:54 +07:00
yemkareems
3b6a36fae6
fix: add PasswordConfirmationRequired to saveGlobalCredentials
...
Co-authored-by: yemkareems <yemkareems@gmail.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 10:54:49 +07:00
Ferdinand Thiessen
3e387d427e
fix: Add frontend code for password confirmation
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 16:49:18 +07:00
Daniel Calviño Sánchez
8e5dba2be0
fix: Reset selected backend when adding a new storage
...
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>
2024-09-04 09:46:17 +07:00
Daniel Calviño Sánchez
baaed7f191
fix: Add missing translation for UI string
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +07:00
Daniel Calviño Sánchez
26919835e7
fix: Restore default status tooltip when no status message is provided
...
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>
2024-09-04 09:46:17 +07:00
Daniel Calviño Sánchez
ac1c8c4237
fix: Set status tooltip to error message on failed actions
...
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>
2024-09-04 09:46:17 +07:00
Daniel Calviño Sánchez
9eeb3cf423
fix: Set status tooltip to status message when saving an storage
...
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>
2024-09-04 09:46:17 +07:00
Daniel Calviño Sánchez
d0ba10d6ae
fix: Remove status check when configuration was changed
...
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>
2024-09-04 09:46:17 +07:00
Daniel Calviño Sánchez
05bf5730ad
fix: Recheck userglobal storages when loaded
...
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>
2024-09-04 09:43:28 +07:00
Daniel Calviño Sánchez
4b2619530b
refactor: Store result in its own variable
...
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:43:28 +07:00
Andy Scherzinger
c1555fc33e
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-06 18:05:37 +07:00
Ferdinand Thiessen
278f9799d1
fix(files_external): Remove invalid jQuery Tooltip usage
...
This caused the UI to throw an error causing it to be unusable.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-18 01:23:40 +07:00
Vincent Petry
839ddaa354
feat: rename users to account or person
...
Replace translated text in most locations
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2024-02-13 21:06:30 +07:00
John Molakvoæ
74b4b4ef64
fix(files_external): add back js config files
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-06 10:25:19 +07:00
John Molakvoæ
38480fda3c
feat(files_external): migrate to vue
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-01 16:38:06 +07:00
Vincent Handfield
da83464459
Fix: External storage - exception thrown for the handler whenSelectAuthMechanism
...
Signed-off-by: Vincent Handfield <vincent@accestech.com>
2023-04-17 15:49:25 +07:00
Vincent Petry
bfcb2690a4
Merge pull request #36087 from nextcloud/enh/noid/improve-applicable-ext-storage
...
Improve saving applicable users in ext storage
2023-01-16 15:08:19 +07:00
Vincent Petry
a0f70988f4
Extend ext storage params to contain default value
...
Extend the external storage configuration parameters definition to allow
to specify a default value
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-13 10:27:17 +07:00
Vincent Petry
4f35cd5ebf
Improve saving applicable users in ext storage
...
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>
2023-01-12 10:13:12 +07:00
John Molakvoæ
8f1bf13ae3
Fix preview crop
...
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:45:54 +07:00
Lukáš Tyrychtr
d760cde535
Fix accessibility of buttons in the external storage configuration
...
Note that there is no keyboard only way to close the dropdown
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-03 19:33:12 +07:00
Vincent Petry
8be9b04981
Remove legacy #dir element in files list
...
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>
2022-07-27 10:23:44 +07:00
Vincent Petry
bb2557c389
Replace files app ids to classes
...
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>
2022-07-26 10:19:19 +07:00
szaimen
dcbcb266cc
update the wording of external storage deletion
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-07 17:25:14 +07:00
Louis Chemineau
4763a1263f
Explicitly close div element
...
Fix : #30002
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-04 17:52:44 +07:00
Robin Appelman
7933de00f3
don't recheck config automatically when there are a large number of storages
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-17 16:29:35 +07:00
Robin Appelman
4601f11986
add all storage config rows in one go on load
...
this prevents repeated reflows
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-17 16:29:35 +07:00
Louis Chemineau
9fc6cc9634
Add generic type and description when its missing
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +07:00
Louis Chemineau
d92cbf5149
Typing corrections
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +07:00
Vincent Petry
ea30297552
Add option to disallow creation of local storages
...
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>
2021-12-15 09:15:31 +07:00
Vincent Petry
a7e8da9da8
Add spinner when loading ext storages
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-06 11:52:26 +07:00
szaimen
73f99f3f7d
don't flash external storage mountpoints during the status check
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-11-12 12:56:52 +07:00
MichaIng
3a36984f50
Migrate deprecated toolip methods
...
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>
2021-09-26 22:18:20 +07:00
Joas Schilling
56c8641714
Fix mountsfilelist to do the v1 call
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-31 12:57:59 +07:00
Joas Schilling
243098a96f
Revert OC.linkToOCS() calls back to old behaviour
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-31 12:57:59 +07:00
dependabot[bot]
6e5191b702
Bump @nextcloud/router from 1.2.0 to 2.0.0
...
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>
2021-07-23 15:56:28 +07:00
szaimen
35d978c2fc
Rename External storages to External storage
...
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-05-20 12:13:04 +07:00
Valdnet
a923761acb
l10n: Spelling unification
...
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-04-20 11:33:31 +07:00
Robin Appelman
518e91b008
dont offer to edit external config settings if we can't edit them
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-08 15:06:42 +07:00
Arthur Schiwon
5322d30d51
save group ids not display names in configuration
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-30 14:52:37 +07:00
Daniel Kesselberg
d0f18f4d9a
Add local version of escapeHTML
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-07 23:06:42 +07:00
Roeland Jago Douma
85406bcaa5
Remove encryption option for nextcloud external storage
...
Fixes #16017
Since it never worked we should not show it.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-20 16:28:03 +07:00
John Molakvoæ (skjnldsv)
6fcd075730
Use DOMContentLoaded and fix sharebymail loading issue
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-20 12:42:08 +07:00
Morris Jobke
065ef14cb0
Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in files_external
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-10 00:02:59 +07:00
Robin Appelman
857957b45e
allow setting tooltips for external storage config options
...
allows explaining non-obvious config options a bit more
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-03 15:44:53 +07:00
rakekniven
e1bc815813
l10n: Triple dot to ellipsis
...
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-02-05 06:31:42 +07:00
John Molakvoæ (skjnldsv)
53516032f7
Compile templates
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-21 16:26:05 +07:00
Sascha Wiswedel
f63156976b
fix credentials saving success message notification color
...
was red, now green
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-12-18 15:32:39 +07:00
dependabot-preview[bot]
11b57c062a
Bump handlebars from 4.5.2 to 4.5.3
...
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>
2019-11-25 13:13:57 +07:00