From 523e0d3f2b8bbeac041e7c8bfe463399fc0cb049 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 25 Jul 2024 14:29:31 +0200 Subject: [PATCH] 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 --- .../components/FileEntry/FileEntryName.vue | 90 ++++++------------- apps/files/src/utils/filenameValidity.ts | 41 +++++++++ 2 files changed, 70 insertions(+), 61 deletions(-) create mode 100644 apps/files/src/utils/filenameValidity.ts diff --git a/apps/files/src/components/FileEntry/FileEntryName.vue b/apps/files/src/components/FileEntry/FileEntryName.vue index 875c0892a72..be491db016f 100644 --- a/apps/files/src/components/FileEntry/FileEntryName.vue +++ b/apps/files/src/components/FileEntry/FileEntryName.vue @@ -5,6 +5,7 @@