aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files
Commit message (Collapse)AuthorAgeFilesLines
...
| * fix(files): Rename openFileInfo to fileInfoLouis Chemineau2024-06-192-3/+6
| | | | | | | | | | | | And check if openFile is set in the URL before opening a file. Signed-off-by: Louis Chemineau <louis@chmn.me>
* | chore(assets): Recompile assetsnextcloud-command2024-06-196-4/+25
| | | | | | | | Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | chore: Add SPDX headerAndy Scherzinger2024-06-195-0/+14
|/ | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Merge pull request #45957 from nextcloud/perf/cache-storage-stats-headerRichard Steinmetz2024-06-191-1/+3
|\ | | | | perf: Tell browsers to cache storage stats endpoint as it is cached
| * perf: Tell browsers to cache storage stats endpoint as it is cachedJulius Härtl2024-06-181-1/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-06-196-0/+12
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #45902 from nextcloud/fix/bump-delete-request-concurrencyFerdinand Thiessen2024-06-171-1/+1
|\ | | | | fix(deleteAction): Bump up delete requests concurrency to 5
| * 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>
* | Merge pull request #45884 from nextcloud/fix/files-ownership-denyCôme Chilliet2024-06-172-29/+34
|\ \ | |/ |/| fix(files): Properly handle denied ownership transfers
| * fix(files): Properly handle denied ownership transfersFerdinand Thiessen2024-06-142-29/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | When the receiver denies the transfer the notification handler was missing, so no notification was created for the transfer owner. But also the internal notification was created two times: 1. When rejecting the transfer 2. By the reject function when dismissing the notification This is fixed by only relying on the dismiss function. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-06-162-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-06-154-4/+6
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #45861 from nextcloud/artonge/fix/right-clickJohn Molakvoæ2024-06-141-0/+5
|\
| * fix(files): Ignore right click for default actionLouis Chemineau2024-06-131-0/+5
| | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-06-142-0/+2
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix(files): fetch nodes if we have multiple of the same fileid in the storeskjnldsv2024-06-121-3/+44
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* fix(files): do not rely on unique fileidskjnldsv2024-06-1212-80/+88
| | | | 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>
* fix(files_sharing): fix parsing of remote sharesskjnldsv2024-06-122-7/+8
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* Merge pull request #45789 from nextcloud/fix/cy-selectorJohn Molakvoæ2024-06-121-1/+1
|\
| * fix(files): Use `data-cy` (data attribute) instead of `cy-data`Ferdinand Thiessen2024-06-111-1/+1
| | | | | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* | Fix(l10n): Update translations from TransifexNextcloud bot2024-06-122-0/+2
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* refactor(files): Migrate `personal` view to `@nextcloud/files` functionsFerdinand Thiessen2024-06-111-23/+22
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Migrate `favorites` view to `@nextcloud/files` functions ↵Ferdinand Thiessen2024-06-112-40/+35
| | | | | | | | and make it cancelable Also this fixes the view being writeable Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Migrate `recent` view to `@nextcloud/files` functions and ↵Ferdinand Thiessen2024-06-111-28/+34
| | | | | | make it cancelable Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Migrate files service to functions from `@nextcloud/files`Ferdinand Thiessen2024-06-112-101/+17
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-06-112-4/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-06-102-0/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-06-092-0/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* 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>
* fix(files): `open-in-files` action should also set `openfile` queryFerdinand Thiessen2024-06-082-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Fix TypeScript issues in FileEntryActionsFerdinand Thiessen2024-06-082-7/+9
| | | | | | | | * We filter the array in `enabledSubmenuActions` so we can be sure the action does have a parent * Node attributes must be accessed using the `attributes` getter not the private `_attributes` property * Cast action ref to correct component interface to make TypeScript happy Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-06-084-0/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix(files): Correctly type virtual files list ref typeFerdinand Thiessen2024-06-071-2/+4
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-06-0710-0/+10
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* chore: Add SPDX headerAndy Scherzinger2024-06-066-3/+9
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-06-064-0/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix(l10n): Update translations from TransifexNextcloud bot2024-06-0528-20/+1004
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* fix(files): reset menu pos when opening in grid modeJohn Molakvoæ (skjnldsv)2024-06-041-9/+5
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix(files): Only execute default action if there is an action to performFerdinand Thiessen2024-06-041-7/+11
| | | | | | | Some files do not have a default action (can not be viewed and only downloaded). If the `openfile` query is set on them the `handleOpenFile` will throw an error. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(files): Update current fileid in route if that node was deletedFerdinand Thiessen2024-06-043-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-041-1/+14
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Make `currentView` a prop of `FilesListTableFooter`Ferdinand Thiessen2024-05-312-6/+7
| | | | | | | | We already have this as a required prop in `FilesListVirtual`, so passing it to the footer is straight forward and removed need of computed value. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Properly add type information to FilesListTableFooterFerdinand Thiessen2024-05-311-8/+8
| | | | | | | | - Add correct type for `nodes` prop. - Use `defineComponent` to properly infer Typescript information - Correct usage of nullish coalescing operator Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Fix Typescript issues in filesListWidth mixinFerdinand Thiessen2024-05-311-4/+9
| | | | | | | | | Use `defineComponent` to properly inherit typings. Expect TS errors for the `$resizeOberserver` as we attach it directly on the component instance. `filesListWidth` is now a number which defaults to 0, making compares like `this.fileListWidth < 768` valid in Typescript. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Correctly cast table ref to fix TypeScript errorsFerdinand Thiessen2024-05-311-6/+7
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(deps): Update `@nextcloud/event-bus` to version 3.3.1Ferdinand Thiessen2024-05-315-4/+16
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix: Update `@nextcloud/files` to 3.4.0 to fix public link sharesFerdinand Thiessen2024-05-312-2/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(files): Consistently sort imports of FileEntryMixinFerdinand Thiessen2024-05-311-3/+3
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>