aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
Commit message (Collapse)AuthorAgeFilesLines
...
* fix(files): Move loading icon before grid toggleFerdinand Thiessen2024-08-211-6/+6
| | | | | | | This prevents jumping of that toggle button when the view is loading. Also adjust the design for Nextcloud 30 (prevent jumping of breadcrumbs when loading due to increased height). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Access node owner by top level `owner` propertyFerdinand Thiessen2024-08-172-1/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* perf(files): Cache `getContents` function used for uploaderFerdinand Thiessen2024-08-143-12/+36
| | | | | | | | 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): Fix non-sticky sticky views in files navChristopher Ng2024-08-141-1/+6
| | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* chore(i18n): Improved grammarrakekniven2024-08-141-1/+1
| | | | | | | Reported at Transifex. Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* chore(deps): Update `@nextcloud/auth` to v2.4.0 and use `getCSPNonce` where ↵Ferdinand Thiessen2024-08-132-6/+5
| | | | | | possible Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Add messages when "new folder" fails or gets cancelledFerdinand Thiessen2024-08-131-3/+10
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* perf(files): Prevent extraneous requests when tree children are loadingChristopher Ng2024-08-091-6/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): trim names on new node creationskjnldsv2024-08-093-7/+11
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Disable tags editing for shared files/folders with view only ↵Konstantin Myakshin2024-08-092-0/+2
| | | | | | permission Signed-off-by: Konstantin Myakshin <molodchick@gmail.com>
* feat: Load limited depth treeChristopher Ng2024-08-085-33/+101
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(files): Add getter for all view configsChristopher Ng2024-08-081-0/+2
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* perf(files): Remove redundant call to get navigationChristopher Ng2024-08-081-1/+0
| | | | 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): use `files:config:updated` to monitor user config changeskjnldsv2024-08-072-4/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): `openfile` is set on the query not as a paramFerdinand Thiessen2024-08-031-2/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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): cancel move-copy action should not be handled as an errorFerdinand Thiessen2024-08-011-13/+32
| | | | | | | Instead we should just show an information message why the file is not moved / copied. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* feat(files): Allow toggling folder treeChristopher Ng2024-08-012-0/+11
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.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-019-98/+469
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(files): Support setting view config for complex idsChristopher Ng2024-08-011-1/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Correctly create Nodes from WebDAV result in "recent"-viewFerdinand Thiessen2024-08-012-13/+14
| | | | | | | The recent search works on a different remote URL so the source of the files were wrong, because the remote url was included twice in the source. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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-013-12/+19
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Migrate logger util to TypescriptFerdinand Thiessen2024-08-0123-23/+22
| | | | 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-016-74/+89
| | | | | | | | 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): Add missing `emptyView` handlingFerdinand Thiessen2024-07-311-26/+54
| | | | | | | | | The interface provides this option but it was never implemented. This feature of being able to render a custom empty view message is needed for public file drops to properly show the terms of service. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): fix template folder and file request menu orderskjnldsv2024-07-311-2/+2
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix: Adjust tests for editLocallyActionfenn-cs2024-07-312-11/+34
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* feat(editLocallyAction): Handle possible no local client scenariofenn-cs2024-07-311-3/+54
| | | | | | Resolves: https://github.com/nextcloud/server/issues/46438 Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* 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: Go back to template picker if template filler closedElizabeth Danzberger2024-07-301-2/+1
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix: Template filler shows only if template has fieldsElizabeth Danzberger2024-07-301-2/+1
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files_sharing): Make account file filter consistent have designFerdinand Thiessen2024-07-302-1/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(files_sharing): refactor Share model to tsskjnldsv2024-07-302-8/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): correctly shrink breadcrumbs barRaimund Schlüßler2024-07-301-0/+1
| | | Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
* chore: fix some commentswithbest2024-07-291-1/+1
| | | | Signed-off-by: withbest <seekseat@outlook.com>
* fix(files): always ask for confirmation if trashbin app is disabledskjnldsv2024-07-274-122/+345
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* 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-253-35/+40
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor: Make route parameters accessible using composables to reuseFerdinand Thiessen2024-07-256-46/+82
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Implement files list filters for name, modified time and typeFerdinand Thiessen2024-07-2519-116/+908
| | | | | 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-256-68/+138
| | | | | | | 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-252-61/+70
| | | | | | | 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>