Commit graph

1015 commits

Author SHA1 Message Date
John Molakvoæ
09a3ca924a
fix: remove unnecessary copyright header
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2026-06-11 15:24:49 +02:00
Pawel Boguslawski
9d9d372551
feat(files): added parameter to disable web UI integration with local client
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2026-06-11 15:24:37 +02:00
Ferdinand Thiessen
9fdd019ed3
fix(files): make sure nested changes are propagated to sidebar tabs
If an object is passed from one app to another app through a web
component, then only reference changes (new objects) are marked as
reactive changes in the receiving app.
In this case e.g. `mtime` changes were not properly propagated,
so to fix this we explicitly clone the objects before passing to the
sidebar tab.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-06-08 17:12:23 +02:00
Ferdinand Thiessen
511ad14338
fix(files): show proper notes about overwriting files when moving
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-06-03 11:19:11 +02:00
Git'Fellow
5f894afb22 fix(files): use type field instead of instanceof for Folder
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2026-06-01 09:47:30 +00:00
Git'Fellow
5ce47795c1 fix(files): Chromium-based browsers drag-and-drop
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2026-06-01 09:47:30 +00:00
Ferdinand Thiessen
171ffb8a2c 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-20 12:26:16 +02:00
Daniel Calviño Sánchez
8c6b7f412d
Merge pull request #60134 from nextcloud/fix-rendering-custom-columns-in-file-lists
Some checks are pending
Integration sqlite / changes (push) Waiting to run
Integration sqlite / integration-sqlite (master, main, 8.4, main, --tags ~@large files_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, capabilities_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, collaboration_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, comments_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, dav_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, federation_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, file_conversions) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, files_reminders) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, filesdrop_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, guests_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, ldap_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, openldap_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, openldap_numerical_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, remoteapi_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, routing_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, setup_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, sharees_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, sharing_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, theming_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite (master, main, 8.4, main, videoverification_features) (push) Blocked by required conditions
Integration sqlite / integration-sqlite-summary (push) Blocked by required conditions
Psalm static code analysis / changes (push) Waiting to run
Psalm static code analysis / static-code-analysis (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-security (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-ocp (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-ncu (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-strict (push) Blocked by required conditions
Psalm static code analysis / static-code-analysis-summary (push) Blocked by required conditions
Fix rendering custom columns in file lists
2026-05-19 13:18:35 +02:00
Ferdinand Thiessen
7e9ac38d40 fix(files): only show template picker menu entries if possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-05-18 17:02:44 +02:00
Daniel Calviño Sánchez
7acdc00485 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-18 00:33:07 +02:00
mykh-hailo
5380fd6865 fix: folder tree selection after any action in main content
Signed-off-by: mykh-hailo <kristianderonta0205@gmail.com>
2026-05-15 09:13:33 +02:00
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