Commit graph

1005 commits

Author SHA1 Message Date
Ferdinand Thiessen
6a6e0ce85c
fix(files): use displayname rather than basename to use progress
- resolves https://github.com/nextcloud/end_to_end_encryption/issues/1733

The internal basename is often not known by users, e.g. groupfolders or
in this case e2ee can define displaynames other than the shown name.
Same for e.g. mount points of shares.

So we need to show the displayname instead.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-05-21 02:55:19 +02:00
Robin Appelman
4ab0e8cdd5
fix: update rename permissions check in files ui
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-05-20 21:04:44 +02:00
Stephan Orbaugh
e5e423c498
Merge pull request #60522 from nextcloud/backport/60187/stable33
[stable33] fix(files): only show template picker menu entries if possible
2026-05-20 12:25:31 +02:00
Daniel Calviño Sánchez
7c3f5a9c10 fix: Fix rendering custom columns in file lists
CustomElementRender is used to render both IFileActions and IColumns.
However, the API to render both of them is different, and currently
CustomElementRender passes the arguments expected by IFileAction.
Fortunately those arguments are a superset of those expected by IColumn,
so they can be adapted when a CustomElementRender is used to render an
IColumn.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2026-05-19 11:19:06 +00:00
Ferdinand Thiessen
315fbd1411
fix(files): only show template picker menu entries if possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-05-19 12:09:43 +02:00
Kent Delante
a064d8efc4 fix(files): escape html entities in dav search requests
Signed-off-by: Kent Delante <kent@delante.me>

This fixes a 'xmlParseEntityRef: no name' error returned when
searching in files navigation while in folders with special characters
in the name.
2026-05-13 06:54:03 +00:00
Jonas
a065b5c6cd fix(files): fix custom client-side error messages on move/copy actions
move/copy actions don't use axios these days.

Signed-off-by: Jonas <jonas@freesources.org>
2026-05-04 16:05:20 +02:00
Ferdinand Thiessen
839714bfbb fix(files): keep reactivity when destructure store
- resolves https://github.com/nextcloud/server/issues/59941

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-28 07:17:37 +00:00
Ferdinand Thiessen
5d579993f0 fix(files): do not show convert-file action in view-only shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-22 20:28:22 +00:00
Ferdinand Thiessen
d746b9f5bf
chore: fix ESLint issues reported because of config update
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-20 23:10:06 +02:00
Ferdinand Thiessen
3e8ac3338a
chore: fix ESLint issues for rules added in ESLint v10
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-20 23:10:06 +02:00
github-actions[bot]
67c8445cc0
Merge pull request #59576 from nextcloud/dependabot/npm_and_yarn/stable33/vite-20b630b4a0
[stable33] chore(deps-dev): Bump the vite group across 2 directories with 1 update
2026-04-20 19:54:44 +00:00
Ferdinand Thiessen
4c92bb7526
test: try to fix unit tests with new vite version
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-20 20:59:42 +02:00
Ferdinand Thiessen
d7e4096afe
fix(files): add missing table header for actions column
- resolves https://github.com/nextcloud/server/issues/59333

Every column needs an header with some label for accessibility,
so screen reader know which column they are in currently.
This adds the missing header (but hides it visually so only for SR).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-20 20:22:38 +02:00
dsyzov
4997b35cfd fix(files):Update openLocallyAction.ts
Signed-off-by: dsyzov <sizovdmitrij@gmail.com>
2026-04-17 06:12:45 +00:00
dsyzov
996a6baaa9 fix: remove error message when closing the "Open locally" dialog
catch the exception thrown by the "open locally" dialog when closed within the action itself, so that it does not produce an error message when caught by higher level logic

Signed-off-by: dsyzov <sizovdmitrij@gmail.com>
2026-04-17 06:12:45 +00:00
Ferdinand Thiessen
ffb7ce83e5 fix(files): properly handle dropped files on subfolders
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-14 17:46:00 +02:00
Git'Fellow
57b07a673f
fix(filesDrop): drag-and-drop folder upload directories
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2026-04-01 01:33:18 +02:00
Cristian Scheid
97237e85d7 feat(recent-search): pass recent_limit config value to getRecentSearch function
feat(recent-search): pass recent_limit config value to getRecentSearch function

Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-03-26 10:11:37 +00:00
Cristian Scheid
7e7af209e6 refactor(recent-files): remove user config from frontend files
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-26 08:06:34 +00:00
Cristian Scheid
924c1b0224 refactor(files-settings): remove recent file settings section
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-26 08:06:33 +00:00
Cristian Scheid
7a21995bec refactor(recent-search): use order by fields to determine extended cache join and cast config limit to number
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-26 08:06:33 +00:00
Cristian Scheid
9776782f4a feat(recent-files): add nc:last_activity property to allow sorting by max between upload_time and mtime
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-03-26 08:06:33 +00:00
Cristian Scheid
59527e59be feat(recent-files): add recent_files_limit config on files settings
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-26 08:06:32 +00:00
skjnldsv
10c674d201 fix(files): fix tab navigation from select all checkbox to batch actions
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2026-03-18 17:33:11 +00:00
Ferdinand Thiessen
d03537a5c4 fix(files): properly handle dropping files
- resolves https://github.com/nextcloud/server/issues/58454

