Commit Graph

7831 Commits (6afe12593ea9339ea396c2710eda128fe79ca15c)

Author SHA1 Message Date
Pytal 7cc1b2a102
Merge pull request #48512 from nextcloud/fix/pick-folder-smart-picker
fix(files): Fix folders not being selectable in the smart picker
2024-10-02 02:07:50 +07:00
Nextcloud bot 17cb6a81fd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-02 00:19:58 +07:00
Christopher Ng 51bb8d07f8 fix(files): Fix folders not being selectable in the smart picker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-01 15:55:14 +07:00
Nextcloud bot 208f190cf2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-01 00:20:31 +07:00
provokateurin f2a019e60e
perf(files): Adjust default chunk size for chunked upload to 100MiB
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-30 16:29:11 +07:00
Ferdinand Thiessen d97e17b920
fix(files): Add more visual move / copy notification
* 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>
2024-09-30 13:33:45 +07:00
Nextcloud bot da591eaec3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-29 00:27:57 +07:00
Ferdinand Thiessen 0f6760c810
feat(files): Make the files download action use WebDAV zip download
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 13:18:29 +07:00
Nextcloud bot 5140585fbb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-28 00:20:08 +07:00
Nextcloud bot 7887ab8cfa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-27 00:20:34 +07:00
Louis 098f3c1564
Merge pull request #48354 from nextcloud/artonge/fix/storage_full_warning
fix: Show storage full warning when storage is actually full
2024-09-26 10:38:34 +07:00
Nextcloud bot 9a220989dd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-26 00:23:09 +07:00
Louis Chemineau d576efbb18
fix: Show storage full warning when storage is actually full
< 0 values for "free" do not mean that the storage is full: 6befdd6dd7/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>
2024-09-25 19:42:35 +07:00
Simon L. 6befdd6dd7
Merge pull request #48331 from nextcloud/fix/duplicated-conflict-resolution
fix(files): Fix having to resolve conflicts twice when dropping files
2024-09-25 12:05:13 +07:00
Nextcloud bot cc7dcf62b3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-25 00:21:16 +07:00
Christopher Ng e3d0bd47a4 fix(files): Fix having to resolve conflicts twice when dropping files
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-24 16:01:05 +07:00
Côme Chilliet 280f6df66c
Merge pull request #32018 from nextcloud/cleanup/event/trashbin
Port files trashbin events to IEventDispatcher/IEventListener
2024-09-24 17:15:39 +07:00
Côme Chilliet af0b8fbd17
fix(tests): Fix tests now that trashbin listens to events properly
Hooks are cleared in test bootstrap so switching to events activates
 them in tests.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-23 18:13:29 +07:00
