Commit Graph

51 Commits

Author SHA1 Message Date
Kent Delante
2d2139ab94 fix(external_storage): hide local storage as an option for users
Signed-off-by: Kent Delante <kent.delante@proton.me>
2026-02-16 20:53:30 +08:00
Ferdinand Thiessen
7ef66a6199 fix(files_external): use root id property instead of internal attributes
Root attributes must not be accessed by the internal `attributes`.
Trying to do so will return `undefined`, so instead use the root `id`
property of nodes.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-12 11:49:41 +01:00
Ferdinand Thiessen
a023b5b2d5 refactor(files_external): adjust for files library interfaces
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-06 10:28:57 +01:00
Ferdinand Thiessen
59b68e1248 chore: fix vue/attribute-hyphenation ESLint rule
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-25 23:47:39 +01:00
Ferdinand Thiessen
e76f9284ce refactor(files_external): adjust files integration
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-13 01:30:37 +00:00
Ferdinand Thiessen
a05c285979 feat(files_external): implement storage table
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-13 01:30:37 +00:00
Ferdinand Thiessen
1ec308a9dd feat(files_external): provide new API to register AuthMechanisms
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-13 01:30:37 +00:00
Ferdinand Thiessen
0e22ae1efe refactor(files_external): migrate public key auth to Vue 3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-13 01:30:37 +00:00
Ferdinand Thiessen
5ed7c4fd97 fix(files_external): adjust settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-13 01:30:37 +00:00
Ferdinand Thiessen
e1133ec926 feat(files_external): Migrate settings to Vue
Template parameters are migrated to initial state, common state between admin and user settings is shared in the CommonSettingsTrait.
The template is cleaned and replaced with only a stub for the Vue mount.
Code only used for the frontend of the settings is moved from the MountConfig to the CommonSettingsTrait (the missing dependency messages).

On the frontend a wrapper view is created that currently holds the global credentials settings and the external storages settings.
- The global credentials sections is now a stand-alone sections - fully implemented.
- The external storages section holds the table + user config + warnings on missing dependencies