use upload library for dropped files instead of custom logic

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-03-17 14:14:17 +01:00
Ferdinand Thiessen
843ba2ed9c
fix(files): adjust files store for Snowflake IDs
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-03-17 12:55:50 +01:00
Ferdinand Thiessen
896f546b46
fix(files): correctly handle nodes with snowflake ids
We introduced `id` instead of `fileid` to be always of type `string` to
allow snow flake ids. So we need to check the new attribute instead of
the legacy one.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-03-17 12:55:50 +01:00
Cristian Scheid
4835d6f5f3 refactor(recent-search): use d:creationdate instead of c:creation_time and crtime instead of attributes.upload_time
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-03 15:09:50 +00:00
Cristian Scheid
b9eea1ed9c refactor(recently-created-icon): use mdi/js path instead of raw svg prop setup() instead of data()
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-03 15:09:50 +00:00
Cristian Scheid
dfdb4ba500 feat: set creation_time on file creation and render recently created icon
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-03 15:09:50 +00:00
Ferdinand Thiessen
eeefc4e20b fix(files): fallback to action id if displayname is empty
This fixes invalid error messages if the action has an empty
displayname, often the case for inline actions

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-20 23:36:04 +01:00
Ferdinand Thiessen
5b4a949a74 fix(files): correctly sort views
The condition to sort by order was missing, so the views were only
sorted by name. Added the most important order condition and proper
tests for this.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-17 11:14:12 +00:00
Ferdinand Thiessen
f258c66e82
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 09:54:00 +01:00
Ferdinand Thiessen
52df4297b2
perf(files): only emit initialization once
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-12 09:54:00 +01:00
Ferdinand Thiessen
d55f1572a0
refactor(files): only load navigation views needed
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-12 09:54:00 +01:00
Ferdinand Thiessen
17ed55ff56
feat(files): allow to include parents in folder tree API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-12 09:53:59 +01:00
Louis Chmn
2ad7afb981 fix(files): Do not show abort error to the user
Signed-off-by: Louis Chmn <louis@chmn.me>
2026-02-11 17:23:20 +01:00
Ferdinand Thiessen
41b6f6012d
test: remove testing internal of libraries and test only app code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 15:32:09 +01:00
Ferdinand Thiessen
8b27b1b826
fix(files): add legacy wrapper for upload library
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 15:32:08 +01:00
Ferdinand Thiessen
fe4d159d4d
refactor(files): migrate to files registry for reactive file actions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 15:32:07 +01:00
Ferdinand Thiessen
c65c2236d6
refactor(files): migrate file list actions to new files registry
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 15:32:05 +01:00
Ferdinand Thiessen
d669e6ed2b
refactor(files): port file list headers to new files registry
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 15:32:04 +01:00
Ferdinand Thiessen
1fa470ef99
refactor(files): port filters store to new files registry
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 15:32:03 +01:00
nfebe
9f55099b15 fix(files): Prevent file list from jumping when selecting visible files
Skip scrolling when a file is clicked if it's already within the
visible viewport, avoiding the confusing list jump behavior.

Fixes #54700

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2026-02-06 22:25:51 +01:00
Ferdinand Thiessen
baa5099e91
refactor(files): adjust for files library interfaces
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-06 14:03:00 +01:00
Ferdinand Thiessen
0339f3cd04
chore(deps): update @nextcloud/files to v4.0.0-rc.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-06 14:02:58 +01:00
Ferdinand Thiessen
41587b7faf
fix(files): improve handling of copy-move action
1. only show 1 loading toast instead of N for N files in batch
   operation.
2. Reuse more code to reduce duplicated logic.
3. Show the conflict picker once for all files instead of opening a new
   conflict picker for every file to copy / move.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-06 12:56:20 +01:00
Ferdinand Thiessen
4f96a263fb feat(files): add dialog to confirm when about to hide a file
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-05 11:17:30 +00:00
Ferdinand Thiessen
924678bb89 fix(files): ensure that new names are checked even for hidden files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-05 11:17:30 +00:00