aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components
Commit message (Collapse)AuthorAgeFilesLines
* chore(files): add selection cypress testsskjnldsv2024-11-072-1/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.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>
* fix(files): add title for files list table header buttonGrigorii K. Shartsev2024-10-251-0/+1
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* refactor(files): migrate to @nextcloud/sharingGrigorii K. Shartsev2024-10-251-3/+3
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* chore(files): migrate davUtils to TSGrigorii K. Shartsev2024-10-251-1/+1
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): Adjust NavigationQuota for Nextcloud 30 designFerdinand Thiessen2024-10-231-5/+8
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure renaming state is correctly resetFerdinand Thiessen2024-10-211-58/+12
| | | | | | | | | | | | | Problem: Is a node is renamed and the new name is out of the current visible list of nodes the component will be recycled, this means the props will change, so when the `onRename` functions is about to reset the state the `this.source` will point to a different node. To fix this, but also to separate business logic from visual representation, the logic is moved into the renaming store and the component is only responsible for rendering. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Add more visual move / copy notificationFerdinand Thiessen2024-10-171-1/+2
| | | | | | | | * Resolves: https://github.com/nextcloud/server/issues/46645 This adds loading toast notification while the move operation is running. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Make `openMenu` watcher null safeFerdinand Thiessen2024-10-171-3/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Reset context menu position on closeFerdinand Thiessen2024-10-171-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: Show storage full warning when storage is actually fullbackport/48354/stable30Louis Chemineau2024-09-261-2/+2
| | | | | | | | | | < 0 values for "free" do not mean that the storage is full: https://github.com/nextcloud/server/blob/6befdd6dd7cd20fe7f7036e4665bcfbb783d6803/lib/public/Files/FileInfo.php#L31-L42 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* feat: Reset route if neither the Viewer of the Sidebar is openLouis Chemineau2024-09-161-6/+22
| | | | | | | | | | 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): undefined displayname for outdated `@nextcloud/files`<3.6.0 appsskjnldsv2024-09-051-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-09-011-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>
* 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: nextcloud-command <nextcloud-command@users.noreply.github.com> Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix: use empty template by default when pressing enterElizabeth Danzberger2024-08-291-0/+4
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat(templates): add support for checkboxes in template fillerElizabeth Danzberger2024-08-293-12/+100
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files): Remove huge margin on bottomFerdinand Thiessen2024-08-272-13/+6
| | | | | | Instead make it relative to screen size. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.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: 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>