Skip to content

Commit 776da21

Browse files
ocshawncmlsnsnyk-botShawn O'Connorcraigrbarnes
authored
Chore/upstreem sync (#58)
* fix: package.json & package-lock.json to reduce vulnerabilities (#82) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NEXT-9508709 Co-authored-by: snyk-bot <snyk-bot@snyk.io> * update next dependencies to 15.2.4 * Update README.md (#84) * update to @gen3/ff 0.10.85 (#85) * Update README.md (#86) add unrelated-histories information * Fix docker start (#88) * fix Docker not starting * fix Docker not starting * update env files (#89) * Release 0.10.89 (#91) * update to 0.10.89 * update to 0.10.89 * remove old config files/images * update ContentDatabase * update ContentDatabase paths (#93) * update apps config path (uc-cdis#94) * add theme colors into safelist (uc-cdis#95) * update to 0.10.91 (uc-cdis#96) * fix version to 0.10.91 (uc-cdis#97) * update to 0.10.92 (uc-cdis#104) * update to node 22.11, gen3FF 0.10.94 (uc-cdis#107) * update git node version * update gen3 to 0.11.11 * add favicon (uc-cdis#109) * add favicon * add favicon --------- Co-authored-by: Shawn O'Connor <shawnoconnor@uchicago.edu> * Add Datadog/remove faro (uc-cdis#105) * add Datadog/remove faro * remove Grafana * update gen3 to 0.11.18 * update gen3 to 0.11.19 and add footer links * update to Gen3 FEF 0.11.43 (uc-cdis#127) * add GradioApp support (uc-cdis#128) * add GradioApp support * fix default * update dependencies * update more dependencies * update more dependencies * add the hugging face apps (uc-cdis#129) * update tailwind paths for Gen3/frontend (uc-cdis#136) * fix default * update package-lock * fix build error * remove gradio * remove older tailwind path * update gen3 version and package lock * update gen3 to 0.11.47 * update gen3 to 0.11.48 remove unneeded cookies-next * place favicon back '' * fix build errors * fix build errors by sorting out dependencies --------- Co-authored-by: cmlsn <100160785+cmlsn@users.noreply.github.com> Co-authored-by: snyk-bot <snyk-bot@snyk.io> Co-authored-by: Shawn O'Connor <shawnoconnor@uchicago.edu> Co-authored-by: Craig Barnes <craig.barnes@intelligentlight.com>
1 parent 49f3004 commit 776da21

File tree

13 files changed

+820
-810
lines changed

13 files changed

+820
-810
lines changed

.env.development

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
NEXT_PUBLIC_GEN3_COMMONS_NAME=vpodcqa
22
NEXT_PUBLIC_GEN3_API=https://qa-vpodc.planx-pla.net
33
NEXT_PUBLIC_GEN3_DOMAIN=https://localhost:3010
4+
NEXT_PUBLIC_DATACOMMONS="vpodc_data_commons"

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY ./public ./public
1212
COPY ./config ./config
1313
COPY ./start.sh ./
1414
COPY ./next-custom-image-loader.js ./
15-
RUN npm install @swc/core@1.13.5 @napi-rs/magic-string && \
15+
RUN npm install @swc/core @napi-rs/magic-string && \
1616
npm run build
1717

1818
# Production stage

config/vpodcprod/dataLibrary.json

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"useAPI": false,
3+
"actions": [
4+
{
5+
"id": "exportTerra",
6+
"label": "Export: Terra",
7+
"rightIcon" : "gen3:send",
8+
"buttonLabel" : "Export",
9+
"actionFunction" : "export-pfb-to-url",
10+
"parameters" : {
11+
"targetURLTemplate" : "https://platform.sb.biodatacatalyst.nhlbi.nih.gov/import/pfb?URL={{PRESIGNED_URL}}&source=bdc"
12+
},
13+
"itemRules": [
14+
{
15+
"field": "type",
16+
"operator": "equals",
17+
"value": "GA4GH_DRS",
18+
"errorMessage": "file type must be GA4GH_DRS"
19+
}
20+
],
21+
"groupRules": [
22+
{
23+
"field": "type",
24+
"operator": "count",
25+
"value": "GA4GH_DRS",
26+
"total": 1,
27+
"errorMessage": "Only 1 GA4GH_DRS can be selected"
28+
}
29+
]
30+
},
31+
{
32+
"id": "exportTo7Bridges",
33+
"label": "Export: Seven Bridges",
34+
"rightIcon" : "gen3:send",
35+
"buttonLabel" : "Export",
36+
"actionFunction" : "export-pfb-to-url",
37+
"parameters" : {
38+
"targetURLTemplate" : "https://platform.sb.biodatacatalyst.nhlbi.nih.gov/import/pfb?URL={{PRESIGNED_URL}}&source=bdc"
39+
},
40+
"itemRules": [
41+
{
42+
"field": "type",
43+
"operator": "equals",
44+
"value": "GA4GH_DRS",
45+
"errorMessage": "file type must be GA4GH_DRS"
46+
}
47+
],
48+
"groupRules": [
49+
{
50+
"field": "type",
51+
"operator": "count",
52+
"value": "GA4GH_DRS",
53+
"total": 1,
54+
"errorMessage": "only 1 GA4GH_DRS can be selected"
55+
}
56+
]
57+
}
58+
]
59+
}

config/vpodcprod/modals.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@
1313
"DATA USE AGREEMENT – COMMERCIAL USE PERMITTED",
1414
"This Data Use Agreement (this “Agreement”) is by and between you or the entity you represent (“you”) and the University of Chicago (the “University”) and governs your access to and use of the deidentified imaging and associated demographic and clinical data provided to you by the University. By accessing, using, or downloading any data, you are agreeing to be bound by the terms and conditions of this Agreement. If you are entering into this Agreement for an entity, such as the company you work for, you represent and warrant that you have legal authority to bind that entity",
1515
"1. The University may terminate this Agreement at any time upon notice to you. The University shall have no liability in the event of any such termination. Upon such termination, the University may direct that you immediately return or destroy all copies of any data and, upon the University’s request, you will certify the foregoing to the University in writing."
16-
]
16+
],
17+
"className" : "text-base-contrast-max"
1718
},
1819
"expireDays": 365,
19-
"showOnlyOnLogin": true
20+
"showOnlyOnLogin": false
2021
}
2122
}

