aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src
Commit message (Collapse)AuthorAgeFilesLines
* fix(files): failsafe when executing actions methodsskjnldsv2024-12-122-17/+48
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): cancel renaming on enter if no file name changesskjnldsv2024-12-121-0/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): virtual scroller item size computationskjnldsv2024-12-121-6/+12
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): throttle favorite with max 5 simultaneous requestsskjnldsv2024-12-121-1/+22
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): dav Node type declarationskjnldsv2024-12-123-6/+6
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): properly update paths and folder children on node moveskjnldsv2024-12-123-57/+112
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix: Fix ServiceWorker scope when Nextcloud installed in subfolderKostiantyn Miakshyn2024-12-111-2/+3
| | | | Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
* fix(files): Restore page title (folder - view - product)Ferdinand Thiessen2024-11-211-1/+13
| | | | | | | | * Folder: Current folder if not root * View: Name of current view * Product: Nextcloud Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore(assets): Recompile assets + lint fixnextcloud-command2024-11-203-3/+3
| | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Allow downloading multiple nodes not from same baseFerdinand Thiessen2024-11-203-12/+141
| | | | | | | | | | | | When downloading files in e.g. the *favorites* or *recent* view, then the nodes are not always share the same parent folder and we can not use the current directory as it is probably just a virtual one. So we calculate the longest common base and use that as the directory for the download endpoint. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): improve delete display name when trashbin is disabledbackport/49199/stable30Richard Steinmetz2024-11-191-14/+14
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* fix(files): check that node is in user root folder for view-in-folder actionskjnldsv2024-11-122-0/+17
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): open sidebar on sharing tab by default for filesskjnldsv2024-11-092-3/+40
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): edit locally buttonsbackport/49150/stable30skjnldsv2024-11-081-8/+7
| | | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* chore(files): add selection cypress testsskjnldsv2024-11-072-1/+2
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): multiselect and filters store declarationskjnldsv2024-11-071-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(Federation): Show some icon for federated users on sharesfenn-cs2024-10-301-0/+1
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(files): Do not jump to top when fileId is set to currentFolderbackport/48632/stable30Louis Chemineau2024-10-291-0/+5
| | | | | | | Fix https://github.com/nextcloud/server/issues/48545 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): add title for files list table header buttonGrigorii K. Shartsev2024-10-251-0/+1
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* refactor(files): migrate to @nextcloud/sharingGrigorii K. Shartsev2024-10-252-21/+3
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): handle empty view with errorGrigorii K. Shartsev2024-10-252-6/+63
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* chore(files): migrate davUtils to TSGrigorii K. Shartsev2024-10-253-15/+24
| | | | Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
* fix(files): Adjust NavigationQuota for Nextcloud 30 designFerdinand Thiessen2024-10-232-9/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure renaming state is correctly resetFerdinand Thiessen2024-10-212-60/+93
| | | | | | | | | | | | | Problem: Is a node is renamed and the new name is out of the current visible list of nodes the component will be recycled, this means the props will change, so when the `onRename` functions is about to reset the state the `this.source` will point to a different node. To fix this, but also to separate business logic from visual representation, the logic is moved into the renaming store and the component is only responsible for rendering. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test(files): Add tests for path handlingbackport/47905/stable30Ferdinand Thiessen2024-10-173-4/+137
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Ensure children are removed from folder and not duplicatedFerdinand Thiessen2024-10-172-13/+64
| | | | | | | | | | | * Resolves https://github.com/nextcloud/server/issues/47904 We need to make sure that we only add one source (unique!) once as a child, this is ensured by simply use a native `Set`. Also we need to remove children on from folders when the `files:node:deleted` event is emitted. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Add more visual move / copy notificationFerdinand Thiessen2024-10-173-4/+36
| | | | | | | | * Resolves: https://github.com/nextcloud/server/issues/46645 This adds loading toast notification while the move operation is running. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Make `openMenu` watcher null safeFerdinand Thiessen2024-10-171-3/+5
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Reset context menu position on closeFerdinand Thiessen2024-10-171-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): Fix folders not being selectable in the smart pickerChristopher Ng2024-10-021-12/+11
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix: Show storage full warning when storage is actually fullbackport/48354/stable30Louis Chemineau2024-09-261-2/+2
| | | | | | | | | | < 0 values for "free" do not mean that the storage is full: https://github.com/nextcloud/server/blob/6befdd6dd7cd20fe7f7036e4665bcfbb783d6803/lib/public/Files/FileInfo.php#L31-L42 Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* fix(files): Fix having to resolve conflicts twice when dropping filesbackport/48331/stable30Christopher Ng2024-09-252-13/+14
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(translations): Changed grammarrakekniven2024-09-231-1/+1
| | | | | | [skip-ci] Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
* feat: Reset route if neither the Viewer of the Sidebar is openLouis Chemineau2024-09-161-6/+22
| | | | | | | | | | 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): Render folders in natural sort orderChristopher Ng2024-09-101-3/+17
| | | | | | - Nodes are returned from the endpoint in an undefined order Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Sort tree views correctly by natural orderChristopher Ng2024-09-102-2/+0
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 appsskjnldsv2024-09-051-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-09-011-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>
* test(files): Adapt favorite views specChristopher Ng2024-08-291-26/+67
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(files): Allow more than 50 favorite viewsChristopher Ng2024-08-293-24/+15
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* 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: nextcloud-command <nextcloud-command@users.noreply.github.com> Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(files): Correctly check for already used names when creating new folderFerdinand Thiessen2024-08-291-1/+1
| | | | | | Also add Cypress tests for the "new"-menu. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: use empty template by default when pressing enterElizabeth Danzberger2024-08-292-0/+10
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* refactor(files): Consolidate node registrationChristopher Ng2024-08-292-52/+15
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* refactor(files): Organize event subscriptionsChristopher Ng2024-08-291-14/+10
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* fix(files): Respect "Show hidden files" setting in treeChristopher Ng2024-08-291-0/+22
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* feat(templates): add support for checkboxes in template fillerElizabeth Danzberger2024-08-293-12/+100
| | | | Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
* 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>