@eeacms/volto-eea-website-policy 2.4.0 → 2.4.1
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 +129 -1
- package/package.json +1 -1
- package/src/helpers.js +11 -0
- package/src/index.js +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,69 @@ 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
|
-
### [2.4.
|
|
7
|
+
### [2.4.1](https://github.com/eea/volto-eea-website-policy/compare/2.4.0...2.4.1) - 2 June 2025
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix: IMS History diff is not showing charts - refs #286978 [Nilesh - [`06ee6ad`](https://github.com/eea/volto-eea-website-policy/commit/06ee6ad641132445f4a54eecd265aac95bf0f827)]
|
|
12
|
+
|
|
13
|
+
#### :hammer_and_wrench: Others
|
|
14
|
+
|
|
15
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`a6a9310`](https://github.com/eea/volto-eea-website-policy/commit/a6a9310ee50dd7f1608ad6c8c36c0070c24e269d)]
|
|
16
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`f399bb5`](https://github.com/eea/volto-eea-website-policy/commit/f399bb5fb56f714000487d0aca6c9e8f08d56886)]
|
|
17
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`f97c0f5`](https://github.com/eea/volto-eea-website-policy/commit/f97c0f5cc6b78e9eea4c4b379113a8ffd4e341a8)]
|
|
18
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6f064ef`](https://github.com/eea/volto-eea-website-policy/commit/6f064ef9f395f6620ac0cb4c795bfa2595bba2c7)]
|
|
19
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`46431ca`](https://github.com/eea/volto-eea-website-policy/commit/46431caddc9fcb92812314196205aea5681f2163)]
|
|
20
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`76f21b4`](https://github.com/eea/volto-eea-website-policy/commit/76f21b4591f405eb287e9d3a1a646f0b8133a755)]
|
|
21
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`df557b2`](https://github.com/eea/volto-eea-website-policy/commit/df557b256a138f86eb69140080cf176bc8d2672f)]
|
|
22
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`3827993`](https://github.com/eea/volto-eea-website-policy/commit/3827993610788f8830573709ca5076cd328c454f)]
|
|
23
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`4b51985`](https://github.com/eea/volto-eea-website-policy/commit/4b51985863633eafdf472a9a169b199136742a94)]
|
|
24
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`566e425`](https://github.com/eea/volto-eea-website-policy/commit/566e42554118fdedc2990c812e33291b79c75b39)]
|
|
25
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`7d13d7b`](https://github.com/eea/volto-eea-website-policy/commit/7d13d7b5d9f06aa68434188a08856ff4986d7af9)]
|
|
26
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`efdf88b`](https://github.com/eea/volto-eea-website-policy/commit/efdf88b91caf6e244844bdc06b0b772c127c73cb)]
|
|
27
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`ab41f1e`](https://github.com/eea/volto-eea-website-policy/commit/ab41f1e30e8f685dea290576b3e44dd38ece9ef5)]
|
|
28
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`849e24c`](https://github.com/eea/volto-eea-website-policy/commit/849e24cb1115831371ce2a8b67f70318919e91e2)]
|
|
29
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`f5ee26e`](https://github.com/eea/volto-eea-website-policy/commit/f5ee26e4f1b3e1f730326030ccd1ffc4c536b1bc)]
|
|
30
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`69e6ce5`](https://github.com/eea/volto-eea-website-policy/commit/69e6ce5edd886022e5ae84b389dea0e3fff3b7e2)]
|
|
31
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`77a9f7a`](https://github.com/eea/volto-eea-website-policy/commit/77a9f7a040ec3533f5d0e6dce613f7b29f154b00)]
|
|
32
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`ae46dc8`](https://github.com/eea/volto-eea-website-policy/commit/ae46dc85ce3caa7196aa2697686a6075a92dc1cc)]
|
|
33
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`7afe8cc`](https://github.com/eea/volto-eea-website-policy/commit/7afe8ccff20d111e3b2f21e8bc803b70f7ceee8c)]
|
|
34
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`ba3cf05`](https://github.com/eea/volto-eea-website-policy/commit/ba3cf05d18885cb6c8a79a9250c34f2469cc8d6c)]
|
|
35
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`2e9c590`](https://github.com/eea/volto-eea-website-policy/commit/2e9c5901deb8557dd76e9de3fb69daef4832cbde)]
|
|
36
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`010cec5`](https://github.com/eea/volto-eea-website-policy/commit/010cec50f01cd6b5b5910a56a7802e1da0078c12)]
|
|
37
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b78d1a1`](https://github.com/eea/volto-eea-website-policy/commit/b78d1a16554905f591ed5e9d42cb74e1e5cfcada)]
|
|
38
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`7173421`](https://github.com/eea/volto-eea-website-policy/commit/71734214f23fd227a9427c72d057be6c30efd227)]
|
|
39
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`d382a07`](https://github.com/eea/volto-eea-website-policy/commit/d382a076baa754069f62580e1bdcce2e91ae6ae9)]
|
|
40
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`06ca0d1`](https://github.com/eea/volto-eea-website-policy/commit/06ca0d1ff2f4de9181dab7346574dc83f97f5e4b)]
|
|
41
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b2960d0`](https://github.com/eea/volto-eea-website-policy/commit/b2960d05728c57db637b3edc61b963639ae339b3)]
|
|
42
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`c369444`](https://github.com/eea/volto-eea-website-policy/commit/c369444a310f4976d03697f1ebcc98b13c241471)]
|
|
43
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`bb23921`](https://github.com/eea/volto-eea-website-policy/commit/bb2392187f515aa03e108440749daa6e1746d88a)]
|
|
44
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b971077`](https://github.com/eea/volto-eea-website-policy/commit/b971077a4331f82951c9210b5daa24720f7737e5)]
|
|
45
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`27305d4`](https://github.com/eea/volto-eea-website-policy/commit/27305d4b026bcb4ef8a5700b632eb5d13b906f20)]
|
|
46
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`ebf3681`](https://github.com/eea/volto-eea-website-policy/commit/ebf3681664cef068b1f7305730f9570a023b047a)]
|
|
47
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`f209e6c`](https://github.com/eea/volto-eea-website-policy/commit/f209e6c1f2d9917d034de75e5028a6b2c5e041a2)]
|
|
48
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`5abd2ff`](https://github.com/eea/volto-eea-website-policy/commit/5abd2ff04d1af9d6834df53f4fd889ef0fc01c9c)]
|
|
49
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`93acf45`](https://github.com/eea/volto-eea-website-policy/commit/93acf450f2320c95482207bce90e2e7e0c05382f)]
|
|
50
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`a0400b6`](https://github.com/eea/volto-eea-website-policy/commit/a0400b6624a1517c9ae13c7c429891ee7912d4a6)]
|
|
51
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`bf856c9`](https://github.com/eea/volto-eea-website-policy/commit/bf856c9af15ce9592767bbc7d7c277c563b15973)]
|
|
52
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`92cd13e`](https://github.com/eea/volto-eea-website-policy/commit/92cd13e9996a276a1e339a884aee8dcc4cbbfdb0)]
|
|
53
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`86b27bf`](https://github.com/eea/volto-eea-website-policy/commit/86b27bf01fec6ef480cb4ad65e869e3a45816f4b)]
|
|
54
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`3a50cd6`](https://github.com/eea/volto-eea-website-policy/commit/3a50cd6266e2992edeea4d1471bf15680654080c)]
|
|
55
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`7fa9159`](https://github.com/eea/volto-eea-website-policy/commit/7fa9159b461b708a48cf25f93ae81205a4429238)]
|
|
56
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`44ec17a`](https://github.com/eea/volto-eea-website-policy/commit/44ec17aec2a863c3e4f6fc07b6f7e9b857f594e7)]
|
|
57
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`09d7fdf`](https://github.com/eea/volto-eea-website-policy/commit/09d7fdfaa7834c91d649e222b4bebe7344bed528)]
|
|
58
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`e73dd47`](https://github.com/eea/volto-eea-website-policy/commit/e73dd4776de2a8795db37930167cb4020278ce9a)]
|
|
59
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`e33db72`](https://github.com/eea/volto-eea-website-policy/commit/e33db725d5bf10724a31dfca6d3f4f3576eb731c)]
|
|
60
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`de9d303`](https://github.com/eea/volto-eea-website-policy/commit/de9d3030f595ceeb45842fd8c93cd44d5f1770bb)]
|
|
61
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`2bfa09f`](https://github.com/eea/volto-eea-website-policy/commit/2bfa09f3bd73cfd15510abdf14f5da5250eccaf0)]
|
|
62
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`a6895a7`](https://github.com/eea/volto-eea-website-policy/commit/a6895a79dec886a16e0e485a1a7a362b6f675f4c)]
|
|
63
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`369b797`](https://github.com/eea/volto-eea-website-policy/commit/369b7972a106d7ae2b47bdb4c989990ac75adb22)]
|
|
64
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b9645a8`](https://github.com/eea/volto-eea-website-policy/commit/b9645a86710e589a169771f51231647beba9c9b3)]
|
|
65
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`27f252d`](https://github.com/eea/volto-eea-website-policy/commit/27f252dac4a87e2c9a97c862a77bc79e2f27071c)]
|
|
66
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`51f78c9`](https://github.com/eea/volto-eea-website-policy/commit/51f78c9379b5839d606f69d366c6eec757ed0cd1)]
|
|
67
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`a3263d2`](https://github.com/eea/volto-eea-website-policy/commit/a3263d26e6fadd6197d355a30c03069ed0f170d0)]
|
|
68
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`93723fe`](https://github.com/eea/volto-eea-website-policy/commit/93723fe61eef7d816d86f35b4e9d5d7d9d870981)]
|
|
69
|
+
### [2.4.0](https://github.com/eea/volto-eea-website-policy/compare/2.3.2...2.4.0) - 28 February 2025
|
|
8
70
|
|
|
9
71
|
#### :bug: Bug Fixes
|
|
10
72
|
|
|
@@ -20,6 +82,16 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
20
82
|
|
|
21
83
|
- try to use specific version for plone-backend [David Ichim - [`04e9e8a`](https://github.com/eea/volto-eea-website-policy/commit/04e9e8aac57e9af9b0c8cc5ba24279d5ed22482d)]
|
|
22
84
|
- Update package.json [David Ichim - [`baf866f`](https://github.com/eea/volto-eea-website-policy/commit/baf866f7efed437c1c3f664cadc24aba91ddc6c8)]
|
|
85
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`26ceb2f`](https://github.com/eea/volto-eea-website-policy/commit/26ceb2f025f97ae14095478bff6d5238609fac4d)]
|
|
86
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`327ea54`](https://github.com/eea/volto-eea-website-policy/commit/327ea54f2fdaae9aff322ca8006197441dcace75)]
|
|
87
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`384ee55`](https://github.com/eea/volto-eea-website-policy/commit/384ee5527f861ac0fc20dabcf2c4b57047e9d586)]
|
|
88
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`fa9292a`](https://github.com/eea/volto-eea-website-policy/commit/fa9292a36c1fe007451d46beebd4bf5eed44ffe1)]
|
|
89
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6e517d1`](https://github.com/eea/volto-eea-website-policy/commit/6e517d1d77c80a870563cd7000791cb3c4e98279)]
|
|
90
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`c1ae827`](https://github.com/eea/volto-eea-website-policy/commit/c1ae827dce5edd392e3079004fa66ca723c8ae88)]
|
|
91
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`0913369`](https://github.com/eea/volto-eea-website-policy/commit/0913369fec93b724278e80edb5515bd3d5fe79c4)]
|
|
92
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`fe304cc`](https://github.com/eea/volto-eea-website-policy/commit/fe304cc0e1cf4b1547835d3eb57f60a38be1b730)]
|
|
93
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`62c94de`](https://github.com/eea/volto-eea-website-policy/commit/62c94de3746a55ced6caaa3c8955377fd447e76e)]
|
|
94
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b84e35d`](https://github.com/eea/volto-eea-website-policy/commit/b84e35d485524b9fc558e3d2c957ae8e94c9d78d)]
|
|
23
95
|
### [2.3.2](https://github.com/eea/volto-eea-website-policy/compare/2.3.1...2.3.2) - 30 January 2025
|
|
24
96
|
|
|
25
97
|
#### :bug: Bug Fixes
|
|
@@ -73,6 +145,12 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
73
145
|
- removed double rolesWhoCanChangeLayout setting [David Ichim - [`37dab9e`](https://github.com/eea/volto-eea-website-policy/commit/37dab9ef04dc1497655e49186f398b5dd53f39b1)]
|
|
74
146
|
- use contextnavigation in policy [nileshgulia1 - [`eea2258`](https://github.com/eea/volto-eea-website-policy/commit/eea2258244c146ff682e055ffb88cf0b9020da93)]
|
|
75
147
|
- move contextNav to volto-eea-website-theme [nileshgulia1 - [`07aa147`](https://github.com/eea/volto-eea-website-policy/commit/07aa14746a0253f75dc7c63610e1998eae6ffbf5)]
|
|
148
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`f620f72`](https://github.com/eea/volto-eea-website-policy/commit/f620f72b1bee27d9215b4cec5ddbe125ae0f7030)]
|
|
149
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`13b94c3`](https://github.com/eea/volto-eea-website-policy/commit/13b94c308e20970b4a30e1ec12734e8eaabfffb9)]
|
|
150
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`8ebc23d`](https://github.com/eea/volto-eea-website-policy/commit/8ebc23dac8134ffed5b8f89d117cec1a13790c2c)]
|
|
151
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`a57c3eb`](https://github.com/eea/volto-eea-website-policy/commit/a57c3eb88ad31cc50f5321c406ac5b5d918bf623)]
|
|
152
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`f26c537`](https://github.com/eea/volto-eea-website-policy/commit/f26c537fa75fcb6eedad808a933a8a0689eda9f8)]
|
|
153
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b1491ca`](https://github.com/eea/volto-eea-website-policy/commit/b1491ca3c9f07a7b91b9e892b0e53e4cf82762ce)]
|
|
76
154
|
- Added extra handleOutsideClick on Accordion mobile and tablet to close when clicking besides the smaller menu [David Ichim - [`6d36534`](https://github.com/eea/volto-eea-website-policy/commit/6d365349ba9f779b527344d6d109c77d77501acf)]
|
|
77
155
|
- close nav on tablet or mobile resolution by default [David Ichim - [`9e119d2`](https://github.com/eea/volto-eea-website-policy/commit/9e119d23d50dd5a614279da6ec3ccc369a16ba19)]
|
|
78
156
|
- dropped useless code [David Ichim - [`7f5c122`](https://github.com/eea/volto-eea-website-policy/commit/7f5c122c596eb4db7f0ea4c81708b3c88aca657b)]
|
|
@@ -97,6 +175,14 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
97
175
|
|
|
98
176
|
#### :hammer_and_wrench: Others
|
|
99
177
|
|
|
178
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`74f7cb1`](https://github.com/eea/volto-eea-website-policy/commit/74f7cb1b4f7dd3232f9a6c0ad35e50bc86b64e60)]
|
|
179
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`c8978f0`](https://github.com/eea/volto-eea-website-policy/commit/c8978f02c53c38d88b654544051aa28ba5ccd05c)]
|
|
180
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`fb31e28`](https://github.com/eea/volto-eea-website-policy/commit/fb31e285959820147aa07e827cea25589d27be63)]
|
|
181
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`3b0c059`](https://github.com/eea/volto-eea-website-policy/commit/3b0c059772a0ca32f398c17b6ddb74be8e2f0060)]
|
|
182
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`25d16e4`](https://github.com/eea/volto-eea-website-policy/commit/25d16e401b4d2685a201a1b3a9830916ed4c5b80)]
|
|
183
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`d4fdfaf`](https://github.com/eea/volto-eea-website-policy/commit/d4fdfaf94d8fa962906cf713c865202bbff1ff60)]
|
|
184
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`742d72c`](https://github.com/eea/volto-eea-website-policy/commit/742d72c1f020fc7a2ed553dc739be54daeb2283d)]
|
|
185
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`e3dc5ef`](https://github.com/eea/volto-eea-website-policy/commit/e3dc5ef5da18aa64091388d8779dcc2819e5ad80)]
|
|
100
186
|
### [2.2.2](https://github.com/eea/volto-eea-website-policy/compare/2.2.1...2.2.2) - 28 August 2024
|
|
101
187
|
|
|
102
188
|
#### :bug: Bug Fixes
|
|
@@ -105,6 +191,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
105
191
|
|
|
106
192
|
#### :hammer_and_wrench: Others
|
|
107
193
|
|
|
194
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`2703b09`](https://github.com/eea/volto-eea-website-policy/commit/2703b09f3803fa058b45f3f55c5343ab548139a1)]
|
|
195
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`2506307`](https://github.com/eea/volto-eea-website-policy/commit/2506307c355c2de50a40b76a6c09ac1989d11be1)]
|
|
196
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`48999a4`](https://github.com/eea/volto-eea-website-policy/commit/48999a4a5a16593ca90981a72a4606abc4a02e89)]
|
|
197
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`de57cc0`](https://github.com/eea/volto-eea-website-policy/commit/de57cc0093cec55cf372fe4beb610f77588b4bb3)]
|
|
108
198
|
### [2.2.1](https://github.com/eea/volto-eea-website-policy/compare/2.2.0...2.2.1) - 27 August 2024
|
|
109
199
|
|
|
110
200
|
#### :bug: Bug Fixes
|
|
@@ -113,6 +203,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
113
203
|
|
|
114
204
|
#### :hammer_and_wrench: Others
|
|
115
205
|
|
|
206
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`e333afd`](https://github.com/eea/volto-eea-website-policy/commit/e333afd4354f5a78f7c2aec9026df928219c144a)]
|
|
207
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`9cb821a`](https://github.com/eea/volto-eea-website-policy/commit/9cb821a08010dfae144a5a4ae30e1c40da65d02a)]
|
|
116
208
|
### [2.2.0](https://github.com/eea/volto-eea-website-policy/compare/2.1.1...2.2.0) - 26 August 2024
|
|
117
209
|
|
|
118
210
|
#### :rocket: New Features
|
|
@@ -121,6 +213,20 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
121
213
|
|
|
122
214
|
#### :hammer_and_wrench: Others
|
|
123
215
|
|
|
216
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`9864108`](https://github.com/eea/volto-eea-website-policy/commit/9864108aea2be5def74d4d89542e0babf1fbc93b)]
|
|
217
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`d406101`](https://github.com/eea/volto-eea-website-policy/commit/d40610109bd581903a4a6212867197a352b3cc06)]
|
|
218
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`16936d4`](https://github.com/eea/volto-eea-website-policy/commit/16936d4b67baead7f2572eb19c47c9423da1af5a)]
|
|
219
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`1c1c92b`](https://github.com/eea/volto-eea-website-policy/commit/1c1c92bc8ea0a036cebf2b854197c52dd1f8681a)]
|
|
220
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`21accb1`](https://github.com/eea/volto-eea-website-policy/commit/21accb12e958b832f7463da93684f470420d1714)]
|
|
221
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`4898d16`](https://github.com/eea/volto-eea-website-policy/commit/4898d1673ba71098d18385d123f1fa403ff8089e)]
|
|
222
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`c4e596f`](https://github.com/eea/volto-eea-website-policy/commit/c4e596f4efbee0f835bf293f713da21669bc8c00)]
|
|
223
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`aa79040`](https://github.com/eea/volto-eea-website-policy/commit/aa7904074d9b90208218b4a801ea68491727de68)]
|
|
224
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6c3aa38`](https://github.com/eea/volto-eea-website-policy/commit/6c3aa382200cd756f4bd7b40fee96bef71d5079e)]
|
|
225
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`9adc480`](https://github.com/eea/volto-eea-website-policy/commit/9adc480e0edf278386a065bf30b66c138592ee82)]
|
|
226
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`5554c13`](https://github.com/eea/volto-eea-website-policy/commit/5554c13183d7adda41dca07593fd51846b0d1375)]
|
|
227
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`e526958`](https://github.com/eea/volto-eea-website-policy/commit/e52695821dce6790ff89213f967569bce223680b)]
|
|
228
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`7e0381c`](https://github.com/eea/volto-eea-website-policy/commit/7e0381cd77ef067541585421a94536849dbdf4b5)]
|
|
229
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`3473b02`](https://github.com/eea/volto-eea-website-policy/commit/3473b02f98ea09fe4afa46389f14468c1897586d)]
|
|
124
230
|
### [2.1.1](https://github.com/eea/volto-eea-website-policy/compare/2.1.0...2.1.1) - 30 May 2024
|
|
125
231
|
|
|
126
232
|
#### :house: Internal changes
|
|
@@ -129,6 +235,12 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
129
235
|
|
|
130
236
|
#### :hammer_and_wrench: Others
|
|
131
237
|
|
|
238
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`c297b9e`](https://github.com/eea/volto-eea-website-policy/commit/c297b9efe743ad1f95ab662007a2186b5f042f4c)]
|
|
239
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`b11c055`](https://github.com/eea/volto-eea-website-policy/commit/b11c055d0a41c89a60f70875124994ba52772e48)]
|
|
240
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`a77d04e`](https://github.com/eea/volto-eea-website-policy/commit/a77d04e9f1e4d6b8657e09fd1a2bcde66499f77f)]
|
|
241
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`12c6e92`](https://github.com/eea/volto-eea-website-policy/commit/12c6e92e4157896bf812dbbd8996c754b491d3ea)]
|
|
242
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`0aa866d`](https://github.com/eea/volto-eea-website-policy/commit/0aa866dc6fb5f4226a99a3e192a958af60385185)]
|
|
243
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`7517f96`](https://github.com/eea/volto-eea-website-policy/commit/7517f96d82efd6a7ddaa746c81a51997583363f6)]
|
|
132
244
|
### [2.1.0](https://github.com/eea/volto-eea-website-policy/compare/2.0.0...2.1.0) - 9 May 2024
|
|
133
245
|
|
|
134
246
|
#### :rocket: New Features
|
|
@@ -138,6 +250,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
138
250
|
#### :hammer_and_wrench: Others
|
|
139
251
|
|
|
140
252
|
- Release 2.1.0 [alin - [`da22af4`](https://github.com/eea/volto-eea-website-policy/commit/da22af436092236d7ef6e8568e3eca4813d517b5)]
|
|
253
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`9a5d706`](https://github.com/eea/volto-eea-website-policy/commit/9a5d7064e829622e2627c616c4ca1ce71511dfcb)]
|
|
254
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`f8b40e9`](https://github.com/eea/volto-eea-website-policy/commit/f8b40e961138efc4090d0ab45a5689905c672b15)]
|
|
255
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`4ab2144`](https://github.com/eea/volto-eea-website-policy/commit/4ab2144e02291d98064b001d9eb40417da4d1795)]
|
|
256
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`5af4642`](https://github.com/eea/volto-eea-website-policy/commit/5af464227c6695c7e2d3ccd9f240c2a5071bfefa)]
|
|
141
257
|
## [2.0.0](https://github.com/eea/volto-eea-website-policy/compare/1.15.0...2.0.0) - 22 April 2024
|
|
142
258
|
|
|
143
259
|
#### :rocket: New Features
|
|
@@ -210,6 +326,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
210
326
|
|
|
211
327
|
#### :hammer_and_wrench: Others
|
|
212
328
|
|
|
329
|
+
- test: [JENKINS] fail with logs on coverage [valentinab25 - [`5cf68f8`](https://github.com/eea/volto-eea-website-policy/commit/5cf68f8db34448d10fe993d16541ad9732434cc8)]
|
|
213
330
|
### [1.12.0-beta.1](https://github.com/eea/volto-eea-website-policy/compare/1.11.1...1.12.0-beta.1) - 12 January 2024
|
|
214
331
|
|
|
215
332
|
#### :hammer_and_wrench: Others
|
|
@@ -230,6 +347,11 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
230
347
|
#### :hammer_and_wrench: Others
|
|
231
348
|
|
|
232
349
|
- Release 1.11.0 [Alin Voinea - [`3249160`](https://github.com/eea/volto-eea-website-policy/commit/3249160422c6c6e0cf14823b614f8885101a847a)]
|
|
350
|
+
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`8beb7e7`](https://github.com/eea/volto-eea-website-policy/commit/8beb7e7a12cbc314e56e4b1aceab5ef8d00ca6f3)]
|
|
351
|
+
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`12d3da1`](https://github.com/eea/volto-eea-website-policy/commit/12d3da12e9a3b0882cf55efe2d40f3032724d41b)]
|
|
352
|
+
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`0af0764`](https://github.com/eea/volto-eea-website-policy/commit/0af076467120ed9a80c697931e869837b92a0a4c)]
|
|
353
|
+
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`8662e3e`](https://github.com/eea/volto-eea-website-policy/commit/8662e3e5fc3640d678ce320eb8856a37d419306c)]
|
|
354
|
+
- test: [JENKINS] Improve cypress time [valentinab25 - [`ef1074f`](https://github.com/eea/volto-eea-website-policy/commit/ef1074fdf968cafdf476d4ee4951eb18ebac048a)]
|
|
233
355
|
### [1.10.0](https://github.com/eea/volto-eea-website-policy/compare/1.9.2...1.10.0) - 2 November 2023
|
|
234
356
|
|
|
235
357
|
#### :rocket: New Features
|
|
@@ -238,6 +360,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
238
360
|
|
|
239
361
|
#### :house: Internal changes
|
|
240
362
|
|
|
363
|
+
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`8b1b422`](https://github.com/eea/volto-eea-website-policy/commit/8b1b42297b46d9fb7325589b3bd043233c0d66e9)]
|
|
241
364
|
- chore: husky, lint-staged use fixed versions [valentinab25 - [`44ac62e`](https://github.com/eea/volto-eea-website-policy/commit/44ac62e6f8b7e5b7d57edfbf82812c91dc5d6bba)]
|
|
242
365
|
- chore:volto 16 in tests, update docs, fix stylelint overrides [valentinab25 - [`b9a46d8`](https://github.com/eea/volto-eea-website-policy/commit/b9a46d85a64739188a3df9e8cbe645418b5d8b0a)]
|
|
243
366
|
|
|
@@ -358,6 +481,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
358
481
|
|
|
359
482
|
- Release 1.5.0 [Alin Voinea - [`a3dea8e`](https://github.com/eea/volto-eea-website-policy/commit/a3dea8ea15cb8d2a876dc10da926ece3a5707ea9)]
|
|
360
483
|
- test(Jenkinsfile): Use latest stable volto for testing [Alin Voinea - [`a8f7123`](https://github.com/eea/volto-eea-website-policy/commit/a8f712364187f9638886667c249fa102cb49b5c0)]
|
|
484
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`124a8f8`](https://github.com/eea/volto-eea-website-policy/commit/124a8f8ad4ced507aeec27012d725f2e2b977e08)]
|
|
361
485
|
### [1.4.0](https://github.com/eea/volto-eea-website-policy/compare/1.3.4...1.4.0) - 21 February 2023
|
|
362
486
|
|
|
363
487
|
#### :rocket: New Features
|
|
@@ -437,6 +561,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
437
561
|
#### :hammer_and_wrench: Others
|
|
438
562
|
|
|
439
563
|
- Release 1.1.0 [Alin Voinea - [`0291b3b`](https://github.com/eea/volto-eea-website-policy/commit/0291b3bb7b4c6ab09ca98728885cea4051eac8e3)]
|
|
564
|
+
- yarn 3 [Alin Voinea - [`593aa58`](https://github.com/eea/volto-eea-website-policy/commit/593aa58eaa4d28aced0603b7f7dd125c857a6f54)]
|
|
440
565
|
### [1.0.4](https://github.com/eea/volto-eea-website-policy/compare/1.0.3...1.0.4) - 22 November 2022
|
|
441
566
|
|
|
442
567
|
#### :nail_care: Enhancements
|
|
@@ -482,6 +607,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
482
607
|
|
|
483
608
|
#### :hammer_and_wrench: Others
|
|
484
609
|
|
|
610
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`d153f54`](https://github.com/eea/volto-eea-website-policy/commit/d153f54e55e918fa4746e05488c734624eaf14a9)]
|
|
485
611
|
### [0.4.0](https://github.com/eea/volto-eea-website-policy/compare/0.3.3...0.4.0) - 19 September 2022
|
|
486
612
|
|
|
487
613
|
#### :hammer_and_wrench: Others
|
|
@@ -557,6 +683,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
557
683
|
- format index.js [Andrei Grigore - [`db4481a`](https://github.com/eea/volto-eea-website-policy/commit/db4481aeeba59a769272659f33278c902fc69bec)]
|
|
558
684
|
- Update index.js [Alexandru Ghica - [`dc09886`](https://github.com/eea/volto-eea-website-policy/commit/dc0988640a76a9914381b120f58bb61a9ab1eb39)]
|
|
559
685
|
- Added externalRoutes [Alexandru Ghica - [`b68135b`](https://github.com/eea/volto-eea-website-policy/commit/b68135b013fafa93a41ea602ea2fad30879abe0f)]
|
|
686
|
+
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`575cca6`](https://github.com/eea/volto-eea-website-policy/commit/575cca674602ca2e1c2a41300c47ba594ff49aa0)]
|
|
560
687
|
### [0.1.1](https://github.com/eea/volto-eea-website-policy/compare/0.1.0...0.1.1) - 4 March 2022
|
|
561
688
|
|
|
562
689
|
#### :hammer_and_wrench: Others
|
|
@@ -569,4 +696,5 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
569
696
|
|
|
570
697
|
#### :hammer_and_wrench: Others
|
|
571
698
|
|
|
699
|
+
- yarn bootstrap [Alin Voinea - [`9b4d197`](https://github.com/eea/volto-eea-website-policy/commit/9b4d197cbc7992566cb36524d190078d5ad21a44)]
|
|
572
700
|
- Initial commit [Alin Voinea - [`3800692`](https://github.com/eea/volto-eea-website-policy/commit/3800692f7a4de6460815bd6061facacb986cbef0)]
|
package/package.json
CHANGED
package/src/helpers.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { isArray } from 'lodash';
|
|
2
2
|
import config from '@plone/volto/registry';
|
|
3
|
+
import { getContent } from '@plone/volto/actions';
|
|
4
|
+
import { flattenToAppURL } from '@plone/volto/helpers';
|
|
3
5
|
import { serializeNodes } from '@plone/volto-slate/editor/render';
|
|
4
6
|
|
|
5
7
|
export const createSlateParagraph = (text) => {
|
|
@@ -27,3 +29,12 @@ export const appendGroup = (config, id, title) => {
|
|
|
27
29
|
|
|
28
30
|
return config.blocks.groupBlocksOrder;
|
|
29
31
|
};
|
|
32
|
+
|
|
33
|
+
export const getAsyncData = ({ dispatch, id, data, path }) => {
|
|
34
|
+
const diffView = path.slice(path.lastIndexOf('/'), path.length) === '/diff';
|
|
35
|
+
const url = flattenToAppURL(data.url || '');
|
|
36
|
+
if (!url || !diffView) {
|
|
37
|
+
return [Promise.resolve()];
|
|
38
|
+
}
|
|
39
|
+
return [dispatch(getContent(url, null, id))];
|
|
40
|
+
};
|
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { runtimeConfig } from '@plone/volto/runtime_config';
|
|
2
|
-
import { appendGroup } from './helpers';
|
|
2
|
+
import { appendGroup, getAsyncData } from './helpers';
|
|
3
3
|
import { FrequencyOfDissemination } from '@eeacms/volto-eea-website-policy/components/Widgets/FrequencyOfDissemination';
|
|
4
4
|
|
|
5
5
|
const restrictedBlocks = [
|
|
@@ -75,6 +75,16 @@ const applyConfig = (config) => {
|
|
|
75
75
|
];
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
if (config.blocks.blocksConfig.embed_static_content) {
|
|
79
|
+
//prepopulate data for SSR particularly for history diffs
|
|
80
|
+
config.blocks.blocksConfig.embed_static_content.getAsyncData = getAsyncData;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if (config.blocks.blocksConfig.embed_content) {
|
|
84
|
+
//prepopulate data for SSR particularly for history diffs
|
|
85
|
+
config.blocks.blocksConfig.embed_content.getAsyncData = getAsyncData;
|
|
86
|
+
}
|
|
87
|
+
|
|
78
88
|
// Working-copy
|
|
79
89
|
config.settings.hasWorkingCopySupport = true;
|
|
80
90
|
|