aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
Commit message (Collapse)AuthorAgeFilesLines
* fix(files): prevent dragging preview when drag-dropJohn Molakvoæ (skjnldsv)10 days1-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix(files): Ensure actions never overflow filenameFerdinand Thiessen2025-04-021-3/+20
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): right click actions menu flickerskjnldsv2025-04-022-19/+39
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): ensure share status action works also in grid viewFerdinand Thiessen2025-03-191-14/+20
| | | | | | | | | | | | Remove some hacks from files app about the *files_sharing* status action, in general not sure why this hack was there instead of being in the correct app - but it broke the grid view. So now the sharing information is also available in grid view. Moreover the icon is fixed in size to not overflow the actions menu. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): also show file list headers on empty viewsFerdinand Thiessen2025-03-175-15/+99
| | | | | | | It is needed, e.g. for the note-to-recipient, that the headers are also shown when there is no content (yet). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(l10n): Fix leading spaces and unicode single quotesJoas Schilling2025-03-051-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(test): Add missing data-cy attribute for file actionsLouis Chemineau2025-03-051-0/+1
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files_trashbin): disable bulk download for trashbinFerdinand Thiessen2025-03-031-1/+6
| | | | | | | The backend does not allow bulk download within the trashbin, so we need to disable this also on the frontend. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(l10n): use `do not` instead of `don't`Valdnet2025-03-021-1/+1
| | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* fix(l10n): Improve english source stringsJoas Schilling2025-02-262-2/+2
| | | | | | | - No leading/trailing whitespace - Use asci single quote Signed-off-by: Joas Schilling <coding@schilljs.com>
* fix(files): handle failed node properlyskjnldsv2025-02-211-2/+22
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): properly show file not found errorskjnldsv2025-02-191-3/+13
| | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> [skip ci]
* fix(files): properly forward open params from short urlsskjnldsv2025-02-191-0/+3
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Properly reset all file list filters on view changeFerdinand Thiessen2025-02-185-69/+131
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(transferownership): allow searching by email, display ↵Julien Veyssier2025-02-171-13/+6
| | | | | | user.shareWithDisplayNameUnique in item subline, adjust style Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
* fix(files): Do not download files with `openfile` query flagFerdinand Thiessen2025-02-132-28/+65
| | | | | | | Instead of downloading files, if there is no other default action, we should just open the details tab. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(template-filler): Hide template fields with unknown labelsElizabeth Danzberger2025-02-133-5/+13
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files): Correctly scroll selected file into viewFerdinand Thiessen2025-02-063-50/+131
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Display meaningful error message on move failureChristopher Ng2025-02-051-2/+13
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Ensure favorites set in sidebar workFerdinand Thiessen2025-02-043-11/+33
| | | | | | | | | | | | | | When marking a file as favorite from within the sidebar make sure it really works, this fixes two issues: 1. The source needs to be the plain source not URL encoded, as otherwise the source of the node would be encoded twice (and show with encoding in the navigation) 2. The store should also listen for the update events as the sidebar has no access to the real node to update it, instead the store should - as long as we only have the legacy sidebar - update the node when added or removed as favorite. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): ensure valid mtime and fallback to crtime if definedskjnldsv2025-02-041-1/+15
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: Use `searchFrom` property for client side pluginsnfebe2025-01-311-0/+2
| | | | | | | | | | | | | | The client-side plugin `in-folder` uses the `files` provider, this makes it overlap with the main files provider itself. This change follows eecda06f1ad2832cc2a7b31d646458f730c8412a after it was discovered that some apps/providers like `dav` use providers from another app like `contacts` Signed-off-by: nfebe <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Allow opening the same file repeatedlyprovokateurin2025-01-311-1/+1
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* fix(unified-search): Prevent multiple file picker triggers in in-folder searchbackport/50129/stable30nfebe2025-01-291-20/+24
| | | | | Signed-off-by: nfebe <fenn25.fn@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(unified-search): Use appId for searchingnfebe2025-01-291-2/+3
| | | | | | | | | | | | | | Each provider may search from a particular app so we should use that for searching. Before this commit, we used `provider.id` instead of `provider.appId` the problem with the previous approach is that it forces the provider id to be a valid search provider (an app that supports search) limiting the developers ability to use unique IDs to identify the different providers (especially plugin providers) inside the places filter. For example the Files search plugin "In folder" (search in folder plugin) was required to have id as `files` while the files provider itself already has id as `files`. Signed-off-by: nfebe <fenn25.fn@gmail.com>
* fix(files): File type filter UI sync with filter stateFerdinand Thiessen2025-01-282-9/+34
| | | | | | | When changing the folder the filter will be re-mounted by the file list, so we need to pass the current state of the filter to the filter UI. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): sort not working after changing viewsRichard Steinmetz2025-01-266-36/+13
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(files): rename actions submenu back entryskjnldsv2025-01-221-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): close submenu on main actions state changeskjnldsv2025-01-221-0/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): hide move dialog action if destination has no CREATE permissionMaksim Sukharev2025-01-171-0/+5
| | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* fix(files): Make injected actions reactiveFerdinand Thiessen2025-01-131-3/+3
| | | | | | | Provided values are not reactive by default and by design, we must need computed to make them reactive. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Only register preview service worker once when the instance is ↵backport/49917/stable30provokateurin2024-12-181-1/+8
| | | | | | | hosted at the root path Signed-off-by: provokateurin <kate@provokateurin.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): failsafe when executing actions methodsskjnldsv2024-12-122-17/+48
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): cancel renaming on enter if no file name changesskjnldsv2024-12-121-0/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): virtual scroller item size computationskjnldsv2024-12-121-6/+12
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): throttle favorite with max 5 simultaneous requestsskjnldsv2024-12-121-1/+22
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): dav Node type declarationskjnldsv2024-12-123-6/+6
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): properly update paths and folder children on node moveskjnldsv2024-12-123-57/+112
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: Fix ServiceWorker scope when Nextcloud installed in subfolderKostiantyn Miakshyn2024-12-111-2/+3
| | | | Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
* fix(files): Restore page title (folder - view - product)Ferdinand Thiessen2024-11-211-1/+13
| | | | | | | | * Folder: Current folder if not root * View: Name of current view * Product: Nextcloud Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(assets): Recompile assets + lint fixnextcloud-command2024-11-203-3/+3
| | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Allow downloading multiple nodes not from same baseFerdinand Thiessen2024-11-203-12/+141
| | | | | | | | | | | | When downloading files in e.g. the *favorites* or *recent* view, then the nodes are not always share the same parent folder and we can not use the current directory as it is probably just a virtual one. So we calculate the longest common base and use that as the directory for the download endpoint. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): improve delete display name when trashbin is disabledbackport/49199/stable30Richard Steinmetz2024-11-191-14/+14
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(files): check that node is in user root folder for view-in-folder actionskjnldsv2024-11-122-0/+17
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): open sidebar on sharing tab by default for filesskjnldsv2024-11-092-3/+40
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): edit locally buttonsbackport/49150/stable30skjnldsv2024-11-081-8/+7
| | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* chore(files): add selection cypress testsskjnldsv2024-11-072-1/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): multiselect and filters store declarationskjnldsv2024-11-071-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(Federation): Show some icon for federated users on sharesfenn-cs2024-10-301-0/+1
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files): Do not jump to top when fileId is set to currentFolderbackport/48632/stable30Louis Chemineau2024-10-291-0/+5
| | | | | | | Fix https://github.com/nextcloud/server/issues/48545 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>