rakekniven 854caedf43
fix(translations): Changed grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-23 16:18:53 +07:00
Côme Chilliet 8927510685
Merge pull request #48223 from nextcloud/feat/add-rector-config
Add rector config
2024-09-23 15:10:30 +07:00
Joas Schilling 096f893d46
fix(activity): Update more activity providers to use new exceptions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-23 12:31:59 +07:00
Nextcloud bot 46301a10c2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-23 00:20:25 +07:00
Nextcloud bot a33a2e2f9c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-21 00:20:41 +07:00
Côme Chilliet 1a4978c4ea
chore: Apply rector configuration to apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-20 17:51:00 +07:00
Ferdinand Thiessen dec9a39a18
chore: Move legacy dialogs template from files to core until we can remove it
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 13:47:08 +07:00
Ferdinand Thiessen 4c067fcbae
chore(files): Remove legacy style files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 13:46:46 +07:00
Ferdinand Thiessen 3119108654
chore(files): Remove legacy UI scripts now that everything is migrated to Vue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 13:46:39 +07:00
Ferdinand Thiessen f02bcf3471
test(files): Add tests for path handling
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 11:09:17 +07:00
Ferdinand Thiessen 020b3ee25e
fix(files): Ensure children are removed from folder and not duplicated
* 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>
2024-09-20 11:09:17 +07:00
Nextcloud bot 436bd44967
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-20 00:21:13 +07:00
provokateurin 9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +07:00
Nextcloud bot 13fce9fb9d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 09:28:00 +07:00
Nextcloud bot 29a03ff8fe
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 00:22:04 +07:00
Anna Larch 1ce46c1fca refactor: move to new activity exception
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-17 12:06:24 +07:00
Nextcloud bot d76d971e55
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 00:20:40 +07:00
John Molakvoæ f5512ca062
Merge pull request #47792 from nextcloud/chore/use-public-api-helper 2024-09-16 11:20:58 +07:00
Nextcloud bot d6a59be1c0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 00:20:11 +07:00
Christoph Wurst 49dd79eabb
refactor: Add void return type to PHPUnit test methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 22:32:31 +07:00
Louis Chemineau 699ce26e42
fix: Restore missing dot in FilesListVirtual.vue
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-15 11:09:37 +07:00
Louis 3c9111e4f8
Merge pull request #47920 from nextcloud/artonge/feat/reset_route_when_sidebar_and_viewer_are_close
feat: Reset route if neither the Viewer of the Sidebar is open
2024-09-14 23:49:47 +07:00
Louis Chemineau 2da1c5717e
feat: Reset route if neither the Viewer of the Sidebar is open
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>
2024-09-14 21:50:23 +07:00
Nextcloud bot 26aa322e44
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-14 00:21:21 +07:00
Nextcloud bot c9e4598360
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 00:20:46 +07:00
Nextcloud bot ecdc144d1d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-12 00:20:20 +07:00
Ferdinand Thiessen 7a345f68dc fix(files): Make `openMenu` watcher null safe
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 13:44:12 +07:00
Nextcloud bot 4bc8ba5b22
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-11 00:21:11 +07:00
Ferdinand Thiessen 49c2d1819e
fix(files): Reset context menu position on close
* 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>
2024-09-10 13:19:25 +07:00
Pytal d4313c2b89
Merge pull request #47294 from nextcloud/fix/natural-order-tree
fix(files): Sort tree views correctly by natural order
2024-09-10 01:00:31 +07:00
Nextcloud bot a51c200cab
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-10 00:37:30 +07:00
Christopher Ng 060783c4f4 fix(files): Render folders in natural sort order
- Nodes are returned from the endpoint in an undefined order

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-09 16:11:43 +07:00
Christopher Ng 6b079e67a2 fix(files): Sort tree views correctly by natural order
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-09 16:11:43 +07:00
provokateurin b0baaaed9d
feat(NavigationManager): Add default entries handling
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +07:00
Nextcloud bot a2cfcf3ca7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-09 00:23:27 +07:00
Nextcloud bot 926bd29617
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-08 00:36:35 +07:00
Nextcloud bot 7a6191ebb9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-07 00:36:58 +07:00
Ferdinand Thiessen b7e2d5032f
fix(files): Fallback icons should fill the container
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 14:08:51 +07:00
Ferdinand Thiessen 4a90d5328c
test: Add end-to-end tests for new public share Vue UI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:48 +07:00
Ferdinand Thiessen be884eeaec
fix(files): "Edit locally" action should not be shown on public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:48 +07:00
Ferdinand Thiessen 018af2a2fe
fix(files): Do not add click listener if there is no default action on public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:48 +07:00
Ferdinand Thiessen c9dc0afcb1
fix(files): "New folder" menu entry requires read permission
This will disable "New folder" menu entry for file-drop shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:48 +07:00
Ferdinand Thiessen 80033bde88
fix(files): Disable internal views on public shares
This is needed because some views have side effects, like `favorites` doing requests on registration time.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +07:00
Ferdinand Thiessen 1d16bc47ff
fix(files_sharing): Handle download permission the same way for public and internal shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +07:00
Ferdinand Thiessen e93ceea804
fix(files): Do not allow copy action on public shares without `create` permission
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +07:00
Ferdinand Thiessen a84de3c755
feat(files): Allow to download files on public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +07:00
Ferdinand Thiessen ada6a61688
fix(files): Do not allow rename action on single-file-shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +07:00
Ferdinand Thiessen f0a765ee46
fix(files): Disable copy-move-action of single file shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +07:00
Ferdinand Thiessen f109c1a044
refactor(files): Make `RouterService` provide a protected getter for the router to allow injecting the `files_sharing` router
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +07:00
Ferdinand Thiessen 82a7a3971d
fix(files): Adjust files list for sharing permissions on public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +07:00
Ferdinand Thiessen 819f5cea9b
fix(files): Fix file previews for public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +07:00
Ferdinand Thiessen 767e87a466
fix(files): Do not use `favorite`, `sidebar` and `view-in-folder` action for public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +07:00
Ferdinand Thiessen 96c8275586
feat(files_sharing): Migrate public share to use Vue files list
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>
2024-09-06 03:38:42 +07:00
Nextcloud bot e4fa996701
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-06 00:25:10 +07:00
Ferdinand Thiessen ede38709b5
chore(files): Use public API where possible
This is not fixing all issues in the helper,
but at least where possible use the public methods.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-05 23:00:27 +07:00
Anna Larch 8af7ecb257 chore: adjust code to adhere to coding standard
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:23:38 +07:00
Côme Chilliet 0555900134 fix(transfer-ownership): Improve comments according to code review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 14:44:50 +07:00
Côme Chilliet d92bf388b1 feat(transfer-ownership): Correctly react to encrypted files
For E2EE encrypted files, we abort the transfer.
For SSE encrypted files, we abort only if not using master key.
Also fixed the check for when the path to a single file is used.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 14:44:50 +07:00
Nextcloud bot 8cded1e320
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-05 00:23:50 +07:00
skjnldsv 1ece5b975d fix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 apps
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-04 18:12:34 +07:00
skjnldsv 62878c5ece fix(files): undefined sidebar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-04 14:10:37 +07:00
Nextcloud bot 94d259e750
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-04 00:21:54 +07:00
Christopher Ng 930a5141ea fix(files): Fix navigating with breadcrumbs not highlighting navigation entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-03 10:34:03 +07:00
Nextcloud bot b3a80719e6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-03 00:20:58 +07:00
Nextcloud bot 3973a8f722
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-02 00:21:05 +07:00
Ferdinand Thiessen f01c8efa38 fix(files): Node loading information should be accessible
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>
2024-08-31 18:39:16 +07:00
Nextcloud bot 7b05c34385
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-30 16:32:38 +07:00
Ferdinand Thiessen 75a684a8d3
chore(files): Fix remaining TypeScript errors in FileEntryPreview
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-29 23:08:13 +07:00
Louis Chemineau 56e4859201
feat: Use the blurhash in Files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-29 23:08:11 +07:00
Louis Chemineau c42f010167 fix(files): Remove margin and width to not break layout
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>
2024-08-29 11:50:25 +07:00
Ferdinand Thiessen faeb2f0f43 chore: Add stylelint rules to verify we only use logical properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 08:35:06 +07:00
Ferdinand Thiessen aea0e8df6a fix: Adjust more places for logical position
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-29 08:32:48 +07:00
Mostafa Ahangarha 723780d184 feat: Add bidi support in core directory
Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
2024-08-29 08:32:47 +07:00
Nextcloud bot d48c6aaaaa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-29 00:21:09 +07:00
Ferdinand Thiessen 030c209d22 fix: Renaming does not need update but delete permissions
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>
2024-08-28 17:22:20 +07:00
Louis Chemineau 2574cbfa61
chore: Apply php:cs recommendations
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-28 10:44:18 +07:00
Robin Appelman b21a399d1a
fix: implement sharding compatible cleanup for various bits
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:27:14 +07:00
Robin Appelman e538f4699d
fix: adjust systemtag orphan cleanup query to work with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:20 +07:00
Robin Appelman 80a25531f7
fix: make background scan job compatible with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +07:00
Nextcloud bot 32d76b0b4b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-28 00:23:12 +07:00
Christopher Ng a1f43964dc test(files): Adapt favorite views spec
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-27 15:37:27 +07:00
Christopher Ng 9cc1a020a2 feat(files): Allow more than 50 favorite views
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-27 14:33:39 +07:00
Christopher Ng 71e653c0bc perf(files): Do not block files page load with server-side favorites retrieval
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-27 14:33:39 +07:00
Elizabeth Danzberger 79d005e11f
feat(templates): add support for checkboxes in template filler
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-08-27 14:41:58 +07:00
Ferdinand Thiessen 988ea85f48 fix(files): Correctly check for already used names when creating new folder
Also add Cypress tests for the "new"-menu.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-27 19:40:38 +07:00
Elizabeth Danzberger 99221f2a42 fix(files): fix list gap at bottom
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-27 08:53:57 +07:00
Nextcloud bot f35e33f2d8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-27 00:20:54 +07:00
Ferdinand Thiessen 21b997f845
Merge pull request #47490 from nextcloud/chore/adjust-translations
chore(files): Adjust wording for file type filter
2024-08-26 21:40:27 +07:00
Ferdinand Thiessen 3ffdf56c8f
chore(files): Adjust wording for file type filter
* Resolves: https://github.com/nextcloud/server/issues/47440

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 20:42:41 +07:00
Ferdinand Thiessen f7b7474cd3
fix(files): Reset drop notice on firefox
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>
2024-08-26 20:31:31 +07:00
Ferdinand Thiessen 4fcf4dba02
Merge pull request #47466 from nextcloud/chore/migrate-vitest
test: Migrate from Jest to vitest
2024-08-26 20:30:26 +07:00
Ferdinand Thiessen a5e58dc45e
test: Migrated all Jest tests to vitest
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +07:00
Ferdinand Thiessen b1eecde452
fix(files): Remove huge margin on bottom
Instead make it relative to screen size.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 16:31:25 +07:00
Nextcloud bot 23bbb31445
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-26 00:20:22 +07:00
Daniel Kesselberg af6de04e9e
style: update codestyle for coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +07:00
Nextcloud bot 1cc6b3577f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-25 00:24:21 +07:00
Nextcloud bot e97421f12a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-24 00:20:27 +07:00
Nextcloud bot 0cab17bfe7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-23 00:20:06 +07:00
Christopher Ng fc1edaf4c1 refactor(files): Consolidate node registration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-22 16:09:10 +07:00
Christopher Ng 3b185b1156 refactor(files): Organize event subscriptions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-22 16:09:10 +07:00
Christopher Ng 4062883459 fix(files): Respect "Show hidden files" setting in tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-22 16:09:10 +07:00
Nextcloud bot b33260a22c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-22 00:20:22 +07:00
Elizabeth Danzberger e53684e1d9
fix: use empty template by default when pressing enter
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-08-21 15:00:26 +07:00
Ferdinand Thiessen 974cda636f
Merge pull request #47370 from nextcloud/fix/loading-icon
fix(files): Move loading icon before grid toggle
2024-08-21 14:37:47 +07:00
Ferdinand Thiessen 1331ce7e7c
fix(files): Move loading icon before grid toggle
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>
2024-08-21 12:47:21 +07:00
provokateurin ff10f9f60f
chore(deps): Update openapi-extractor to v1.0.0
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-21 11:07:50 +07:00
Nextcloud bot 1907eeea35
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-21 00:20:18 +07:00
Nextcloud bot 2b7d9c1c9d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-20 00:20:33 +07:00
Robin Appelman 40c91aa31e
Merge pull request #47182 from nextcloud/orphan-cleanup-chunk-perf
perf: improve cleanup of tags/comments
2024-08-19 13:40:01 +07:00
Nextcloud bot 551ff4955e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-19 00:20:19 +07:00
Nextcloud bot e06931854a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-18 00:22:56 +07:00
Ferdinand Thiessen 132220a89f
fix: Access node owner by top level `owner` property
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-17 17:59:10 +07:00
Nextcloud bot dcdb4bbf8a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-17 00:20:22 +07:00
Nextcloud bot f4f7c757d4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-16 00:20:07 +07:00
Robin Appelman 0f9ea1992c perf: improve cleanup of tags/comments
delete entire chunk at once instead of one-by-one

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-15 17:13:57 +07:00
Nextcloud bot e218d1f98e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-15 00:25:46 +07:00
John Molakvoæ effbc44756
Merge pull request #47212 from nextcloud/chore/master-is-now-31 2024-08-14 11:29:57 +07:00
Joas Schilling eb365438d6
feat(branchoff): Bump versions and requirements in apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 10:03:30 +07:00
Ferdinand Thiessen ee4fb148b3 perf(files): Cache `getContents` function used for uploader
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>
2024-08-14 09:47:56 +07:00
Ferdinand Thiessen 7fec706f68 refactor(files): Drop unneeded initial state
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>
2024-08-14 09:31:27 +07:00
Christopher Ng 0c0ba5f552 fix(files): Fix non-sticky sticky views in files nav
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-14 07:27:49 +07:00
rakekniven b030449ad1 chore(i18n): Improved grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-14 07:18:27 +07:00
Nextcloud bot 832a1420e2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-14 00:20:23 +07:00
Ferdinand Thiessen ea021df9fa
chore(deps): Update `@nextcloud/auth` to v2.4.0 and use `getCSPNonce` where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 17:54:47 +07:00
Ferdinand Thiessen 58acf4c608 fix(files): Add messages when "new folder" fails or gets cancelled
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 10:31:07 +07:00
Nextcloud bot 21db618174
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-13 00:20:11 +07:00
Nextcloud bot 1a7acf061e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-12 00:19:52 +07:00
Pytal 4a512d408d
Merge pull request #47157 from nextcloud/perf/prevent-extra-requests
perf(files): Prevent extraneous requests when tree children are loading
2024-08-10 05:59:44 +07:00
Nextcloud bot dbd197cedc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-10 00:20:14 +07:00
Christopher Ng a3ad8daed6 perf(files): Prevent extraneous requests when tree children are loading
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-09 15:32:17 +07:00
skjnldsv e4e12a35f5 fix(files): trim names on new node creation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-09 11:58:37 +07:00
Konstantin Myakshin 81ee1ce8fc fix(files): Disable tags editing for shared files/folders with view only permission
Signed-off-by: Konstantin Myakshin <molodchick@gmail.com>
2024-08-09 11:42:28 +07:00
Nextcloud bot dda6dd0bf4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-09 00:25:27 +07:00
Christopher Ng 44bc57bc57 feat: Load limited depth tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 11:15:52 +07:00
Christopher Ng cfec6fcb1a feat(files): Add getter for all view configs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 10:52:20 +07:00
Christopher Ng 86459aa5da perf(files): Remove redundant call to get navigation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 10:52:20 +07:00
Christopher Ng 36cf891b7f feat(files): Update openapi
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 10:52:20 +07:00
Christopher Ng e9083db768 feat(files): Allow specifying path and depth for returned folder tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 10:52:20 +07:00
Nextcloud bot 5f89477c79
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-08 00:20:57 +07:00
skjnldsv 827c6fdda9 fix(files): file name and header sort buttons alignments
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-07 15:12:32 +07:00
skjnldsv 40d9b42c84 fix(files): use `files:config:updated` to monitor user config change
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-07 10:50:33 +07:00
Nextcloud bot fbbc10466b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-07 00:20:09 +07:00
Nextcloud bot 69814cd4f7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-06 00:20:11 +07:00
Nextcloud bot 05c0895276
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-05 00:20:35 +07:00
Nextcloud bot 0c22976877
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-04 00:19:45 +07:00
Ferdinand Thiessen 4150492ffc
fix(files): When redirecting to a file (internal link) then it should open by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-03 13:53:53 +07:00
Ferdinand Thiessen 066bd0a25d
fix(files): `openfile` is set on the query not as a param
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-03 13:52:12 +07:00
Nextcloud bot 86bcafd366
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-03 00:19:49 +07:00
skjnldsv 760c37b52e fix(files): show folder sharing overlay on received shares
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-02 16:52:12 +07:00
julia.kirschenheuter ff6ba29475 fix(files): Minimize `min-height` of dialog form
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-02 07:10:00 +07:00
John Molakvoæ aabd6ef8be
Merge pull request #46963 from nextcloud/fix/move-copy-error 2024-08-02 02:20:45 +07:00
Nextcloud bot 94ee03d1cc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-02 00:19:37 +07:00
Ferdinand Thiessen ff795ee527 fix(files): cancel move-copy action should not be handled as an error
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>
2024-08-01 21:04:22 +07:00
Christopher Ng 012e2687ab feat(files): Update openapi spec
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:56 +07:00
Christopher Ng 8f27cd6d5d test(files): Fix ApiController test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:56 +07:00
Christopher Ng 0def7fa71c feat(files): Allow toggling folder tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:56 +07:00
Christopher Ng 5812a3422f fix(files): Fix root crumb not marking navigation entry as active
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:56 +07:00
Christopher Ng 3fabc4f733 feat: Navigate via folder tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:56 +07:00
Christopher Ng 855a45650e feat(files): Support setting view config for complex ids
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:36 +07:00
Christopher Ng aa4d82d428 feat(files): Implement endpoint to retrieve a user's folder tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:14:44 +07:00
Kate 13921cab98
Merge pull request #46807 from nextcloud/refactor/files/security-attributes 2024-08-01 15:40:40 +07:00
Ferdinand Thiessen 270ec122e0
fix(files): Correctly create Nodes from WebDAV result in "recent"-view
The recent search works on a different remote URL so the source of the files were wrong,
because the remote url was included twice in the source.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 14:17:48 +07:00
Andy Scherzinger 014fcb0131
Merge pull request #45950 from nextcloud/chore/remove-depreacted-search
chore: Remove deprecated legacy search backend
2024-08-01 13:56:09 +07:00
Julius Härtl a6d421e767
chore: Remove deprecated legacy search backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-01 12:33:18 +07:00
skjnldsv 57ab6e1180 fix(files): empty folder pending size
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-01 09:29:20 +07:00
Ferdinand Thiessen 1b9d6194f3 refactor(files): Resort imports and fix doc comment
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 07:14:04 +07:00
Ferdinand Thiessen 172c43351e
refactor(files): Migrate logger util to Typescript
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 03:20:56 +07:00
Ferdinand Thiessen 7ec1a7888e
fix(files): Add missing directory variable to error message
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 01:54:47 +07:00
Ferdinand Thiessen a39f13e94e
fix(files): Provide file actions from list entry to make it reactive
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>
2024-08-01 01:54:42 +07:00
Ferdinand Thiessen f570507156 fix(files): Add missing `emptyView` handling
The interface provides this option but it was never implemented.
This feature of being able to render a custom empty view message is needed
for public file drops to properly show the terms of service.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 20:07:57 +07:00
Ferdinand Thiessen c8c84e6617
Merge pull request #46913 from nextcloud/fix/menu-order
fix: template folder and file request menu order
2024-07-31 21:52:51 +07:00
skjnldsv e2d49f49a9 fix(files): fix template folder and file request menu order
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 18:44:50 +07:00
skjnldsv 790d925024 fix(files): do not show legacy `edit locally` action on public pages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-31 17:40:11 +07:00
Ferdinand Thiessen 6a0edef4da
Merge pull request #46897 from nextcloud/fix/missing-template
revert: chore(files): cleanup old templates
2024-07-31 12:22:27 +07:00
fenn-cs efcf98d923 fix: Adjust tests for editLocallyAction
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-31 10:28:05 +07:00
fenn-cs 267ae6f97c feat(editLocallyAction): Handle possible no local client scenario
Resolves: https://github.com/nextcloud/server/issues/46438

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-31 10:25:26 +07:00
Ferdinand Thiessen 8241af0414
revert: chore(files): cleanup old templates
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 10:58:00 +07:00
Ferdinand Thiessen 6bd886ef6e
fix(files): Set container for file list actions
This is needed to ensure the actions are rendered below dialogs which will have the body as the container.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 10:42:54 +07:00
John Molakvoæ 45073f9448
Merge pull request #46895 from nextcloud/fix/template-filler 2024-07-31 08:24:58 +07:00
Nextcloud bot 4b4af0b6b8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-31 00:20:17 +07:00
Elizabeth Danzberger 423730963d
fix: Go back to template picker if template filler closed
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-30 15:30:36 +07:00
Elizabeth Danzberger 6c3a4a9f20
fix: Template filler shows only if template has fields
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-30 15:18:09 +07:00
Ferdinand Thiessen 77cffcb049
fix(files_sharing): Make account file filter consistent have design
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 16:40:14 +07:00
skjnldsv 197c35598c chore(files_sharing): refactor Share model to ts
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-30 09:50:46 +07:00
Raimund Schlüßler 6be686dc46
fix(files): correctly shrink breadcrumbs bar
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2024-07-30 10:26:02 +07:00
Nextcloud bot 016fbb93e0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-30 00:19:55 +07:00
withbest dd08f93202 chore: fix some comments
Signed-off-by: withbest <seekseat@outlook.com>
2024-07-29 14:43:27 +07:00
Nextcloud bot 8f235982c9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-29 00:20:16 +07:00
Nextcloud bot 1ac631ba0f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-28 00:39:35 +07:00
provokateurin 3fde60db85
refactor(files): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:44:01 +07:00
skjnldsv e32b335289 fix(files): always ask for confirmation if trashbin app is disabled
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-27 07:13:39 +07:00
Nextcloud bot 1198f64d24
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-27 00:19:22 +07:00
Ferdinand Thiessen 7abaee813a fix(files): Ensure scrolled file list does not leak through file filters
1. when scrolling the file list should not be visible behind the filters
2. on mobile we need to remove the padding of the filters to ensure they are accessible

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 15:27:29 +07:00
Ferdinand Thiessen dd88fa03a4 fix(files): Correctly validate new node name
* 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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-26 08:46:23 +07:00
Nextcloud bot c2acabf020
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-26 00:19:53 +07:00
Ferdinand Thiessen 97ea95714a
Merge pull request #45708 from nextcloud/feat/files-filters
feat(files): Implement files list filters
2024-07-25 20:12:52 +07:00
Andy Scherzinger 4f2a29adf9
Merge pull request #46672 from nextcloud/fix/preview-invalid-id
Avoid using partial file info as valid one
2024-07-25 19:37:30 +07:00
Ferdinand Thiessen 2c0e2cc09e
test: Add cypress tests for file list filtering
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:28 +07:00
Ferdinand Thiessen aad09764cd
refactor: Make route parameters accessible using composables to reuse
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:28 +07:00
Ferdinand Thiessen 842c21f96b
feat(files): Implement files list filters for name, modified time and type
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:23 +07:00
Ferdinand Thiessen 968d41241b
feat(files): Allow to add file list filters
This adds sticky file list filters above the file list.
Those filters are used to filter the directory content and thus filter the file list.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:15:38 +07:00
Ferdinand Thiessen 523e0d3f2b
fix(files): Use `@nextcloud/files` filename validation to show more details
This will enable showing more details what exactly is wrong with the filename.
Especially with the new capabilities introduced with Nextcloud 30.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 15:49:33 +07:00
Elizabeth Danzberger b749a89a33
fix: PHP formatting
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:41 +07:00
Elizabeth Danzberger 6aea44920d
fix: Can close template filler modal
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +07:00
Elizabeth Danzberger 3390fc1b94
fix: Add SPDX header to new file
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +07:00
Elizabeth Danzberger 1b904f1252
feat: Add frontend components for filling out template
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +07:00
Elizabeth Danzberger efe03ee690
feat: Add support for filling fields to backend components
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +07:00
Elizabeth Danzberger a7addcb88f
fix(vue): Begin implementing template filler component
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +07:00
Elizabeth Danzberger e65f318fdf
feat: TemplateFiller component
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:38 +07:00
Elizabeth Danzberger d3bfcec7ea
feat: Add template filler component
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:38 +07:00
Ferdinand Thiessen 80d797edf3
fix: Ensure displayname is a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 01:24:26 +07:00
Ferdinand Thiessen 5dc8e06014
fix(files): Do not split filename into `base` and `extension` for folders
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 01:24:26 +07:00
Ferdinand Thiessen f95d8263f6
chore(deps): Update `@nextcloud/files` to v3.6.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 01:24:26 +07:00
Maksim Sukharev 5709e54b8d fix(files): validate input when creating file/directory
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-24 13:14:56 +07:00
Louis Chemineau 1aeb3f328b
fix(files): Grid view virtual scrolling computations
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-24 09:38:51 +07:00
Louis Chemineau ddad7b48eb
fix(files): Reduce preview size in grid view mode
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-24 09:38:51 +07:00
Nextcloud bot 55f81eae13
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-24 00:19:45 +07:00
Nextcloud bot a884d48413
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-23 00:19:28 +07:00
Julius Härtl 6c1e896a03 fix: Ignore preview requests for invalid file ids
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-22 22:32:34 +07:00
Nextcloud bot bd0b26178a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-22 00:19:13 +07:00
Nextcloud bot fd1dabf01b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-21 00:19:45 +07:00
Nextcloud bot cdfa01abfc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-20 00:19:36 +07:00
John Molakvoæ bc531be406
Merge pull request #46631 from nextcloud/feat/file-request-cypress 2024-07-19 17:33:14 +07:00
Ferdinand Thiessen 1d77a3883f
Merge pull request #46558 from nextcloud/feat/add-setting-for-windows-compat
feat(files): Allow to configure Windows filename compatibility in the settings
2024-07-19 17:21:33 +07:00
skjnldsv 08af33b5d9 chore: add file request cypress testing
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-19 12:20:25 +07:00
Nextcloud bot 22efc6da6a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-19 00:19:41 +07:00
Ferdinand Thiessen 0936af9960
feat(files): Allow to configure Windows filename compatibility in the settings
This adds an admin setting to toggle Windows filename compatibility.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-17 16:17:14 +07:00
Nextcloud bot 4362ed5361
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-17 00:19:35 +07:00
Ferdinand Thiessen 1b41e8f566
Merge pull request #46538 from nextcloud/fix/use-filename-validator
refactor: Migrate filename validation from `Storage` and `Util` to `FilenameValidator`
2024-07-16 17:42:40 +07:00
Ferdinand Thiessen f4ede27cdb
refactor: Remove deprecated `Util` function for filename validation to `FilenameValidator`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:49:10 +07:00
Ferdinand Thiessen 5cf0224461
fix(files): Typo in import of `ShareType`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:20:55 +07:00
Ferdinand Thiessen 18c9f07ade
Merge pull request #46545 from nextcloud/fix/bring-back-forbidden-names
feat: Add `forbidden_filename_basenames` config option
2024-07-16 11:06:14 +07:00