aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/components
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* fix(vue): Begin implementing template filler componentElizabeth Danzberger2024-07-252-10/+64
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: TemplateFiller componentElizabeth Danzberger2024-07-251-3/+13
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* feat: Add template filler componentElizabeth Danzberger2024-07-251-0/+26
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files): Do not split filename into `base` and `extension` for foldersFerdinand Thiessen2024-07-254-16/+34
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update `@nextcloud/files` to v3.6.0Ferdinand Thiessen2024-07-251-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): validate input when creating file/directoryMaksim Sukharev2024-07-242-8/+67
| | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* fix(files): Grid view virtual scrolling computationsLouis Chemineau2024-07-242-8/+6
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Reduce preview size in grid view modeLouis Chemineau2024-07-242-5/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: add file request cypress testingskjnldsv2024-07-191-2/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Add rounded corners back in grid viewLouis Chemineau2024-07-111-5/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore(files): Fix ESLint issues with files and files_sharing appFerdinand Thiessen2024-07-091-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-094-12/+18
| | | | | | | | | Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Correctly center the checkbox's background in grid viewLouis Chemineau2024-07-081-1/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(files): Refresh grid view layoutLouis Chemineau2024-07-042-34/+59
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(files): Display mtime in grid viewLouis Chemineau2024-07-043-26/+36
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* refactor(files): Fix nullish operator usage and add missing code commentFerdinand Thiessen2024-06-242-4/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Properly handle files in failed stateFerdinand Thiessen2024-06-245-4/+12
| | | | | | | When files are loaded from API the `fileid` might be set to `-1` indicating an error on the API. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Use composable for `currentView` and `views` to make it reactive ↵Ferdinand Thiessen2024-06-238-49/+79
| | | | | | when shared with other Vue apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update `debounce` to 2.1.0Ferdinand Thiessen2024-06-231-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>