Skip to content

Commit

Permalink
feat: make large file access warning text configurable with largeData… (
Browse files Browse the repository at this point in the history
#1517)

…FileAccessInstruction.

<!--
Follow semantic-release guidelines for the PR title, which is used in
the changelog.

Title should follow the format `<type>(<scope>): <subject>`, where
- Type is one of:
build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test|BREAKING
CHANGE
- Scope (optional) describes the place of the change (eg a particular
milestone) and is usually omitted
- subject should be a non-capitalized one-line description in present
imperative tense and not ending with a period

See
https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines
for more details.
-->

## Description
Change for the SciCatProject/frontend#1666

## Motivation
<!-- Background on use case, changes needed -->

## Fixes
<!-- Please provide a list of the issues fixed by this PR -->

* Bug fixed (#X)

## Changes:
<!-- Please provide a list of the changes implemented by this PR -->

* changes made

## Tests included

- [ ] Included for each change/fix?
- [ ] Passing? <!-- Merge will not be approved unless tests pass -->

## Documentation
- [ ] swagger documentation updated (required for API changes)
- [ ] official documentation updated

### official documentation info
<!-- If you have updated the official documentation, please provide PR #
and URL of the updated pages -->
  • Loading branch information
Junjiequan authored Jan 17, 2025
1 parent f1f1eb8 commit 55fb2fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CI/E2E/frontend.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@
"searchPublicDataEnabled": true,
"searchSamples": true,
"sftpHost": "login.esss.dk",
"sourceFolder": "/data/test",
"maxFileSizeWarning": "",
"shareEnabled": true,
"shoppingCartEnabled": true,
"shoppingCartOnHeader": true,
Expand Down
4 changes: 3 additions & 1 deletion src/config/frontend.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -48,6 +47,9 @@
"searchPublicDataEnabled": true,
"searchSamples": true,
"sftpHost": "login.esss.dk",
"sourceFolder": "/data/ess",
"maxDirectDownloadSize": 5000000000,
"maxFileSizeWarning": "Some files are above <maxDirectDownloadSize> and cannot be downloaded directly. These file can be downloaded via sftp host: <sftpHost> in directory: <sourceFolder>",
"shareEnabled": true,
"shoppingCartEnabled": true,
"shoppingCartOnHeader": true,
Expand Down

0 comments on commit 55fb2fd

Please sign in to comment.