config/vpodcqa/dataLibrary.json

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
11
{
2-
2+
"useAPI": false,
3+
"actions": [
4+
{
5+
"id": "exportTerra",
6+
"label": "Export: Terra",
7+
"rightIcon" : "gen3:send",
8+
"buttonLabel" : "Export",
9+
"actionFunction" : "export-pfb-to-url",
10+
"parameters" : {
11+
"targetURLTemplate" : "https://platform.sb.biodatacatalyst.nhlbi.nih.gov/import/pfb?URL={{PRESIGNED_URL}}&source=bdc"
12+
},
13+
"itemRules": [
14+
{
15+
"field": "type",
16+
"operator": "equals",
17+
"value": "GA4GH_DRS",
18+
"errorMessage": "file type must be GA4GH_DRS"
19+
}
20+
],
21+
"groupRules": [
22+
{
23+
"field": "type",
24+
"operator": "count",
25+
"value": "GA4GH_DRS",
26+
"total": 1,
27+
"errorMessage": "Only 1 GA4GH_DRS can be selected"
28+
}
29+
]
30+
},
31+
{
32+
"id": "exportTo7Bridges",
33+
"label": "Export: Seven Bridges",
34+
"rightIcon" : "gen3:send",
35+
"buttonLabel" : "Export",
36+
"actionFunction" : "export-pfb-to-url",
37+
"parameters" : {
38+
"targetURLTemplate" : "https://platform.sb.biodatacatalyst.nhlbi.nih.gov/import/pfb?URL={{PRESIGNED_URL}}&source=bdc"
39+
},
40+
"itemRules": [
41+
{
42+
"field": "type",
43+
"operator": "equals",
44+
"value": "GA4GH_DRS",
45+
"errorMessage": "file type must be GA4GH_DRS"
46+
}
47+
],
48+
"groupRules": [
49+
{
50+
"field": "type",
51+
"operator": "count",
52+
"value": "GA4GH_DRS",
53+
"total": 1,
54+
"errorMessage": "only 1 GA4GH_DRS can be selected"
55+
}
56+
]
57+
}
58+
]
359
}

0 commit comments

Comments
 (0)