aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
Commit message (Collapse)AuthorAgeFilesLines
* fix(Federation): Show some icon for federated users on sharesfenn-cs2024-09-191-0/+1
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* feat: Reset route if neither the Viewer of the Sidebar is openLouis Chemineau2024-09-161-8/+30
| | | | | | | | | | 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): Make `openMenu` watcher null safeFerdinand Thiessen2024-09-111-3/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Reset context menu position on closeFerdinand Thiessen2024-09-111-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(files): undefined sidebarskjnldsv2024-09-041-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): missing RawLocation type importJohn Molakvoæ2024-08-301-0/+1
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Reset drop notice on firefoxFerdinand Thiessen2024-08-301-7/+31
| | | | | | | | | | | 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(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): Correctly validate new node nameFerdinand Thiessen2024-08-273-208/+188
| | | | | | | | | | | | * 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>
* fix(files): Adjust import of `ShareType`Ferdinand Thiessen2024-08-241-3/+3
| | | | | | | There must have been a backport that was not 100% correct, the exported name is called `ShareType` (without s). Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Add missing directory variable to error messageFerdinand Thiessen2024-08-212-7/+62
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Provide file actions from list entry to make it reactiveFerdinand Thiessen2024-08-216-77/+90
| | | | | | | | 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): trim names on new node creationskjnldsv2024-08-092-3/+7
| | | | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.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-021-17/+36
| | | | | | Instead we should just show an information message why the file is not moved / copied. 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> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Close the sidebar on navigationFerdinand Thiessen2024-08-022-1/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(comments): Fix issues thrown by comments sidebar tab codeFerdinand Thiessen2024-08-021-4/+4
| | | | | | | | When the comments tab is used instead of the merged activity+comments, then some issues are throws due to prop altering and duplicated names (resourceId as prop and data). This is fixed as well as some other vue related errors in the sidebar Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Ensure displayname is a stringFerdinand Thiessen2024-08-023-37/+25
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Do not split filename into `base` and `extension` for foldersFerdinand Thiessen2024-08-024-14/+17
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update `@nextcloud/files` to v3.6.0Ferdinand Thiessen2024-08-025-169/+11
| | | | 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>
* fix: Adjust tests for editLocallyActionfenn-cs2024-07-312-10/+39
| | | | 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): always ask for confirmation if trashbin app is disabledskjnldsv2024-07-274-102/+353
| | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): ensure forbiddenCharacters is an arrayMaksim Sukharev2024-07-252-2/+2
| | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* fix(files): validate input when creating file/directoryMaksim Sukharev2024-07-242-10/+67
| | | | Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
* fix: stop file actions when conflict dialog skippedgrnd-alt2024-07-161-4/+1
| | | | | | Signed-off-by: grnd-alt <salimbelakkaf@outlook.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* refactor: Use composable for `currentView` and `views` to make it reactive ↵Ferdinand Thiessen2024-07-1014-158/+364
| | | | | | when shared with other Vue apps Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(deps): Update `debounce` to 2.1.0Ferdinand Thiessen2024-07-101-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Update `@nextcloud/files` to v3.5.1Ferdinand Thiessen2024-07-109-56/+10
| | | | | | * Removed now duplicated code Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* sidebar: allow turning off tags view by defaultGit'Fellow2024-07-092-2/+13
| | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> sidebar: allow turning off tags view by default Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Rename openFileInfo to fileInfoLouis Chemineau2024-07-011-2/+5
| | | | | | And check if openFile is set in the URL before opening a file. Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Don't react to clicks when renamingLouis Chemineau2024-07-011-0/+9
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(files): increase max copy-move concurrency to 5 John Molakvoæ2024-07-011-1/+4
| | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* fix(files): Update favorites navigation list on folder renamesLouis Chemineau2024-06-273-2/+71
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): correctly import WebDAV client in files storeFerdinand Thiessen2024-06-171-1/+2
| | | | | | | The files store was importing the client, but this is only on current master on stableX we still need to import the getter function. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(deleteAction): Bump up delete requests concurrency to 5Arthur Schiwon2024-06-171-1/+1
| | | | | | A concurrency of who is not efficient. Low throughput, underutilization, high latency etc... Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files): Show non writable folders during move or copyLouis Chemineau2024-06-141-5/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Ignore right click for default actionLouis Chemineau2024-06-131-0/+5
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): fetch nodes if we have multiple of the same fileid in the storeskjnldsv2024-06-131-3/+44
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): do not rely on unique fileidskjnldsv2024-06-1312-77/+90
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): also trigger new tab on file name middle clickJohn Molakvoæ (skjnldsv)2024-06-124-5/+9
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files_sharing): fix parsing of remote sharesskjnldsv2024-06-122-7/+8
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): handling numbered type owner name & idSanskar Soni2024-06-121-2/+4
| | | | | | Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): reset menu pos when opening in grid modeJohn Molakvoæ (skjnldsv)2024-06-121-9/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* feat(cypress): Add tests for files sidebarFerdinand Thiessen2024-06-101-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Update current fileid in route if that node was deletedFerdinand Thiessen2024-06-103-3/+40
| | | | | | | We do not change the view to the trash bin but stay in the current view, so we need to update the current fileid on the route if that was deleted. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Close sidebar if shown node is deletedFerdinand Thiessen2024-06-101-1/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure that focussed file is always scrolled rightFerdinand Thiessen2024-06-081-0/+24
| | | | | | | | Ensure the correct file is scrolled if the content changes, this also sets a minimal height to the virtual scrolling area so that the `scrollTop` can be set. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Keep query when trigger the sidebar actionFerdinand Thiessen2024-06-081-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>