@eeacms/volto-eea-kitkat 22.1.0 → 23.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 +18 -0
- package/CHANGELOG.md +18 -0
- package/README.md +2 -0
- package/new.json +10 -4
- package/old.json +3 -3
- package/package.json +10 -4
- package/partfile +5 -3
- package/releasefile +13 -25
- package/src/index.js +0 -49
- package/src/customizations/volto/components/manage/Controlpanels/VersionOverview.jsx +0 -137
- package/src/customizations/volto/components/manage/Controlpanels/VersionOverview.test.jsx +0 -116
- package/src/system.js +0 -49
package/CHANGELOG
CHANGED
|
@@ -4,6 +4,24 @@ 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
|
+
### [23.0.0](https://github.com/eea/volto-eea-kitkat/compare/22.1.0...23.0.0) - 14 March 2024
|
|
8
|
+
|
|
9
|
+
#### :rocket: New Features
|
|
10
|
+
|
|
11
|
+
- feat: Add dependency on @eeacms/volto-controlpanel [alin - [`e59140c`](https://github.com/eea/volto-eea-kitkat/commit/e59140ce34534e2d85bfb8696d6f8b05b35454fb)]
|
|
12
|
+
|
|
13
|
+
#### :rocket: Dependency updates
|
|
14
|
+
|
|
15
|
+
- Release @eeacms/volto-controlpanel@0.2.0 [EEA Jenkins - [`bec6857`](https://github.com/eea/volto-eea-kitkat/commit/bec6857e036ef784cab109be0774877d42be8f52)]
|
|
16
|
+
- Release @eeacms/volto-widget-geolocation@5.3.0 [EEA Jenkins - [`e12a7ca`](https://github.com/eea/volto-eea-kitkat/commit/e12a7ca20a8f498d3a87eee56d3dff2c635d30d5)]
|
|
17
|
+
|
|
18
|
+
#### :house: Internal changes
|
|
19
|
+
|
|
20
|
+
- chore: Move VersionOverview customization to dedicated Volto add-on volto-controlpanel - refs #264531 [dana-cfc4 - [`117a890`](https://github.com/eea/volto-eea-kitkat/commit/117a8908a59ee46fe1e16a7edf6723785643d175)]
|
|
21
|
+
|
|
22
|
+
#### :hammer_and_wrench: Others
|
|
23
|
+
|
|
24
|
+
- Add volto-toolbar-actions 1.0.3 [alin - [`6ade62b`](https://github.com/eea/volto-eea-kitkat/commit/6ade62bce1df8e46a07d53317bda85b8b82eb814)]
|
|
7
25
|
### [22.1.0](https://github.com/eea/volto-eea-kitkat/compare/22.0.1...22.1.0) - 7 March 2024
|
|
8
26
|
|
|
9
27
|
#### :rocket: Dependency updates
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,24 @@ 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
|
+
### [23.0.0](https://github.com/eea/volto-eea-kitkat/compare/22.1.0...23.0.0) - 14 March 2024
|
|
8
|
+
|
|
9
|
+
#### :rocket: New Features
|
|
10
|
+
|
|
11
|
+
- feat: Add dependency on @eeacms/volto-controlpanel [alin - [`e59140c`](https://github.com/eea/volto-eea-kitkat/commit/e59140ce34534e2d85bfb8696d6f8b05b35454fb)]
|
|
12
|
+
|
|
13
|
+
#### :rocket: Dependency updates
|
|
14
|
+
|
|
15
|
+
- Release @eeacms/volto-controlpanel@0.2.0 [EEA Jenkins - [`bec6857`](https://github.com/eea/volto-eea-kitkat/commit/bec6857e036ef784cab109be0774877d42be8f52)]
|
|
16
|
+
- Release @eeacms/volto-widget-geolocation@5.3.0 [EEA Jenkins - [`e12a7ca`](https://github.com/eea/volto-eea-kitkat/commit/e12a7ca20a8f498d3a87eee56d3dff2c635d30d5)]
|
|
17
|
+
|
|
18
|
+
#### :house: Internal changes
|
|
19
|
+
|
|
20
|
+
- chore: Move VersionOverview customization to dedicated Volto add-on volto-controlpanel - refs #264531 [dana-cfc4 - [`117a890`](https://github.com/eea/volto-eea-kitkat/commit/117a8908a59ee46fe1e16a7edf6723785643d175)]
|
|
21
|
+
|
|
22
|
+
#### :hammer_and_wrench: Others
|
|
23
|
+
|
|
24
|
+
- Add volto-toolbar-actions 1.0.3 [alin - [`6ade62b`](https://github.com/eea/volto-eea-kitkat/commit/6ade62bce1df8e46a07d53317bda85b8b82eb814)]
|
|
7
25
|
### [22.1.0](https://github.com/eea/volto-eea-kitkat/compare/22.0.1...22.1.0) - 7 March 2024
|
|
8
26
|
|
|
9
27
|
#### :rocket: Dependency updates
|
package/README.md
CHANGED
|
@@ -26,6 +26,7 @@ The [eea.kitkat](https://github.com/eea/eea.kitkat) Plone add-on is the backend
|
|
|
26
26
|
1. [](https://github.com/kitconcept/volto-blocks-grid/releases) [@kitconcept/volto-blocks-grid](https://github.com/kitconcept/volto-blocks-grid)
|
|
27
27
|
1. [](https://github.com/eea/volto-matomo/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-matomo/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-matomo/job/develop/display/redirect) [@eeacms/volto-matomo](https://github.com/eea/volto-matomo)
|
|
28
28
|
1. [](https://github.com/eea/volto-sentry-rancher-config/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-sentry-rancher-config/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-sentry-rancher-config/job/develop/display/redirect) [@eeacms/volto-sentry-rancher-config](https://github.com/eea/volto-sentry-rancher-config)
|
|
29
|
+
1. [](https://github.com/eea/volto-controlpanel/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-controlpanel/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-controlpanel/job/develop/display/redirect) [@eeacms/volto-controlpanel](https://github.com/eea/volto-controlpanel)
|
|
29
30
|
1. [](https://github.com/eea/volto-corsproxy/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-corsproxy/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-corsproxy/job/develop/display/redirect) [@eeacms/volto-corsproxy](https://github.com/eea/volto-corsproxy)
|
|
30
31
|
1. [](https://github.com/eea/volto-taxonomy/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-taxonomy/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-taxonomy/job/develop/display/redirect) [@eeacms/volto-taxonomy](https://github.com/eea/volto-taxonomy)
|
|
31
32
|
1. [](https://github.com/eea/volto-object-widget/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-object-widget/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-object-widget/job/develop/display/redirect) [@eeacms/volto-object-widget](https://github.com/eea/volto-object-widget)
|
|
@@ -57,6 +58,7 @@ The [eea.kitkat](https://github.com/eea/eea.kitkat) Plone add-on is the backend
|
|
|
57
58
|
1. [](https://github.com/eea/volto-statistic-block/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-statistic-block/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-statistic-block/job/develop/display/redirect) [@eeacms/volto-statistic-block](https://github.com/eea/volto-statistic-block)
|
|
58
59
|
1. [](https://github.com/eea/volto-tags-block/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-tags-block/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-tags-block/job/develop/display/redirect) [@eeacms/volto-tags-block](https://github.com/eea/volto-tags-block)
|
|
59
60
|
1. [](https://github.com/eea/volto-timeline-block/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-timeline-block/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-timeline-block/job/develop/display/redirect) [@eeacms/volto-timeline-block](https://github.com/eea/volto-timeline-block)
|
|
61
|
+
1. [](https://github.com/eea/volto-toolbar-actions/releases) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-toolbar-actions/job/master/display/redirect) [](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-toolbar-actions/job/develop/display/redirect) [@eeacms/volto-toolbar-actions](https://github.com/eea/volto-toolbar-actions)
|
|
60
62
|
|
|
61
63
|
|
|
62
64
|
## Upgrade
|
package/new.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-eea-kitkat",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0",
|
|
4
4
|
"description": "@eeacms/volto-eea-kitkat: Volto Add-ons bundle - A known good set of Volto addons to be used within all EEA projects and beyond",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "European Environment Agency: IDM2 A-Team",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"url": "git@github.com:eea/volto-eea-kitkat.git"
|
|
22
22
|
},
|
|
23
23
|
"addons": [
|
|
24
|
+
"@eeacms/volto-controlpanel",
|
|
24
25
|
"@eeacms/volto-matomo",
|
|
25
26
|
"@plone-collective/volto-sentry",
|
|
26
27
|
"@eeacms/volto-sentry-rancher-config",
|
|
@@ -56,7 +57,8 @@
|
|
|
56
57
|
"@eeacms/volto-block-style",
|
|
57
58
|
"@eeacms/volto-tabs-block",
|
|
58
59
|
"@eeacms/volto-banner",
|
|
59
|
-
"@eeacms/volto-anchors"
|
|
60
|
+
"@eeacms/volto-anchors",
|
|
61
|
+
"@eeacms/volto-toolbar-actions"
|
|
60
62
|
],
|
|
61
63
|
"dependencies": {
|
|
62
64
|
"@eeacms/countup": "2.0.6",
|
|
@@ -68,6 +70,7 @@
|
|
|
68
70
|
"@eeacms/volto-block-style": "6.1.0",
|
|
69
71
|
"@eeacms/volto-call-to-action-block": "4.3.1",
|
|
70
72
|
"@eeacms/volto-columns-block": "7.0.1",
|
|
73
|
+
"@eeacms/volto-controlpanel": "0.2.0",
|
|
71
74
|
"@eeacms/volto-corsproxy": "3.1.5",
|
|
72
75
|
"@eeacms/volto-description-block": "1.2.4",
|
|
73
76
|
"@eeacms/volto-group-block": "6.4.0",
|
|
@@ -89,8 +92,9 @@
|
|
|
89
92
|
"@eeacms/volto-tags-block": "1.2.4",
|
|
90
93
|
"@eeacms/volto-taxonomy": "4.1.1",
|
|
91
94
|
"@eeacms/volto-timeline-block": "1.1.5",
|
|
95
|
+
"@eeacms/volto-toolbar-actions": "1.0.3",
|
|
92
96
|
"@eeacms/volto-widget-dataprovenance": "0.4.3",
|
|
93
|
-
"@eeacms/volto-widget-geolocation": "5.
|
|
97
|
+
"@eeacms/volto-widget-geolocation": "5.3.0",
|
|
94
98
|
"@eeacms/volto-widget-temporal-coverage": "5.2.0",
|
|
95
99
|
"@eeacms/volto-widget-theme-picker": "1.1.5",
|
|
96
100
|
"@eeacms/volto-widget-toggle": "3.1.4",
|
|
@@ -98,6 +102,7 @@
|
|
|
98
102
|
"@plone-collective/volto-sentry": "0.3.1"
|
|
99
103
|
},
|
|
100
104
|
"resolutions": {
|
|
105
|
+
"@eeacms/volto-controlpanel": "0.2.0",
|
|
101
106
|
"@eeacms/volto-nextcloud-video-block": "0.4.8",
|
|
102
107
|
"@eeacms/volto-anchors": "0.6.0",
|
|
103
108
|
"@eeacms/volto-quote-block": "1.2.3",
|
|
@@ -128,7 +133,8 @@
|
|
|
128
133
|
"@eeacms/volto-slate-zotero": "5.2.7",
|
|
129
134
|
"@eeacms/volto-tabs-block": "7.5.0",
|
|
130
135
|
"@eeacms/volto-taxonomy": "4.1.1",
|
|
131
|
-
"@eeacms/volto-
|
|
136
|
+
"@eeacms/volto-toolbar-actions": "1.0.3",
|
|
137
|
+
"@eeacms/volto-widget-geolocation": "5.3.0",
|
|
132
138
|
"@eeacms/volto-widget-dataprovenance": "0.4.3",
|
|
133
139
|
"@eeacms/volto-widget-temporal-coverage": "5.2.0",
|
|
134
140
|
"@eeacms/volto-widget-toggle": "3.1.4",
|
package/old.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-eea-kitkat",
|
|
3
|
-
"version": "22.0
|
|
3
|
+
"version": "22.1.0",
|
|
4
4
|
"description": "@eeacms/volto-eea-kitkat: Volto Add-ons bundle - A known good set of Volto addons to be used within all EEA projects and beyond",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "European Environment Agency: IDM2 A-Team",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@eeacms/volto-slate-metadata-mentions": "7.0.3",
|
|
86
86
|
"@eeacms/volto-slate-zotero": "5.2.7",
|
|
87
87
|
"@eeacms/volto-statistic-block": "4.1.0",
|
|
88
|
-
"@eeacms/volto-tabs-block": "7.0
|
|
88
|
+
"@eeacms/volto-tabs-block": "7.5.0",
|
|
89
89
|
"@eeacms/volto-tags-block": "1.2.4",
|
|
90
90
|
"@eeacms/volto-taxonomy": "4.1.1",
|
|
91
91
|
"@eeacms/volto-timeline-block": "1.1.5",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"@eeacms/volto-slate-footnote": "6.2.3",
|
|
127
127
|
"@eeacms/volto-slate-metadata-mentions": "7.0.3",
|
|
128
128
|
"@eeacms/volto-slate-zotero": "5.2.7",
|
|
129
|
-
"@eeacms/volto-tabs-block": "7.0
|
|
129
|
+
"@eeacms/volto-tabs-block": "7.5.0",
|
|
130
130
|
"@eeacms/volto-taxonomy": "4.1.1",
|
|
131
131
|
"@eeacms/volto-widget-geolocation": "5.2.0",
|
|
132
132
|
"@eeacms/volto-widget-dataprovenance": "0.4.3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-eea-kitkat",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "23.0.0",
|
|
4
4
|
"description": "@eeacms/volto-eea-kitkat: Volto Add-ons bundle - A known good set of Volto addons to be used within all EEA projects and beyond",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "European Environment Agency: IDM2 A-Team",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"url": "git@github.com:eea/volto-eea-kitkat.git"
|
|
22
22
|
},
|
|
23
23
|
"addons": [
|
|
24
|
+
"@eeacms/volto-controlpanel",
|
|
24
25
|
"@eeacms/volto-matomo",
|
|
25
26
|
"@plone-collective/volto-sentry",
|
|
26
27
|
"@eeacms/volto-sentry-rancher-config",
|
|
@@ -56,7 +57,8 @@
|
|
|
56
57
|
"@eeacms/volto-block-style",
|
|
57
58
|
"@eeacms/volto-tabs-block",
|
|
58
59
|
"@eeacms/volto-banner",
|
|
59
|
-
"@eeacms/volto-anchors"
|
|
60
|
+
"@eeacms/volto-anchors",
|
|
61
|
+
"@eeacms/volto-toolbar-actions"
|
|
60
62
|
],
|
|
61
63
|
"dependencies": {
|
|
62
64
|
"@eeacms/countup": "2.0.6",
|
|
@@ -68,6 +70,7 @@
|
|
|
68
70
|
"@eeacms/volto-block-style": "6.1.0",
|
|
69
71
|
"@eeacms/volto-call-to-action-block": "4.3.1",
|
|
70
72
|
"@eeacms/volto-columns-block": "7.0.1",
|
|
73
|
+
"@eeacms/volto-controlpanel": "0.2.0",
|
|
71
74
|
"@eeacms/volto-corsproxy": "3.1.5",
|
|
72
75
|
"@eeacms/volto-description-block": "1.2.4",
|
|
73
76
|
"@eeacms/volto-group-block": "6.4.0",
|
|
@@ -89,8 +92,9 @@
|
|
|
89
92
|
"@eeacms/volto-tags-block": "1.2.4",
|
|
90
93
|
"@eeacms/volto-taxonomy": "4.1.1",
|
|
91
94
|
"@eeacms/volto-timeline-block": "1.1.5",
|
|
95
|
+
"@eeacms/volto-toolbar-actions": "1.0.3",
|
|
92
96
|
"@eeacms/volto-widget-dataprovenance": "0.4.3",
|
|
93
|
-
"@eeacms/volto-widget-geolocation": "5.
|
|
97
|
+
"@eeacms/volto-widget-geolocation": "5.3.0",
|
|
94
98
|
"@eeacms/volto-widget-temporal-coverage": "5.2.0",
|
|
95
99
|
"@eeacms/volto-widget-theme-picker": "1.1.5",
|
|
96
100
|
"@eeacms/volto-widget-toggle": "3.1.4",
|
|
@@ -98,6 +102,7 @@
|
|
|
98
102
|
"@plone-collective/volto-sentry": "0.3.1"
|
|
99
103
|
},
|
|
100
104
|
"resolutions": {
|
|
105
|
+
"@eeacms/volto-controlpanel": "0.2.0",
|
|
101
106
|
"@eeacms/volto-nextcloud-video-block": "0.4.8",
|
|
102
107
|
"@eeacms/volto-anchors": "0.6.0",
|
|
103
108
|
"@eeacms/volto-quote-block": "1.2.3",
|
|
@@ -128,7 +133,8 @@
|
|
|
128
133
|
"@eeacms/volto-slate-zotero": "5.2.7",
|
|
129
134
|
"@eeacms/volto-tabs-block": "7.5.0",
|
|
130
135
|
"@eeacms/volto-taxonomy": "4.1.1",
|
|
131
|
-
"@eeacms/volto-
|
|
136
|
+
"@eeacms/volto-toolbar-actions": "1.0.3",
|
|
137
|
+
"@eeacms/volto-widget-geolocation": "5.3.0",
|
|
132
138
|
"@eeacms/volto-widget-dataprovenance": "0.4.3",
|
|
133
139
|
"@eeacms/volto-widget-temporal-coverage": "5.2.0",
|
|
134
140
|
"@eeacms/volto-widget-toggle": "3.1.4",
|
package/partfile
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
#### :
|
|
2
|
-
-
|
|
1
|
+
#### :rocket: New Features
|
|
2
|
+
- feat: Add dependency on @eeacms/volto-controlpanel [alin - [`e59140c`](https://github.com/eea/volto-eea-kitkat/commit/e59140ce34534e2d85bfb8696d6f8b05b35454fb)]
|
|
3
|
+
#### :house: Internal changes
|
|
4
|
+
- chore: Move VersionOverview customization to dedicated Volto add-on volto-controlpanel - refs #264531 [dana-cfc4 - [`117a890`](https://github.com/eea/volto-eea-kitkat/commit/117a8908a59ee46fe1e16a7edf6723785643d175)]
|
|
3
5
|
#### :hammer_and_wrench: Others
|
|
4
|
-
-
|
|
6
|
+
- Add volto-toolbar-actions 1.0.3 [alin - [`6ade62b`](https://github.com/eea/volto-eea-kitkat/commit/6ade62bce1df8e46a07d53317bda85b8b82eb814)]
|
package/releasefile
CHANGED
|
@@ -1,37 +1,25 @@
|
|
|
1
1
|
# Dependency updates
|
|
2
2
|
|
|
3
|
-
### [@eeacms/volto-
|
|
3
|
+
### [@eeacms/volto-widget-geolocation: 5.2.0 ~ 5.3.0](https://github.com/eea/volto-widget-geolocation/releases)
|
|
4
4
|
|
|
5
|
-
###### :boom: Breaking Change
|
|
6
|
-
|
|
7
|
-
- breaking(tabs): use DefaultEdit variation as base for responsive accordion edit Refs [#266327](https://taskman.eionet.europa.eu/issues/266327) #85 from eea/develop [ichim-david - [`2f7fc23`](https://github.com/eea/volto-tabs-block/commit/2f7fc23025532ab9cfb9788f7557dda2f686ac43)]
|
|
8
|
-
- breaking(tabs): menu-item-text markup is now span instead of p tag [David Ichim - [`5aa7981`](https://github.com/eea/volto-tabs-block/commit/5aa798140654b4b6e3487c082483640432eddd65)]
|
|
9
5
|
###### :bug: Bug Fixes
|
|
10
6
|
|
|
11
|
-
- fix(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
7
|
+
- fix(icon): stylingby addin icon prop to Button component in ListResults.jsx [David Ichim - [`92a8d85`](https://github.com/eea/volto-widget-geolocation/commit/92a8d85b665d6808666808fcea73d2689e154889)]
|
|
8
|
+
###### :hammer_and_wrench: Others
|
|
9
|
+
|
|
10
|
+
- Update package.json [ichim-david - [`02b65ab`](https://github.com/eea/volto-widget-geolocation/commit/02b65abe605bcd766d14e7ac3e0167cb013161e2)]
|
|
15
11
|
|
|
16
|
-
|
|
17
|
-
###### :house: Internal changes
|
|
12
|
+
## New packages
|
|
18
13
|
|
|
19
|
-
|
|
20
|
-
- style: Automated code fix [eea-jenkins - [`0520da7`](https://github.com/eea/volto-tabs-block/commit/0520da7ad50e7be1d62d574308d4acc5a858a401)]
|
|
21
|
-
###### :hammer_and_wrench: Others
|
|
14
|
+
### [@eeacms/volto-controlpanel](https://github.com/eea/volto-controlpanel/releases): 0.2.0
|
|
22
15
|
|
|
23
|
-
|
|
24
|
-
- Prettier and stylelint [David Ichim - [`f6182d1`](https://github.com/eea/volto-tabs-block/commit/f6182d142b790b2256e24ad7ed49e8904ec73aa8)]
|
|
25
|
-
- Fixed call to stylelint within MakeFile [David Ichim - [`dd53ee8`](https://github.com/eea/volto-tabs-block/commit/dd53ee84f4bb97b55d5d26e0447cff2f07268afc)]
|
|
26
|
-
- Revert "update" [David Ichim - [`ceb8ab7`](https://github.com/eea/volto-tabs-block/commit/ceb8ab7fd216d369ed487a7fe63aec876e2c4624)]
|
|
27
|
-
- fix cypress [Razvan - [`6fe2bb4`](https://github.com/eea/volto-tabs-block/commit/6fe2bb46de04c9c2c0115d3fc97caf9ea5952b6e)]
|
|
28
|
-
- Update react-slick version to 0.30.1 [David Ichim - [`3369176`](https://github.com/eea/volto-tabs-block/commit/33691768899e7f91d2cd15319dbe3ebe66cf1513)]
|
|
29
|
-
- update [Razvan - [`61b19e8`](https://github.com/eea/volto-tabs-block/commit/61b19e8584ff6023320b3671414392ea11449ff0)]
|
|
30
|
-
- use DefaultEdit variation for responsive accordion, Refs [#266327](https://taskman.eionet.europa.eu/issues/266327) [Razvan - [`11acf6c`](https://github.com/eea/volto-tabs-block/commit/11acf6ce5afe022ddd30bff42c9a3321d1284da6)]
|
|
16
|
+
### [@eeacms/volto-toolbar-actions](https://github.com/eea/volto-toolbar-actions/releases): 1.0.3
|
|
31
17
|
|
|
32
18
|
# Internal
|
|
33
19
|
|
|
34
|
-
#### :
|
|
35
|
-
-
|
|
20
|
+
#### :rocket: New Features
|
|
21
|
+
- feat: Add dependency on @eeacms/volto-controlpanel [alin - [`e59140c`](https://github.com/eea/volto-eea-kitkat/commit/e59140ce34534e2d85bfb8696d6f8b05b35454fb)]
|
|
22
|
+
#### :house: Internal changes
|
|
23
|
+
- chore: Move VersionOverview customization to dedicated Volto add-on volto-controlpanel - refs #264531 [dana-cfc4 - [`117a890`](https://github.com/eea/volto-eea-kitkat/commit/117a8908a59ee46fe1e16a7edf6723785643d175)]
|
|
36
24
|
#### :hammer_and_wrench: Others
|
|
37
|
-
-
|
|
25
|
+
- Add volto-toolbar-actions 1.0.3 [alin - [`6ade62b`](https://github.com/eea/volto-eea-kitkat/commit/6ade62bce1df8e46a07d53317bda85b8b82eb814)]
|
package/src/index.js
CHANGED
|
@@ -1,53 +1,4 @@
|
|
|
1
|
-
import packageJson from '../../../../package.json';
|
|
2
|
-
import { updateSystemInfo } from '@eeacms/volto-eea-kitkat/system';
|
|
3
|
-
|
|
4
1
|
const applyConfig = (config) => {
|
|
5
|
-
if (process.env.NODE_ENV !== 'production') {
|
|
6
|
-
// Enable description block for cypress
|
|
7
|
-
config.blocks.blocksConfig.description.restricted = false;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// Disable non-GDPR compliant blocks
|
|
11
|
-
config.blocks.blocksConfig.video.restricted = true;
|
|
12
|
-
config.blocks.blocksConfig.maps.restricted = true;
|
|
13
|
-
config.blocks.blocksConfig.html.restricted = true;
|
|
14
|
-
|
|
15
|
-
// Changelogs
|
|
16
|
-
config.settings.changelogUrlPrefix =
|
|
17
|
-
config.settings.changelogPrefix || __SERVER__
|
|
18
|
-
? process.env?.RAZZLE_CHANGELOG_PREFIX
|
|
19
|
-
: window.env?.RAZZLE_CHANGELOG_PREFIX || 'https://github.com/eea';
|
|
20
|
-
|
|
21
|
-
config.settings.changelogUrlSuffix =
|
|
22
|
-
config.settings.changelogSuffix || __SERVER__
|
|
23
|
-
? process.env?.RAZZLE_CHANGELOG_SUFFIX
|
|
24
|
-
: window.env?.RAZZLE_CHANGELOG_SUFFIX || 'releases';
|
|
25
|
-
|
|
26
|
-
config.settings.frontendVersion =
|
|
27
|
-
config.settings.frontendVersion || __SERVER__
|
|
28
|
-
? process.env?.RAZZLE_FRONTEND_VERSION
|
|
29
|
-
: window.env?.RAZZLE_FRONTEND_VERSION || packageJson.version;
|
|
30
|
-
|
|
31
|
-
config.settings.frontendName =
|
|
32
|
-
config.settings.frontendName || __SERVER__
|
|
33
|
-
? process.env?.RAZZLE_FRONTEND_NAME
|
|
34
|
-
: window.env?.RAZZLE_FRONTEND_NAME || packageJson.name;
|
|
35
|
-
|
|
36
|
-
config.settings.backendVersion =
|
|
37
|
-
config.settings.backendVersion || __SERVER__
|
|
38
|
-
? process.env?.RAZZLE_BACKEND_VERSION
|
|
39
|
-
: window.env?.RAZZLE_BACKEND_VERSION || '';
|
|
40
|
-
|
|
41
|
-
config.settings.backendName =
|
|
42
|
-
config.settings.backendName || __SERVER__
|
|
43
|
-
? process.env?.RAZZLE_BACKEND_NAME
|
|
44
|
-
: window.env?.RAZZLE_BACKEND_NAME || 'plone-backend';
|
|
45
|
-
|
|
46
|
-
// Persist FRONTEND_VERSION on backend registry
|
|
47
|
-
if (__SERVER__) {
|
|
48
|
-
updateSystemInfo(config);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
2
|
return config;
|
|
52
3
|
};
|
|
53
4
|
|
|
@@ -1,137 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Version Overview component.
|
|
3
|
-
* @module components/manage/Controlpanels/VersionOverview
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import { FormattedMessage } from 'react-intl';
|
|
8
|
-
import { Grid, Label, Header } from 'semantic-ui-react';
|
|
9
|
-
import { formatDate } from '@plone/volto/helpers/Utils/Date';
|
|
10
|
-
import packageJson from '@plone/volto/../package.json';
|
|
11
|
-
|
|
12
|
-
import config from '@plone/volto/registry';
|
|
13
|
-
|
|
14
|
-
const VersionOverview = ({
|
|
15
|
-
cmf_version,
|
|
16
|
-
debug_mode,
|
|
17
|
-
pil_version,
|
|
18
|
-
plone_version,
|
|
19
|
-
plone_restapi_version,
|
|
20
|
-
python_version,
|
|
21
|
-
zope_version,
|
|
22
|
-
eggs = {},
|
|
23
|
-
frontend = {},
|
|
24
|
-
backend = {},
|
|
25
|
-
}) => {
|
|
26
|
-
const { addonsInfo } = config.settings;
|
|
27
|
-
const locale = config.settings.dateLocale || 'en-gb';
|
|
28
|
-
const frontendVersion = frontend.version || config.settings.frontendVersion;
|
|
29
|
-
const backendVersion = backend.version || config.settings.backendVersion;
|
|
30
|
-
const voltoVersion = packageJson.version;
|
|
31
|
-
|
|
32
|
-
return (
|
|
33
|
-
<Grid columns={2} stackable>
|
|
34
|
-
<Grid.Row>
|
|
35
|
-
<Grid.Column>
|
|
36
|
-
{frontend.date && (
|
|
37
|
-
<Label className="highlight" ribbon>
|
|
38
|
-
Updated:{' '}
|
|
39
|
-
{formatDate({
|
|
40
|
-
date: frontend.date,
|
|
41
|
-
format: {
|
|
42
|
-
dateStyle: 'medium',
|
|
43
|
-
timeStyle: 'short',
|
|
44
|
-
},
|
|
45
|
-
locale: locale,
|
|
46
|
-
})}{' '}
|
|
47
|
-
</Label>
|
|
48
|
-
)}
|
|
49
|
-
<Header as="h3">
|
|
50
|
-
<span>Frontend {frontendVersion ? frontendVersion : ''}</span>
|
|
51
|
-
</Header>
|
|
52
|
-
{frontendVersion && (
|
|
53
|
-
<a
|
|
54
|
-
href={[
|
|
55
|
-
config.settings.changelogUrlPrefix,
|
|
56
|
-
config.settings.frontendName,
|
|
57
|
-
config.settings.changelogUrlSuffix,
|
|
58
|
-
].join('/')}
|
|
59
|
-
target="_blank"
|
|
60
|
-
rel="noreferrer"
|
|
61
|
-
>
|
|
62
|
-
History: {frontend.old_version} ⇢ {frontendVersion}
|
|
63
|
-
</a>
|
|
64
|
-
)}
|
|
65
|
-
<ul style={{ fontSize: '16px', fontFamily: 'Monospace' }}>
|
|
66
|
-
{voltoVersion && <li>Volto {voltoVersion}</li>}
|
|
67
|
-
{addonsInfo.map((addon) => (
|
|
68
|
-
<li key={addon.name}>{`${addon.name} ${addon.version || ''}`}</li>
|
|
69
|
-
))}
|
|
70
|
-
</ul>
|
|
71
|
-
</Grid.Column>
|
|
72
|
-
<Grid.Column>
|
|
73
|
-
{backend.date && (
|
|
74
|
-
<Label className="high" ribbon="right">
|
|
75
|
-
Updated:{' '}
|
|
76
|
-
{formatDate({
|
|
77
|
-
date: backend.date,
|
|
78
|
-
format: {
|
|
79
|
-
dateStyle: 'medium',
|
|
80
|
-
timeStyle: 'short',
|
|
81
|
-
},
|
|
82
|
-
locale: locale,
|
|
83
|
-
})}
|
|
84
|
-
</Label>
|
|
85
|
-
)}
|
|
86
|
-
<Header as="h3" textAlign="right">
|
|
87
|
-
Backend {backendVersion ? backendVersion : ''}
|
|
88
|
-
</Header>
|
|
89
|
-
<a
|
|
90
|
-
className="ui right aligned container"
|
|
91
|
-
href={[
|
|
92
|
-
config.settings.changelogUrlPrefix,
|
|
93
|
-
config.settings.backendName,
|
|
94
|
-
config.settings.changelogUrlSuffix,
|
|
95
|
-
].join('/')}
|
|
96
|
-
target="_blank"
|
|
97
|
-
rel="noreferrer"
|
|
98
|
-
>
|
|
99
|
-
History: {backend.old_version} ⇢ {backendVersion}
|
|
100
|
-
</a>
|
|
101
|
-
<ul
|
|
102
|
-
style={{
|
|
103
|
-
fontSize: '16px',
|
|
104
|
-
fontFamily: 'Monospace',
|
|
105
|
-
}}
|
|
106
|
-
>
|
|
107
|
-
<li>Plone {plone_version}</li>
|
|
108
|
-
<li>plone.restapi {plone_restapi_version}</li>
|
|
109
|
-
<li>CMF {cmf_version}</li>
|
|
110
|
-
<li>Zope {zope_version}</li>
|
|
111
|
-
<li>Python {python_version}</li>
|
|
112
|
-
<li>PIL {pil_version}</li>
|
|
113
|
-
{Object.keys(eggs).map((k) => (
|
|
114
|
-
<li>
|
|
115
|
-
{k} {eggs[k]}
|
|
116
|
-
</li>
|
|
117
|
-
))}
|
|
118
|
-
</ul>
|
|
119
|
-
</Grid.Column>
|
|
120
|
-
</Grid.Row>
|
|
121
|
-
<Grid.Row columns={1}>
|
|
122
|
-
<Grid.Column>
|
|
123
|
-
{debug_mode !== 'No' && (
|
|
124
|
-
<p>
|
|
125
|
-
<FormattedMessage
|
|
126
|
-
id="Warning Regarding debug mode"
|
|
127
|
-
defaultMessage="You are running in 'debug mode'. This mode is intended for sites that are under development. This allows many configuration changes to be immediately visible, but will make your site run more slowly. To turn off debug mode, stop the server, set 'debug-mode=off' in your buildout.cfg, re-run bin/buildout and then restart the server process."
|
|
128
|
-
/>
|
|
129
|
-
</p>
|
|
130
|
-
)}
|
|
131
|
-
</Grid.Column>
|
|
132
|
-
</Grid.Row>
|
|
133
|
-
</Grid>
|
|
134
|
-
);
|
|
135
|
-
};
|
|
136
|
-
|
|
137
|
-
export default VersionOverview;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { render } from '@testing-library/react';
|
|
3
|
-
import VersionOverview from './VersionOverview';
|
|
4
|
-
import config from '@plone/volto/registry';
|
|
5
|
-
import '@testing-library/jest-dom/extend-expect';
|
|
6
|
-
|
|
7
|
-
jest.mock('@plone/volto/helpers/Utils/Date', () => ({
|
|
8
|
-
formatDate: jest.fn(() => 'formatted date'),
|
|
9
|
-
}));
|
|
10
|
-
|
|
11
|
-
config.settings.addonsInfo = [
|
|
12
|
-
{ name: 'addon1', version: '1.0.0' },
|
|
13
|
-
{ name: 'addon2', version: '2.0.0' },
|
|
14
|
-
{ test: 'test' },
|
|
15
|
-
];
|
|
16
|
-
|
|
17
|
-
describe('VersionOverview', () => {
|
|
18
|
-
it('renders correctly', () => {
|
|
19
|
-
const frontend = {
|
|
20
|
-
version: '1.0.0',
|
|
21
|
-
old_version: '0.9.0',
|
|
22
|
-
date: new Date(),
|
|
23
|
-
};
|
|
24
|
-
const backend = {
|
|
25
|
-
version: '1.0.0',
|
|
26
|
-
old_version: '0.9.0',
|
|
27
|
-
date: new Date(),
|
|
28
|
-
};
|
|
29
|
-
const eggs = { egg1: '1.0.0', egg2: '2.0.0' };
|
|
30
|
-
|
|
31
|
-
const { queryAllByText } = render(
|
|
32
|
-
<VersionOverview
|
|
33
|
-
cmf_version="1.0.0"
|
|
34
|
-
debug_mode="No"
|
|
35
|
-
pil_version="1.0.0"
|
|
36
|
-
plone_version="1.0.0"
|
|
37
|
-
plone_restapi_version="1.0.0"
|
|
38
|
-
python_version="1.0.0"
|
|
39
|
-
zope_version="1.0.0"
|
|
40
|
-
eggs={eggs}
|
|
41
|
-
frontend={frontend}
|
|
42
|
-
backend={backend}
|
|
43
|
-
/>,
|
|
44
|
-
);
|
|
45
|
-
|
|
46
|
-
expect(queryAllByText(/Frontend 1.0.0/)).not.toBeNull();
|
|
47
|
-
expect(queryAllByText(/Backend 1.0.0/)).not.toBeNull();
|
|
48
|
-
|
|
49
|
-
expect(queryAllByText(/Plone 1.0.0/)).not.toBeNull();
|
|
50
|
-
expect(queryAllByText(/plone.restapi 1.0.0/)).not.toBeNull();
|
|
51
|
-
expect(queryAllByText(/CMF 1.0.0/)).not.toBeNull();
|
|
52
|
-
expect(queryAllByText(/Zope 1.0.0/)).not.toBeNull();
|
|
53
|
-
expect(queryAllByText(/Python 1.0.0/)).not.toBeNull();
|
|
54
|
-
expect(queryAllByText(/PIL 1.0.0/)).not.toBeNull();
|
|
55
|
-
expect(queryAllByText(/egg1 1.0.0/)).not.toBeNull();
|
|
56
|
-
expect(queryAllByText(/egg2 2.0.0/)).not.toBeNull();
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
it('renders correctly', () => {
|
|
60
|
-
config.settings.frontendVersion = '1.0.0';
|
|
61
|
-
config.settings.BackendVersion = '1.0.0';
|
|
62
|
-
|
|
63
|
-
const { queryAllByText } = render(
|
|
64
|
-
<VersionOverview
|
|
65
|
-
cmf_version="1.0.0"
|
|
66
|
-
debug_mode="Yes"
|
|
67
|
-
pil_version="1.0.0"
|
|
68
|
-
plone_version="1.0.0"
|
|
69
|
-
plone_restapi_version="1.0.0"
|
|
70
|
-
python_version="1.0.0"
|
|
71
|
-
zope_version="1.0.0"
|
|
72
|
-
/>,
|
|
73
|
-
);
|
|
74
|
-
|
|
75
|
-
expect(queryAllByText(/Frontend 1.0.0/)).not.toBeNull();
|
|
76
|
-
expect(queryAllByText(/Backend 1.0.0/)).not.toBeNull();
|
|
77
|
-
|
|
78
|
-
expect(queryAllByText(/Plone 1.0.0/)).not.toBeNull();
|
|
79
|
-
expect(queryAllByText(/plone.restapi 1.0.0/)).not.toBeNull();
|
|
80
|
-
expect(queryAllByText(/CMF 1.0.0/)).not.toBeNull();
|
|
81
|
-
expect(queryAllByText(/Zope 1.0.0/)).not.toBeNull();
|
|
82
|
-
expect(queryAllByText(/Python 1.0.0/)).not.toBeNull();
|
|
83
|
-
expect(queryAllByText(/PIL 1.0.0/)).not.toBeNull();
|
|
84
|
-
expect(queryAllByText(/egg1 1.0.0/)).not.toBeNull();
|
|
85
|
-
expect(queryAllByText(/egg2 2.0.0/)).not.toBeNull();
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
it('renders correctly', () => {
|
|
89
|
-
config.settings.frontendVersion = undefined;
|
|
90
|
-
config.settings.BackendVersion = undefined;
|
|
91
|
-
|
|
92
|
-
const { queryAllByText } = render(
|
|
93
|
-
<VersionOverview
|
|
94
|
-
cmf_version="1.0.0"
|
|
95
|
-
debug_mode="Yes"
|
|
96
|
-
pil_version="1.0.0"
|
|
97
|
-
plone_version="1.0.0"
|
|
98
|
-
plone_restapi_version="1.0.0"
|
|
99
|
-
python_version="1.0.0"
|
|
100
|
-
zope_version="1.0.0"
|
|
101
|
-
/>,
|
|
102
|
-
);
|
|
103
|
-
|
|
104
|
-
expect(queryAllByText(/Frontend 1.0.0/)).not.toBeNull();
|
|
105
|
-
expect(queryAllByText(/Backend 1.0.0/)).not.toBeNull();
|
|
106
|
-
|
|
107
|
-
expect(queryAllByText(/Plone 1.0.0/)).not.toBeNull();
|
|
108
|
-
expect(queryAllByText(/plone.restapi 1.0.0/)).not.toBeNull();
|
|
109
|
-
expect(queryAllByText(/CMF 1.0.0/)).not.toBeNull();
|
|
110
|
-
expect(queryAllByText(/Zope 1.0.0/)).not.toBeNull();
|
|
111
|
-
expect(queryAllByText(/Python 1.0.0/)).not.toBeNull();
|
|
112
|
-
expect(queryAllByText(/PIL 1.0.0/)).not.toBeNull();
|
|
113
|
-
expect(queryAllByText(/egg1 1.0.0/)).not.toBeNull();
|
|
114
|
-
expect(queryAllByText(/egg2 2.0.0/)).not.toBeNull();
|
|
115
|
-
});
|
|
116
|
-
});
|
package/src/system.js
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/* eslint no-console: ["error", { allow: ["warn", "log"] }] */
|
|
2
|
-
export const updateSystemInfo = (config) => {
|
|
3
|
-
let fetch = require('node-fetch');
|
|
4
|
-
const internalApi =
|
|
5
|
-
config.settings.internalApiPath || config.settings.devProxyToApiPath;
|
|
6
|
-
const version = config.settings.frontendVersion;
|
|
7
|
-
|
|
8
|
-
// Nothing to do
|
|
9
|
-
if (!version || !internalApi) {
|
|
10
|
-
return config;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
// Backend @system update via PATCH is allowed only via internal API
|
|
14
|
-
if (
|
|
15
|
-
!(
|
|
16
|
-
internalApi.startsWith('http://localhost') ||
|
|
17
|
-
internalApi.startsWith('http://backend')
|
|
18
|
-
)
|
|
19
|
-
) {
|
|
20
|
-
return config;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
// Persist FRONTEND_VERSION on backend registry
|
|
24
|
-
const url = `${internalApi}/@system`;
|
|
25
|
-
fetch(url, {
|
|
26
|
-
method: 'PATCH',
|
|
27
|
-
body: JSON.stringify({
|
|
28
|
-
'eea.kitkat.interfaces.IEEAVersionsFrontend.version': version,
|
|
29
|
-
}),
|
|
30
|
-
headers: {
|
|
31
|
-
Accept: 'application/json',
|
|
32
|
-
},
|
|
33
|
-
})
|
|
34
|
-
.then((response) => response.text())
|
|
35
|
-
.then((text) => {
|
|
36
|
-
if (text) {
|
|
37
|
-
console.log(`Updating FRONTEND_VERSION on backend registry: ${text}`);
|
|
38
|
-
} else {
|
|
39
|
-
console.log(
|
|
40
|
-
`FRONTEND_VERSION already up-to-date on backend registry: ${version}`,
|
|
41
|
-
);
|
|
42
|
-
}
|
|
43
|
-
})
|
|
44
|
-
.catch((err) =>
|
|
45
|
-
console.warn(`Could NOT update FRONTEND_VERSION on backend: ${err}`),
|
|
46
|
-
);
|
|
47
|
-
|
|
48
|
-
return config;
|
|
49
|
-
};
|