aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/src/actions
Commit message (Collapse)AuthorAgeFilesLines
* fix(files): throttle favorite with max 5 simultaneous requestsskjnldsv2024-12-111-1/+22
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): improve delete display name when trashbin is disabledfix/files/delete-display-no-trashbinRichard 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-092-0/+17
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): edit locally buttonsskjnldsv2024-11-081-8/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): open sidebar on sharing tab by default for filesskjnldsv2024-11-082-3/+39
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Add more visual move / copy notificationfix/files-add-move-infoFerdinand Thiessen2024-09-301-3/+27
| | | | | | | | * 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>
* feat(files): Make the files download action use WebDAV zip downloadFerdinand Thiessen2024-09-282-42/+58
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fix having to resolve conflicts twice when dropping filesChristopher Ng2024-09-241-11/+13
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* 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-061-20/+2
| | | | | | public shares 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-061-5/+18
| | | | 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>
* 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>
* 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: Migrated all Jest tests to vitestFerdinand Thiessen2024-08-269-123/+126
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* 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>
* refactor(files): Migrate logger util to TypescriptFerdinand Thiessen2024-08-013-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Provide file actions from list entry to make it reactiveFerdinand Thiessen2024-08-012-4/+6
| | | | | | | | 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: 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>
* chore(files_sharing): refactor Share model to tsskjnldsv2024-07-302-8/+7
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): always ask for confirmation if trashbin app is disabledskjnldsv2024-07-273-122/+330
| | | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* chore(deps): Update `@nextcloud/files` to v3.6.0Ferdinand Thiessen2024-07-251-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: stop file actions when conflict dialog skippedgrnd-alt2024-07-161-4/+1
| | | | Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
* chore(files_sharing): lint & refactor fixesskjnldsv2024-07-121-1/+1
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files_sharing): adjust IAttributes API and files_versionsskjnldsv2024-07-122-3/+3
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore(files): Fix ESLint issues with files and files_sharing appFerdinand Thiessen2024-07-099-12/+12
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* test: Adjust Typescript definitions for OCP and OCFerdinand Thiessen2024-07-096-0/+12
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Enable ESLint for apps and fix all errorsFerdinand Thiessen2024-07-092-2/+2
| | | | | | | | | Nevertheless this causes a huge amount of new warnings. Previously the shell script for directories to lint was wrong it was generating all app names to lint, but was missing the `apps/` prefix. Causing only `core` to be linted. Co-authored-by: Grigorii K. Shartsev <me@shgk.me> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Disable buttons in copy/move dialog for non writable foldersLouis Chemineau2024-07-021-1/+2
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* feat(files): increase max copy-move concurrency to 5 John Molakvoæ2024-06-261-1/+4
| | | Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
* refactor(files): Update `@nextcloud/files` to v3.5.0Ferdinand Thiessen2024-06-232-3/+2
| | | | | | * Removed now duplicated code Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Do not import from `axios` but only `@nextcloud/axios`Ferdinand Thiessen2024-06-203-10/+9
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Show non writable folders during move or copyLouis Chemineau2024-06-191-5/+3
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* fix(deleteAction): Bump up delete requests concurrency to 5fenn-cs2024-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_sharing): fix parsing of remote sharesskjnldsv2024-06-121-2/+3
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): Keep query when trigger the sidebar actionFerdinand Thiessen2024-06-081-1/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): `open-in-files` action should also set `openfile` queryFerdinand Thiessen2024-06-082-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Update current fileid in route if that node was deletedFerdinand Thiessen2024-06-041-2/+3
| | | | | | | 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(deps): Update `@nextcloud/event-bus` to version 3.3.1Ferdinand Thiessen2024-05-313-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-2920-380/+40
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* perf(deleteAction): Queue delete requestsfenn-cs2024-05-151-1/+16
| | | | | | | | | | When multiple files are deleted at once, all the requests bombard the server simultaneously, causing performance issues. This commit adds queuing that limits the concurrency of these requests to 5 at a time. Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix(deleteAction): Remove unused nc l10n importfenn-cs2024-05-151-1/+1
| | | | Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
* fix: Do not import styles that are already included in server bundleFerdinand Thiessen2024-05-062-3/+0
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Sanitize `share-types` attribute in download actionFerdinand Thiessen2024-04-161-1/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Fix translation of "Delete file"Joas Schilling2024-03-281-4/+16
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>