@eeacms/volto-eea-website-policy 1.3.4 → 1.4.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.md CHANGED
@@ -4,6 +4,23 @@ 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
+ ### [1.4.0](https://github.com/eea/volto-eea-website-policy/compare/1.3.4...1.4.0) - 21 February 2023
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat(contact-form): Redirect to /en/about/contact-us - refs #160689 [Alin Voinea - [`14ae1f0`](https://github.com/eea/volto-eea-website-policy/commit/14ae1f01c34f9b146207daee538f5988e1df821e)]
12
+
13
+ #### :bug: Bug Fixes
14
+
15
+ - fix(logout): Fix login / logout redirect loop on demo-www [Alin Voinea - [`ab3d0fe`](https://github.com/eea/volto-eea-website-policy/commit/ab3d0fe4a79ed29b63bb0673f748481439d61b3d)]
16
+
17
+ #### :nail_care: Enhancements
18
+
19
+ - refactor(contact-form): Moved to volto-eea-website-theme - refs #160689 [Alin Voinea - [`e7c2e18`](https://github.com/eea/volto-eea-website-policy/commit/e7c2e1851d2db95055ad11bfdd9c7ccf123195f6)]
20
+
21
+ #### :hammer_and_wrench: Others
22
+
23
+ - Release 1.4.0 [Alin Voinea - [`8add7f3`](https://github.com/eea/volto-eea-website-policy/commit/8add7f353887ade8399ab3ad56c96b9dcaba461b)]
7
24
  ### [1.3.4](https://github.com/eea/volto-eea-website-policy/compare/1.3.3...1.3.4) - 17 February 2023
8
25
 
9
26
  #### :bug: Bug Fixes
@@ -66,7 +83,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
66
83
  #### :hammer_and_wrench: Others
67
84
 
68
85
  - Release 1.1.0 [Alin Voinea - [`0291b3b`](https://github.com/eea/volto-eea-website-policy/commit/0291b3bb7b4c6ab09ca98728885cea4051eac8e3)]
69
- - yarn 3 [Alin Voinea - [`593aa58`](https://github.com/eea/volto-eea-website-policy/commit/593aa58eaa4d28aced0603b7f7dd125c857a6f54)]
70
86
  ### [1.0.4](https://github.com/eea/volto-eea-website-policy/compare/1.0.3...1.0.4) - 22 November 2022
71
87
 
72
88
  #### :nail_care: Enhancements
@@ -112,7 +128,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
112
128
 
113
129
  #### :hammer_and_wrench: Others
114
130
 
115
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`d153f54`](https://github.com/eea/volto-eea-website-policy/commit/d153f54e55e918fa4746e05488c734624eaf14a9)]
116
131
  ### [0.4.0](https://github.com/eea/volto-eea-website-policy/compare/0.3.3...0.4.0) - 19 September 2022
117
132
 
118
133
  #### :hammer_and_wrench: Others
@@ -188,7 +203,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
188
203
  - format index.js [Andrei Grigore - [`db4481a`](https://github.com/eea/volto-eea-website-policy/commit/db4481aeeba59a769272659f33278c902fc69bec)]
189
204
  - Update index.js [Alexandru Ghica - [`dc09886`](https://github.com/eea/volto-eea-website-policy/commit/dc0988640a76a9914381b120f58bb61a9ab1eb39)]
190
205
  - Added externalRoutes [Alexandru Ghica - [`b68135b`](https://github.com/eea/volto-eea-website-policy/commit/b68135b013fafa93a41ea602ea2fad30879abe0f)]
191
- - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`575cca6`](https://github.com/eea/volto-eea-website-policy/commit/575cca674602ca2e1c2a41300c47ba594ff49aa0)]
192
206
  ### [0.1.1](https://github.com/eea/volto-eea-website-policy/compare/0.1.0...0.1.1) - 4 March 2022
193
207
 
194
208
  #### :hammer_and_wrench: Others
@@ -201,5 +215,4 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
201
215
 
202
216
  #### :hammer_and_wrench: Others
203
217
 
204
- - yarn bootstrap [Alin Voinea - [`9b4d197`](https://github.com/eea/volto-eea-website-policy/commit/9b4d197cbc7992566cb36524d190078d5ad21a44)]
205
218
  - Initial commit [Alin Voinea - [`3800692`](https://github.com/eea/volto-eea-website-policy/commit/3800692f7a4de6460815bd6061facacb986cbef0)]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-website-policy",
3
- "version": "1.3.4",
3
+ "version": "1.4.0",
4
4
  "description": "@eeacms/volto-eea-website-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
package/src/index.js CHANGED
@@ -5,7 +5,7 @@ import { addStylingFieldsetSchemaEnhancer } from '@eeacms/volto-eea-website-poli
5
5
 
6
6
  const applyConfig = (config) => {
7
7
  // #158717#note-25 any path that isn't static, en or controlpanel is treated as external
8
- const notInEN = /^(?!.*(\/en|\/static|\/controlpanel|\/cypress)).*$/;
8
+ const notInEN = /^(?!.*(\/en|\/static|\/controlpanel|\/cypress|\/login|\/logout|\/contact-form)).*$/;
9
9
  config.settings.externalRoutes = [
10
10
  ...(config.settings.externalRoutes || []),
11
11
  {
@@ -17,6 +17,9 @@ const applyConfig = (config) => {
17
17
  },
18
18
  ];
19
19
 
20
+ // #160689 Redirect contact-form to contact-us
21
+ config.settings.contactForm = '/en/about/contact-us';
22
+
20
23
  // #137187 Keycloak integration
21
24
  if (runtimeConfig['RAZZLE_KEYCLOAK'] === 'Yes') {
22
25
  config.settings.externalRoutes = [