aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
Commit message (Collapse)AuthorAgeFilesLines
...
* fix(files): Fallback icons should fill the containerFerdinand Thiessen2024-09-061-2/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Add end-to-end tests for new public share Vue UIFerdinand Thiessen2024-09-062-2/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): "Edit locally" action should not be shown on public sharesFerdinand Thiessen2024-09-061-0/+6
| | | | 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-063-31/+46
| | | | | | public shares Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): "New folder" menu entry requires read permissionFerdinand Thiessen2024-09-062-6/+8
| | | | | | This will disable "New folder" menu entry for file-drop shares. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Disable internal views on public sharesFerdinand Thiessen2024-09-061-6/+9
| | | | | | This is needed because some views have side effects, like `favorites` doing requests on registration time. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files_sharing): Handle download permission the same way for public and ↵Ferdinand Thiessen2024-09-061-5/+5
| | | | | | internal shares Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Do not allow copy action on public shares without `create` ↵Ferdinand Thiessen2024-09-061-3/+17
| | | | | | permission Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files): Allow to download files on public sharesFerdinand Thiessen2024-09-062-17/+36
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Do not allow rename action on single-file-sharesFerdinand Thiessen2024-09-061-5/+11
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Disable copy-move-action of single file sharesFerdinand Thiessen2024-09-061-1/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Make `RouterService` provide a protected getter for the ↵Ferdinand Thiessen2024-09-062-16/+17
| | | | | | router to allow injecting the `files_sharing` router Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Adjust files list for sharing permissions on public sharesFerdinand Thiessen2024-09-062-4/+25
| | | | 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): Do not use `favorite`, `sidebar` and `view-in-folder` action for ↵Ferdinand Thiessen2024-09-063-6/+29
| | | | | | public shares Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* feat(files_sharing): Migrate public share to use Vue files listFerdinand Thiessen2024-09-064-12/+22
| | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> 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): undefined sidebarskjnldsv2024-09-041-1/+1
| | | | 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-293-11/+69
| | | | 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-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>