@eeacms/volto-datahub 3.0.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -18
- package/README.md +16 -0
- package/package.json +1 -1
- package/src/express-middleware.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
### [
|
|
7
|
+
### [4.0.0](https://github.com/eea/volto-datahub/compare/3.0.2...4.0.0) - 24 June 2026
|
|
8
8
|
|
|
9
|
-
#### :
|
|
9
|
+
#### :nail_care: Enhancements
|
|
10
|
+
|
|
11
|
+
- refactor: Remove RAZZLE_ prefix from env vars in order not to expose values on the client side - refs #305014 [Tiberiu Ichim - [`42ea941`](https://github.com/eea/volto-datahub/commit/42ea94196d1bcac9462463fcbc1637c124e1153e)]
|
|
12
|
+
|
|
13
|
+
### [3.0.2](https://github.com/eea/volto-datahub/compare/3.0.1...3.0.2) - 14 May 2026
|
|
10
14
|
|
|
11
|
-
- fixed EEA_DATAHUB location [Zoltan Szabo - [`705c3ff`](https://github.com/eea/volto-datahub/commit/705c3ff1d55db4a0e14bbb22121e2fa1162bfee3)]
|
|
12
15
|
### [3.0.1](https://github.com/eea/volto-datahub/compare/3.0.0...3.0.1) - 9 April 2026
|
|
13
16
|
|
|
14
17
|
#### :bug: Bug Fixes
|
|
@@ -23,8 +26,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
23
26
|
|
|
24
27
|
#### :house: Internal changes
|
|
25
28
|
|
|
26
|
-
- chore: [JENKINSFILE] add package version in sonarqube [valentinab25 - [`5e7b692`](https://github.com/eea/volto-datahub/commit/5e7b6923049dab3df919a00b01de13a4c55d1035)]
|
|
27
|
-
- chore: [JENKINSFILE] use sonarqube branches [EEA Jenkins - [`7e8048c`](https://github.com/eea/volto-datahub/commit/7e8048cec178e5efc73e30b30ef77f5f79e7f2ac)]
|
|
28
29
|
|
|
29
30
|
#### :hammer_and_wrench: Others
|
|
30
31
|
|
|
@@ -83,7 +84,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
83
84
|
|
|
84
85
|
#### :house: Internal changes
|
|
85
86
|
|
|
86
|
-
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`8438e52`](https://github.com/eea/volto-datahub/commit/8438e52e811c46aa542a601b75f4198b214b5ffd)]
|
|
87
87
|
- chore: husky, lint-staged use fixed versions [valentinab25 - [`da129fb`](https://github.com/eea/volto-datahub/commit/da129fb1259a26c87259f380a37db688281b192d)]
|
|
88
88
|
|
|
89
89
|
#### :hammer_and_wrench: Others
|
|
@@ -93,11 +93,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
93
93
|
- remove eslint file from ignoring [Teodor - [`39f6633`](https://github.com/eea/volto-datahub/commit/39f66338f2f7d1797343b88aa20dea9425f37014)]
|
|
94
94
|
- change eslint rule [Teodor - [`73e4bc2`](https://github.com/eea/volto-datahub/commit/73e4bc217e9aa9804f0f57cf9e3488cb2e1e85b8)]
|
|
95
95
|
- Ref #263008 [Teodor - [`9d58c52`](https://github.com/eea/volto-datahub/commit/9d58c52b6bc207c5c622c0428be39ae18875cf64)]
|
|
96
|
-
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`524fcc6`](https://github.com/eea/volto-datahub/commit/524fcc6a40e1437dac449543607089b4ba4feb21)]
|
|
97
|
-
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`98c01ac`](https://github.com/eea/volto-datahub/commit/98c01ac599087cf5a9011d3384483d023a4d12bb)]
|
|
98
|
-
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`bdcc59c`](https://github.com/eea/volto-datahub/commit/bdcc59c2d4cfd8beba4386d6f23f220c777f0513)]
|
|
99
|
-
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`5d12d14`](https://github.com/eea/volto-datahub/commit/5d12d1428a547b8628231dc38110a55b806edebb)]
|
|
100
|
-
- test: [JENKINS] Improve cypress time [valentinab25 - [`dba984e`](https://github.com/eea/volto-datahub/commit/dba984e6b840c451b8de15d40de0e49c1dd09a9b)]
|
|
101
96
|
### [1.0.32](https://github.com/eea/volto-datahub/compare/1.0.31...1.0.32) - 11 October 2023
|
|
102
97
|
|
|
103
98
|
#### :house: Internal changes
|
|
@@ -143,7 +138,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
143
138
|
- Fix content type for rss feed [Tiberiu Ichim - [`65b73a7`](https://github.com/eea/volto-datahub/commit/65b73a79d73e626f652716305e80d9a2b017c85c)]
|
|
144
139
|
- test: EN locales, pre-commit fix, feature PRs checks Refs #257193 [valentinab25 - [`ead1c04`](https://github.com/eea/volto-datahub/commit/ead1c042d1358b385c19ec66ec84d7c736574b1d)]
|
|
145
140
|
- Added 'DOI' links to datahub [Zoltan Szabo - [`b33a657`](https://github.com/eea/volto-datahub/commit/b33a657096eaec4caa641379e69e941a3b2c1583)]
|
|
146
|
-
- test: Fix eslint and yarn i18n [Alin Voinea - [`39a4a69`](https://github.com/eea/volto-datahub/commit/39a4a695733514890075886753b9d7b91d853646)]
|
|
147
141
|
- i18n: Add en [Alin Voinea - [`cdb303f`](https://github.com/eea/volto-datahub/commit/cdb303f2ac5e1f9eb22eda46bb58087c62af6ba5)]
|
|
148
142
|
### [1.0.27](https://github.com/eea/volto-datahub/compare/1.0.26...1.0.27) - 25 August 2023
|
|
149
143
|
|
|
@@ -191,7 +185,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
191
185
|
|
|
192
186
|
#### :house: Internal changes
|
|
193
187
|
|
|
194
|
-
- chore: [JENKINS] Deprecate circularity website [valentinab25 - [`e5933ce`](https://github.com/eea/volto-datahub/commit/e5933ce8879d98aabe0bab56980dbd50ce856a36)]
|
|
195
188
|
|
|
196
189
|
#### :hammer_and_wrench: Others
|
|
197
190
|
|
|
@@ -246,7 +239,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
246
239
|
- added utils.js [Zoltan Szabo - [`fdb33c3`](https://github.com/eea/volto-datahub/commit/fdb33c37e1af2fe071dbe8f4f5dcd2b82932edc8)]
|
|
247
240
|
- Show 'Obsolete' info in the metadata section in the banner [Zoltan Szabo - [`fddfd2a`](https://github.com/eea/volto-datahub/commit/fddfd2aea63d1a1d1567c163ab29dd7119781117)]
|
|
248
241
|
- Show 'More information' section only if it's not empty [Zoltan Szabo - [`612f035`](https://github.com/eea/volto-datahub/commit/612f03509c6adf143631ae6dee5ca2bd48a501c3)]
|
|
249
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b9100f6`](https://github.com/eea/volto-datahub/commit/b9100f6b2b2e9e9a26b9c11708c8fda94137cecc)]
|
|
250
242
|
### [1.0.15](https://github.com/eea/volto-datahub/compare/1.0.14...1.0.15) - 1 March 2023
|
|
251
243
|
|
|
252
244
|
### [1.0.14](https://github.com/eea/volto-datahub/compare/1.0.13...1.0.14) - 1 March 2023
|
|
@@ -339,11 +331,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
339
331
|
#### :hammer_and_wrench: Others
|
|
340
332
|
|
|
341
333
|
- Fix eslintrc: add @eeacms/search [kreafox - [`465816f`](https://github.com/eea/volto-datahub/commit/465816feb8f58095ab4b5b3168cd29ebede3a10c)]
|
|
342
|
-
- Use latest Volto before yarn 3 [Tiberiu Ichim - [`69f5859`](https://github.com/eea/volto-datahub/commit/69f585980fd9a38ff99d0c7875704671857720f7)]
|
|
343
334
|
- Reorder sections on landing page [kreafox - [`46fac8d`](https://github.com/eea/volto-datahub/commit/46fac8d821cf93fe1b2c380380719de130c3f1cb)]
|
|
344
335
|
- Fix project eslintrc [kreafox - [`5baa150`](https://github.com/eea/volto-datahub/commit/5baa1505ec38ed313269f5608c186c6a6a8bbfc4)]
|
|
345
336
|
- Open dataset links in new tab [kreafox - [`bbed914`](https://github.com/eea/volto-datahub/commit/bbed914dc2edf6c749d1d73d93a423bc642e680c)]
|
|
346
|
-
- Add Sonarqube tag using circularity-frontend addons list [EEA Jenkins - [`380a2a9`](https://github.com/eea/volto-datahub/commit/380a2a9625c6f799df7a7c343fad3f3b3d959f96)]
|
|
347
337
|
## [1.0.0](https://github.com/eea/volto-datahub/compare/0.1.12...1.0.0) - 28 October 2022
|
|
348
338
|
|
|
349
339
|
#### :nail_care: Enhancements
|
|
@@ -368,7 +358,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
368
358
|
#### :hammer_and_wrench: Others
|
|
369
359
|
|
|
370
360
|
- fixed query for related items [Zoltan Szabo - [`b66faee`](https://github.com/eea/volto-datahub/commit/b66faee1f8a1922cd22b3a36eccc9c7b92e377d4)]
|
|
371
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`158fe1a`](https://github.com/eea/volto-datahub/commit/158fe1a0b1767452e2e51a3e2ef97169589a50e8)]
|
|
372
361
|
### [0.1.10](https://github.com/eea/volto-datahub/compare/0.1.9...0.1.10) - 21 September 2022
|
|
373
362
|
|
|
374
363
|
#### :hammer_and_wrench: Others
|
|
@@ -457,7 +446,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
457
446
|
#### :hammer_and_wrench: Others
|
|
458
447
|
|
|
459
448
|
- Hide questions & fix landing page [kreafox - [`a1ef303`](https://github.com/eea/volto-datahub/commit/a1ef3033df0e84f3a72dd0f984c8717dff2a771c)]
|
|
460
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`910688e`](https://github.com/eea/volto-datahub/commit/910688e3ddf2f8cda4f941595ae9a6ee0ec0ea3b)]
|
|
461
449
|
### [0.1.1](https://github.com/eea/volto-datahub/compare/0.1.0...0.1.1) - 10 June 2022
|
|
462
450
|
|
|
463
451
|
### [0.1.0](https://github.com/eea/volto-datahub/compare/0.0.1...0.1.0) - 9 June 2022
|
package/README.md
CHANGED
|
@@ -21,6 +21,22 @@ EEA DataHub search [Volto](https://github.com/plone/volto) add-on
|
|
|
21
21
|
|
|
22
22
|
- https://demo-www.eea.europa.eu/en/datahub
|
|
23
23
|
|
|
24
|
+
### Environment variables
|
|
25
|
+
|
|
26
|
+
The Elasticsearch middleware proxy uses the following environment variables:
|
|
27
|
+
|
|
28
|
+
- `PROXY_ES_DSN` — default Elasticsearch DSN (e.g. `http://localhost:9200/_all`)
|
|
29
|
+
- `PROXY_ES_DSN_${appName}` — per-app DSN override (e.g. `PROXY_ES_DSN_datahub`)
|
|
30
|
+
|
|
31
|
+
#### Upgrading from 3.x to 4.x
|
|
32
|
+
|
|
33
|
+
The `RAZZLE_` prefix has been removed from the Elasticsearch middleware environment variable. Update your deployment configuration:
|
|
34
|
+
|
|
35
|
+
- `RAZZLE_PROXY_ES_DSN` → `PROXY_ES_DSN`
|
|
36
|
+
- `RAZZLE_PROXY_ES_DSN_${appName}` → `PROXY_ES_DSN_${appName}`
|
|
37
|
+
|
|
38
|
+
- https://demo-www.eea.europa.eu/en/datahub
|
|
39
|
+
|
|
24
40
|
## Getting started
|
|
25
41
|
|
|
26
42
|
### Try volto-datahub with Docker
|
package/package.json
CHANGED
|
@@ -16,8 +16,8 @@ const EEA_DATAHUB = `https://www.eea.europa.eu/en/datahub`;
|
|
|
16
16
|
|
|
17
17
|
const getUrlES = (appName) => {
|
|
18
18
|
return (
|
|
19
|
-
process.env[`
|
|
20
|
-
process.env.
|
|
19
|
+
process.env[`PROXY_ES_DSN_${appName}`] ||
|
|
20
|
+
process.env.PROXY_ES_DSN ||
|
|
21
21
|
'http://localhost:9200/_all'
|
|
22
22
|
);
|
|
23
23
|
};
|