@kitconcept/core 1.0.0-alpha.2 → 1.0.0-alpha.21

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.draft CHANGED
@@ -1,11 +1,7 @@
1
- ## 1.0.0-alpha.2 (2025-05-13)
1
+ ## 1.0.0-alpha.21 (2025-09-03)
2
2
 
3
- ### Feature
3
+ ### Bugfix
4
4
 
5
- - Upgrade @plone/volto to version 18.20.0. @ericof
6
-
7
- ### Internal
8
-
9
- - Rename packages/core to packages/kitconcept-core to avoid confusion with Volto core checkout. @ericof [#5](https://github.com/kitconcept/kitconcept-core/issue/5)
5
+ - Fix image widget and new slider variant. Update to VLT 7a26. @sneridagh
10
6
 
11
7
 
package/CHANGELOG.md CHANGED
@@ -8,6 +8,142 @@
8
8
 
9
9
  <!-- towncrier release notes start -->
10
10
 
11
+ ## 1.0.0-alpha.21 (2025-09-03)
12
+
13
+ ### Bugfix
14
+
15
+ - Fix image widget and new slider variant. Update to VLT 7a26. @sneridagh
16
+
17
+ ## 1.0.0-alpha.20 (2025-09-03)
18
+
19
+ ### Internal
20
+
21
+ - Due to a problem with the last release, re-releasing. @sneridagh
22
+
23
+ ## 1.0.0-alpha.19 (2025-09-03)
24
+
25
+ ### Feature
26
+
27
+ - Update to Volto 18.25.0 @sneridagh
28
+
29
+ ## 1.0.0-alpha.18 (2025-09-01)
30
+
31
+ ### Bugfix
32
+
33
+ - Several VLT bugfixes. Update to VLT 7a25. @sneridagh
34
+
35
+ ## 1.0.0-alpha.17 (2025-08-26)
36
+
37
+ ### Bugfix
38
+
39
+ - Fixed person images for search block. Update to VLT 7a24. @sneridagh
40
+
41
+ ## 1.0.0-alpha.16 (2025-08-25)
42
+
43
+ ### Feature
44
+
45
+ - Update to Volto 18.24.0 and VLT 7a23. @sneridagh [#36](https://github.com/kitconcept/kitconcept-core/issue/36)
46
+
47
+ ## 1.0.0-alpha.15 (2025-07-25)
48
+
49
+ ### Internal
50
+
51
+ - Update to VLT 7a19 @sneridagh
52
+
53
+ ## 1.0.0-alpha.14 (2025-07-23)
54
+
55
+ ### Internal
56
+
57
+ - Revert #31 @sneridagh [#32](https://github.com/kitconcept/kitconcept-core/issue/32)
58
+ - Update to VLT 7a18. @sneridagh
59
+
60
+ ## 1.0.0-alpha.13 (2025-07-17)
61
+
62
+ ### Internal
63
+
64
+ - Update VLT 7a15. @sneridagh
65
+
66
+ ## 1.0.0-alpha.12 (2025-07-10)
67
+
68
+ ### Internal
69
+
70
+ - Added new event calendar block.
71
+ Added `footer_main_logo_inversed` image field to kitconcept.footer behavior, and related frontend code.
72
+ Several fixes.
73
+ Update to VLT 7a14. @sneridagh
74
+
75
+ ## 1.0.0-alpha.11 (2025-06-18)
76
+
77
+ ### Bugfix
78
+
79
+ - Fixed default `selectedItemAttrs` for Teaser to include Person specific attributes. @sneridagh
80
+ Update to use VLT 7a13.
81
+
82
+ ## 1.0.0-alpha.10 (2025-06-18)
83
+
84
+ ### Feature
85
+
86
+ - Add `volto-carousel-block` and `volto-logos-block` as addons. @jnptk
87
+
88
+ ### Internal
89
+
90
+ - Update to VLT 7a12. Fixes several CSS issues with persons variants. @sneridagh
91
+
92
+ ## 1.0.0-alpha.9 (2025-06-13)
93
+
94
+ ### Internal
95
+
96
+ - Update Volto 18.23.0 and VLT 7a11. @sneridagh
97
+
98
+ ## 1.0.0-alpha.8 (2025-06-10)
99
+
100
+ ### Internal
101
+
102
+ - Update to VLT 7a10. Fixes CSS styling Person Teaser top. @sneridagh
103
+
104
+ ## 1.0.0-alpha.7 (2025-06-09)
105
+
106
+ ### Internal
107
+
108
+ - Update to VLT 7a9 - Fixed Person Teaser CSS. @sneridagh
109
+
110
+ ## 1.0.0-alpha.6 (2025-06-06)
111
+
112
+ ### Breaking
113
+
114
+ - Use VLT 7a6. @sneridagh
115
+
116
+ ### Internal
117
+
118
+ - Update volto-authomatic 3.0.0-alpha.3. Fixed CSS in login form. @sneridagh
119
+ - Use VLT 7a8. @sneridagh
120
+
121
+ ## 1.0.0-alpha.5 (2025-05-23)
122
+
123
+ ### Feature
124
+
125
+ - Customize UpgradeControlPanel to use our VersionOverview component. @ericof
126
+
127
+ ### Bugfix
128
+
129
+ - Fixed the color in links in slate block in edit mode. @sneridagh
130
+
131
+ ## 1.0.0-alpha.4 (2025-05-16)
132
+
133
+ ## 1.0.0-alpha.3 (2025-05-15)
134
+
135
+ ### Feature
136
+
137
+ - Update @kitconcept/volto-light-theme to version 6.0.1 @sneridagh
138
+
139
+ ### Bugfix
140
+
141
+ - Set `config.settings.supportedLanguages` to 'en' and 'de'. @sneridagh
142
+
143
+ ### Internal
144
+
145
+ - Set `filterBlobs` to true in mrs.developer.json. @sneridagh
146
+
11
147
  ## 1.0.0-alpha.2 (2025-05-13)
12
148
 
13
149
  ### Feature
@@ -16,6 +16,36 @@ msgstr ""
16
16
  msgid "Add-ons"
17
17
  msgstr ""
18
18
 
19
+ #. Default: "Back"
20
+ #: components/Controlpanels/UpgradeControlPanel
21
+ msgid "Back"
22
+ msgstr ""
23
+
24
+ #. Default: "Configuration Versions"
25
+ #: components/Controlpanels/UpgradeControlPanel
26
+ msgid "Configuration Versions"
27
+ msgstr ""
28
+
29
+ #. Default: "Current active configuration"
30
+ #: components/Controlpanels/UpgradeControlPanel
31
+ msgid "Current active configuration"
32
+ msgstr ""
33
+
34
+ #. Default: "Dry run selected, transaction aborted."
35
+ #: components/Controlpanels/UpgradeControlPanel
36
+ msgid "Dry run selected, transaction aborted."
37
+ msgstr ""
38
+
39
+ #. Default: "Latest available configuration"
40
+ #: components/Controlpanels/UpgradeControlPanel
41
+ msgid "Latest available configuration"
42
+ msgstr ""
43
+
44
+ #. Default: "More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
45
+ #: components/Controlpanels/UpgradeControlPanel
46
+ msgid "More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
47
+ msgstr ""
48
+
19
49
  #. Default: "No addons found"
20
50
  #: components/Controlpanels/VersionOverview
21
51
  msgid "No addons found"
@@ -26,6 +56,11 @@ msgstr ""
26
56
  msgid "Package Version"
27
57
  msgstr ""
28
58
 
59
+ #. Default: "Please ensure you have a backup of your site before performing the upgrade."
60
+ #: components/Controlpanels/UpgradeControlPanel
61
+ msgid "Please ensure you have a backup of your site before performing the upgrade."
62
+ msgstr ""
63
+
29
64
  #. Default: "Profile Version (File system)"
30
65
  #: components/Controlpanels/VersionOverview
31
66
  msgid "Profile Version (File system)"
@@ -36,7 +71,62 @@ msgstr ""
36
71
  msgid "Profile Version (Installed)"
37
72
  msgstr ""
38
73
 
74
+ #. Default: "The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
75
+ #: components/Controlpanels/UpgradeControlPanel
76
+ msgid "The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
77
+ msgstr ""
78
+
79
+ #. Default: "The site configuration is outdated and needs to be upgraded."
80
+ #: components/Controlpanels/UpgradeControlPanel
81
+ msgid "The site configuration is outdated and needs to be upgraded."
82
+ msgstr ""
83
+
84
+ #. Default: "There was an error with the upgrade."
85
+ #: components/Controlpanels/UpgradeControlPanel
86
+ msgid "There was an error with the upgrade."
87
+ msgstr ""
88
+
89
+ #. Default: "Upgrade"
90
+ #: components/Controlpanels/UpgradeControlPanel
91
+ msgid "Upgrade"
92
+ msgstr ""
93
+
94
+ #. Default: "Upgrade Plone Site"
95
+ #: components/Controlpanels/UpgradeControlPanel
96
+ msgid "Upgrade Plone Site"
97
+ msgstr "Seite aktualisieren"
98
+
99
+ #. Default: "Upgrade Report"
100
+ #: components/Controlpanels/UpgradeControlPanel
101
+ msgid "Upgrade Report"
102
+ msgstr ""
103
+
104
+ #. Default: "Upgrade Steps"
105
+ #: components/Controlpanels/UpgradeControlPanel
106
+ msgid "Upgrade Steps"
107
+ msgstr ""
108
+
109
+ #. Default: "Upgrade kitconcept.core"
110
+ #: components/Controlpanels/UpgradeControlPanel
111
+ msgid "Upgrade kitconcept.core"
112
+ msgstr ""
113
+
114
+ #. Default: "Upgrade your Site"
115
+ #: components/Controlpanels/UpgradeControlPanel
116
+ msgid "Upgrade your Site"
117
+ msgstr ""
118
+
119
+ #. Default: "Version Overview"
120
+ #: components/Controlpanels/UpgradeControlPanel
121
+ msgid "Version Overview"
122
+ msgstr ""
123
+
39
124
  #. Default: "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."
40
125
  #: components/Controlpanels/VersionOverview
41
126
  msgid "Warning Regarding debug mode"
42
127
  msgstr ""
128
+
129
+ #. Default: "Your site is up to date."
130
+ #: components/Controlpanels/UpgradeControlPanel
131
+ msgid "Your site is up to date."
132
+ msgstr ""
@@ -16,6 +16,36 @@ msgstr ""
16
16
  msgid "Add-ons"
17
17
  msgstr ""
18
18
 
19
+ #. Default: "Back"
20
+ #: components/Controlpanels/UpgradeControlPanel
21
+ msgid "Back"
22
+ msgstr ""
23
+
24
+ #. Default: "Configuration Versions"
25
+ #: components/Controlpanels/UpgradeControlPanel
26
+ msgid "Configuration Versions"
27
+ msgstr ""
28
+
29
+ #. Default: "Current active configuration"
30
+ #: components/Controlpanels/UpgradeControlPanel
31
+ msgid "Current active configuration"
32
+ msgstr ""
33
+
34
+ #. Default: "Dry run selected, transaction aborted."
35
+ #: components/Controlpanels/UpgradeControlPanel
36
+ msgid "Dry run selected, transaction aborted."
37
+ msgstr ""
38
+
39
+ #. Default: "Latest available configuration"
40
+ #: components/Controlpanels/UpgradeControlPanel
41
+ msgid "Latest available configuration"
42
+ msgstr ""
43
+
44
+ #. Default: "More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
45
+ #: components/Controlpanels/UpgradeControlPanel
46
+ msgid "More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
47
+ msgstr ""
48
+
19
49
  #. Default: "No addons found"
20
50
  #: components/Controlpanels/VersionOverview
21
51
  msgid "No addons found"
@@ -26,6 +56,11 @@ msgstr ""
26
56
  msgid "Package Version"
27
57
  msgstr ""
28
58
 
59
+ #. Default: "Please ensure you have a backup of your site before performing the upgrade."
60
+ #: components/Controlpanels/UpgradeControlPanel
61
+ msgid "Please ensure you have a backup of your site before performing the upgrade."
62
+ msgstr ""
63
+
29
64
  #. Default: "Profile Version (File system)"
30
65
  #: components/Controlpanels/VersionOverview
31
66
  msgid "Profile Version (File system)"
@@ -36,7 +71,62 @@ msgstr ""
36
71
  msgid "Profile Version (Installed)"
37
72
  msgstr ""
38
73
 
74
+ #. Default: "The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
75
+ #: components/Controlpanels/UpgradeControlPanel
76
+ msgid "The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
77
+ msgstr ""
78
+
79
+ #. Default: "The site configuration is outdated and needs to be upgraded."
80
+ #: components/Controlpanels/UpgradeControlPanel
81
+ msgid "The site configuration is outdated and needs to be upgraded."
82
+ msgstr ""
83
+
84
+ #. Default: "There was an error with the upgrade."
85
+ #: components/Controlpanels/UpgradeControlPanel
86
+ msgid "There was an error with the upgrade."
87
+ msgstr ""
88
+
89
+ #. Default: "Upgrade"
90
+ #: components/Controlpanels/UpgradeControlPanel
91
+ msgid "Upgrade"
92
+ msgstr ""
93
+
94
+ #. Default: "Upgrade Plone Site"
95
+ #: components/Controlpanels/UpgradeControlPanel
96
+ msgid "Upgrade Plone Site"
97
+ msgstr ""
98
+
99
+ #. Default: "Upgrade Report"
100
+ #: components/Controlpanels/UpgradeControlPanel
101
+ msgid "Upgrade Report"
102
+ msgstr ""
103
+
104
+ #. Default: "Upgrade Steps"
105
+ #: components/Controlpanels/UpgradeControlPanel
106
+ msgid "Upgrade Steps"
107
+ msgstr ""
108
+
109
+ #. Default: "Upgrade kitconcept.core"
110
+ #: components/Controlpanels/UpgradeControlPanel
111
+ msgid "Upgrade kitconcept.core"
112
+ msgstr ""
113
+
114
+ #. Default: "Upgrade your Site"
115
+ #: components/Controlpanels/UpgradeControlPanel
116
+ msgid "Upgrade your Site"
117
+ msgstr ""
118
+
119
+ #. Default: "Version Overview"
120
+ #: components/Controlpanels/UpgradeControlPanel
121
+ msgid "Version Overview"
122
+ msgstr ""
123
+
39
124
  #. Default: "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."
40
125
  #: components/Controlpanels/VersionOverview
41
126
  msgid "Warning Regarding debug mode"
42
127
  msgstr ""
128
+
129
+ #. Default: "Your site is up to date."
130
+ #: components/Controlpanels/UpgradeControlPanel
131
+ msgid "Your site is up to date."
132
+ msgstr ""
@@ -23,6 +23,36 @@ msgstr ""
23
23
  msgid "Add-ons"
24
24
  msgstr ""
25
25
 
26
+ #. Default: "Back"
27
+ #: components/Controlpanels/UpgradeControlPanel
28
+ msgid "Back"
29
+ msgstr ""
30
+
31
+ #. Default: "Configuration Versions"
32
+ #: components/Controlpanels/UpgradeControlPanel
33
+ msgid "Configuration Versions"
34
+ msgstr ""
35
+
36
+ #. Default: "Current active configuration"
37
+ #: components/Controlpanels/UpgradeControlPanel
38
+ msgid "Current active configuration"
39
+ msgstr ""
40
+
41
+ #. Default: "Dry run selected, transaction aborted."
42
+ #: components/Controlpanels/UpgradeControlPanel
43
+ msgid "Dry run selected, transaction aborted."
44
+ msgstr ""
45
+
46
+ #. Default: "Latest available configuration"
47
+ #: components/Controlpanels/UpgradeControlPanel
48
+ msgid "Latest available configuration"
49
+ msgstr ""
50
+
51
+ #. Default: "More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
52
+ #: components/Controlpanels/UpgradeControlPanel
53
+ msgid "More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
54
+ msgstr ""
55
+
26
56
  #. Default: "No addons found"
27
57
  #: components/Controlpanels/VersionOverview
28
58
  msgid "No addons found"
@@ -33,6 +63,11 @@ msgstr ""
33
63
  msgid "Package Version"
34
64
  msgstr ""
35
65
 
66
+ #. Default: "Please ensure you have a backup of your site before performing the upgrade."
67
+ #: components/Controlpanels/UpgradeControlPanel
68
+ msgid "Please ensure you have a backup of your site before performing the upgrade."
69
+ msgstr ""
70
+
36
71
  #. Default: "Profile Version (File system)"
37
72
  #: components/Controlpanels/VersionOverview
38
73
  msgid "Profile Version (File system)"
@@ -43,7 +78,62 @@ msgstr ""
43
78
  msgid "Profile Version (Installed)"
44
79
  msgstr ""
45
80
 
81
+ #. Default: "The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
82
+ #: components/Controlpanels/UpgradeControlPanel
83
+ msgid "The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
84
+ msgstr ""
85
+
86
+ #. Default: "The site configuration is outdated and needs to be upgraded."
87
+ #: components/Controlpanels/UpgradeControlPanel
88
+ msgid "The site configuration is outdated and needs to be upgraded."
89
+ msgstr ""
90
+
91
+ #. Default: "There was an error with the upgrade."
92
+ #: components/Controlpanels/UpgradeControlPanel
93
+ msgid "There was an error with the upgrade."
94
+ msgstr ""
95
+
96
+ #. Default: "Upgrade"
97
+ #: components/Controlpanels/UpgradeControlPanel
98
+ msgid "Upgrade"
99
+ msgstr ""
100
+
101
+ #. Default: "Upgrade Plone Site"
102
+ #: components/Controlpanels/UpgradeControlPanel
103
+ msgid "Upgrade Plone Site"
104
+ msgstr ""
105
+
106
+ #. Default: "Upgrade Report"
107
+ #: components/Controlpanels/UpgradeControlPanel
108
+ msgid "Upgrade Report"
109
+ msgstr ""
110
+
111
+ #. Default: "Upgrade Steps"
112
+ #: components/Controlpanels/UpgradeControlPanel
113
+ msgid "Upgrade Steps"
114
+ msgstr ""
115
+
116
+ #. Default: "Upgrade kitconcept.core"
117
+ #: components/Controlpanels/UpgradeControlPanel
118
+ msgid "Upgrade kitconcept.core"
119
+ msgstr ""
120
+
121
+ #. Default: "Upgrade your Site"
122
+ #: components/Controlpanels/UpgradeControlPanel
123
+ msgid "Upgrade your Site"
124
+ msgstr ""
125
+
126
+ #. Default: "Version Overview"
127
+ #: components/Controlpanels/UpgradeControlPanel
128
+ msgid "Version Overview"
129
+ msgstr ""
130
+
46
131
  #. Default: "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."
47
132
  #: components/Controlpanels/VersionOverview
48
133
  msgid "Warning Regarding debug mode"
49
134
  msgstr ""
135
+
136
+ #. Default: "Your site is up to date."
137
+ #: components/Controlpanels/UpgradeControlPanel
138
+ msgid "Your site is up to date."
139
+ msgstr ""
@@ -21,6 +21,36 @@ msgstr ""
21
21
  msgid "Add-ons"
22
22
  msgstr ""
23
23
 
24
+ #. Default: "Back"
25
+ #: components/Controlpanels/UpgradeControlPanel
26
+ msgid "Back"
27
+ msgstr ""
28
+
29
+ #. Default: "Configuration Versions"
30
+ #: components/Controlpanels/UpgradeControlPanel
31
+ msgid "Configuration Versions"
32
+ msgstr ""
33
+
34
+ #. Default: "Current active configuration"
35
+ #: components/Controlpanels/UpgradeControlPanel
36
+ msgid "Current active configuration"
37
+ msgstr ""
38
+
39
+ #. Default: "Dry run selected, transaction aborted."
40
+ #: components/Controlpanels/UpgradeControlPanel
41
+ msgid "Dry run selected, transaction aborted."
42
+ msgstr ""
43
+
44
+ #. Default: "Latest available configuration"
45
+ #: components/Controlpanels/UpgradeControlPanel
46
+ msgid "Latest available configuration"
47
+ msgstr ""
48
+
49
+ #. Default: "More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
50
+ #: components/Controlpanels/UpgradeControlPanel
51
+ msgid "More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
52
+ msgstr ""
53
+
24
54
  #. Default: "No addons found"
25
55
  #: components/Controlpanels/VersionOverview
26
56
  msgid "No addons found"
@@ -31,6 +61,11 @@ msgstr ""
31
61
  msgid "Package Version"
32
62
  msgstr ""
33
63
 
64
+ #. Default: "Please ensure you have a backup of your site before performing the upgrade."
65
+ #: components/Controlpanels/UpgradeControlPanel
66
+ msgid "Please ensure you have a backup of your site before performing the upgrade."
67
+ msgstr ""
68
+
34
69
  #. Default: "Profile Version (File system)"
35
70
  #: components/Controlpanels/VersionOverview
36
71
  msgid "Profile Version (File system)"
@@ -41,7 +76,62 @@ msgstr ""
41
76
  msgid "Profile Version (Installed)"
42
77
  msgstr ""
43
78
 
79
+ #. Default: "The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
80
+ #: components/Controlpanels/UpgradeControlPanel
81
+ msgid "The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
82
+ msgstr ""
83
+
84
+ #. Default: "The site configuration is outdated and needs to be upgraded."
85
+ #: components/Controlpanels/UpgradeControlPanel
86
+ msgid "The site configuration is outdated and needs to be upgraded."
87
+ msgstr ""
88
+
89
+ #. Default: "There was an error with the upgrade."
90
+ #: components/Controlpanels/UpgradeControlPanel
91
+ msgid "There was an error with the upgrade."
92
+ msgstr ""
93
+
94
+ #. Default: "Upgrade"
95
+ #: components/Controlpanels/UpgradeControlPanel
96
+ msgid "Upgrade"
97
+ msgstr ""
98
+
99
+ #. Default: "Upgrade Plone Site"
100
+ #: components/Controlpanels/UpgradeControlPanel
101
+ msgid "Upgrade Plone Site"
102
+ msgstr ""
103
+
104
+ #. Default: "Upgrade Report"
105
+ #: components/Controlpanels/UpgradeControlPanel
106
+ msgid "Upgrade Report"
107
+ msgstr ""
108
+
109
+ #. Default: "Upgrade Steps"
110
+ #: components/Controlpanels/UpgradeControlPanel
111
+ msgid "Upgrade Steps"
112
+ msgstr ""
113
+
114
+ #. Default: "Upgrade kitconcept.core"
115
+ #: components/Controlpanels/UpgradeControlPanel
116
+ msgid "Upgrade kitconcept.core"
117
+ msgstr ""
118
+
119
+ #. Default: "Upgrade your Site"
120
+ #: components/Controlpanels/UpgradeControlPanel
121
+ msgid "Upgrade your Site"
122
+ msgstr ""
123
+
124
+ #. Default: "Version Overview"
125
+ #: components/Controlpanels/UpgradeControlPanel
126
+ msgid "Version Overview"
127
+ msgstr ""
128
+
44
129
  #. Default: "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."
45
130
  #: components/Controlpanels/VersionOverview
46
131
  msgid "Warning Regarding debug mode"
47
132
  msgstr ""
133
+
134
+ #. Default: "Your site is up to date."
135
+ #: components/Controlpanels/UpgradeControlPanel
136
+ msgid "Your site is up to date."
137
+ msgstr ""
package/locales/volto.pot CHANGED
@@ -1,7 +1,7 @@
1
1
  msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Plone\n"
4
- "POT-Creation-Date: 2025-04-28T17:31:27.834Z\n"
4
+ "POT-Creation-Date: 2025-05-23T14:22:05.270Z\n"
5
5
  "Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
6
6
  "Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
7
7
  "Content-Type: text/plain; charset=utf-8\n"
@@ -18,6 +18,36 @@ msgstr ""
18
18
  msgid "Add-ons"
19
19
  msgstr ""
20
20
 
21
+ #. Default: "Back"
22
+ #: components/Controlpanels/UpgradeControlPanel
23
+ msgid "Back"
24
+ msgstr ""
25
+
26
+ #. Default: "Configuration Versions"
27
+ #: components/Controlpanels/UpgradeControlPanel
28
+ msgid "Configuration Versions"
29
+ msgstr ""
30
+
31
+ #. Default: "Current active configuration"
32
+ #: components/Controlpanels/UpgradeControlPanel
33
+ msgid "Current active configuration"
34
+ msgstr ""
35
+
36
+ #. Default: "Dry run selected, transaction aborted."
37
+ #: components/Controlpanels/UpgradeControlPanel
38
+ msgid "Dry run selected, transaction aborted."
39
+ msgstr ""
40
+
41
+ #. Default: "Latest available configuration"
42
+ #: components/Controlpanels/UpgradeControlPanel
43
+ msgid "Latest available configuration"
44
+ msgstr ""
45
+
46
+ #. Default: "More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
47
+ #: components/Controlpanels/UpgradeControlPanel
48
+ msgid "More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
49
+ msgstr ""
50
+
21
51
  #. Default: "No addons found"
22
52
  #: components/Controlpanels/VersionOverview
23
53
  msgid "No addons found"
@@ -28,6 +58,11 @@ msgstr ""
28
58
  msgid "Package Version"
29
59
  msgstr ""
30
60
 
61
+ #. Default: "Please ensure you have a backup of your site before performing the upgrade."
62
+ #: components/Controlpanels/UpgradeControlPanel
63
+ msgid "Please ensure you have a backup of your site before performing the upgrade."
64
+ msgstr ""
65
+
31
66
  #. Default: "Profile Version (File system)"
32
67
  #: components/Controlpanels/VersionOverview
33
68
  msgid "Profile Version (File system)"
@@ -38,7 +73,62 @@ msgstr ""
38
73
  msgid "Profile Version (Installed)"
39
74
  msgstr ""
40
75
 
76
+ #. Default: "The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
77
+ #: components/Controlpanels/UpgradeControlPanel
78
+ msgid "The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
79
+ msgstr ""
80
+
81
+ #. Default: "The site configuration is outdated and needs to be upgraded."
82
+ #: components/Controlpanels/UpgradeControlPanel
83
+ msgid "The site configuration is outdated and needs to be upgraded."
84
+ msgstr ""
85
+
86
+ #. Default: "There was an error with the upgrade."
87
+ #: components/Controlpanels/UpgradeControlPanel
88
+ msgid "There was an error with the upgrade."
89
+ msgstr ""
90
+
91
+ #. Default: "Upgrade"
92
+ #: components/Controlpanels/UpgradeControlPanel
93
+ msgid "Upgrade"
94
+ msgstr ""
95
+
96
+ #. Default: "Upgrade Plone Site"
97
+ #: components/Controlpanels/UpgradeControlPanel
98
+ msgid "Upgrade Plone Site"
99
+ msgstr ""
100
+
101
+ #. Default: "Upgrade Report"
102
+ #: components/Controlpanels/UpgradeControlPanel
103
+ msgid "Upgrade Report"
104
+ msgstr ""
105
+
106
+ #. Default: "Upgrade Steps"
107
+ #: components/Controlpanels/UpgradeControlPanel
108
+ msgid "Upgrade Steps"
109
+ msgstr ""
110
+
111
+ #. Default: "Upgrade kitconcept.core"
112
+ #: components/Controlpanels/UpgradeControlPanel
113
+ msgid "Upgrade kitconcept.core"
114
+ msgstr ""
115
+
116
+ #. Default: "Upgrade your Site"
117
+ #: components/Controlpanels/UpgradeControlPanel
118
+ msgid "Upgrade your Site"
119
+ msgstr ""
120
+
121
+ #. Default: "Version Overview"
122
+ #: components/Controlpanels/UpgradeControlPanel
123
+ msgid "Version Overview"
124
+ msgstr ""
125
+
41
126
  #. Default: "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."
42
127
  #: components/Controlpanels/VersionOverview
43
128
  msgid "Warning Regarding debug mode"
44
129
  msgstr ""
130
+
131
+ #. Default: "Your site is up to date."
132
+ #: components/Controlpanels/UpgradeControlPanel
133
+ msgid "Your site is up to date."
134
+ msgstr ""
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitconcept/core",
3
- "version": "1.0.0-alpha.2",
3
+ "version": "1.0.0-alpha.21",
4
4
  "description": "Core setup for kitconcept GmbH distributions built on top of Plone",
5
5
  "main": "src/index.ts",
6
6
  "license": "MIT",
@@ -23,24 +23,22 @@
23
23
  "@eeacms/volto-accordion-block",
24
24
  "@kitconcept/volto-banner-block",
25
25
  "@kitconcept/volto-button-block",
26
+ "@kitconcept/volto-carousel-block",
26
27
  "@kitconcept/volto-heading-block",
27
28
  "@kitconcept/volto-highlight-block",
28
29
  "@kitconcept/volto-introduction-block",
30
+ "@kitconcept/volto-logos-block",
29
31
  "@kitconcept/volto-separator-block",
30
32
  "@kitconcept/volto-slider-block",
31
33
  "@mbarde/volto-image-crop-widget",
32
34
  "@plonegovbr/volto-social-media",
33
35
  "@plone-collective/volto-authomatic",
34
- "volto-form-block",
35
36
  "@kitconcept/volto-light-theme"
36
37
  ],
37
38
  "dependencies": {
38
- "@plone-collective/volto-authomatic": "3.0.0-alpha.1",
39
- "@kitconcept/volto-light-theme": "6.0.0-alpha.24",
39
+ "@plone-collective/volto-authomatic": "3.0.0-alpha.4",
40
+ "@kitconcept/volto-light-theme": "7.0.0-alpha.26",
40
41
  "@mbarde/volto-image-crop-widget": "^0.5.1",
41
- "@plonegovbr/volto-social-media": "^2.0.0-alpha.5",
42
- "volto-form-block": "^3.12.0",
43
- "@kitconcept/volto-banner-block": "^1.0.1",
44
42
  "@plone/components": "3.0.2"
45
43
  },
46
44
  "peerDependencies": {
@@ -49,8 +47,10 @@
49
47
  },
50
48
  "devDependencies": {
51
49
  "@plone/scripts": "^3.6.1",
52
- "release-it": "^17.1.1",
53
- "@plone/types": "1.4.4"
50
+ "@types/react": "^18.3.12",
51
+ "@types/react-dom": "^18.3.1",
52
+ "release-it": "^19.0.4",
53
+ "@plone/types": "1.4.5"
54
54
  },
55
55
  "scripts": {
56
56
  "i18n": "rm -rf build/messages && NODE_ENV=production i18n --addon",
@@ -0,0 +1,355 @@
1
+ /**
2
+ * Upgrade controlpanel container.
3
+ * @module components/manage/Controlpanels/Upgrade
4
+ */
5
+ import React, { Component } from 'react';
6
+ import PropTypes from 'prop-types';
7
+ import { connect } from 'react-redux';
8
+ import { compose } from 'redux';
9
+ import { Link } from 'react-router-dom';
10
+ import { createPortal } from 'react-dom';
11
+ import {
12
+ Button,
13
+ Container,
14
+ Form,
15
+ Message,
16
+ Segment,
17
+ Table,
18
+ } from 'semantic-ui-react';
19
+ import { FormattedMessage, defineMessages, injectIntl } from 'react-intl';
20
+ import map from 'lodash/map';
21
+
22
+ import { getSystemInformation } from '@plone/volto/actions/controlpanels/controlpanels';
23
+ import {
24
+ getUpgradeInformation,
25
+ runUpgrade,
26
+ } from '@plone/volto/actions/upgrade/upgrade';
27
+ import Helmet from '@plone/volto/helpers/Helmet/Helmet';
28
+ import Icon from '@plone/volto/components/theme/Icon/Icon';
29
+ import Toast from '@plone/volto/components/manage/Toast/Toast';
30
+ import Toolbar from '@plone/volto/components/manage/Toolbar/Toolbar';
31
+ import VersionOverview from '@kitconcept/core/components/Controlpanels/VersionOverview';
32
+ import backSVG from '@plone/volto/icons/back.svg';
33
+ import { toast } from 'react-toastify';
34
+
35
+ const messages = defineMessages({
36
+ back: {
37
+ id: 'Back',
38
+ defaultMessage: 'Back',
39
+ },
40
+ upgradeInformation: {
41
+ id: 'Upgrade kitconcept.core',
42
+ defaultMessage: 'Upgrade kitconcept.core',
43
+ },
44
+ upgrade: {
45
+ id: 'Upgrade your Site',
46
+ defaultMessage: 'Upgrade your Site',
47
+ },
48
+ upgradeSuccess: {
49
+ id: 'Your site is up to date.',
50
+ defaultMessage: 'Your site is up to date.',
51
+ },
52
+ dryRunSuccess: {
53
+ id: 'Dry run selected, transaction aborted.',
54
+ defaultMessage: 'Dry run selected, transaction aborted.',
55
+ },
56
+ upgradeError: {
57
+ id: 'There was an error with the upgrade.',
58
+ defaultMessage: 'There was an error with the upgrade.',
59
+ },
60
+ });
61
+
62
+ const UpgradeStep = ({ title, steps }) => {
63
+ const stepTitles = steps.map((step) => {
64
+ return step.title;
65
+ });
66
+ return (
67
+ <Message>
68
+ <Message.Header>{title}</Message.Header>
69
+ <Message.List items={stepTitles} />
70
+ </Message>
71
+ );
72
+ };
73
+
74
+ /**
75
+ * UpgradeControlPanel class.
76
+ * @class UpgradeControlPanel
77
+ * @extends Component
78
+ */
79
+ class UpgradeControlPanel extends Component {
80
+ /**
81
+ * Property types.
82
+ * @property {Object} propTypes Property types.
83
+ * @static
84
+ */
85
+ static propTypes = {
86
+ getUpgradeInformation: PropTypes.func.isRequired,
87
+ getSystemInformation: PropTypes.func.isRequired,
88
+ runUpgrade: PropTypes.func.isRequired,
89
+ };
90
+
91
+ /**
92
+ * Constructor
93
+ * @method constructor
94
+ * @param {Object} props Component properties
95
+ * @constructs DiffComponent
96
+ */
97
+ constructor(props) {
98
+ super(props);
99
+ this.runUpgrade = this.runUpgrade.bind(this);
100
+ this.state = {
101
+ isClient: false,
102
+ dryRun: false,
103
+ };
104
+ }
105
+
106
+ /**
107
+ * Component did mount
108
+ * @method componentDidMount
109
+ * @returns {undefined}
110
+ */
111
+ componentDidMount() {
112
+ this.props.getUpgradeInformation();
113
+ this.props.getSystemInformation();
114
+ this.setState({ isClient: true, dryRun: false });
115
+ }
116
+
117
+ /**
118
+ * Run Upgrade handler
119
+ * @method runUpgrade
120
+ * @param {boolean} dryRun Id of package to install.
121
+ * @returns {undefined}
122
+ */
123
+ runUpgrade(dryRun) {
124
+ this.props
125
+ .runUpgrade(dryRun)
126
+ .then(() => {
127
+ if (!dryRun) {
128
+ // Upgrade completed
129
+ this.props.getUpgradeInformation();
130
+ toast.success(
131
+ <Toast
132
+ success
133
+ title={this.props.intl.formatMessage(messages.upgrade)}
134
+ content={this.props.intl.formatMessage(messages.upgradeSuccess)}
135
+ />,
136
+ );
137
+ } else {
138
+ toast.success(
139
+ <Toast
140
+ success
141
+ title={this.props.intl.formatMessage(messages.upgrade)}
142
+ content={this.props.intl.formatMessage(messages.dryRunSuccess)}
143
+ />,
144
+ );
145
+ }
146
+ })
147
+ .catch(() => {
148
+ toast.error(
149
+ <Toast
150
+ error
151
+ title={this.props.intl.formatMessage(messages.upgrade)}
152
+ content={this.props.intl.formatMessage(messages.upgradeError)}
153
+ />,
154
+ );
155
+ });
156
+ }
157
+
158
+ /**
159
+ * Render method.
160
+ * @method render
161
+ * @returns {string} Markup for the component.
162
+ */
163
+ render() {
164
+ const upgradeInformation = this.props.upgradeInformation;
165
+ const upgradeSteps = upgradeInformation
166
+ ? Object.entries(upgradeInformation.upgrade_steps)
167
+ : null;
168
+ return upgradeInformation ? (
169
+ <Container id="upgrade-page" className="controlpanel-upgrade">
170
+ <Helmet
171
+ title={this.props.intl.formatMessage(messages.upgradeInformation)}
172
+ />
173
+ <Segment.Group raised>
174
+ <Segment className="primary">
175
+ <FormattedMessage
176
+ id="Upgrade Plone Site"
177
+ defaultMessage="Upgrade Plone Site"
178
+ />
179
+ </Segment>
180
+ <Segment className="secondary">
181
+ <FormattedMessage
182
+ id="More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
183
+ defaultMessage="More information about the upgrade procedure can be found in the documentation section of plone.org in the Upgrade Guide."
184
+ />
185
+ </Segment>
186
+ <Message attached>
187
+ <Message.Header>
188
+ <FormattedMessage
189
+ id="Configuration Versions"
190
+ defaultMessage="Configuration Versions"
191
+ />
192
+ </Message.Header>
193
+ </Message>
194
+ <Segment>
195
+ {upgradeInformation.versions.fs ===
196
+ upgradeInformation.versions.instance ? (
197
+ <Message attached success>
198
+ <FormattedMessage
199
+ id="Your site is up to date."
200
+ defaultMessage="Your site is up to date."
201
+ />
202
+ </Message>
203
+ ) : (
204
+ <Message attached warning>
205
+ <FormattedMessage
206
+ id="The site configuration is outdated and needs to be upgraded."
207
+ defaultMessage="The site configuration is outdated and needs to be upgraded."
208
+ />
209
+ </Message>
210
+ )}
211
+ <Table celled padded columns="2">
212
+ <Table.Body>
213
+ <Table.Row>
214
+ <Table.Cell>
215
+ <FormattedMessage
216
+ id="Current active configuration"
217
+ defaultMessage="Current active configuration"
218
+ />
219
+ </Table.Cell>
220
+ <Table.Cell>
221
+ {upgradeInformation.versions.instance}
222
+ </Table.Cell>
223
+ </Table.Row>
224
+ <Table.Row>
225
+ <Table.Cell>
226
+ <FormattedMessage
227
+ id="Latest available configuration"
228
+ defaultMessage="Latest available configuration"
229
+ />
230
+ </Table.Cell>
231
+ <Table.Cell>{upgradeInformation.versions.fs}</Table.Cell>
232
+ </Table.Row>
233
+ </Table.Body>
234
+ </Table>
235
+ </Segment>
236
+ {upgradeSteps.length > 0 && (
237
+ <>
238
+ <Message attached>
239
+ <Message.Header>
240
+ <FormattedMessage
241
+ id="Upgrade Steps"
242
+ defaultMessage="Upgrade Steps"
243
+ />
244
+ </Message.Header>
245
+ <Message.Content>
246
+ <FormattedMessage
247
+ id="The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
248
+ defaultMessage="The following list shows which upgrade steps are going to be run. Upgrading sometimes performs a catalog/security update, which may take a long time on large sites. Be patient."
249
+ />
250
+ </Message.Content>
251
+ </Message>
252
+ <Segment>
253
+ <Container>
254
+ {map(upgradeSteps, (upgradeGroup) => [
255
+ <UpgradeStep
256
+ key={upgradeGroup[0]}
257
+ title={upgradeGroup[0]}
258
+ steps={upgradeGroup[1]}
259
+ />,
260
+ ])}
261
+ </Container>
262
+ <Message negative>
263
+ <FormattedMessage
264
+ id="Please ensure you have a backup of your site before performing the upgrade."
265
+ defaultMessage="Please ensure you have a backup of your site before performing the upgrade."
266
+ />
267
+ </Message>
268
+ <Form.Checkbox
269
+ onChange={(e, data) =>
270
+ this.setState({ dryRun: data.checked })
271
+ }
272
+ checked={this.state.dryRun}
273
+ label="Dry run mode"
274
+ />
275
+ <br />
276
+ <Button
277
+ aria-label={this.props.intl.formatMessage({
278
+ id: 'Upgrade',
279
+ defaultMessage: 'Upgrade',
280
+ })}
281
+ onClick={() => this.runUpgrade(this.state.dryRun)}
282
+ primary
283
+ >
284
+ <FormattedMessage id="Upgrade" defaultMessage="Upgrade" />
285
+ </Button>
286
+ </Segment>
287
+ </>
288
+ )}
289
+ {this.props.upgradeReport ? (
290
+ <>
291
+ <Message attached>
292
+ <Message.Header>
293
+ <FormattedMessage
294
+ id="Upgrade Report"
295
+ defaultMessage="Upgrade Report"
296
+ />
297
+ </Message.Header>
298
+ </Message>
299
+ <Segment>
300
+ <pre>{this.props.upgradeReport.report}</pre>
301
+ </Segment>
302
+ </>
303
+ ) : null}
304
+ <Message attached>
305
+ <Message.Header>
306
+ <FormattedMessage
307
+ id="Version Overview"
308
+ defaultMessage="Version Overview"
309
+ />
310
+ </Message.Header>
311
+ </Message>
312
+ <Segment>
313
+ {this.props.systemInformation ? (
314
+ <VersionOverview {...this.props.systemInformation} />
315
+ ) : null}
316
+ </Segment>
317
+ </Segment.Group>
318
+ {this.state.isClient &&
319
+ createPortal(
320
+ <Toolbar
321
+ pathname={this.props.pathname}
322
+ hideDefaultViewButtons
323
+ inner={
324
+ <>
325
+ <Link to="/controlpanel" className="item">
326
+ <Icon
327
+ name={backSVG}
328
+ aria-label={this.props.intl.formatMessage(messages.back)}
329
+ className="contents circled"
330
+ size="30px"
331
+ title={this.props.intl.formatMessage(messages.back)}
332
+ />
333
+ </Link>
334
+ </>
335
+ }
336
+ />,
337
+ document.getElementById('toolbar'),
338
+ )}
339
+ </Container>
340
+ ) : null;
341
+ }
342
+ }
343
+
344
+ export default compose(
345
+ injectIntl,
346
+ connect(
347
+ (state, props) => ({
348
+ upgradeInformation: state.upgrade.upgradeinformation,
349
+ pathname: props.location.pathname,
350
+ systemInformation: state.controlpanels.systeminformation,
351
+ upgradeReport: state.upgrade.upgradereport,
352
+ }),
353
+ { getUpgradeInformation, getSystemInformation, runUpgrade },
354
+ ),
355
+ )(UpgradeControlPanel);
@@ -3,6 +3,7 @@ import type { ConfigType } from '@plone/registry';
3
3
  export default function install(config: ConfigType) {
4
4
  // Language is Deutsch
5
5
  config.settings.defaultLanguage = 'de';
6
+ config.settings.supportedLanguages = ['en', 'de'];
6
7
 
7
8
  return config;
8
9
  }
@@ -0,0 +1,7 @@
1
+ /**
2
+ * OVERRIDE UpgradeControlPanel.jsx
3
+ * REASON: Add distribution info support
4
+ */
5
+ import UpgradeControlPanel from '../../../../../components/Controlpanels/UpgradeControlPanel';
6
+
7
+ export default UpgradeControlPanel;