Kent Delante
6f9b4c47f1
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-04-30 11:09:18 +08:00
Ferdinand Thiessen
e1687dd3db
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-27 18:09:11 +00:00
Jonas
fb22644cfb
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-04-27 18:34:42 +02:00
Git'Fellow
bc105e9c4a
fix(files,files_sharing): swallow redirected navigation errors
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2026-04-23 13:47:06 +02:00
Ferdinand Thiessen
25fc2d8f69
fix(files): do not show convert-file action in view-only shares
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-22 17:20:52 +02:00
Ferdinand Thiessen
6e6c66047d
refactor(files): modernize transfer ownership settings
...
- related to https://github.com/nextcloud/server/issues/57008
Modernize the personal files settings for ownership transfer.
- Use the new `NcForm*` components.
- Use `NcSettingsSection` as root component
- Migrate to Typescript
- Migrate to script-setup
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-20 23:47:03 +02:00
Ferdinand Thiessen
0dc7add400
chore: fix ESLint issues reported because of config update
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-20 22:13:24 +02:00
Ferdinand Thiessen
6db75dca92
chore: fix ESLint issues for rules added in ESLint v10
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-20 22:13:24 +02:00
Ferdinand Thiessen
4a5f6fbbf6
test: try to fix unit tests with new vite version
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-20 02:20:44 +02:00
Ferdinand Thiessen
ab1c426cf4
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-16 15:22:53 +02:00
dsyzov
f163f7995d
fix(files):Update openLocallyAction.ts
...
Signed-off-by: dsyzov <sizovdmitrij@gmail.com>
2026-04-15 17:02:43 +00:00
dsyzov
e8476bee6d
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-15 17:02:43 +00:00
Ferdinand Thiessen
d02df72efe
fix(files): properly handle dropped files on subfolders
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-08 17:03:24 +02:00
Ferdinand Thiessen
044f4f076e
refactor(files): use consistent logger import
...
We try to use named exports everywhere so also for the logger for
consistency. Also the logger is more of a util then a main entry point
so moved the implementation to the utils directory.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-04-07 14:41:03 +02:00
Git'Fellow
5a9fa36bb1
fix(filesDrop): drag-and-drop folder upload directories
...
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2026-04-01 00:13:53 +02:00
Robin Appelman
005b2b04e8
fix: update rename permissions check in files ui
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2026-03-26 17:10:03 +01:00
Cristian Scheid
6594d54476
feat(recent-search): pass recent_limit config value to getRecentSearch function
...
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-25 13:53:26 -03:00
Cristian Scheid
48ce8c3fa1
refactor(recent-files): remove user config from frontend files
...
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-24 15:38:53 -03:00
Cristian Scheid
3925176b49
refactor(files-settings): remove recent file settings section
...
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-24 15:15:34 -03:00
Cristian Scheid
5bcac61c73
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-24 15:15:34 -03:00
Cristian Scheid
8225ab726f
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-24 15:15:34 -03:00
Cristian Scheid
62f3ea390e
feat(recent-files): add recent_files_limit config on files settings
...
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-24 15:15:34 -03:00
Ferdinand Thiessen
5830b0a0af
fix(files): adjust files store for Snowflake IDs
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-03-16 19:39:37 +01:00
Ferdinand Thiessen
0787185967
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-16 18:47:30 +01:00
Ferdinand Thiessen
0e0af702ac
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-03 15:46:36 +00:00
Cristian Scheid
3458d3150b
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 09:43:21 -03:00
Cristian Scheid
03f93d97e9
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 09:42:26 -03:00
Cristian Scheid
7f89490cef
feat: set creation_time on file creation and render recently created icon
...
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
2026-03-03 09:41:22 -03:00
Hamees Ehsan
9b7feee481
fix(files): use more appropriate icon for context menu action
...
Signed-off-by: Hamees Ehsan <harcolemas@gmail.com>
2026-02-25 01:21:40 +05:00
skjnldsv
de56af3173
fix(files): fix tab navigation from select all checkbox to batch actions
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2026-02-20 13:36:35 +00:00
Ferdinand Thiessen
2007491e11
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-14 22:29:46 +01:00
Ferdinand Thiessen
f2574fdf34
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-12 17:20:30 +01:00
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
2f29ad8ff8
feat(files): allow to include parents in folder tree API
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-12 01:28:46 +01:00
Louis Chmn
a4f396e648
fix(files): Do not show abort error to the user
...
Signed-off-by: Louis Chmn <louis@chmn.me>
2026-02-11 13:40:33 +00: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
0e361550f1
fix(files): add legacy wrapper for upload library
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 14:50:41 +01:00
Ferdinand Thiessen
38644873f2
refactor(files): migrate to files registry for reactive file actions
...
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
c73b85aecb
refactor(files): port file list headers to new files registry
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 14:50:41 +01:00
Ferdinand Thiessen
4a284f61e6
refactor(files): port filters store to new files registry
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-10 14:50:41 +01:00
nfebe
f296e5e652
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 12:47:17 +01:00
Ferdinand Thiessen
aac91a8df9
refactor(files): adjust for files library interfaces
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-06 11:46:46 +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
904b946611
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-05 23:26:50 +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
c215bbf495
fix(files): ensure that new names are checked even for hidden files
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-05 12:15:42 +01:00
Ferdinand Thiessen
1f6fe21527
fix(files): keep current folder on drag-n-drop
...
When drag and drop a file we only want to scroll to the uploaded file
not changing the current view.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-02-02 10:36:43 +01:00