@eeacms/volto-embed 4.0.1 → 4.0.3

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 CHANGED
@@ -4,218 +4,189 @@ 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
- #### [4.0.1](https://github.com/eea/volto-embed/compare/4.0.0...4.0.1)
7
+ ### [4.0.3](https://github.com/eea/volto-embed/compare/4.0.2...4.0.3) - 6 October 2022
8
8
 
9
- - dedupe getFiltered method, use from datablocks [`7f7b1b5`](https://github.com/eea/volto-embed/commit/7f7b1b51b280edc856e19d6b02a37f3f8894bd04)
10
- - fix regex [`1dc059f`](https://github.com/eea/volto-embed/commit/1dc059fa58f7a1789e4b570d1631226b404fa805)
11
- - early return [`467e6fc`](https://github.com/eea/volto-embed/commit/467e6fc2c053d2e17526ad6fb4cbf34c2bb8abe1)
12
- - safari: don't use lookbehind [`a4e4ece`](https://github.com/eea/volto-embed/commit/a4e4ece2891a5e2bcbf7f47a4345d0adca5258e6)
9
+ #### :hammer_and_wrench: Others
13
10
 
14
- ### [4.0.0](https://github.com/eea/volto-embed/compare/3.0.1...4.0.0)
11
+ - use specific alpha for addon test [andreiggr - [`e6df633`](https://github.com/eea/volto-embed/commit/e6df633aa4d2b0ee7eeb6b5aafa21528f14cd1df)]
12
+ - add optional height to privacy container [andreiggr - [`e2ac711`](https://github.com/eea/volto-embed/commit/e2ac711db4e461b474cade42109346a73bb8ecbd)]
13
+ - Add Sonarqube tag using marine-frontend addons list [EEA Jenkins - [`9f3f358`](https://github.com/eea/volto-embed/commit/9f3f35882fb367d72c7916abe7cbf366dbd8d5b6)]
14
+ - Add Sonarqube tag using bise-frontend addons list [EEA Jenkins - [`7677140`](https://github.com/eea/volto-embed/commit/767714006abf7cbe336c5ab00d76c7232d5bc798)]
15
+ ### [4.0.2](https://github.com/eea/volto-embed/compare/4.0.1...4.0.2) - 15 July 2022
15
16
 
16
- > 5 April 2022
17
+ #### :hammer_and_wrench: Others
17
18
 
18
- - Breaking. Volto 15.x compatibility [`#22`](https://github.com/eea/volto-embed/pull/22)
19
- - Prettier [`fffa1c9`](https://github.com/eea/volto-embed/commit/fffa1c9f42c9dacc7de1fed730e0a4494c04d2f8)
20
- - Prettier [`f9ca05d`](https://github.com/eea/volto-embed/commit/f9ca05d3c55d204080f8769bd7d556b4d8f0ce21)
21
- - Breaking changes. Bumped to version 4.0.0 [`eb78abf`](https://github.com/eea/volto-embed/commit/eb78abf98103ee8831814b3df4c441279c586da2)
22
- - Volto 15.x compatibility: updated react-cookie library [`a480372`](https://github.com/eea/volto-embed/commit/a480372f47e6e34d6f3e14d7b54b345dc83fd328)
19
+ - Fix destructure of undefined [Miu Razvan - [`a15b86f`](https://github.com/eea/volto-embed/commit/a15b86f71f4a5ccf3a37b7a8b98683d669c18d14)]
20
+ ### [4.0.1](https://github.com/eea/volto-embed/compare/4.0.0...4.0.1) - 29 April 2022
23
21
 
24
- #### [3.0.1](https://github.com/eea/volto-embed/compare/3.0.0...3.0.1)
25
-
26
- > 11 February 2022
27
-
28
- - fix query case [`#20`](https://github.com/eea/volto-embed/pull/20)
29
-
30
- #### [3.0.0](https://github.com/eea/volto-embed/compare/3.0.0-beta.0...3.0.0)
31
-
32
- > 7 February 2022
33
-
34
- - Make this compatible with volto-datablocks@3.x [`#19`](https://github.com/eea/volto-embed/pull/19)
35
-
36
- #### [3.0.0-beta.0](https://github.com/eea/volto-embed/compare/2.0.11...3.0.0-beta.0)
37
-
38
- > 7 February 2022
39
-
40
- - Release 3.0.0-beta.0 [`c9af803`](https://github.com/eea/volto-embed/commit/c9af80319bc89b1a579d14538ac5509e71db813f)
41
- - Updated cypress [`9112bee`](https://github.com/eea/volto-embed/commit/9112bee538e457e9f19a687c3442d222129eb95c)
42
- - Update [`c5c1251`](https://github.com/eea/volto-embed/commit/c5c1251a69c76c341c8deb28e0f2ccc940b2411b)
43
- - Make this compatible with volto-datablocks@3.x [`3457ee9`](https://github.com/eea/volto-embed/commit/3457ee9e3f5c78cf483525a274f03e6941d06f6f)
44
-
45
- #### [2.0.11](https://github.com/eea/volto-embed/compare/2.0.10...2.0.11)
46
-
47
- > 11 January 2022
48
-
49
- - use latest volto-slate [`#17`](https://github.com/eea/volto-embed/pull/17)
50
- - add cy tests [`#16`](https://github.com/eea/volto-embed/pull/16)
51
- - improve arcgis map view [`#14`](https://github.com/eea/volto-embed/pull/14)
52
- - Update package.json [`0ec673a`](https://github.com/eea/volto-embed/commit/0ec673a8178731b8c1e010101caee2a3c9fafaca)
53
- - Update package.json [`b8b94ec`](https://github.com/eea/volto-embed/commit/b8b94ec64672229f464b9108b4ac01a848827c00)
54
- - Refs #142010 - Optimize Volto-addons gitflow pipelines [`bf197dd`](https://github.com/eea/volto-embed/commit/bf197dd6516f9c18994add19b1141e061a96e2b6)
55
- - no hardcoded text [`4001bb4`](https://github.com/eea/volto-embed/commit/4001bb414df05c1516f95e4dcec4a328406dc63f)
56
- - fix [`a41ca9a`](https://github.com/eea/volto-embed/commit/a41ca9a2795a59f2633fb97938244e335dca8c43)
57
- - Update package.json [`a95b014`](https://github.com/eea/volto-embed/commit/a95b014a26651e11224b2f6531add7a599812d2a)
58
-
59
- #### [2.0.10](https://github.com/eea/volto-embed/compare/2.0.9...2.0.10)
60
-
61
- > 23 November 2021
62
-
63
- - Develop [`#15`](https://github.com/eea/volto-embed/pull/15)
64
-
65
- #### [2.0.9](https://github.com/eea/volto-embed/compare/2.0.8...2.0.9)
66
-
67
- > 11 November 2021
68
-
69
- - Update package.json [`#13`](https://github.com/eea/volto-embed/pull/13)
70
-
71
- #### [2.0.8](https://github.com/eea/volto-embed/compare/2.0.7...2.0.8)
72
-
73
- > 28 October 2021
74
-
75
- - Develop [`#12`](https://github.com/eea/volto-embed/pull/12)
76
- - Style [`#11`](https://github.com/eea/volto-embed/pull/11)
77
- - encode url to have the right country screenshot [`#9`](https://github.com/eea/volto-embed/pull/9)
78
- - correctly center center page [`cb47367`](https://github.com/eea/volto-embed/commit/cb47367aa3a4ab87c5e0bacde93d7cc27fca7723)
79
- - style [`878f9ad`](https://github.com/eea/volto-embed/commit/878f9adadc4cee17cd63a89144d3d702222cf08a)
80
- - style privacy div in center of map [`cf05b57`](https://github.com/eea/volto-embed/commit/cf05b570fc5ffbcc79e3c75587fe4ce46c75fe15)
81
-
82
- #### [2.0.7](https://github.com/eea/volto-embed/compare/2.0.6...2.0.7)
83
-
84
- > 13 October 2021
85
-
86
- - Develop sync [`#10`](https://github.com/eea/volto-embed/pull/10)
87
-
88
- #### [2.0.6](https://github.com/eea/volto-embed/compare/2.0.5...2.0.6)
89
-
90
- > 12 October 2021
91
-
92
- - `waitforselector` attribute while querying factsheet pages in screenshot api [`#8`](https://github.com/eea/volto-embed/pull/8)
93
- - decreased wait time [`0686e19`](https://github.com/eea/volto-embed/commit/0686e19518dfb8e53a64300badb13887575b031a)
94
- - more specific selector [`9707bab`](https://github.com/eea/volto-embed/commit/9707bab87cad8bb98b9ff780b501e6b32882bddc)
95
- - add param to dep array [`6927395`](https://github.com/eea/volto-embed/commit/6927395bd8ee3535768d211895b503787de5a63e)
96
- - waitforselector for datafactsheet pages [`c001f89`](https://github.com/eea/volto-embed/commit/c001f89def8cfc2f21fcc5a9bb2fa0ae58dc859b)
97
- - update [`4c6018d`](https://github.com/eea/volto-embed/commit/4c6018d68752b96b8408631778dc1410f9f00f99)
98
- - add datablocks [`ce23f0c`](https://github.com/eea/volto-embed/commit/ce23f0c524eba663a3b2c606c2c4ddafd6ddc3dc)
99
- - add support for query params [`05dc9e8`](https://github.com/eea/volto-embed/commit/05dc9e81ac655e7aa96f3b8b6a0e43c3af047fca)
100
-
101
- #### [2.0.5](https://github.com/eea/volto-embed/compare/2.0.4...2.0.5)
102
-
103
- > 7 October 2021
104
-
105
- - add support for query params [`#7`](https://github.com/eea/volto-embed/pull/7)
106
-
107
- #### [2.0.4](https://github.com/eea/volto-embed/compare/2.0.3...2.0.4)
108
-
109
- > 29 September 2021
110
-
111
- - Develop [`#6`](https://github.com/eea/volto-embed/pull/6)
112
- - correct base url for individual page country screenshot [`#5`](https://github.com/eea/volto-embed/pull/5)
113
- - cosmetics [`93508aa`](https://github.com/eea/volto-embed/commit/93508aa98257cc8fc5938a3a5d33da9b2fd25e12)
114
- - periodic polling and cookie subscriber [`e3e60c6`](https://github.com/eea/volto-embed/commit/e3e60c6bef74ae17719c4049c096fd579f58dcf6)
115
- - display maps automatically with identical cookie keys [`96abaf3`](https://github.com/eea/volto-embed/commit/96abaf380d0f8e8901557c7532fdff0acf3bc46b)
116
-
117
- #### [2.0.3](https://github.com/eea/volto-embed/compare/2.0.2...2.0.3)
118
-
119
- > 1 September 2021
120
-
121
- - Develop [`#4`](https://github.com/eea/volto-embed/pull/4)
122
- - clean embed block [`3b02319`](https://github.com/eea/volto-embed/commit/3b02319b5b465b97591a8d70c9a8f7b8b6ba18f1)
123
- - fix slate [`a94b4cf`](https://github.com/eea/volto-embed/commit/a94b4cf9016e322691f399d821f8e247f6534235)
124
- - defaultValue for cookie [`21b8e5f`](https://github.com/eea/volto-embed/commit/21b8e5f905b6cf4bf24117235ac69282e3b5e6ef)
125
- - modified schema, fix style to fit in small width [`fa9c9cb`](https://github.com/eea/volto-embed/commit/fa9c9cb63eb0bd7a3bab2d9eaea09f3896695a0c)
126
- - prevent realtime update of block data [`2edd3cc`](https://github.com/eea/volto-embed/commit/2edd3cc212c587cff2eaeb0544c71f4ff742ee77)
127
- - enable privacy on maps with identical cookie keys [`45b9e56`](https://github.com/eea/volto-embed/commit/45b9e56b9ced541d174966b2b7d6639237fd6251)
128
- - pass block id correctly [`eb130b9`](https://github.com/eea/volto-embed/commit/eb130b917d4186cde1dfb49ceb5eed8665ff2e5a)
129
- - custom style to slateWidget toolbar [`7ce9ab7`](https://github.com/eea/volto-embed/commit/7ce9ab716ab067974f56435d557ee57a30f9a5b7)
130
- - use slate editor in privacy_statement [`f662235`](https://github.com/eea/volto-embed/commit/f66223569bfd9e623bddbf043aeabcc9394eb049)
131
-
132
- #### [2.0.2](https://github.com/eea/volto-embed/compare/2.0.1...2.0.2)
133
-
134
- > 16 August 2021
135
-
136
- - Develop [`#3`](https://github.com/eea/volto-embed/pull/3)
137
- - add volto-slate [`6e5de2f`](https://github.com/eea/volto-embed/commit/6e5de2f0137404acf8d74892f059b44b2ad89244)
138
- - revert slate widget addition [`4032799`](https://github.com/eea/volto-embed/commit/403279913c6d50212e0d7856fa640fbf1ab3d6e1)
139
- - add deps [`b9a16f7`](https://github.com/eea/volto-embed/commit/b9a16f7ce3b52b86e7d310190523e043ee3205f9)
140
- - add a fallback in case no slate widget [`c7e6fbe`](https://github.com/eea/volto-embed/commit/c7e6fbeb4d9c37f96076560a8dd396082917cf50)
141
- - use richtext in privacy statement [`c40149e`](https://github.com/eea/volto-embed/commit/c40149e2c05bf4a0968a834a5e699a1249d999aa)
142
- - use toast, placeholder message and fetch on Edit [`0b7b89f`](https://github.com/eea/volto-embed/commit/0b7b89f70a4835e0f76d06955d8c324e125e727c)
143
- - override bg_image on manual upload [`a1c7a2d`](https://github.com/eea/volto-embed/commit/a1c7a2d7986ebf9ca4b1e73461b58fde196472af)
144
- - usee fetch for external urls [`ef3d8d9`](https://github.com/eea/volto-embed/commit/ef3d8d9f63dc1bde66c0fdf42356349e759f4bb4)
145
- - accept: * header [`8fea1c9`](https://github.com/eea/volto-embed/commit/8fea1c995270f534bdee11e37d6ae0be687a49c7)
146
- - correct image response [`8e20ead`](https://github.com/eea/volto-embed/commit/8e20ead146e834af5bfd644c05cf1f2c344134be)
147
- - use volto-corsproxy instead of fetch [`65ac49e`](https://github.com/eea/volto-embed/commit/65ac49ec7ecfaf7f4a9c0e1af6c929782ec6c150)
148
- - use correct url [`803f04d`](https://github.com/eea/volto-embed/commit/803f04d53193047545c56b797c62e50a933d4f74)
149
- - screenshot map images [`b789a3c`](https://github.com/eea/volto-embed/commit/b789a3ccb12b27462b666e8181b8f34be8b125d9)
150
- - replace base64 image with blob [`7c01bd8`](https://github.com/eea/volto-embed/commit/7c01bd87f73e45417cc73ff983fb5e17761c4941)
151
- - custom bg image in privacy protection [`f55642f`](https://github.com/eea/volto-embed/commit/f55642f1f1b7b6601cb4adef2993c0845e2c74b2)
152
- - revert use of custom bg image [`63a74b7`](https://github.com/eea/volto-embed/commit/63a74b7e671d85b602b0190c7a18e6d6ad71341b)
153
- - PrivacyProtection update & accept bg image [`f3f05d1`](https://github.com/eea/volto-embed/commit/f3f05d1d21fc88b90de3f68a995242b6c359e03a)
154
- - fix loading of cookies [`46348d8`](https://github.com/eea/volto-embed/commit/46348d8321b4633a3d5fdcbfb2c4f01912d7ed2a)
155
-
156
- #### [2.0.1](https://github.com/eea/volto-embed/compare/2.0.0...2.0.1)
157
-
158
- > 28 May 2021
159
-
160
- - Cypress code coverage [`#2`](https://github.com/eea/volto-embed/pull/2)
161
- - Rebase develop from master [`#1`](https://github.com/eea/volto-embed/pull/1)
162
- - Replace absolute path with relative path [`ded7df0`](https://github.com/eea/volto-embed/commit/ded7df09f0fbb2bbacd3aaaf63eebd9be1385d84)
163
- - Cypress coverage [`fcaac4e`](https://github.com/eea/volto-embed/commit/fcaac4e1341c43ec9a2c5319dafbfbad17366469)
164
- - Prettier [`3417476`](https://github.com/eea/volto-embed/commit/3417476401f56a85f24d7a61ed443b7618ce78c1)
165
- - Use volto-addon-ci for volto 12 [`3070313`](https://github.com/eea/volto-embed/commit/3070313417d60e50337afddd14ea84d6f841b596)
166
-
167
- ### [2.0.0](https://github.com/eea/volto-embed/compare/1.1.0...2.0.0)
168
-
169
- > 5 March 2021
170
-
171
- - Release 2.0.0 [`dc33fed`](https://github.com/eea/volto-embed/commit/dc33fed8c5a9b2c8c08eed5a7b69df9bd891e9f3)
172
- - Volto 12 compatibility [`d28ef95`](https://github.com/eea/volto-embed/commit/d28ef95b3f847244adde63fc47ea3c9de17703ab)
173
-
174
- #### [1.1.0](https://github.com/eea/volto-embed/compare/1.0.0...1.1.0)
175
-
176
- > 22 February 2021
177
-
178
- - Release 1.1.0 [`82a2708`](https://github.com/eea/volto-embed/commit/82a2708510eddce42599c10bb6c3a0401d2facf6)
179
- - Commented SonarQube [`4027e78`](https://github.com/eea/volto-embed/commit/4027e7855f9f0c1f28fe3b98f2f221150b71a49b)
180
- - Update [`103b55f`](https://github.com/eea/volto-embed/commit/103b55f5b7cab2d01ec038bd221550e4ac691ef6)
181
- - Typo [`36c3712`](https://github.com/eea/volto-embed/commit/36c3712f91c65bddfdf35ff7c39d31383baa66d8)
182
- - Removed @eeacms namespace [`9227755`](https://github.com/eea/volto-embed/commit/9227755ecdb07d1480586a6413d6616f003f2bd8)
183
- - Added changelog [`e1588d8`](https://github.com/eea/volto-embed/commit/e1588d809ca79518b8021f003e4edb95615b15ab)
184
-
185
- #### 1.0.0
186
-
187
- > 15 December 2020
188
-
189
- - Release 1.0.0 [`56982ac`](https://github.com/eea/volto-embed/commit/56982ac27cabb7b3389a8d9ac013cf82fa125473)
190
- - Prepare release [`860ae77`](https://github.com/eea/volto-embed/commit/860ae7742a8aa9ef3dbe38a5c03cca631cff41da)
191
- - Cypres update [`18b4706`](https://github.com/eea/volto-embed/commit/18b4706ebc4b7830c016eba617f7afa7c57e2152)
192
- - package lock [`373419a`](https://github.com/eea/volto-embed/commit/373419a34e7984bcad67757cea0085a990ac26fe)
193
- - Add multiple fieldsets to PrivacyProtectionToSchema [`50e8370`](https://github.com/eea/volto-embed/commit/50e83703881cf5706c1431afbac8197b640db443)
194
- - Add multiple fieldsets to PrivacyProtectionToSchema [`cd883ea`](https://github.com/eea/volto-embed/commit/cd883ea49993877df7198580410d9754e1f055cc)
195
- - Fix exports [`2683331`](https://github.com/eea/volto-embed/commit/2683331402f5f3199ea8d6851b9d7a0fe4aeb8c0)
196
- - Fix exports [`c7258fc`](https://github.com/eea/volto-embed/commit/c7258fc71e203dccf0a636dd7eb770a877609067)
197
- - Export convenience utils [`d83f3f2`](https://github.com/eea/volto-embed/commit/d83f3f2aea4c3ed459f33f8ee55ab33964f2369a)
198
- - Export convenience utils [`7756fce`](https://github.com/eea/volto-embed/commit/7756fce4955bffb0dfd8dc395368c372254e8e96)
199
- - Add readme info [`556754d`](https://github.com/eea/volto-embed/commit/556754d69895387d17680414d4e6c26880e5608b)
200
- - Add readme info [`a20cae7`](https://github.com/eea/volto-embed/commit/a20cae7cf5be7546099eff74402fbf4d34898776)
201
- - Localize the dataprotection data to PrivacyProtection component [`f886cb4`](https://github.com/eea/volto-embed/commit/f886cb4711b51832a9764084b6517c377a983d9c)
202
- - Localize the dataprotection data to PrivacyProtection component [`f4f0f20`](https://github.com/eea/volto-embed/commit/f4f0f2027099d2f7e92978e978218c35c752afdc)
203
- - Move visibilitysensor to PrivacyProtection [`593fe9a`](https://github.com/eea/volto-embed/commit/593fe9a723de60245907bc9e1c5a9927e001c14d)
204
- - Move visibilitysensor to PrivacyProtection [`bf4b39d`](https://github.com/eea/volto-embed/commit/bf4b39d9028e3c2af8e522b81ffc821da13fbeb4)
205
- - WIP on making the dataprotection reusable [`656e749`](https://github.com/eea/volto-embed/commit/656e7490332176a8fb8612c423132795fecc4ae2)
206
- - WIP on making the dataprotection reusable [`0058562`](https://github.com/eea/volto-embed/commit/00585628d94cb1d5cd26b80d48b0575939acbe13)
207
- - Create branch [`787ac33`](https://github.com/eea/volto-embed/commit/787ac336476390da10005fd8540263d25e54e766)
208
- - Create branch [`0ae9bc7`](https://github.com/eea/volto-embed/commit/0ae9bc78d15d05955078de17b11b952cddef1a23)
209
- - Volto 7 compatibility [`5d18dc3`](https://github.com/eea/volto-embed/commit/5d18dc31deb70af5d37ec580795f35acfe13a3b5)
210
- - Added missing index.js file [`9015828`](https://github.com/eea/volto-embed/commit/901582891981f54105d1d5eac36a348f2f0ebe38)
211
- - Cleanup package-lock.json [`c81a7a3`](https://github.com/eea/volto-embed/commit/c81a7a306a7cdd5a8b941eeb613eb288c0e4c6ab)
212
- - attempt to fix dependency issue [`a9122f6`](https://github.com/eea/volto-embed/commit/a9122f6d7d959e0049a30d1eb8cdef1b7c5ff4b4)
213
- - dependency [`dc2f999`](https://github.com/eea/volto-embed/commit/dc2f999c4e62742bb831727550d9954d205bce62)
214
- - Added package-lock.json [`99c7861`](https://github.com/eea/volto-embed/commit/99c7861da4f5da7e0be1d5407a7e8d1f560eba60)
215
- - Use className instead of class [`21cc8c6`](https://github.com/eea/volto-embed/commit/21cc8c691cdc3d8f3d2d296fe493b089625c99fa)
216
- - Remove logging [`10a6ae2`](https://github.com/eea/volto-embed/commit/10a6ae2139784dd7e10109b718599c8b1fe4b6d3)
217
- - Allow disable/enable privacy statement [`e90f0c0`](https://github.com/eea/volto-embed/commit/e90f0c0555913f3196a8d35161fbd4c5da522263)
218
- - button styling [`78d6c63`](https://github.com/eea/volto-embed/commit/78d6c6315d1ae39e484d7d5cac29a3f75143a5a8)
219
- - Remove empty files [`12986f7`](https://github.com/eea/volto-embed/commit/12986f7d03afdc2fe00fa4552cff8a3df220f2d6)
220
- - Added package file [`ea356b6`](https://github.com/eea/volto-embed/commit/ea356b6a63ec92cd1ba048f0cb562394a641a5c9)
221
- - Initial commit [`95ae30c`](https://github.com/eea/volto-embed/commit/95ae30c5bbed925c0de100e77b312d5d957224a4)
22
+ #### :hammer_and_wrench: Others
23
+
24
+ - dedupe getFiltered method, use from datablocks [nileshgulia1 - [`7f7b1b5`](https://github.com/eea/volto-embed/commit/7f7b1b51b280edc856e19d6b02a37f3f8894bd04)]
25
+ - fix regex [nileshgulia1 - [`1dc059f`](https://github.com/eea/volto-embed/commit/1dc059fa58f7a1789e4b570d1631226b404fa805)]
26
+ - early return [nileshgulia1 - [`467e6fc`](https://github.com/eea/volto-embed/commit/467e6fc2c053d2e17526ad6fb4cbf34c2bb8abe1)]
27
+ - safari: don't use lookbehind [nileshgulia1 - [`a4e4ece`](https://github.com/eea/volto-embed/commit/a4e4ece2891a5e2bcbf7f47a4345d0adca5258e6)]
28
+ ## [4.0.0](https://github.com/eea/volto-embed/compare/3.0.1...4.0.0) - 5 April 2022
29
+
30
+ #### :hammer_and_wrench: Others
31
+
32
+ - Prettier [kreafox - [`fffa1c9`](https://github.com/eea/volto-embed/commit/fffa1c9f42c9dacc7de1fed730e0a4494c04d2f8)]
33
+ - Prettier [kreafox - [`f9ca05d`](https://github.com/eea/volto-embed/commit/f9ca05d3c55d204080f8769bd7d556b4d8f0ce21)]
34
+ - Breaking changes. Bumped to version 4.0.0 [kreafox - [`eb78abf`](https://github.com/eea/volto-embed/commit/eb78abf98103ee8831814b3df4c441279c586da2)]
35
+ - Volto 15.x compatibility: updated react-cookie library [kreafox - [`a480372`](https://github.com/eea/volto-embed/commit/a480372f47e6e34d6f3e14d7b54b345dc83fd328)]
36
+ ### [3.0.1](https://github.com/eea/volto-embed/compare/3.0.0...3.0.1) - 11 February 2022
37
+
38
+ ### [3.0.0](https://github.com/eea/volto-embed/compare/3.0.0-beta.0...3.0.0) - 7 February 2022
39
+
40
+ ### [3.0.0-beta.0](https://github.com/eea/volto-embed/compare/2.0.11...3.0.0-beta.0) - 7 February 2022
41
+
42
+ #### :hammer_and_wrench: Others
43
+
44
+ - Release 3.0.0-beta.0 [Miu Razvan - [`c9af803`](https://github.com/eea/volto-embed/commit/c9af80319bc89b1a579d14538ac5509e71db813f)]
45
+ - Updated cypress [Miu Razvan - [`9112bee`](https://github.com/eea/volto-embed/commit/9112bee538e457e9f19a687c3442d222129eb95c)]
46
+ - Update [Miu Razvan - [`c5c1251`](https://github.com/eea/volto-embed/commit/c5c1251a69c76c341c8deb28e0f2ccc940b2411b)]
47
+ - Make this compatible with volto-datablocks@3.x [Miu Razvan - [`3457ee9`](https://github.com/eea/volto-embed/commit/3457ee9e3f5c78cf483525a274f03e6941d06f6f)]
48
+ ### [2.0.11](https://github.com/eea/volto-embed/compare/2.0.10...2.0.11) - 11 January 2022
49
+
50
+ #### :hammer_and_wrench: Others
51
+
52
+ - Update package.json [Nilesh - [`0ec673a`](https://github.com/eea/volto-embed/commit/0ec673a8178731b8c1e010101caee2a3c9fafaca)]
53
+ - Update package.json [Nilesh - [`b8b94ec`](https://github.com/eea/volto-embed/commit/b8b94ec64672229f464b9108b4ac01a848827c00)]
54
+ - Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`cfe04d8`](https://github.com/eea/volto-embed/commit/cfe04d885255bb8e472a3b268b98e3d7b9022437)]
55
+ - Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`bf197dd`](https://github.com/eea/volto-embed/commit/bf197dd6516f9c18994add19b1141e061a96e2b6)]
56
+ - no hardcoded text [Daniela Mormocea - [`4001bb4`](https://github.com/eea/volto-embed/commit/4001bb414df05c1516f95e4dcec4a328406dc63f)]
57
+ - fix [Daniela Mormocea - [`a41ca9a`](https://github.com/eea/volto-embed/commit/a41ca9a2795a59f2633fb97938244e335dca8c43)]
58
+ - Update package.json [Nilesh - [`a95b014`](https://github.com/eea/volto-embed/commit/a95b014a26651e11224b2f6531add7a599812d2a)]
59
+ ### [2.0.10](https://github.com/eea/volto-embed/compare/2.0.9...2.0.10) - 23 November 2021
60
+
61
+ ### [2.0.9](https://github.com/eea/volto-embed/compare/2.0.8...2.0.9) - 11 November 2021
62
+
63
+ ### [2.0.8](https://github.com/eea/volto-embed/compare/2.0.7...2.0.8) - 28 October 2021
64
+
65
+ #### :hammer_and_wrench: Others
66
+
67
+ - correctly center center page [nileshgulia1 - [`cb47367`](https://github.com/eea/volto-embed/commit/cb47367aa3a4ab87c5e0bacde93d7cc27fca7723)]
68
+ - style [Daniela Mormocea - [`878f9ad`](https://github.com/eea/volto-embed/commit/878f9adadc4cee17cd63a89144d3d702222cf08a)]
69
+ - style privacy div in center of map [Daniela Mormocea - [`cf05b57`](https://github.com/eea/volto-embed/commit/cf05b570fc5ffbcc79e3c75587fe4ce46c75fe15)]
70
+ ### [2.0.7](https://github.com/eea/volto-embed/compare/2.0.6...2.0.7) - 13 October 2021
71
+
72
+ ### [2.0.6](https://github.com/eea/volto-embed/compare/2.0.5...2.0.6) - 12 October 2021
73
+
74
+ #### :hammer_and_wrench: Others
75
+
76
+ - decreased wait time [nileshgulia1 - [`0686e19`](https://github.com/eea/volto-embed/commit/0686e19518dfb8e53a64300badb13887575b031a)]
77
+ - more specific selector [nileshgulia1 - [`9707bab`](https://github.com/eea/volto-embed/commit/9707bab87cad8bb98b9ff780b501e6b32882bddc)]
78
+ - add param to dep array [nileshgulia1 - [`6927395`](https://github.com/eea/volto-embed/commit/6927395bd8ee3535768d211895b503787de5a63e)]
79
+ - waitforselector for datafactsheet pages [nileshgulia1 - [`c001f89`](https://github.com/eea/volto-embed/commit/c001f89def8cfc2f21fcc5a9bb2fa0ae58dc859b)]
80
+ - update [nileshgulia1 - [`4c6018d`](https://github.com/eea/volto-embed/commit/4c6018d68752b96b8408631778dc1410f9f00f99)]
81
+ - add datablocks [nileshgulia1 - [`ce23f0c`](https://github.com/eea/volto-embed/commit/ce23f0c524eba663a3b2c606c2c4ddafd6ddc3dc)]
82
+ - add support for query params [nileshgulia1 - [`05dc9e8`](https://github.com/eea/volto-embed/commit/05dc9e81ac655e7aa96f3b8b6a0e43c3af047fca)]
83
+ ### [2.0.5](https://github.com/eea/volto-embed/compare/2.0.4...2.0.5) - 7 October 2021
84
+
85
+ ### [2.0.4](https://github.com/eea/volto-embed/compare/2.0.3...2.0.4) - 29 September 2021
86
+
87
+ #### :hammer_and_wrench: Others
88
+
89
+ - cosmetics [nileshgulia1 - [`93508aa`](https://github.com/eea/volto-embed/commit/93508aa98257cc8fc5938a3a5d33da9b2fd25e12)]
90
+ - periodic polling and cookie subscriber [nileshgulia1 - [`e3e60c6`](https://github.com/eea/volto-embed/commit/e3e60c6bef74ae17719c4049c096fd579f58dcf6)]
91
+ - display maps automatically with identical cookie keys [nileshgulia1 - [`96abaf3`](https://github.com/eea/volto-embed/commit/96abaf380d0f8e8901557c7532fdff0acf3bc46b)]
92
+ ### [2.0.3](https://github.com/eea/volto-embed/compare/2.0.2...2.0.3) - 1 September 2021
93
+
94
+ #### :hammer_and_wrench: Others
95
+
96
+ - clean embed block [nileshgulia1 - [`3b02319`](https://github.com/eea/volto-embed/commit/3b02319b5b465b97591a8d70c9a8f7b8b6ba18f1)]
97
+ - fix slate [nileshgulia1 - [`a94b4cf`](https://github.com/eea/volto-embed/commit/a94b4cf9016e322691f399d821f8e247f6534235)]
98
+ - defaultValue for cookie [nileshgulia1 - [`21b8e5f`](https://github.com/eea/volto-embed/commit/21b8e5f905b6cf4bf24117235ac69282e3b5e6ef)]
99
+ - modified schema, fix style to fit in small width [nileshgulia1 - [`fa9c9cb`](https://github.com/eea/volto-embed/commit/fa9c9cb63eb0bd7a3bab2d9eaea09f3896695a0c)]
100
+ - prevent realtime update of block data [nileshgulia1 - [`2edd3cc`](https://github.com/eea/volto-embed/commit/2edd3cc212c587cff2eaeb0544c71f4ff742ee77)]
101
+ - enable privacy on maps with identical cookie keys [nileshgulia1 - [`45b9e56`](https://github.com/eea/volto-embed/commit/45b9e56b9ced541d174966b2b7d6639237fd6251)]
102
+ - pass block id correctly [nileshgulia1 - [`eb130b9`](https://github.com/eea/volto-embed/commit/eb130b917d4186cde1dfb49ceb5eed8665ff2e5a)]
103
+ - custom style to slateWidget toolbar [nileshgulia1 - [`7ce9ab7`](https://github.com/eea/volto-embed/commit/7ce9ab716ab067974f56435d557ee57a30f9a5b7)]
104
+ - use slate editor in privacy_statement [nileshgulia1 - [`f662235`](https://github.com/eea/volto-embed/commit/f66223569bfd9e623bddbf043aeabcc9394eb049)]
105
+ ### [2.0.2](https://github.com/eea/volto-embed/compare/2.0.1...2.0.2) - 16 August 2021
106
+
107
+ #### :hammer_and_wrench: Others
108
+
109
+ - add volto-slate [nileshgulia1 - [`6e5de2f`](https://github.com/eea/volto-embed/commit/6e5de2f0137404acf8d74892f059b44b2ad89244)]
110
+ - revert slate widget addition [nileshgulia1 - [`4032799`](https://github.com/eea/volto-embed/commit/403279913c6d50212e0d7856fa640fbf1ab3d6e1)]
111
+ - add deps [nileshgulia1 - [`b9a16f7`](https://github.com/eea/volto-embed/commit/b9a16f7ce3b52b86e7d310190523e043ee3205f9)]
112
+ - add a fallback in case no slate widget [nileshgulia1 - [`c7e6fbe`](https://github.com/eea/volto-embed/commit/c7e6fbeb4d9c37f96076560a8dd396082917cf50)]
113
+ - fix jenkins [nileshgulia1 - [`ed5a5d2`](https://github.com/eea/volto-embed/commit/ed5a5d22a315daceb9c10afbb4426bb10607a48a)]
114
+ - use richtext in privacy statement [nileshgulia1 - [`c40149e`](https://github.com/eea/volto-embed/commit/c40149e2c05bf4a0968a834a5e699a1249d999aa)]
115
+ - use toast, placeholder message and fetch on Edit [nileshgulia1 - [`0b7b89f`](https://github.com/eea/volto-embed/commit/0b7b89f70a4835e0f76d06955d8c324e125e727c)]
116
+ - override bg_image on manual upload [nileshgulia1 - [`a1c7a2d`](https://github.com/eea/volto-embed/commit/a1c7a2d7986ebf9ca4b1e73461b58fde196472af)]
117
+ - usee fetch for external urls [nileshgulia1 - [`ef3d8d9`](https://github.com/eea/volto-embed/commit/ef3d8d9f63dc1bde66c0fdf42356349e759f4bb4)]
118
+ - accept: * header [nileshgulia1 - [`8fea1c9`](https://github.com/eea/volto-embed/commit/8fea1c995270f534bdee11e37d6ae0be687a49c7)]
119
+ - correct image response [nileshgulia1 - [`8e20ead`](https://github.com/eea/volto-embed/commit/8e20ead146e834af5bfd644c05cf1f2c344134be)]
120
+ - use volto-corsproxy instead of fetch [nileshgulia1 - [`65ac49e`](https://github.com/eea/volto-embed/commit/65ac49ec7ecfaf7f4a9c0e1af6c929782ec6c150)]
121
+ - use correct url [nileshgulia1 - [`803f04d`](https://github.com/eea/volto-embed/commit/803f04d53193047545c56b797c62e50a933d4f74)]
122
+ - screenshot map images [nileshgulia1 - [`b789a3c`](https://github.com/eea/volto-embed/commit/b789a3ccb12b27462b666e8181b8f34be8b125d9)]
123
+ - replace base64 image with blob [nileshgulia1 - [`7c01bd8`](https://github.com/eea/volto-embed/commit/7c01bd87f73e45417cc73ff983fb5e17761c4941)]
124
+ - custom bg image in privacy protection [nileshgulia1 - [`f55642f`](https://github.com/eea/volto-embed/commit/f55642f1f1b7b6601cb4adef2993c0845e2c74b2)]
125
+ - revert use of custom bg image [nileshgulia1 - [`63a74b7`](https://github.com/eea/volto-embed/commit/63a74b7e671d85b602b0190c7a18e6d6ad71341b)]
126
+ - PrivacyProtection update & accept bg image [Andrei Grigore - [`f3f05d1`](https://github.com/eea/volto-embed/commit/f3f05d1d21fc88b90de3f68a995242b6c359e03a)]
127
+ - fix loading of cookies [nileshgulia1 - [`46348d8`](https://github.com/eea/volto-embed/commit/46348d8321b4633a3d5fdcbfb2c4f01912d7ed2a)]
128
+ - Add Sonarqube tag using frontend addons list [EEA Jenkins - [`a1e1f50`](https://github.com/eea/volto-embed/commit/a1e1f50db8a1ebc11261c3a24c39687c00ca7eea)]
129
+ - Add Sonarqube tag using frontend addons list [EEA Jenkins - [`1e1471e`](https://github.com/eea/volto-embed/commit/1e1471ebab5ba6e5bf0c231ddd0de94d8fe6c846)]
130
+ ### [2.0.1](https://github.com/eea/volto-embed/compare/2.0.0...2.0.1) - 28 May 2021
131
+
132
+ #### :hammer_and_wrench: Others
133
+
134
+ - Replace absolute path with relative path [razvanMiu - [`ded7df0`](https://github.com/eea/volto-embed/commit/ded7df09f0fbb2bbacd3aaaf63eebd9be1385d84)]
135
+ - Cypress coverage [valentinab25 - [`fcaac4e`](https://github.com/eea/volto-embed/commit/fcaac4e1341c43ec9a2c5319dafbfbad17366469)]
136
+ - Prettier [razvanMiu - [`3417476`](https://github.com/eea/volto-embed/commit/3417476401f56a85f24d7a61ed443b7618ce78c1)]
137
+ - Use volto-addon-ci for volto 12 [razvanMiu - [`3070313`](https://github.com/eea/volto-embed/commit/3070313417d60e50337afddd14ea84d6f841b596)]
138
+ ## [2.0.0](https://github.com/eea/volto-embed/compare/1.1.0...2.0.0) - 5 March 2021
139
+
140
+ #### :hammer_and_wrench: Others
141
+
142
+ - Release 2.0.0 [razvanMiu - [`dc33fed`](https://github.com/eea/volto-embed/commit/dc33fed8c5a9b2c8c08eed5a7b69df9bd891e9f3)]
143
+ - Volto 12 compatibility [razvanMiu - [`d28ef95`](https://github.com/eea/volto-embed/commit/d28ef95b3f847244adde63fc47ea3c9de17703ab)]
144
+ ### [1.1.0](https://github.com/eea/volto-embed/compare/1.0.0...1.1.0) - 22 February 2021
145
+
146
+ #### :hammer_and_wrench: Others
147
+
148
+ - Release 1.1.0 [razvanMiu - [`82a2708`](https://github.com/eea/volto-embed/commit/82a2708510eddce42599c10bb6c3a0401d2facf6)]
149
+ - Commented SonarQube [razvanMiu - [`4027e78`](https://github.com/eea/volto-embed/commit/4027e7855f9f0c1f28fe3b98f2f221150b71a49b)]
150
+ - Update [razvanMiu - [`103b55f`](https://github.com/eea/volto-embed/commit/103b55f5b7cab2d01ec038bd221550e4ac691ef6)]
151
+ - Typo [razvanMiu - [`36c3712`](https://github.com/eea/volto-embed/commit/36c3712f91c65bddfdf35ff7c39d31383baa66d8)]
152
+ - Fixed jenkins [razvanMiu - [`6473b89`](https://github.com/eea/volto-embed/commit/6473b8973dfe6cb729ac6b03bd5ef449d4344801)]
153
+ - Removed @eeacms namespace [razvanMiu - [`9227755`](https://github.com/eea/volto-embed/commit/9227755ecdb07d1480586a6413d6616f003f2bd8)]
154
+ - Added changelog [razvanMiu - [`e1588d8`](https://github.com/eea/volto-embed/commit/e1588d809ca79518b8021f003e4edb95615b15ab)]
155
+ ### 1.0.0 - 15 December 2020
156
+
157
+ #### :hammer_and_wrench: Others
158
+
159
+ - Release 1.0.0 [razvanMiu - [`56982ac`](https://github.com/eea/volto-embed/commit/56982ac27cabb7b3389a8d9ac013cf82fa125473)]
160
+ - Prepare release [razvanMiu - [`860ae77`](https://github.com/eea/volto-embed/commit/860ae7742a8aa9ef3dbe38a5c03cca631cff41da)]
161
+ - Cypres update [razvanMiu - [`18b4706`](https://github.com/eea/volto-embed/commit/18b4706ebc4b7830c016eba617f7afa7c57e2152)]
162
+ - Jenkins file; Cypres; lint:fix stylelint:fix prettier:fix [razvanMiu - [`dd84995`](https://github.com/eea/volto-embed/commit/dd84995f5f0000a1e4d5445f91d5f31e45a3e8af)]
163
+ - package lock [Mihai Macaneata - [`373419a`](https://github.com/eea/volto-embed/commit/373419a34e7984bcad67757cea0085a990ac26fe)]
164
+ - Add multiple fieldsets to PrivacyProtectionToSchema [kreafox - [`50e8370`](https://github.com/eea/volto-embed/commit/50e83703881cf5706c1431afbac8197b640db443)]
165
+ - Add multiple fieldsets to PrivacyProtectionToSchema [kreafox - [`cd883ea`](https://github.com/eea/volto-embed/commit/cd883ea49993877df7198580410d9754e1f055cc)]
166
+ - Fix exports [Tiberiu Ichim - [`2683331`](https://github.com/eea/volto-embed/commit/2683331402f5f3199ea8d6851b9d7a0fe4aeb8c0)]
167
+ - Fix exports [Tiberiu Ichim - [`c7258fc`](https://github.com/eea/volto-embed/commit/c7258fc71e203dccf0a636dd7eb770a877609067)]
168
+ - Export convenience utils [Tiberiu Ichim - [`d83f3f2`](https://github.com/eea/volto-embed/commit/d83f3f2aea4c3ed459f33f8ee55ab33964f2369a)]
169
+ - Export convenience utils [Tiberiu Ichim - [`7756fce`](https://github.com/eea/volto-embed/commit/7756fce4955bffb0dfd8dc395368c372254e8e96)]
170
+ - Add readme info [Tiberiu Ichim - [`556754d`](https://github.com/eea/volto-embed/commit/556754d69895387d17680414d4e6c26880e5608b)]
171
+ - Add readme info [Tiberiu Ichim - [`a20cae7`](https://github.com/eea/volto-embed/commit/a20cae7cf5be7546099eff74402fbf4d34898776)]
172
+ - Localize the dataprotection data to PrivacyProtection component [Tiberiu Ichim - [`f886cb4`](https://github.com/eea/volto-embed/commit/f886cb4711b51832a9764084b6517c377a983d9c)]
173
+ - Localize the dataprotection data to PrivacyProtection component [Tiberiu Ichim - [`f4f0f20`](https://github.com/eea/volto-embed/commit/f4f0f2027099d2f7e92978e978218c35c752afdc)]
174
+ - Move visibilitysensor to PrivacyProtection [Tiberiu Ichim - [`593fe9a`](https://github.com/eea/volto-embed/commit/593fe9a723de60245907bc9e1c5a9927e001c14d)]
175
+ - Move visibilitysensor to PrivacyProtection [Tiberiu Ichim - [`bf4b39d`](https://github.com/eea/volto-embed/commit/bf4b39d9028e3c2af8e522b81ffc821da13fbeb4)]
176
+ - WIP on making the dataprotection reusable [Tiberiu Ichim - [`656e749`](https://github.com/eea/volto-embed/commit/656e7490332176a8fb8612c423132795fecc4ae2)]
177
+ - WIP on making the dataprotection reusable [Tiberiu Ichim - [`0058562`](https://github.com/eea/volto-embed/commit/00585628d94cb1d5cd26b80d48b0575939acbe13)]
178
+ - Create branch [Tiberiu Ichim - [`787ac33`](https://github.com/eea/volto-embed/commit/787ac336476390da10005fd8540263d25e54e766)]
179
+ - Create branch [Tiberiu Ichim - [`0ae9bc7`](https://github.com/eea/volto-embed/commit/0ae9bc78d15d05955078de17b11b952cddef1a23)]
180
+ - Volto 7 compatibility [Tiberiu Ichim - [`5d18dc3`](https://github.com/eea/volto-embed/commit/5d18dc31deb70af5d37ec580795f35acfe13a3b5)]
181
+ - Added missing index.js file [Tiberiu Ichim - [`9015828`](https://github.com/eea/volto-embed/commit/901582891981f54105d1d5eac36a348f2f0ebe38)]
182
+ - Cleanup package-lock.json [Tiberiu Ichim - [`c81a7a3`](https://github.com/eea/volto-embed/commit/c81a7a306a7cdd5a8b941eeb613eb288c0e4c6ab)]
183
+ - attempt to fix dependency issue [Mihai Macaneata - [`a9122f6`](https://github.com/eea/volto-embed/commit/a9122f6d7d959e0049a30d1eb8cdef1b7c5ff4b4)]
184
+ - dependency [Mihai Macaneata - [`dc2f999`](https://github.com/eea/volto-embed/commit/dc2f999c4e62742bb831727550d9954d205bce62)]
185
+ - Added package-lock.json [Tiberiu Ichim - [`99c7861`](https://github.com/eea/volto-embed/commit/99c7861da4f5da7e0be1d5407a7e8d1f560eba60)]
186
+ - Use className instead of class [Tiberiu Ichim - [`21cc8c6`](https://github.com/eea/volto-embed/commit/21cc8c691cdc3d8f3d2d296fe493b089625c99fa)]
187
+ - Remove logging [Tiberiu Ichim - [`10a6ae2`](https://github.com/eea/volto-embed/commit/10a6ae2139784dd7e10109b718599c8b1fe4b6d3)]
188
+ - Allow disable/enable privacy statement [Tiberiu Ichim - [`e90f0c0`](https://github.com/eea/volto-embed/commit/e90f0c0555913f3196a8d35161fbd4c5da522263)]
189
+ - button styling [Mihai Macaneata - [`78d6c63`](https://github.com/eea/volto-embed/commit/78d6c6315d1ae39e484d7d5cac29a3f75143a5a8)]
190
+ - Remove empty files [Tiberiu Ichim - [`12986f7`](https://github.com/eea/volto-embed/commit/12986f7d03afdc2fe00fa4552cff8a3df220f2d6)]
191
+ - Added package file [Tiberiu Ichim - [`ea356b6`](https://github.com/eea/volto-embed/commit/ea356b6a63ec92cd1ba048f0cb562394a641a5c9)]
192
+ - Initial commit [Tiberiu Ichim - [`95ae30c`](https://github.com/eea/volto-embed/commit/95ae30c5bbed925c0de100e77b312d5d957224a4)]
package/Jenkinsfile CHANGED
@@ -4,8 +4,9 @@ pipeline {
4
4
  environment {
5
5
  GIT_NAME = "volto-embed"
6
6
  NAMESPACE = "@eeacms"
7
- SONARQUBE_TAGS = "volto.eea.europa.eu,climate-energy.eea.europa.eu,forest.eea.europa.eu,water.europa.eu-freshwater"
7
+ SONARQUBE_TAGS = "volto.eea.europa.eu,climate-energy.eea.europa.eu,forest.eea.europa.eu,water.europa.eu-freshwater,biodiversity.europa.eu,water.europa.eu-marine"
8
8
  DEPENDENCIES = "volto-slate"
9
+ VOLTO = "16.0.0-alpha.14"
9
10
  }
10
11
 
11
12
  stages {
@@ -124,8 +125,8 @@ pipeline {
124
125
  node(label: 'docker') {
125
126
  script {
126
127
  try {
127
- sh '''docker pull plone; docker run -d --rm --name="$BUILD_TAG-plone" -e SITE="Plone" -e PROFILES="profile-plone.restapi:blocks" plone fg'''
128
- sh '''docker pull plone/volto-addon-ci; docker run -i --name="$BUILD_TAG-cypress" --link $BUILD_TAG-plone:plone -e NAMESPACE="$NAMESPACE" -e GIT_NAME=$GIT_NAME -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e DEPENDENCIES="$DEPENDENCIES" plone/volto-addon-ci cypress'''
128
+ sh '''docker pull eeacms/plone-backend; docker run -d --rm --name="$BUILD_TAG-plone" -e SITE="Plone" -e PROFILES="eea.kitkat:testing" eeacms/plone-backend'''
129
+ sh '''docker pull plone/volto-addon-ci; docker run -i --name="$BUILD_TAG-cypress" --link $BUILD_TAG-plone:plone -e NAMESPACE="$NAMESPACE" -e GIT_NAME=$GIT_NAME -e GIT_BRANCH="$BRANCH_NAME" -e GIT_CHANGE_ID="$CHANGE_ID" -e DEPENDENCIES="$DEPENDENCIES" -e NODE_ENV=development -e VOLTO="$VOLTO" plone/volto-addon-ci cypress'''
129
130
  } finally {
130
131
  try {
131
132
  sh '''rm -rf cypress-reports cypress-results cypress-coverage'''
@@ -27,7 +27,7 @@ coverage-end */
27
27
  export const setupBeforeEach = () => {
28
28
  cy.autologin();
29
29
  cy.createContent({
30
- contentType: 'Folder',
30
+ contentType: 'Document',
31
31
  contentId: 'cypress',
32
32
  contentTitle: 'Cypress',
33
33
  });
package/cypress.json CHANGED
@@ -1,12 +1,17 @@
1
1
  {
2
2
  "baseUrl": "http://localhost:3000",
3
3
  "viewportWidth": 1280,
4
- "defaultCommandTimeout": 15000,
4
+ "defaultCommandTimeout": 8888,
5
5
  "reporter": "junit",
6
6
  "video": true,
7
7
  "reporterOptions": {
8
8
  "mochaFile": "cypress/reports/cypress-[hash].xml",
9
9
  "jenkinsMode": true,
10
10
  "toConsole": true
11
+ },
12
+ "chromeWebSecurity": false,
13
+ "retries": {
14
+ "runMode": 8,
15
+ "openMode": 0
11
16
  }
12
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-embed",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "description": "Embed external content",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -27,7 +27,8 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@cypress/code-coverage": "^3.9.5",
30
- "babel-plugin-transform-class-properties": "^6.24.1"
30
+ "babel-plugin-transform-class-properties": "^6.24.1",
31
+ "md5": "^2.3.0"
31
32
  },
32
33
  "scripts": {
33
34
  "release": "release-it",
@@ -4,6 +4,7 @@
4
4
  */
5
5
 
6
6
  import React, { Component } from 'react';
7
+ import { isString } from 'lodash';
7
8
  import PropTypes from 'prop-types';
8
9
  import { Button, Input, Message } from 'semantic-ui-react';
9
10
  import { defineMessages, FormattedMessage, injectIntl } from 'react-intl';
@@ -87,6 +88,32 @@ class Edit extends Component {
87
88
  this.onKeyDownVariantMenuForm = this.onKeyDownVariantMenuForm.bind(this);
88
89
  }
89
90
 
91
+ /**
92
+ * Backward compatibility
93
+ * @method componentDidMount
94
+ * @returns {undefined}
95
+ */
96
+ componentDidMount() {
97
+ const { privacy_statement } = this.props.data.dataprotection || {};
98
+ if (isString(privacy_statement)) {
99
+ this.props.onChangeBlock(this.props.block, {
100
+ ...this.props.data,
101
+ dataprotection: {
102
+ ...(this.props.data.dataprotection || {}),
103
+ privacy_statement: [
104
+ {
105
+ children: [
106
+ {
107
+ text: privacy_statement,
108
+ },
109
+ ],
110
+ },
111
+ ],
112
+ },
113
+ });
114
+ }
115
+ }
116
+
90
117
  /**
91
118
  * Change url handler
92
119
  * @method onChangeUrl
@@ -73,7 +73,16 @@ const CookieWatcher = (domain_key, cookies, pollingRate = 250) => {
73
73
  };
74
74
 
75
75
  const PrivacyProtection = (props) => {
76
- const { children, data = {}, id, editable, intl, path, cookies } = props;
76
+ const {
77
+ children,
78
+ data = {},
79
+ id,
80
+ editable,
81
+ intl,
82
+ path,
83
+ cookies,
84
+ height = '',
85
+ } = props;
77
86
  const {
78
87
  enabled = false,
79
88
  privacy_statement,
@@ -158,7 +167,12 @@ const PrivacyProtection = (props) => {
158
167
  {visible ? (
159
168
  <div
160
169
  className="privacy-protection-wrapper"
161
- style={{ position: 'relative', minHeight: '200px' }}
170
+ style={{
171
+ position: 'relative',
172
+ height: height ? `${height}px` : 'auto',
173
+ minHeight: '200px',
174
+ overflow: 'hidden',
175
+ }}
162
176
  >
163
177
  {!enabled || show ? (
164
178
  children