aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components
Commit message (Collapse)AuthorAgeFilesLines
...
* feat: Reset route if neither the Viewer of the Sidebar is openLouis Chemineau2024-09-141-7/+23
| | | | | | | | | | When the viewer or the sidebar is opened, we add the fileid to the route. When both of them are closed, we do not remove the fileid from the route. This means that, upon reload, the sidebar will be opened even though it was closed previously. This PR ensure that the fileid is removed from the route when both the Sidebar and the Viewer are closed. Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Make `openMenu` watcher null safeFerdinand Thiessen2024-09-111-3/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Reset context menu position on closeFerdinand Thiessen2024-09-101-0/+17
| | | | | | | | | * Resolves https://github.com/nextcloud/server/issues/46934 Ensure that after a right-click the context menu position is resetted, so that pressing the "actions"-menu button it is displayed on the correct location. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fallback icons should fill the containerFerdinand Thiessen2024-09-061-2/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Do not add click listener if there is no default action on ↵Ferdinand Thiessen2024-09-061-11/+14
| | | | | | public shares Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): "New folder" menu entry requires read permissionFerdinand Thiessen2024-09-061-5/+7
| | | | | | This will disable "New folder" menu entry for file-drop shares. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Allow to download files on public sharesFerdinand Thiessen2024-09-061-12/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fix file previews for public sharesFerdinand Thiessen2024-09-061-7/+17
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 appsskjnldsv2024-09-041-1/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Fix navigating with breadcrumbs not highlighting navigation entryChristopher Ng2024-09-031-1/+4
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Node loading information should be accessibleFerdinand Thiessen2024-08-311-1/+6
| | | | | | | The loading icon visually informs that the node is currently loading, but there is no non-visual information (accessible information). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(files): Fix remaining TypeScript errors in FileEntryPreviewFerdinand Thiessen2024-08-291-7/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Use the blurhash in FilesLouis Chemineau2024-08-292-11/+68
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Remove margin and width to not break layoutLouis Chemineau2024-08-291-2/+0
| | | | | | | | | In grid view, this was messing with the reported available list width which was breaking the computed layout. Fix https://github.com/nextcloud/server/issues/47599 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix: Adjust more places for logical positionFerdinand Thiessen2024-08-291-17/+16
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add bidi support in core directoryMostafa Ahangarha2024-08-296-19/+20
| | | | Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* feat(templates): add support for checkboxes in template fillerElizabeth Danzberger2024-08-273-12/+100
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files): fix list gap at bottomElizabeth Danzberger2024-08-271-1/+1
| | | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Reset drop notice on firefoxFerdinand Thiessen2024-08-261-7/+32
| | | | | | | | | | | On firefox there is an old bug where when you move a dragged file outside the window the `dragleave` event is never emitted. So we just use a timeout to reset the drag over state. Also a small change: Use the ID of the main container instead of relying on tag name and class. (The ID is guranteed as other APIs rely on it, while the class is just used internally). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Remove huge margin on bottomFerdinand Thiessen2024-08-262-13/+6
| | | | | | Instead make it relative to screen size. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: use empty template by default when pressing enterElizabeth Danzberger2024-08-211-0/+4
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Access node owner by top level `owner` propertyFerdinand Thiessen2024-08-171-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* perf(files): Cache `getContents` function used for uploaderFerdinand Thiessen2024-08-141-1/+1
| | | | | | | | Instead of trigger a PROPFIND for every new-menu entry clicks, or conflict handling of uploads, we can just use the cached content from the file store. If we do not have any cache entry we fetch new, but otherwise this is not needed. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Drop unneeded initial stateFerdinand Thiessen2024-08-141-11/+20
| | | | | | | The initial state is no longer used, it was only used in legacy UI and in the f2v rewrite it was only used for the `id` which can be loaded just from the URL. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): trim names on new node creationskjnldsv2024-08-091-4/+4
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* feat: Load limited depth treeChristopher Ng2024-08-081-3/+11
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): file name and header sort buttons alignmentsskjnldsv2024-08-072-2/+3
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): show folder sharing overlay on received sharesskjnldsv2024-08-021-0/+2
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Minimize `min-height` of dialog formjulia.kirschenheuter2024-08-021-1/+1
| | | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Fix root crumb not marking navigation entry as activeChristopher Ng2024-08-011-0/+7
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat: Navigate via folder treeChristopher Ng2024-08-013-2/+190
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): empty folder pending sizeskjnldsv2024-08-011-2/+2
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* refactor(files): Resort imports and fix doc commentFerdinand Thiessen2024-08-012-11/+18
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Migrate logger util to TypescriptFerdinand Thiessen2024-08-0111-12/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Add missing directory variable to error messageFerdinand Thiessen2024-08-011-1/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Provide file actions from list entry to make it reactiveFerdinand Thiessen2024-08-014-70/+83
| | | | | | | | This fixes non reactive default action text of the name component. Also use download action as default action so that only one place is needed to define how to download a file. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Set container for file list actionsFerdinand Thiessen2024-07-311-0/+1
| | | | | | This is needed to ensure the actions are rendered below dialogs which will have the body as the container. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Make account file filter consistent have designFerdinand Thiessen2024-07-301-1/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): correctly shrink breadcrumbs barRaimund Schlüßler2024-07-301-0/+1
| | | Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
* fix(files): Ensure scrolled file list does not leak through file filtersFerdinand Thiessen2024-07-261-1/+11
| | | | | | | 1. when scrolling the file list should not be visible behind the filters 2. on mobile we need to remove the padding of the filters to ensure they are accessible Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Correctly validate new node nameFerdinand Thiessen2024-07-262-170/+115
| | | | | | | | | | | * Resolves https://github.com/nextcloud/server/issues/45409 This includes two fixes: 1. The name in the "new node" dialog is correctly selected (e.g. `file.txt` only `file` is selected by default), to allow quick naming 2. `@nextcloud/files` functions for filename validation are used, this allows to use new Nextcloud 30 capabilities (e.g. reserved names) Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* test: Add cypress tests for file list filteringFerdinand Thiessen2024-07-252-3/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Make route parameters accessible using composables to reuseFerdinand Thiessen2024-07-254-22/+23
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Implement files list filters for name, modified time and typeFerdinand Thiessen2024-07-256-44/+347
| | | | | Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Allow to add file list filtersFerdinand Thiessen2024-07-253-2/+61
| | | | | | | This adds sticky file list filters above the file list. Those filters are used to filter the directory content and thus filter the file list. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Use `@nextcloud/files` filename validation to show more detailsFerdinand Thiessen2024-07-251-61/+29
| | | | | | | This will enable showing more details what exactly is wrong with the filename. Especially with the new capabilities introduced with Nextcloud 30. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: PHP formattingElizabeth Danzberger2024-07-251-1/+1
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Can close template filler modalElizabeth Danzberger2024-07-251-4/+10
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Add SPDX header to new fileElizabeth Danzberger2024-07-251-0/+5
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: Add frontend components for filling out templateElizabeth Danzberger2024-07-252-13/+81
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>