aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-292-18/+17
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat: Add bidi support in core directoryMostafa Ahangarha2024-08-297-20/+21
| | | | Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
* fix: Renaming does not need update but delete permissionsFerdinand Thiessen2024-08-283-4/+4
| | | | | | | Renaming is basically copy + delete (a move), so no need to update permissions. Especially if the node is in a invalid directory the node should be moveable but not editable. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test(files): Adapt favorite views specChristopher Ng2024-08-271-23/+50
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(files): Allow more than 50 favorite viewsChristopher Ng2024-08-273-24/+15
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(templates): add support for checkboxes in template fillerElizabeth Danzberger2024-08-273-12/+100
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* fix(files): Correctly check for already used names when creating new folderFerdinand Thiessen2024-08-271-1/+1
| | | | | | Also add Cypress tests for the "new"-menu. 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>
* Merge pull request #47490 from nextcloud/chore/adjust-translationsFerdinand Thiessen2024-08-261-1/+2
|\ | | | | chore(files): Adjust wording for file type filter
| * chore(files): Adjust wording for file type filterFerdinand Thiessen2024-08-261-1/+2
| | | | | | | | | | | | * Resolves: https://github.com/nextcloud/server/issues/47440 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | 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>
* Merge pull request #47466 from nextcloud/chore/migrate-vitestFerdinand Thiessen2024-08-2613-172/+174
|\ | | | | test: Migrate from Jest to vitest
| * test: Migrated all Jest tests to vitestFerdinand Thiessen2024-08-2613-172/+174
| | | | | | | | 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>
* refactor(files): Consolidate node registrationChristopher Ng2024-08-222-52/+15
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* refactor(files): Organize event subscriptionsChristopher Ng2024-08-221-14/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Respect "Show hidden files" setting in treeChristopher Ng2024-08-221-0/+22
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: use empty template by default when pressing enterElizabeth Danzberger2024-08-212-0/+10
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* 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>