@eeacms/volto-cca-policy 0.1.95 → 0.1.97
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 +53 -0
- package/locales/de/LC_MESSAGES/volto.po +3458 -168
- package/locales/eea.cca.pot +141 -0
- package/locales/eea.climateadapt.frontpage.pot +524 -0
- package/locales/eea.climateadapt.menu.pot +628 -0
- package/locales/eea.climateadapt.observatory.frontpage.pot +155 -0
- package/locales/eea.climateadapt.pot +2052 -0
- package/locales/en/LC_MESSAGES/volto.po +3398 -108
- package/locales/es/volto.po +3855 -0
- package/locales/fr/LC_MESSAGES/volto.po +3855 -0
- package/locales/it/LC_MESSAGES/volto.po +3410 -120
- package/locales/pl/LC_MESSAGES/volto.po +3458 -168
- package/locales/ro/LC_MESSAGES/volto.po +3398 -108
- package/locales/volto.pot +110 -110
- package/package.json +3 -2
- package/src/components/MigrationButtons.jsx +20 -3
- package/src/components/index.js +1 -0
- package/src/components/manage/Blocks/CollectionStatistics/CollectionStatsView.jsx +11 -6
- package/src/components/manage/Blocks/Listing/IndicatorCardsListingView.jsx +4 -2
- package/src/components/manage/Blocks/Listing/OrganisationCardsListingView.jsx +19 -10
- package/src/components/theme/Header/LanguageSwitch.jsx +106 -0
- package/src/{helpers/ShareInfo.jsx → components/theme/ShareInfoButton/ShareInfoButton.jsx} +2 -2
- package/src/components/theme/TranslationDisclaimer/LanguagePreference.jsx +85 -0
- package/src/components/theme/TranslationDisclaimer/TranslationDisclaimer.jsx +68 -75
- package/src/components/theme/Views/AdaptationOptionView.jsx +2 -2
- package/src/components/theme/Views/CaseStudyView.jsx +2 -2
- package/src/components/theme/Views/CcaEventView.test.jsx +10 -0
- package/src/components/theme/Views/DatabaseItemView.jsx +23 -7
- package/src/components/theme/Views/ProjectView.jsx +2 -2
- package/src/components/theme/Views/VideoView.jsx +2 -2
- package/src/components/theme/Widgets/GeocharsWidget.jsx +1 -1
- package/src/components/theme/Widgets/utils.js +43 -0
- package/src/customizations/volto/components/manage/Multilingual/README.md +5 -0
- package/src/customizations/volto/components/manage/Multilingual/TranslationObject.jsx +157 -0
- package/src/customizations/volto/components/theme/Header/Header.jsx +1 -1
- package/src/express-middleware.js +1 -0
- package/src/helpers/Constants.jsx +22 -37
- package/src/helpers/ContentMetadata.jsx +2 -2
- package/src/helpers/Utils.jsx +10 -12
- package/src/helpers/index.js +12 -42
- package/src/index.js +9 -0
- package/src/state.js +3 -0
- package/src/store/middleware.js +33 -0
- package/theme/extras/header.overrides +17 -0
- package/theme/globals/site.overrides +4 -0
- package/theme/globals/views.less +6 -0
- package/locales/eea.pot +0 -18
- package/src/components/manage/Blocks/Listing/common.js +0 -3
- package/src/components/theme/LanguageSwitch.jsx +0 -66
- /package/src/components/theme/{Header.jsx → Header/Header.jsx} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,51 @@ 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
|
+
### [0.1.97](https://github.com/eea/volto-cca-policy/compare/0.1.96...0.1.97) - 19 March 2024
|
|
8
|
+
|
|
9
|
+
#### :rocket: New Features
|
|
10
|
+
|
|
11
|
+
- feat: disable language from dropdown if there is no translation available [kreafox - [`016fda3`](https://github.com/eea/volto-cca-policy/commit/016fda3e3896c14a514544dd61c42dc0598c0d40)]
|
|
12
|
+
|
|
13
|
+
#### :bug: Bug Fixes
|
|
14
|
+
|
|
15
|
+
- fix: change language on observatory metadata item [kreafox - [`8c70250`](https://github.com/eea/volto-cca-policy/commit/8c70250944fa7619bdc6082a2c7afb0cbe9fb9fd)]
|
|
16
|
+
|
|
17
|
+
#### :house: Internal changes
|
|
18
|
+
|
|
19
|
+
- style: Automated code fix [eea-jenkins - [`0d2cc5b`](https://github.com/eea/volto-cca-policy/commit/0d2cc5ba821fb00bc8653597698718f9b459128f)]
|
|
20
|
+
- chore: cleanup, remove unused code [kreafox - [`58e9b0f`](https://github.com/eea/volto-cca-policy/commit/58e9b0f00dda8858be02c7afeef6652acb3f55ec)]
|
|
21
|
+
- chore: code cleanup + refactor [kreafox - [`ec71f50`](https://github.com/eea/volto-cca-policy/commit/ec71f50b0da87b28bf36b0ba1d2fee4ad4a55b88)]
|
|
22
|
+
|
|
23
|
+
#### :hammer_and_wrench: Others
|
|
24
|
+
|
|
25
|
+
- Add sync translation button [Tiberiu Ichim - [`d1870df`](https://github.com/eea/volto-cca-policy/commit/d1870df49a3c6e0a450904370eaba0e9fa1d9a46)]
|
|
26
|
+
- Add customization that solves adding translations from the web [Tiberiu Ichim - [`af9a8e1`](https://github.com/eea/volto-cca-policy/commit/af9a8e174622e940bb6d8091e7c7bc3befbab05e)]
|
|
27
|
+
- i18n for database item [kreafox - [`6188d2d`](https://github.com/eea/volto-cca-policy/commit/6188d2d4bc50801790d9bb4fad83aebb31e525ff)]
|
|
28
|
+
### [0.1.96](https://github.com/eea/volto-cca-policy/compare/0.1.95...0.1.96) - 19 March 2024
|
|
29
|
+
|
|
30
|
+
#### :rocket: New Features
|
|
31
|
+
|
|
32
|
+
- feat: add language preference; improve redirect middleware [kreafox - [`f234df8`](https://github.com/eea/volto-cca-policy/commit/f234df8a6fdaa2452d52f111d6a23867500af5ec)]
|
|
33
|
+
|
|
34
|
+
#### :bug: Bug Fixes
|
|
35
|
+
|
|
36
|
+
- fix: don't show lang pref message on search pages [kreafox - [`4ac7219`](https://github.com/eea/volto-cca-policy/commit/4ac7219319e57591df0c14f190bc274394747b8a)]
|
|
37
|
+
- fix(merge): remove files [kreafox - [`8a5e900`](https://github.com/eea/volto-cca-policy/commit/8a5e900aec8f021ede09bc410d5103842181a474)]
|
|
38
|
+
- fix: warning messages; clear timeout [kreafox - [`ad5d86b`](https://github.com/eea/volto-cca-policy/commit/ad5d86b5020fe43185786200b1a41095358b0ca2)]
|
|
39
|
+
- fix: use UniversalLink [kreafox - [`b90a20f`](https://github.com/eea/volto-cca-policy/commit/b90a20fe8b90ec9c31feb16f84b1c84d3c6f65df)]
|
|
40
|
+
|
|
41
|
+
#### :nail_care: Enhancements
|
|
42
|
+
|
|
43
|
+
- change: update search query for contributions [kreafox - [`3adcee8`](https://github.com/eea/volto-cca-policy/commit/3adcee81ef6d8ecd5824ecea02d50572b70fd113)]
|
|
44
|
+
- change: improve redirect middleware [kreafox - [`3971cd2`](https://github.com/eea/volto-cca-policy/commit/3971cd2995d57fbb80a5e23eabd41251f14bcbf8)]
|
|
45
|
+
|
|
46
|
+
#### :hammer_and_wrench: Others
|
|
47
|
+
|
|
48
|
+
- test: update snapshots [kreafox - [`448fb35`](https://github.com/eea/volto-cca-policy/commit/448fb357c514f086d8a412f6dc02618a8dbc6278)]
|
|
49
|
+
- i18n stats block [Tiberiu Ichim - [`3dff196`](https://github.com/eea/volto-cca-policy/commit/3dff19612e3312d15b3dff3e1a2d80f0deebd779)]
|
|
50
|
+
- test: update snapshot [kreafox - [`e80e0c0`](https://github.com/eea/volto-cca-policy/commit/e80e0c030d7f12036a8a3ed4136a5868c31a5f2a)]
|
|
51
|
+
- WIP on redirect middleware [Tiberiu Ichim - [`4d18c23`](https://github.com/eea/volto-cca-policy/commit/4d18c234ae29824b1e946ad7adfad378b309cbbf)]
|
|
7
52
|
### [0.1.95](https://github.com/eea/volto-cca-policy/compare/0.1.94...0.1.95) - 14 March 2024
|
|
8
53
|
|
|
9
54
|
#### :house: Internal changes
|
|
@@ -685,10 +730,13 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
685
730
|
- Refs #260715 rast-block wip [Tripon Eugen - [`f19d54e`](https://github.com/eea/volto-cca-policy/commit/f19d54e0b9a6a86bf344eb85b6a1cda7f3de91bf)]
|
|
686
731
|
- Refs #260715 rast-block wip [Tripon Eugen - [`2828537`](https://github.com/eea/volto-cca-policy/commit/2828537b6c084cd1a82162d552fb4ef025b71f9f)]
|
|
687
732
|
- Refs #260715 rast-block updates [Tripon Eugen - [`1e803e5`](https://github.com/eea/volto-cca-policy/commit/1e803e5bd3d3fb7558f261c76c68866be7beb8b5)]
|
|
733
|
+
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`0a15e1b`](https://github.com/eea/volto-cca-policy/commit/0a15e1b2ad081233685e80d5b3c60a8663f6b896)]
|
|
734
|
+
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`9554e44`](https://github.com/eea/volto-cca-policy/commit/9554e44c92a621a52b2adb5a4830fb084ee5734b)]
|
|
688
735
|
### [0.1.49](https://github.com/eea/volto-cca-policy/compare/0.1.48...0.1.49) - 15 November 2023
|
|
689
736
|
|
|
690
737
|
#### :house: Internal changes
|
|
691
738
|
|
|
739
|
+
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`7b820a6`](https://github.com/eea/volto-cca-policy/commit/7b820a6369c2ddd5203b1a4abe352cb4bb43db7a)]
|
|
692
740
|
- chore: husky, lint-staged use fixed versions [valentinab25 - [`f0a8061`](https://github.com/eea/volto-cca-policy/commit/f0a8061c275c236deb00087c23fac9860a073106)]
|
|
693
741
|
|
|
694
742
|
#### :hammer_and_wrench: Others
|
|
@@ -705,6 +753,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
705
753
|
- Refs #259267 - jenkins test [Tripon Eugen - [`cacd31e`](https://github.com/eea/volto-cca-policy/commit/cacd31e7b1afe0983674ed5c7632d2e1d7fa752e)]
|
|
706
754
|
- Refs #259267 - jenkins [Tripon Eugen - [`5b3affe`](https://github.com/eea/volto-cca-policy/commit/5b3affee8401239de10097884c1b7f2349d15ec0)]
|
|
707
755
|
- Refs #259267 - add When, lead image and title to files [Tripon Eugen - [`2cedb23`](https://github.com/eea/volto-cca-policy/commit/2cedb237f898af9057e13fba94b615ef71077204)]
|
|
756
|
+
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`4d607a5`](https://github.com/eea/volto-cca-policy/commit/4d607a576e9d0a5c34e48c41b409e7df616ee3d6)]
|
|
757
|
+
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`b7f74d5`](https://github.com/eea/volto-cca-policy/commit/b7f74d53513a6edbfbca5cb6d19687929bb1e5db)]
|
|
758
|
+
- test: [JENKINS] Improve cypress time [valentinab25 - [`db65617`](https://github.com/eea/volto-cca-policy/commit/db656173391f65157098d95d388c25f6429753d8)]
|
|
708
759
|
- Refs #259267 - cca event blocks attachments and check not mandatoty fields [Tripon Eugen - [`3138e5a`](https://github.com/eea/volto-cca-policy/commit/3138e5afb5bfbdbed14e27ed457b16867b7fa414)]
|
|
709
760
|
- Refs #256681 - Fix error in CCA Event view menu. ([React Intl] An id must be provided to format a message.) [GhitaB - [`517eeb8`](https://github.com/eea/volto-cca-policy/commit/517eeb817264a47bbfd6b9b7d22aaf22d44ed224)]
|
|
710
761
|
- Refs #161485 - Fix ECDE name conflict. [GhitaB - [`8bfd99f`](https://github.com/eea/volto-cca-policy/commit/8bfd99ff68bb82a04d1c0ed625fa514fcf46289e)]
|
|
@@ -921,6 +972,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
921
972
|
|
|
922
973
|
#### :house: Internal changes
|
|
923
974
|
|
|
975
|
+
- chore: [JENKINS] Remove alpha testing version [valentinab25 - [`ad1ced0`](https://github.com/eea/volto-cca-policy/commit/ad1ced0971ba116c13a3b5fcc039172cc915c919)]
|
|
924
976
|
|
|
925
977
|
#### :hammer_and_wrench: Others
|
|
926
978
|
|
|
@@ -1401,6 +1453,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
1401
1453
|
#### :hammer_and_wrench: Others
|
|
1402
1454
|
|
|
1403
1455
|
- Refs #158294 - Update supported languages list. [GhitaB - [`0a4f91f`](https://github.com/eea/volto-cca-policy/commit/0a4f91f39b7edc367bd4c127d6a8f273c7788361)]
|
|
1456
|
+
- Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`8f1f9ce`](https://github.com/eea/volto-cca-policy/commit/8f1f9ce6c22805670cc0800d3c779b6d619d0f31)]
|
|
1404
1457
|
### [0.1.1](https://github.com/eea/volto-cca-policy/compare/0.1.0...0.1.1) - 13 December 2022
|
|
1405
1458
|
|
|
1406
1459
|
#### :hammer_and_wrench: Others
|