Commit graph

368 commits

Author SHA1 Message Date
Ferdinand Thiessen
95d7b5608b
perf(files): initialize folder tree from current path and store
Initialize the folder tree based on the current directory.
Also only include views needed.

If possible reuse nodes from files store to prevent API call.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-12 03:31:27 +01:00
Ferdinand Thiessen
e5c1d80a00
perf(files): only emit initialization once
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-12 03:31:27 +01:00
Ferdinand Thiessen
69f2c17675
refactor(files): only load navigation views needed
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-12 03:31:27 +01:00
Ferdinand Thiessen
f075051f4a
test: remove testing internal of libraries and test only app code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 14:50:41 +01:00
Ferdinand Thiessen
643a815557
refactor(files): migrate file list actions to new files registry
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 14:50:41 +01:00
Ferdinand Thiessen
a042fbfa60
chore(deps): update @nextcloud/files to v4.0.0-rc.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-06 10:28:57 +01:00
Ferdinand Thiessen
536503d0a4
feat(files): add dialog to confirm when about to hide a file
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-05 12:15:42 +01:00
Ferdinand Thiessen
d8b05ec6c3
refactor(files): re-position "new"-menu and make it primary
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-22 16:31:48 +01:00
Ferdinand Thiessen
4ca9fb836d
feat(files): move "reload" and "share" breadcrumb actions to menu
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-22 16:31:48 +01:00
Ferdinand Thiessen
985b66c64f
feat(files): render filters in top bar
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-22 16:31:48 +01:00
Ferdinand Thiessen
871f037dda
refactor(files): handle file list width break points in one central point
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-22 16:31:47 +01:00
Ferdinand Thiessen
7ff0804e90
chore: adjust styles for new stylelint config
- replace renamed `word-wrap` with new name `overflow-wrap` (CSS3)
- use extensions for `@use`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-19 15:33:39 +01:00
Ferdinand Thiessen
47acb66b9c refactor(files): migrate from deprecated useNavigation to activeStore
Small preparation for upcoming Vue 3 migration of the files app.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-07 16:50:42 +01:00
Ferdinand Thiessen
f9a137ea87
refactor(files): migrate favorite sidebar action to new Sidebar API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-05 02:23:15 +01:00
Ferdinand Thiessen
4a9cdeb01f
refactor!(files): migrate sidebar API to use Node API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-01-05 02:23:15 +01:00
Ferdinand Thiessen
9919c2bc91
chore(files): adjust getContents to use AbortController
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-12-23 21:08:33 +01:00
Ferdinand Thiessen
77f9897060
chore(files): adjust code for breaking change of Navigation.setActive
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-12-23 20:17:34 +01:00
Ferdinand Thiessen
9a1fd7a629
chore: adjust code for breaking changes of @nextcloud/paths v3
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-12-22 02:12:19 +01: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
82237a8bc9
refactor(files): migrate to new NcForm* components for app settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-14 13:09:06 +01:00
Ferdinand Thiessen
2d012b6156
refactor(files): use new NcAppSettingsShortcutsSection
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-11-13 11:34:32 +01:00
skjnldsv
c521b7ca34 fix(files): preload file tree with 2 level deep
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-11-06 15:25:01 +00: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
7fbc2ca25e feat: add new link endpoint when using globalscale
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-15 18:58:10 +00: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
81cfb9580a
refactor(test): migrate cypress component tests to vitest
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-10-14 14:30:14 +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
Louis Chemineau
87cb225668
refactor(user_ldap): Rewrite setup wizard
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-30 22:49:43 +02:00
Ferdinand Thiessen
c5a093d842 fix(files): pass Node to FileInfo object
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-18 15:45:20 +02:00
Louis Chemineau
6d672c4cba fix(encryption): Correctly set encrypted to 0 when copying
If encryption got disabled, copying should set encrypted to 0 for the
 new unencrypted copy. For instance when using encryption:decrypt-all

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-09-04 12:13:45 +00:00
Ferdinand Thiessen
805fe3e15b
feat(files): provide UI to sanitize filenames after enabling WCF
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-02 10:53:01 +02:00
John Molakvoæ (skjnldsv)
6fb7f7f4e7 fix(files): verify files are still accessible before downloading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-08-28 22:27:26 +02:00
Maksim Sukharev
ef0c1bd11c fix(Sidebar): change icons to outline
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-08-22 15:29:04 +02:00
Jonas Stene
e44305a8b7 fix(files): changed prop to kebab-case
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Jonas Stene <jonas@stene.li>
2025-08-21 14:26:33 +02:00
Jonas Stene
b35569abe2 fix(files): added noLabel prop to UploadPicker with breakpoint
Signed-off-by: Jonas Stene <jonas@stene.li>
2025-08-21 14:26:33 +02:00
Jonas Stene
f9fa5abcf2 fix(files): removed breakpoint on gridView button
Signed-off-by: Jonas Stene <jonas@stene.li>
2025-08-21 14:26:33 +02:00
kramo
ba4f235628 fix: Replace some more icons with outlined ones
Follow-up to #54054

Signed-off-by: kramo <git@kramo.page>
2025-08-18 10:03:14 +02:00
kramo
c5d1f2f9ff
fix(l10n): Less jargon in source strings
This removes:
- “enable” for settings
- “settings” for settings sections
- “all” when there is no obvious subset of items
- “show” and “open” for navigation actions
- “changes” for applying/discarding
- “to clipboard” when copying
- Explaining things that cannot happen
- Explaining things twice, right below each other
- Unnecessary technical jargon
- Text that sounds like marketing copy and serves no other purpose

Signed-off-by: kramo <git@kramo.page>
2025-08-12 14:37:34 +02:00
Jérôme Herbinet
ee3e628b7a feat: replace "Folder tree structure" with "Folder tree"
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Co-Authored-By: kramo <git@kramo.page>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-07-31 12:26:12 +00:00
skjnldsv
a83ed8a5c2 fix(eslint): glob import spec pattern
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-29 10:55:25 +02:00
skjnldsv
c7dd6dd645 feat(files): allow hidding files extensions
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-28 18:05:15 +02:00
JEEEEEEEEEEEEEEEEEEEEEED
cb29b306ee
feat(files): hide note about app passwords when 2FA not enabled
Signed-off-by: JEEEEEEEEEEEEEEEEEEEEEED <118366366+jadjoud@users.noreply.github.com>
Co-authored-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-07-24 22:20:16 +02:00
skjnldsv
c574d55ed2 fix(files): add webdav url settings input bottom margin
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-24 19:12:06 +02:00
skjnldsv
a1c84cb3c0 feat: replace material icons with outline versions (second pass)
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-24 12:34:35 +02:00
skjnldsv
3e7dc97cae feat: replace material icons with outline versions
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-24 10:55:43 +02:00
skjnldsv
9d7214bc5a fix(files): sort favorites navigation alphabetically
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-23 10:15:14 +02:00
skjnldsv
869e23d665 feat(files): allow custom setting order
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-17 11:05:43 +00:00
skjnldsv
f89660e709 feat(files): add delete confirmation option
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-07-14 10:20:44 +02:00
kramo
2f6bf3578a fix(files): Remove redundant setting
This setting is already present in the main view,
where it is much more visible, it is also the only one that is documented.
Having it in both places is redundant and unnecessary clutter.

Signed-off-by: kramo <git@kramo.page>
2025-07-09 14:18:26 +00:00
Ferdinand Thiessen
33a69bf985 fix(files): use the configured default view for redirect
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-07-08 09:13:50 +02:00