- 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>
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>
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.
- 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>
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>
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>
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>
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>
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>
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>
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>
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>