design-comuni-plone-theme 11.23.2 → 11.24.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/.github/workflows/main.yml +1 -1
- package/.github/workflows/prs.yml +1 -1
- package/.github/workflows/release.yml +1 -1
- package/.yarn/cache/{volto-form-block-npm-3.9.2-cb78fb6cd0-a47c5241be.zip → volto-form-block-npm-3.10.0-8cd1c7a976-8ddce2c624.zip} +0 -0
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +22 -0
- package/Makefile +1 -1
- package/RELEASE.md +19 -0
- package/locales/de/LC_MESSAGES/volto.po +5 -0
- package/locales/en/LC_MESSAGES/volto.po +5 -0
- package/locales/es/LC_MESSAGES/volto.po +5 -0
- package/locales/fr/LC_MESSAGES/volto.po +5 -0
- package/locales/it/LC_MESSAGES/volto.po +5 -0
- package/locales/volto.pot +6 -1
- package/package.json +3 -3
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/Blocks/Listing/SimpleCard/Card/SimpleCardDefault.jsx +5 -1
- package/src/components/ItaliaTheme/View/PersonaView/PersonaRuolo.jsx +11 -5
- package/src/config/italiaConfig.js +1 -0
- package/src/customizations/volto/components/manage/Controlpanels/Groups/GroupsControlpanel.jsx +709 -0
- package/src/customizations/volto/components/manage/Controlpanels/Groups/RenderGroups.jsx +122 -0
- package/src/customizations/volto/components/manage/Diff/DiffField.jsx +2 -3
- package/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/EndField.jsx +18 -11
- package/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +233 -116
- package/src/customizations/volto-form-block/components/FormView.jsx +44 -40
- package/src/customizations/volto-form-block/components/Sidebar.jsx +4 -1
- package/src/customizations/volto-form-block/components/View.jsx +9 -2
- package/src/customizations/volto-form-block/formSchema.js +18 -0
|
Binary file
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [11.24.0](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.23.2...v11.24.0) (2024-10-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* make configurable the types that show dates in listing cards ([#777](https://github.com/RedTurtle/design-comuni-plone-theme/issues/777)) ([42da305](https://github.com/RedTurtle/design-comuni-plone-theme/commit/42da305e45bd07391cb7bf958e9e09c0fe187034))
|
|
9
|
+
* update to volto 17.19.0 ([fcef9ba](https://github.com/RedTurtle/design-comuni-plone-theme/commit/fcef9ba685cca2189aac8db3c49c1af3e17c1c8e))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* always set form block static_text fields as not required ([#782](https://github.com/RedTurtle/design-comuni-plone-theme/issues/782)) ([4a62da4](https://github.com/RedTurtle/design-comuni-plone-theme/commit/4a62da4bc169dc1ddaa8d04ecd4cf23eefedb03a))
|
|
15
|
+
* changed end of assignment section label ([#778](https://github.com/RedTurtle/design-comuni-plone-theme/issues/778)) ([e2b11f6](https://github.com/RedTurtle/design-comuni-plone-theme/commit/e2b11f6200f0304204921c2d58aec3a755adb060))
|
|
16
|
+
* changed state management of authenticatedRole ([#780](https://github.com/RedTurtle/design-comuni-plone-theme/issues/780)) ([bf8bccb](https://github.com/RedTurtle/design-comuni-plone-theme/commit/bf8bccb56603a3baff0b92dd1c6ae807f7ef6f69))
|
|
17
|
+
* recurrence widget bug when closing and opening multiple times without saving ([#741](https://github.com/RedTurtle/design-comuni-plone-theme/issues/741)) ([586ef0a](https://github.com/RedTurtle/design-comuni-plone-theme/commit/586ef0aad7a988c48157351edeaa600f4939c185))
|
|
18
|
+
* switchable OTP in volto-form-block ([#783](https://github.com/RedTurtle/design-comuni-plone-theme/issues/783)) ([568bb2d](https://github.com/RedTurtle/design-comuni-plone-theme/commit/568bb2d5d6b27c99b1363a5b1b3ae21ac0941471))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Documentation
|
|
22
|
+
|
|
23
|
+
* updated publiccode and release log ([c0caca3](https://github.com/RedTurtle/design-comuni-plone-theme/commit/c0caca3db87ef9d62945cf07eb2dfab65729528f))
|
|
24
|
+
|
|
3
25
|
## [11.23.2](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.23.1...v11.23.2) (2024-09-24)
|
|
4
26
|
|
|
5
27
|
|
package/Makefile
CHANGED
|
@@ -27,7 +27,7 @@ CURRENT_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
|
|
27
27
|
# ADDON ?= "design-comuni-plone-theme"
|
|
28
28
|
|
|
29
29
|
PLONE_VERSION=6
|
|
30
|
-
VOLTO_VERSION=17.
|
|
30
|
+
VOLTO_VERSION=17.19.0
|
|
31
31
|
|
|
32
32
|
ADDON_NAME='design-comuni-plone-theme'
|
|
33
33
|
ADDON_PATH='design-comuni-plone-theme'
|
package/RELEASE.md
CHANGED
|
@@ -41,12 +41,31 @@
|
|
|
41
41
|
- ...
|
|
42
42
|
-->
|
|
43
43
|
|
|
44
|
+
## Versione 11.24.0 (03/10/2024)
|
|
45
|
+
|
|
46
|
+
### Migliorie
|
|
47
|
+
|
|
48
|
+
- Cambiato il titolo della sezione "fine incarico" nel CT Persona.
|
|
49
|
+
|
|
50
|
+
### Fix
|
|
51
|
+
|
|
52
|
+
- Risolto un problema con il blocco Form che in alcuni casi poteva dare problemi di validazione dei campi di tipo 'testo statico'.
|
|
53
|
+
- Sistemate diverse incogruenze e errori generati dal widget per la creazione delle ricorrenze nel CT Evento.
|
|
54
|
+
|
|
44
55
|
## Versione 11.23.2 (24/09/2024)
|
|
45
56
|
|
|
46
57
|
### Migliorie
|
|
47
58
|
|
|
48
59
|
- Gli utenti SPID vengono ora direttamente rediretti al link finale quando viene utilizzato un CT di tipo Collegamento
|
|
49
60
|
|
|
61
|
+
### Novità
|
|
62
|
+
|
|
63
|
+
- ...
|
|
64
|
+
|
|
65
|
+
### Fix
|
|
66
|
+
|
|
67
|
+
- L'assegnazione dei ruoli nella vista gruppi funziona correttamente per tutti i gruppi di utenti.
|
|
68
|
+
|
|
50
69
|
## Versione 11.23.1 (19/09/2024)
|
|
51
70
|
|
|
52
71
|
### Migliorie
|
|
@@ -1476,6 +1476,11 @@ msgstr ""
|
|
|
1476
1476
|
msgid "data_conclusione_incarico"
|
|
1477
1477
|
msgstr ""
|
|
1478
1478
|
|
|
1479
|
+
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
|
|
1480
|
+
# defaultMessage: Data di fine dell'incarico
|
|
1481
|
+
msgid "data_conclusione_incarico_label"
|
|
1482
|
+
msgstr ""
|
|
1483
|
+
|
|
1479
1484
|
#: components/ItaliaTheme/View/IncaricoView/IncaricoView
|
|
1480
1485
|
# defaultMessage: Data inizio incarico
|
|
1481
1486
|
msgid "data_inizio"
|
|
@@ -1461,6 +1461,11 @@ msgstr "Assignment start date"
|
|
|
1461
1461
|
msgid "data_conclusione_incarico"
|
|
1462
1462
|
msgstr "He was part of the municipal organization until"
|
|
1463
1463
|
|
|
1464
|
+
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
|
|
1465
|
+
# defaultMessage: Data di fine dell'incarico
|
|
1466
|
+
msgid "data_conclusione_incarico_label"
|
|
1467
|
+
msgstr "Assignment end date"
|
|
1468
|
+
|
|
1464
1469
|
#: components/ItaliaTheme/View/IncaricoView/IncaricoView
|
|
1465
1470
|
# defaultMessage: Data inizio incarico
|
|
1466
1471
|
msgid "data_inizio"
|
|
@@ -1470,6 +1470,11 @@ msgstr ""
|
|
|
1470
1470
|
msgid "data_conclusione_incarico"
|
|
1471
1471
|
msgstr "Formó parte de la organización municipal hasta"
|
|
1472
1472
|
|
|
1473
|
+
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
|
|
1474
|
+
# defaultMessage: Data di fine dell'incarico
|
|
1475
|
+
msgid "data_conclusione_incarico_label"
|
|
1476
|
+
msgstr ""
|
|
1477
|
+
|
|
1473
1478
|
#: components/ItaliaTheme/View/IncaricoView/IncaricoView
|
|
1474
1479
|
# defaultMessage: Data inizio incarico
|
|
1475
1480
|
msgid "data_inizio"
|
|
@@ -1478,6 +1478,11 @@ msgstr ""
|
|
|
1478
1478
|
msgid "data_conclusione_incarico"
|
|
1479
1479
|
msgstr "Date de conclusion de la mission"
|
|
1480
1480
|
|
|
1481
|
+
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
|
|
1482
|
+
# defaultMessage: Data di fine dell'incarico
|
|
1483
|
+
msgid "data_conclusione_incarico_label"
|
|
1484
|
+
msgstr ""
|
|
1485
|
+
|
|
1481
1486
|
#: components/ItaliaTheme/View/IncaricoView/IncaricoView
|
|
1482
1487
|
# defaultMessage: Data inizio incarico
|
|
1483
1488
|
msgid "data_inizio"
|
|
@@ -1461,6 +1461,11 @@ msgstr "Data conclusione incarico"
|
|
|
1461
1461
|
msgid "data_conclusione_incarico"
|
|
1462
1462
|
msgstr "Ha fatto parte dell'organizzazione comunale come {incarico} fino al"
|
|
1463
1463
|
|
|
1464
|
+
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
|
|
1465
|
+
# defaultMessage: Data di fine dell'incarico
|
|
1466
|
+
msgid "data_conclusione_incarico_label"
|
|
1467
|
+
msgstr "Data di conclusione dell'incarico"
|
|
1468
|
+
|
|
1464
1469
|
#: components/ItaliaTheme/View/IncaricoView/IncaricoView
|
|
1465
1470
|
# defaultMessage: Data inizio incarico
|
|
1466
1471
|
msgid "data_inizio"
|
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: 2024-09-
|
|
4
|
+
"POT-Creation-Date: 2024-09-26T08:07:45.909Z\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
|
"MIME-Version: 1.0\n"
|
|
@@ -1463,6 +1463,11 @@ msgstr ""
|
|
|
1463
1463
|
msgid "data_conclusione_incarico"
|
|
1464
1464
|
msgstr ""
|
|
1465
1465
|
|
|
1466
|
+
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
|
|
1467
|
+
# defaultMessage: Data di fine dell'incarico
|
|
1468
|
+
msgid "data_conclusione_incarico_label"
|
|
1469
|
+
msgstr ""
|
|
1470
|
+
|
|
1466
1471
|
#: components/ItaliaTheme/View/IncaricoView/IncaricoView
|
|
1467
1472
|
# defaultMessage: Data inizio incarico
|
|
1468
1473
|
msgid "data_inizio"
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "design-comuni-plone-theme",
|
|
3
3
|
"description": "Volto Theme for Italia design guidelines",
|
|
4
4
|
"license": "GPL-v3",
|
|
5
|
-
"version": "11.
|
|
5
|
+
"version": "11.24.0",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
"volto-dropdownmenu": "4.1.3",
|
|
153
153
|
"volto-editablefooter": "5.1.7",
|
|
154
154
|
"volto-feedback": "0.3.2",
|
|
155
|
-
"volto-form-block": "3.
|
|
155
|
+
"volto-form-block": "3.10.0",
|
|
156
156
|
"volto-gdpr-privacy": "2.2.7",
|
|
157
157
|
"volto-google-analytics": "2.0.0",
|
|
158
158
|
"volto-multilingual-widget": "3.2.1",
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"stylelint-prettier": "4.0.2"
|
|
201
201
|
},
|
|
202
202
|
"peerDependencies": {
|
|
203
|
-
"@plone/volto": "17.
|
|
203
|
+
"@plone/volto": "17.19.0"
|
|
204
204
|
},
|
|
205
205
|
"packageManager": "yarn@3.2.3"
|
|
206
206
|
}
|
package/publiccode.yml
CHANGED
|
@@ -227,9 +227,9 @@ maintenance:
|
|
|
227
227
|
name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici
|
|
228
228
|
platforms:
|
|
229
229
|
- web
|
|
230
|
-
releaseDate: '2024-
|
|
230
|
+
releaseDate: '2024-10-03'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 11.
|
|
232
|
+
softwareVersion: 11.24.0
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
getEventRecurrenceMore,
|
|
27
27
|
getComponentWithFallback,
|
|
28
28
|
} from 'design-comuni-plone-theme/helpers';
|
|
29
|
+
import config from '@plone/volto/registry';
|
|
29
30
|
|
|
30
31
|
const messages = defineMessages({
|
|
31
32
|
card_detail_label: { id: 'Card detail label', defaultMessage: 'Vedi' },
|
|
@@ -95,6 +96,9 @@ const SimpleCardDefault = (props) => {
|
|
|
95
96
|
const isEventAppointment =
|
|
96
97
|
item?.parent?.['@type'] === 'Event' && item?.['@type'] === 'Event';
|
|
97
98
|
|
|
99
|
+
const showContentDateInListingFor =
|
|
100
|
+
config.settings.siteProperties.showContentDateInListingFor;
|
|
101
|
+
|
|
98
102
|
return (
|
|
99
103
|
<Card
|
|
100
104
|
className={`align-items-top rounded shadow no-after ${getItemClass(
|
|
@@ -137,7 +141,7 @@ const SimpleCardDefault = (props) => {
|
|
|
137
141
|
{listingText && (
|
|
138
142
|
<CardText className={cx('', { 'mb-5': eventRecurrenceMore })}>
|
|
139
143
|
{listingText}
|
|
140
|
-
{(type
|
|
144
|
+
{showContentDateInListingFor.includes(type) && !hide_dates && (
|
|
141
145
|
<div className="document-date mt-3">
|
|
142
146
|
{item?.effective && (
|
|
143
147
|
<p className="mb-0">
|
|
@@ -70,6 +70,10 @@ const messages = defineMessages({
|
|
|
70
70
|
id: 'foto_attivita_politica',
|
|
71
71
|
defaultMessage: "Foto dell'attività politica",
|
|
72
72
|
},
|
|
73
|
+
data_conclusione_incarico_label: {
|
|
74
|
+
id: 'data_conclusione_incarico_label',
|
|
75
|
+
defaultMessage: "Data di fine dell'incarico",
|
|
76
|
+
},
|
|
73
77
|
data_conclusione_incarico: {
|
|
74
78
|
id: 'data_conclusione_incarico',
|
|
75
79
|
defaultMessage:
|
|
@@ -120,16 +124,18 @@ const PersonaRuolo = ({ content }) => {
|
|
|
120
124
|
{content.incarichi_persona[0].data_conclusione_incarico && (
|
|
121
125
|
<RichTextSection
|
|
122
126
|
tag_id="data_conclusione_incarico"
|
|
123
|
-
title={intl.formatMessage(
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
title={intl.formatMessage(
|
|
128
|
+
messages.data_conclusione_incarico_label,
|
|
129
|
+
)}
|
|
126
130
|
>
|
|
127
131
|
<div className="font-serif">
|
|
128
|
-
{
|
|
132
|
+
{`${intl.formatMessage(messages.data_conclusione_incarico, {
|
|
133
|
+
incarico: content.incarichi_persona[0].title,
|
|
134
|
+
})} ${viewDate(
|
|
129
135
|
intl.locale,
|
|
130
136
|
content.incarichi_persona[0].data_conclusione_incarico,
|
|
131
137
|
'DD MMMM Y',
|
|
132
|
-
)}
|
|
138
|
+
)}`}
|
|
133
139
|
</div>
|
|
134
140
|
</RichTextSection>
|
|
135
141
|
)}
|
|
@@ -286,6 +286,7 @@ export default function applyConfig(voltoConfig) {
|
|
|
286
286
|
footerNavigationDepth: 2, //valori possibili: [1,2]. Se impostato ad 1 non verranno mostrati nel footer i link agli elementi contenuti nelle sezioni di primo livello.
|
|
287
287
|
markSpecialLinks: true, // se impostato a false, non marca con icona i link esterni
|
|
288
288
|
markFooterLinks: true, // se impostato a true, viene aggiunta un'icona ai link del footer per renderli riconoscibili
|
|
289
|
+
showContentDateInListingFor: ['Modulo', 'Documento'], // elenco dei content types per i quali mostrare la data di pubblicazione/modifica in listing
|
|
289
290
|
},
|
|
290
291
|
apiExpanders: [
|
|
291
292
|
...config.settings.apiExpanders,
|