The legacy UI is temporarly renamed but will be removed in a following commit.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-13 01:30:37 +00:00
Ferdinand Thiessen
5c652484e3 refactor(files_external): migrate files integration to script-setup and Vue 3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-13 01:30:37 +00:00
skjnldsv
492bdb7010 chore: update @nextcloud/files to 4.0.0
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-12-11 12:44:16 +01:00
Ferdinand Thiessen
42112c8d30 chore: auto fix ESLint issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-25 16:25:54 +01:00
Enjeck C
58a7bf45a4 fix(files_external): check for changes when saving settings
Signed-off-by: Enjeck C <patrathewhiz@gmail.com>
2025-11-11 11:16:41 +01:00
Ferdinand Thiessen
470ff8d3d3 fix: migrate to non-deprecated dialog props
In Nextcloud Vue v8 some props for dialog buttons were deprecated (type
for e.g. primary or nativeType) those are replaced with `variant` and
`type`.
In v9 the deprecated props are removed - thus this breaks with
nextcloud-dialogs v7 which is based on Vue 3.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-16 17:55:11 +02:00
Ferdinand Thiessen
2b39cb49ab refactor: adjust code for breaking changes in @nextcloud/dialogs v7
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-15 13:45:12 +02:00
Ferdinand Thiessen
d0b9c8eb9d chore: use global jQuery for files_external as its uses select2
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 13:19:55 +02:00
Ferdinand Thiessen
91f3b6b4ee chore: adjust code to new codestyle
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-02 13:19:42 +02:00
Ferdinand Thiessen
31571476d3 refactor(files_external): migrate Ajax with OC_JSON to proper controller
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-30 20:19:21 +02:00
Ferdinand Thiessen
7cc564bfd1 fix(l10n): use productName instead of hardcoded 'Nextcloud' where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-03 16:24:50 +02:00
skjnldsv
932de24e88 fix: adjust file filter and external storage outline icon
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-25 13:43:07 +02:00
provokateurin
01d2a9f76a fix(files_external): Convert VALUE_HIDDEN to FLAG_HIDDEN to allow combining VALUE_PASSWORD and FLAG_HIDDEN
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-05 13:19:43 +02:00
skjnldsv
07264dff12 fix(external_storage): fix settings save
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-03-11 11:38:07 +01:00
Joas Schilling
34643fd71d fix(l10n): Fix triple dot in translation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-02-21 11:00:49 +01:00
skjnldsv
4621ddf293 fix(files_external): inline storage check improvements
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-20 20:58:52 +01:00
skjnldsv
df005a53f0 chore(files_external): add cypress tests for user credentials action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-20 20:58:52 +01:00
skjnldsv
7c73c5c058 fix(files_external): request strict password auth on credentials enter action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-02-20 20:58:52 +01:00
Ferdinand Thiessen
b06f5ba4c4 refactor: Migrate nextcloud-vue usage to new import schema
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-02-20 02:28:13 +01:00
Louis Chemineau
f4e9ca6a2e chore: Run npm run lint:fix
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 11:01:54 +01:00
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 +01:00
Ferdinand Thiessen
e8c1e2c611 fix(code-style): Adjust JS code to our code style
This resolves 68 ESLint warnings about invalid code style.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 22:11:59 +02:00
rakekniven
9f6463c375 chore(1i8n): Fixed grammar and improved wording
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-16 13:11:53 +02:00
John Molakvoæ (skjnldsv)
0f519f4856 fix(files_external): broken credentials dialog
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-13 14:32:07 +00:00
Ferdinand Thiessen
aea0e8df6a fix: Adjust more places for logical position
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-29 08:32:48 +00:00
Mostafa Ahangarha
723780d184 feat: Add bidi support in core directory
Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
2024-08-29 08:32:47 +00:00
Ferdinand Thiessen
a5e58dc45e test: Migrated all Jest tests to vitest
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +02:00
Ferdinand Thiessen
24c01695bb test: Adjust Typescript definitions for OCP and OC
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 17:13:30 +02:00
Ferdinand Thiessen
691f570237 chore: Enable ESLint for apps and fix all errors
Nevertheless this causes a huge amount of new warnings.
Previously the shell script for directories to lint was wrong it was generating all app names to lint,
but was missing the `apps/` prefix. Causing only `core` to be linted.

Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 17:13:30 +02:00
Ferdinand Thiessen
1d0a65db93 fix: Do not import from axios but only @nextcloud/axios
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-20 12:34:37 +02:00
Andy Scherzinger
c1555fc33e chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-06 18:05:37 +02:00
skjnldsv
7b95811290 chore(files_sharing): use OCSResponse from @nextcloud/typings
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-02-23 14:12:14 +01:00
Andy Scherzinger
19a9dac567 Update test for changed string - openInFilesAction.spec.ts
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-11-28 15:48:58 +01:00
Valdnet
d876008072 Change to capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-28 15:48:58 +01:00
John Molakvoæ
ae29608e46 fix(files_external): basic auth user storage trigger
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-10 12:07:48 +02:00
John Molakvoæ (skjnldsv)
a5a8655beb fix: avoid side-effect imports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-21 12:40:42 +02:00
John Molakvoæ
3e271d89f4 chore: upgrade to @nextcloud/files@3.0.0-beta.18
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-23 14:03:51 +02:00
John Molakvoæ
2c9acd5d5d feat: migrate FileAction from server
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-23 14:03:51 +02:00
John Molakvoæ
b4e71ad0fb chore: use Navigation from @nextcloud/files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-23 14:03:50 +02:00
John Molakvoæ
410f58e43e chore(files): add Headers, remove legacy methods and cleanup
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
John Molakvoæ (skjnldsv)
87b1719c88 feat(files): migrate recent view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-08-02 09:57:27 +02:00