From 55fb2fde4ae3f8cf041d506ff621e3bff3c7f41a Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 17 Jan 2025 13:06:13 +0100 Subject: [PATCH] =?UTF-8?q?feat:=20make=20large=20file=20access=20warning?= =?UTF-8?q?=20text=20configurable=20with=20largeData=E2=80=A6=20(#1517)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit …FileAccessInstruction. ## Description Change for the https://github.com/SciCatProject/frontend/pull/1666 ## Motivation ## Fixes * Bug fixed (#X) ## Changes: * changes made ## Tests included - [ ] Included for each change/fix? - [ ] Passing? ## Documentation - [ ] swagger documentation updated (required for API changes) - [ ] official documentation updated ### official documentation info --- CI/E2E/frontend.config.json | 2 ++ src/config/frontend.config.json | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CI/E2E/frontend.config.json b/CI/E2E/frontend.config.json index 187a3bfe5..d56484821 100644 --- a/CI/E2E/frontend.config.json +++ b/CI/E2E/frontend.config.json @@ -120,6 +120,8 @@ "searchPublicDataEnabled": true, "searchSamples": true, "sftpHost": "login.esss.dk", + "sourceFolder": "/data/test", + "maxFileSizeWarning": "", "shareEnabled": true, "shoppingCartEnabled": true, "shoppingCartOnHeader": true, diff --git a/src/config/frontend.config.json b/src/config/frontend.config.json index 213c69a5e..c67c5d296 100644 --- a/src/config/frontend.config.json +++ b/src/config/frontend.config.json @@ -29,7 +29,6 @@ "lbBaseURL": "http://localhost:3000", "logbookEnabled": true, "loginFormEnabled": true, - "maxDirectDownloadSize": 5000000000, "metadataPreviewEnabled": true, "metadataStructure": "", "multipleDownloadAction": "http:/127.0.0.1:3012/zip", @@ -48,6 +47,9 @@ "searchPublicDataEnabled": true, "searchSamples": true, "sftpHost": "login.esss.dk", + "sourceFolder": "/data/ess", + "maxDirectDownloadSize": 5000000000, + "maxFileSizeWarning": "Some files are above and cannot be downloaded directly. These file can be downloaded via sftp host: in directory: ", "shareEnabled": true, "shoppingCartEnabled": true, "shoppingCartOnHeader": true,