@eeacms/volto-eea-website-policy 1.13.1 → 1.14.1-beta.1
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/.eslintrc.js +65 -0
- package/.release-it.json +3 -1
- package/CHANGELOG.md +406 -244
- package/jest-addon.config.js +19 -4
- package/jest.setup.js +65 -0
- package/package.json +9 -3
- package/src/components/Blocks/ContextNavigation/index.js +3 -1
- package/src/customizations/volto/components/manage/Toolbar/More.jsx +1 -2
- package/src/index.js +24 -1
- package/.project.eslintrc.js +0 -48
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
const projectRootPath = fs.realpathSync(__dirname + '/../../../');
|
|
4
|
+
|
|
5
|
+
let voltoPath = path.join(projectRootPath, 'node_modules/@plone/volto');
|
|
6
|
+
let configFile;
|
|
7
|
+
if (fs.existsSync(`${projectRootPath}/tsconfig.json`))
|
|
8
|
+
configFile = `${projectRootPath}/tsconfig.json`;
|
|
9
|
+
else if (fs.existsSync(`${projectRootPath}/jsconfig.json`))
|
|
10
|
+
configFile = `${projectRootPath}/jsconfig.json`;
|
|
11
|
+
|
|
12
|
+
if (configFile) {
|
|
13
|
+
const jsConfig = require(configFile).compilerOptions;
|
|
14
|
+
const pathsConfig = jsConfig.paths;
|
|
15
|
+
if (pathsConfig['@plone/volto'])
|
|
16
|
+
voltoPath = `./${jsConfig.baseUrl}/${pathsConfig['@plone/volto'][0]}`;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const AddonConfigurationRegistry = require(`${voltoPath}/addon-registry.js`);
|
|
20
|
+
const reg = new AddonConfigurationRegistry(projectRootPath);
|
|
21
|
+
|
|
22
|
+
// Extends ESlint configuration for adding the aliases to `src` directories in Volto addons
|
|
23
|
+
const addonAliases = Object.keys(reg.packages).map((o) => [
|
|
24
|
+
o,
|
|
25
|
+
reg.packages[o].modulePath,
|
|
26
|
+
]);
|
|
27
|
+
|
|
28
|
+
const addonExtenders = reg.getEslintExtenders().map((m) => require(m));
|
|
29
|
+
|
|
30
|
+
const defaultConfig = {
|
|
31
|
+
extends: `${voltoPath}/.eslintrc`,
|
|
32
|
+
settings: {
|
|
33
|
+
'import/resolver': {
|
|
34
|
+
alias: {
|
|
35
|
+
map: [
|
|
36
|
+
['@plone/volto', '@plone/volto/src'],
|
|
37
|
+
['@plone/volto-slate', '@plone/volto/packages/volto-slate/src'],
|
|
38
|
+
...addonAliases,
|
|
39
|
+
['@package', `${__dirname}/src`],
|
|
40
|
+
['@root', `${__dirname}/src`],
|
|
41
|
+
['~', `${__dirname}/src`],
|
|
42
|
+
],
|
|
43
|
+
extensions: ['.js', '.jsx', '.json'],
|
|
44
|
+
},
|
|
45
|
+
'babel-plugin-root-import': {
|
|
46
|
+
rootPathSuffix: 'src',
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
rules: {
|
|
51
|
+
'react/jsx-no-target-blank': [
|
|
52
|
+
'error',
|
|
53
|
+
{
|
|
54
|
+
allowReferrer: true,
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
const config = addonExtenders.reduce(
|
|
61
|
+
(acc, extender) => extender.modify(acc),
|
|
62
|
+
defaultConfig,
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
module.exports = config;
|
package/.release-it.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"npm": {
|
|
3
|
-
"publish":
|
|
3
|
+
"publish": true,
|
|
4
|
+
"publishArgs": ["--legacy-peer-deps"],
|
|
5
|
+
"installArgs": ["--legacy-peer-deps"]
|
|
4
6
|
},
|
|
5
7
|
"git": {
|
|
6
8
|
"changelog": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs",
|
package/CHANGELOG.md
CHANGED
|
@@ -4,402 +4,564 @@ 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
|
-
|
|
7
|
+
#### [1.14.1-beta.1](https://github.com/eea/volto-eea-website-policy/compare/1.14.1-beta.1...1.14.1-beta.1)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
- bump npm args in release-it [`398a10a`](https://github.com/eea/volto-eea-website-policy/commit/398a10acdeee2b0ae38bb996c2f310bfad867d21)
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
#### [1.14.1-beta.1](https://github.com/eea/volto-eea-website-policy/compare/1.14.1-beta.0...1.14.1-beta.1)
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
> 19 April 2024
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
- Release 1.14.1-beta.1 [`417ea33`](https://github.com/eea/volto-eea-website-policy/commit/417ea33818550b3f94a576e0a8c98dfd1b1b0d30)
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
#### [1.14.1-beta.0](https://github.com/eea/volto-eea-website-policy/compare/1.14.0...1.14.1-beta.0)
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
> 19 April 2024
|
|
20
20
|
|
|
21
|
-
-
|
|
22
|
-
|
|
21
|
+
- azure_login [`c6222f9`](https://github.com/eea/volto-eea-website-policy/commit/c6222f9a97cf7956020f715f76a012051332503b)
|
|
22
|
+
- ensure logout works [`bf0dca4`](https://github.com/eea/volto-eea-website-policy/commit/bf0dca4f615ef687da8309aef1bf894b3fea4938)
|
|
23
|
+
- style: Automated code fix [`6738335`](https://github.com/eea/volto-eea-website-policy/commit/6738335d49068446818199eb5eee352b3ff03f38)
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
#### [1.14.0](https://github.com/eea/volto-eea-website-policy/compare/1.13.1...1.14.0)
|
|
25
26
|
|
|
26
|
-
|
|
27
|
+
> 16 April 2024
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
- Release: Volto 17 support [`#82`](https://github.com/eea/volto-eea-website-policy/pull/82)
|
|
30
|
+
- feat: Volto 17 - refs #264527 [`253a322`](https://github.com/eea/volto-eea-website-policy/commit/253a3221e36500b4f0f3b160bb2455a066ff3ebd)
|
|
31
|
+
- feat: Default view layout restriction to Manager - refs #268249 [`1840c1b`](https://github.com/eea/volto-eea-website-policy/commit/1840c1bd9aae6ce18a23800ce618f8bbe47525ab)
|
|
32
|
+
- Automated release 1.14.0 [`cc963f8`](https://github.com/eea/volto-eea-website-policy/commit/cc963f87ca7572a83efc248ee99c5f90dc4c0206)
|
|
33
|
+
- Update Jenkinsfile [`c962b11`](https://github.com/eea/volto-eea-website-policy/commit/c962b118d4e2dbe6f5fe938cb8aa1fe610a09d3a)
|
|
29
34
|
|
|
30
|
-
|
|
35
|
+
#### [1.13.1](https://github.com/eea/volto-eea-website-policy/compare/1.13.0...1.13.1)
|
|
31
36
|
|
|
32
|
-
|
|
37
|
+
> 28 March 2024
|
|
33
38
|
|
|
34
|
-
-
|
|
35
|
-
|
|
39
|
+
- Release [`#80`](https://github.com/eea/volto-eea-website-policy/pull/80)
|
|
40
|
+
- Automated release 1.13.1 [`3ad23f3`](https://github.com/eea/volto-eea-website-policy/commit/3ad23f3050930e16098b5a5e877391acbba72424)
|
|
41
|
+
- fix: make sure that the content type is sent in workflow change - refs #267108 [`934352d`](https://github.com/eea/volto-eea-website-policy/commit/934352dc16248a7f6a13499ed99910ca5f67d577)
|
|
36
42
|
|
|
37
|
-
####
|
|
43
|
+
#### [1.13.0](https://github.com/eea/volto-eea-website-policy/compare/1.13.0-beta.1...1.13.0)
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
### [1.11.1](https://github.com/eea/volto-eea-website-policy/compare/1.11.0...1.11.1) - 5 December 2023
|
|
45
|
+
> 19 February 2024
|
|
41
46
|
|
|
42
|
-
|
|
47
|
+
- Release [`#77`](https://github.com/eea/volto-eea-website-policy/pull/77)
|
|
48
|
+
- Registered login-authomatic [`#75`](https://github.com/eea/volto-eea-website-policy/pull/75)
|
|
49
|
+
- Release 1.12.0 [`#74`](https://github.com/eea/volto-eea-website-policy/pull/74)
|
|
50
|
+
- feat: inforce required fields on workflow change - refs #262289 [`b6f939d`](https://github.com/eea/volto-eea-website-policy/commit/b6f939d4274b87607ef69adabb3c49b2b5c03354)
|
|
51
|
+
- Automated release 1.12.1 [`2bb8211`](https://github.com/eea/volto-eea-website-policy/commit/2bb82119fb6e81e0fbe90293d4e6d997a3eda6bf)
|
|
52
|
+
- Automated release 1.13.0 [`d491481`](https://github.com/eea/volto-eea-website-policy/commit/d49148144d9d2d0587db69ee09c31e2885ecc71d)
|
|
53
|
+
- Automated release 1.12.2 [`24f98cc`](https://github.com/eea/volto-eea-website-policy/commit/24f98cc0dc487fdb4b5824409fcf184b579d78d3)
|
|
54
|
+
- Release 1.13.0 [`baea684`](https://github.com/eea/volto-eea-website-policy/commit/baea684dc2bb8968ddb6125c4d66bd4cb95c74c8)
|
|
43
55
|
|
|
44
|
-
|
|
56
|
+
#### [1.13.0-beta.1](https://github.com/eea/volto-eea-website-policy/compare/1.12.1...1.13.0-beta.1)
|
|
45
57
|
|
|
46
|
-
|
|
58
|
+
> 17 January 2024
|
|
47
59
|
|
|
48
|
-
####
|
|
60
|
+
#### [1.12.1](https://github.com/eea/volto-eea-website-policy/compare/1.12.0...1.12.1)
|
|
49
61
|
|
|
50
|
-
|
|
62
|
+
> 18 January 2024
|
|
51
63
|
|
|
52
|
-
|
|
64
|
+
- Registered login-authomatic [`#75`](https://github.com/eea/volto-eea-website-policy/pull/75)
|
|
65
|
+
- Automated release 1.12.1 [`2bb8211`](https://github.com/eea/volto-eea-website-policy/commit/2bb82119fb6e81e0fbe90293d4e6d997a3eda6bf)
|
|
53
66
|
|
|
54
|
-
|
|
55
|
-
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`8beb7e7`](https://github.com/eea/volto-eea-website-policy/commit/8beb7e7a12cbc314e56e4b1aceab5ef8d00ca6f3)]
|
|
56
|
-
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`12d3da1`](https://github.com/eea/volto-eea-website-policy/commit/12d3da12e9a3b0882cf55efe2d40f3032724d41b)]
|
|
57
|
-
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`0af0764`](https://github.com/eea/volto-eea-website-policy/commit/0af076467120ed9a80c697931e869837b92a0a4c)]
|
|
58
|
-
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`8662e3e`](https://github.com/eea/volto-eea-website-policy/commit/8662e3e5fc3640d678ce320eb8856a37d419306c)]
|
|
59
|
-
- test: [JENKINS] Improve cypress time [valentinab25 - [`ef1074f`](https://github.com/eea/volto-eea-website-policy/commit/ef1074fdf968cafdf476d4ee4951eb18ebac048a)]
|
|
60
|
-
### [1.10.0](https://github.com/eea/volto-eea-website-policy/compare/1.9.2...1.10.0) - 2 November 2023
|
|
67
|
+
#### [1.12.0](https://github.com/eea/volto-eea-website-policy/compare/1.12.0-beta.4...1.12.0)
|
|
61
68
|
|
|
62
|
-
|
|
69
|
+
> 17 January 2024
|
|
63
70
|
|
|
64
|
-
-
|
|
71
|
+
- Release 1.12.0 [`#74`](https://github.com/eea/volto-eea-website-policy/pull/74)
|
|
72
|
+
- Release [`#73`](https://github.com/eea/volto-eea-website-policy/pull/73)
|
|
73
|
+
- Release [`#71`](https://github.com/eea/volto-eea-website-policy/pull/71)
|
|
74
|
+
- Automated release 1.12.0 [`5c9acad`](https://github.com/eea/volto-eea-website-policy/commit/5c9acadf3442661cd5c24981fe9f23ad7c11ac19)
|
|
65
75
|
|
|
66
|
-
####
|
|
76
|
+
#### [1.12.0-beta.4](https://github.com/eea/volto-eea-website-policy/compare/1.12.0-beta.2...1.12.0-beta.4)
|
|
67
77
|
|
|
68
|
-
|
|
69
|
-
- chore: husky, lint-staged use fixed versions [valentinab25 - [`44ac62e`](https://github.com/eea/volto-eea-website-policy/commit/44ac62e6f8b7e5b7d57edfbf82812c91dc5d6bba)]
|
|
70
|
-
- chore:volto 16 in tests, update docs, fix stylelint overrides [valentinab25 - [`b9a46d8`](https://github.com/eea/volto-eea-website-policy/commit/b9a46d85a64739188a3df9e8cbe645418b5d8b0a)]
|
|
78
|
+
> 12 January 2024
|
|
71
79
|
|
|
72
|
-
|
|
80
|
+
#### [1.12.0-beta.2](https://github.com/eea/volto-eea-website-policy/compare/1.12.0-beta.1...1.12.0-beta.2)
|
|
73
81
|
|
|
74
|
-
|
|
82
|
+
> 12 January 2024
|
|
75
83
|
|
|
76
|
-
-
|
|
84
|
+
- test: [JENKINS] fail with logs on coverage [`5cf68f8`](https://github.com/eea/volto-eea-website-policy/commit/5cf68f8db34448d10fe993d16541ad9732434cc8)
|
|
77
85
|
|
|
78
|
-
|
|
86
|
+
#### [1.12.0-beta.1](https://github.com/eea/volto-eea-website-policy/compare/1.11.1...1.12.0-beta.1)
|
|
79
87
|
|
|
80
|
-
|
|
88
|
+
> 12 January 2024
|
|
81
89
|
|
|
82
|
-
-
|
|
90
|
+
- Registered fallback_login [`9a774af`](https://github.com/eea/volto-eea-website-policy/commit/9a774af60a43a93cb3d398a97867a1fbe5a41a2a)
|
|
83
91
|
|
|
84
|
-
####
|
|
92
|
+
#### [1.11.1](https://github.com/eea/volto-eea-website-policy/compare/1.11.0...1.11.1)
|
|
85
93
|
|
|
86
|
-
|
|
94
|
+
> 5 December 2023
|
|
87
95
|
|
|
88
|
-
|
|
96
|
+
- Release [`#73`](https://github.com/eea/volto-eea-website-policy/pull/73)
|
|
97
|
+
- Automated release 1.11.1 [`6a35e66`](https://github.com/eea/volto-eea-website-policy/commit/6a35e668cb9a64f0401de21a4e29818a8456ca70)
|
|
98
|
+
- feat: add the password reset page to notInEN - refs #259024 [`ead6f60`](https://github.com/eea/volto-eea-website-policy/commit/ead6f60037110e98e89555fc165e9a226eef35fb)
|
|
89
99
|
|
|
90
|
-
|
|
91
|
-
### [1.9.0](https://github.com/eea/volto-eea-website-policy/compare/1.8.0...1.9.0) - 1 September 2023
|
|
100
|
+
#### [1.11.0](https://github.com/eea/volto-eea-website-policy/compare/1.10.0...1.11.0)
|
|
92
101
|
|
|
93
|
-
|
|
102
|
+
> 27 November 2023
|
|
94
103
|
|
|
95
|
-
-
|
|
104
|
+
- Release [`#71`](https://github.com/eea/volto-eea-website-policy/pull/71)
|
|
105
|
+
- test: [JENKINS] Improve cypress time [`ef1074f`](https://github.com/eea/volto-eea-website-policy/commit/ef1074fdf968cafdf476d4ee4951eb18ebac048a)
|
|
106
|
+
- test: [JENKINS] Run cypress in started frontend container [`12d3da1`](https://github.com/eea/volto-eea-website-policy/commit/12d3da12e9a3b0882cf55efe2d40f3032724d41b)
|
|
107
|
+
- Automated release 1.11.0 [`a6e5fc5`](https://github.com/eea/volto-eea-website-policy/commit/a6e5fc5e919cf26615934a1d895dd39785d1f96b)
|
|
108
|
+
- feat: include data visualizations blocks - refs #261264 [`5bfc1fb`](https://github.com/eea/volto-eea-website-policy/commit/5bfc1fb0deb6b17c4dadbe3c1ff0c35eb3b32bfd)
|
|
109
|
+
- test: [JENKINS] Use java17 for sonarqube scanner [`8beb7e7`](https://github.com/eea/volto-eea-website-policy/commit/8beb7e7a12cbc314e56e4b1aceab5ef8d00ca6f3)
|
|
110
|
+
- Release 1.11.0 [`3249160`](https://github.com/eea/volto-eea-website-policy/commit/3249160422c6c6e0cf14823b614f8885101a847a)
|
|
111
|
+
- test: [JENKINS] Add cpu limit on cypress docker [`0af0764`](https://github.com/eea/volto-eea-website-policy/commit/0af076467120ed9a80c697931e869837b92a0a4c)
|
|
112
|
+
- test: [JENKINS] Increase shm-size to cypress docker [`8662e3e`](https://github.com/eea/volto-eea-website-policy/commit/8662e3e5fc3640d678ce320eb8856a37d419306c)
|
|
96
113
|
|
|
97
|
-
####
|
|
114
|
+
#### [1.10.0](https://github.com/eea/volto-eea-website-policy/compare/1.9.2...1.10.0)
|
|
98
115
|
|
|
99
|
-
|
|
116
|
+
> 2 November 2023
|
|
100
117
|
|
|
101
|
-
|
|
118
|
+
- Release 1.10.0 [`#69`](https://github.com/eea/volto-eea-website-policy/pull/69)
|
|
119
|
+
- feat: remove working copy and translations for ims indicators - refs #258076 [`52d588d`](https://github.com/eea/volto-eea-website-policy/commit/52d588df35dc644eba1268309d95126700c0b6e5)
|
|
120
|
+
- chore: [JENKINS] Refactor automated testing [`8b1b422`](https://github.com/eea/volto-eea-website-policy/commit/8b1b42297b46d9fb7325589b3bd043233c0d66e9)
|
|
121
|
+
- chore:volto 16 in tests, update docs, fix stylelint overrides [`b9a46d8`](https://github.com/eea/volto-eea-website-policy/commit/b9a46d85a64739188a3df9e8cbe645418b5d8b0a)
|
|
122
|
+
- Automated release 1.10.0 [`7bda1a3`](https://github.com/eea/volto-eea-website-policy/commit/7bda1a37448419f2fc63aa0c664d99ba44f596c7)
|
|
123
|
+
- chore: husky, lint-staged use fixed versions [`44ac62e`](https://github.com/eea/volto-eea-website-policy/commit/44ac62e6f8b7e5b7d57edfbf82812c91dc5d6bba)
|
|
102
124
|
|
|
103
|
-
|
|
104
|
-
- test: Add cypress test for customized Workflow - refs #256563 [Alin Voinea - [`e9eab09`](https://github.com/eea/volto-eea-website-policy/commit/e9eab09f53393589fe6c0d4a318638e3eb7b7eae)]
|
|
105
|
-
- test: Add jest tests for FrequencyOfDissemination widget [Alin Voinea - [`d28b2fe`](https://github.com/eea/volto-eea-website-policy/commit/d28b2febb74f6846ebba277d32d38deffe2fc023)]
|
|
106
|
-
- i18n: Add en [Alin Voinea - [`d5be8b1`](https://github.com/eea/volto-eea-website-policy/commit/d5be8b12e7c007fb88ae9d240ab45ba81d427772)]
|
|
107
|
-
- test: Update Makefile and docker-compose to align it with Jenkinsfile [valentinab25 - [`b2ee189`](https://github.com/eea/volto-eea-website-policy/commit/b2ee18920646dc1854a69faf931c87e814eddb5a)]
|
|
108
|
-
### [1.8.0](https://github.com/eea/volto-eea-website-policy/compare/1.7.3...1.8.0) - 15 August 2023
|
|
125
|
+
#### [1.9.2](https://github.com/eea/volto-eea-website-policy/compare/1.9.1...1.9.2)
|
|
109
126
|
|
|
110
|
-
|
|
127
|
+
> 29 September 2023
|
|
111
128
|
|
|
112
|
-
-
|
|
129
|
+
- Release [`#67`](https://github.com/eea/volto-eea-website-policy/pull/67)
|
|
130
|
+
- docs: Update README and DEVELOP [`552a79b`](https://github.com/eea/volto-eea-website-policy/commit/552a79ba30db6327bbf102e33650b24df7f71161)
|
|
131
|
+
- Automated release 1.9.2 [`ed296f3`](https://github.com/eea/volto-eea-website-policy/commit/ed296f392803c47df41e055861c1c63a12b86c35)
|
|
113
132
|
|
|
114
|
-
|
|
133
|
+
#### [1.9.1](https://github.com/eea/volto-eea-website-policy/compare/1.9.0...1.9.1)
|
|
115
134
|
|
|
116
|
-
|
|
135
|
+
> 22 September 2023
|
|
117
136
|
|
|
118
|
-
-
|
|
137
|
+
- Release [`#65`](https://github.com/eea/volto-eea-website-policy/pull/65)
|
|
138
|
+
- remove tableau and ArcGIS blocks - refs #257723 [`#64`](https://github.com/eea/volto-eea-website-policy/pull/64)
|
|
139
|
+
- test: EN locales, pre-commit fix, feature PRs checks Refs #257193 [`06e1fcf`](https://github.com/eea/volto-eea-website-policy/commit/06e1fcfdb77b676f815ac59c55abbf9ae94e53b8)
|
|
140
|
+
- fix: disable tableau and ArcGIS blocks - refs #257723 [`b3cad61`](https://github.com/eea/volto-eea-website-policy/commit/b3cad61d168c05b6779ad0fe61d4f00da5da1dc4)
|
|
141
|
+
- Automated release 1.9.1 [`72ddcbd`](https://github.com/eea/volto-eea-website-policy/commit/72ddcbd5d49cf3116de07e075726532ea16d94ca)
|
|
142
|
+
- Automated release 1.9.1 [`6f656c9`](https://github.com/eea/volto-eea-website-policy/commit/6f656c95dbf1272865f78195039df1cec3cf8521)
|
|
143
|
+
- style: lint-staged reorder in package.json [`f8992b0`](https://github.com/eea/volto-eea-website-policy/commit/f8992b09c3f578fb7c16b7ddc7094319ec7602b2)
|
|
119
144
|
|
|
120
|
-
|
|
145
|
+
#### [1.9.0](https://github.com/eea/volto-eea-website-policy/compare/1.8.0...1.9.0)
|
|
121
146
|
|
|
122
|
-
|
|
147
|
+
> 1 September 2023
|
|
123
148
|
|
|
124
|
-
|
|
149
|
+
- Release [`#63`](https://github.com/eea/volto-eea-website-policy/pull/63)
|
|
150
|
+
- feat: Create new version workflow redirect - refs #256563 [`1fede39`](https://github.com/eea/volto-eea-website-policy/commit/1fede390b90f3a66a60031a106e78d50cc430cd6)
|
|
151
|
+
- test: Add jest tests for FrequencyOfDissemination widget [`d28b2fe`](https://github.com/eea/volto-eea-website-policy/commit/d28b2febb74f6846ebba277d32d38deffe2fc023)
|
|
152
|
+
- Automated release 1.8.1 [`913d8d4`](https://github.com/eea/volto-eea-website-policy/commit/913d8d4e5ee6878834c33ff2cf85a71038f08ad3)
|
|
153
|
+
- i18n: Add en [`d5be8b1`](https://github.com/eea/volto-eea-website-policy/commit/d5be8b12e7c007fb88ae9d240ab45ba81d427772)
|
|
154
|
+
- test: Update Makefile and docker-compose to align it with Jenkinsfile [`b2ee189`](https://github.com/eea/volto-eea-website-policy/commit/b2ee18920646dc1854a69faf931c87e814eddb5a)
|
|
155
|
+
- Automated release 1.9.0 [`026a944`](https://github.com/eea/volto-eea-website-policy/commit/026a944753e6bc6b8ab4d16e022dafe648368907)
|
|
156
|
+
- test: Add cypress test for customized Workflow - refs #256563 [`e9eab09`](https://github.com/eea/volto-eea-website-policy/commit/e9eab09f53393589fe6c0d4a318638e3eb7b7eae)
|
|
157
|
+
- Release 1.9.0 [`428c55b`](https://github.com/eea/volto-eea-website-policy/commit/428c55b1fd9603a6ed57d858d704fc9337421f41)
|
|
158
|
+
- style: Fix eslint [`a634acf`](https://github.com/eea/volto-eea-website-policy/commit/a634acf05c0279fafa825783dd236123c2edc0f6)
|
|
125
159
|
|
|
126
|
-
|
|
160
|
+
#### [1.8.0](https://github.com/eea/volto-eea-website-policy/compare/1.7.3...1.8.0)
|
|
127
161
|
|
|
128
|
-
|
|
162
|
+
> 15 August 2023
|
|
129
163
|
|
|
130
|
-
-
|
|
164
|
+
- Release [`#61`](https://github.com/eea/volto-eea-website-policy/pull/61)
|
|
165
|
+
- refactor: Remove institutional_mandate widget - refs #256516 [`#60`](https://github.com/eea/volto-eea-website-policy/pull/60)
|
|
166
|
+
- refactor: Move DataProvenance code to dedicated widget addon - refs #256379 [`3e7b046`](https://github.com/eea/volto-eea-website-policy/commit/3e7b046f3396c9aa73757916c6f02156aa18a6c2)
|
|
167
|
+
- Automated release 1.8.0 [`6acde3b`](https://github.com/eea/volto-eea-website-policy/commit/6acde3b8db592246ed7d6ae265e4bffa25a3185f)
|
|
131
168
|
|
|
132
|
-
####
|
|
169
|
+
#### [1.7.3](https://github.com/eea/volto-eea-website-policy/compare/1.7.2...1.7.3)
|
|
133
170
|
|
|
134
|
-
|
|
135
|
-
### [1.7.0](https://github.com/eea/volto-eea-website-policy/compare/1.6.3...1.7.0) - 16 June 2023
|
|
171
|
+
> 1 August 2023
|
|
136
172
|
|
|
137
|
-
|
|
173
|
+
- Fix release [`#59`](https://github.com/eea/volto-eea-website-policy/pull/59)
|
|
174
|
+
- docs: Cleanup Makefile, update DEVELOP documentation, i18n - refs #25… [`#58`](https://github.com/eea/volto-eea-website-policy/pull/58)
|
|
175
|
+
- docs: Cleanup Makefile, update DEVELOP documentation, i18n - refs #254894 [`13f903c`](https://github.com/eea/volto-eea-website-policy/commit/13f903c2e998d75a3fb575b262196c0826bfa021)
|
|
176
|
+
- Automated release 1.7.3 [`0d6ec91`](https://github.com/eea/volto-eea-website-policy/commit/0d6ec9173936732b52128c70dde2d49fb9b93c29)
|
|
177
|
+
- Automated release 1.7.3 [`5ab10f3`](https://github.com/eea/volto-eea-website-policy/commit/5ab10f3c694c59f08cd85b54b634d07808c7bbb7)
|
|
138
178
|
|
|
139
|
-
|
|
179
|
+
#### [1.7.2](https://github.com/eea/volto-eea-website-policy/compare/1.7.1...1.7.2)
|
|
140
180
|
|
|
141
|
-
|
|
181
|
+
> 29 July 2023
|
|
142
182
|
|
|
143
|
-
-
|
|
144
|
-
-
|
|
145
|
-
- call appendGroup with all parameters [Miu Razvan - [`09a914e`](https://github.com/eea/volto-eea-website-policy/commit/09a914e695c0f05a3076c2e7ae5c708dac2a7787)]
|
|
146
|
-
- changed gropup of plotly to data_visualizations [Miu Razvan - [`6974dc4`](https://github.com/eea/volto-eea-website-policy/commit/6974dc4126d876510bb8ec63732bf350cf79d1ab)]
|
|
147
|
-
### [1.6.3](https://github.com/eea/volto-eea-website-policy/compare/1.6.2...1.6.3) - 13 June 2023
|
|
183
|
+
- chore: set DataProvenace based on behavior [`#57`](https://github.com/eea/volto-eea-website-policy/pull/57)
|
|
184
|
+
- Automated release 1.7.2 [`becff35`](https://github.com/eea/volto-eea-website-policy/commit/becff35fa516ec2f92302a8d0e70fb9d64a42ccd)
|
|
148
185
|
|
|
149
|
-
####
|
|
186
|
+
#### [1.7.1](https://github.com/eea/volto-eea-website-policy/compare/1.7.0...1.7.1)
|
|
150
187
|
|
|
151
|
-
|
|
188
|
+
> 24 July 2023
|
|
152
189
|
|
|
153
|
-
|
|
190
|
+
- Release [`#56`](https://github.com/eea/volto-eea-website-policy/pull/56)
|
|
191
|
+
- test: add unit tests - refs #254313 [`b51c1a9`](https://github.com/eea/volto-eea-website-policy/commit/b51c1a95f6a0624e75d168627d80009762ac4803)
|
|
192
|
+
- feat: Add IMSv4 custom widgets - refs #145772 [`367f0b6`](https://github.com/eea/volto-eea-website-policy/commit/367f0b611d6f69f217b1b0aaa25783968b8911ba)
|
|
193
|
+
- Automated release 1.7.1 [`af46adc`](https://github.com/eea/volto-eea-website-policy/commit/af46adc4475a41362d3ad4be8699835a0d7fc44f)
|
|
194
|
+
- chore: Disable InstitutionalMandate DataProvenance widgets for now as there are issues - refs #160747 [`bbdc3fb`](https://github.com/eea/volto-eea-website-policy/commit/bbdc3fb85a6ebd04205d763a75a1288f00efa634)
|
|
154
195
|
|
|
155
|
-
####
|
|
196
|
+
#### [1.7.0](https://github.com/eea/volto-eea-website-policy/compare/1.6.3...1.7.0)
|
|
156
197
|
|
|
157
|
-
|
|
158
|
-
- test: Fix test config, coverage Refs #253277 [valentinab25 - [`da8efc5`](https://github.com/eea/volto-eea-website-policy/commit/da8efc51bf6938b6f5cecb522a164279b06b83af)]
|
|
159
|
-
### [1.6.1](https://github.com/eea/volto-eea-website-policy/compare/1.6.0...1.6.1) - 23 May 2023
|
|
198
|
+
> 16 June 2023
|
|
160
199
|
|
|
161
|
-
|
|
200
|
+
- feat: move tableau and eea-map to data visualization group [`#54`](https://github.com/eea/volto-eea-website-policy/pull/54)
|
|
201
|
+
- Automated release 1.6.4 [`9e81b47`](https://github.com/eea/volto-eea-website-policy/commit/9e81b472b184482a25c3f20da4ed95b1e86ed5bb)
|
|
202
|
+
- Automated release 1.7.0 [`ff1bda3`](https://github.com/eea/volto-eea-website-policy/commit/ff1bda31bc3f9f210a52863d35a0d558a2c69240)
|
|
203
|
+
- changed gropup of plotly to data_visualizations [`6974dc4`](https://github.com/eea/volto-eea-website-policy/commit/6974dc4126d876510bb8ec63732bf350cf79d1ab)
|
|
204
|
+
- chore: Move IMS dataFigure to data_visualizations group - refs #253827 [`0d782f9`](https://github.com/eea/volto-eea-website-policy/commit/0d782f90c72080f48f14f5f28a6ef63fba12cc7c)
|
|
205
|
+
- Release 1.7.0 [`93c05fa`](https://github.com/eea/volto-eea-website-policy/commit/93c05fae93b075223ef3f232963b7b4c9c682f42)
|
|
206
|
+
- fix overrideBlocks [`6e1a27e`](https://github.com/eea/volto-eea-website-policy/commit/6e1a27e15d1576643be6b88d2b8e888a538fc6e5)
|
|
207
|
+
- call appendGroup with all parameters [`09a914e`](https://github.com/eea/volto-eea-website-policy/commit/09a914e695c0f05a3076c2e7ae5c708dac2a7787)
|
|
162
208
|
|
|
163
|
-
####
|
|
209
|
+
#### [1.6.3](https://github.com/eea/volto-eea-website-policy/compare/1.6.2...1.6.3)
|
|
164
210
|
|
|
165
|
-
|
|
166
|
-
- change(blocks): moved layout settings block within volto-eea-website-theme #48 from eea/252559-policy-refactoring [ichim-david - [`45fee8e`](https://github.com/eea/volto-eea-website-policy/commit/45fee8e68d1a18d7be77f33a8207524ae6f7d220)]
|
|
167
|
-
- change(blocks): moved layout settings block from volto-eea-policy to volto-eea-website-theme [David Ichim - [`37bc97d`](https://github.com/eea/volto-eea-website-policy/commit/37bc97d0a3db77fa8f31e750be179cb287814217)]
|
|
211
|
+
> 13 June 2023
|
|
168
212
|
|
|
169
|
-
|
|
213
|
+
- Release [`#53`](https://github.com/eea/volto-eea-website-policy/pull/53)
|
|
214
|
+
- Automated release 1.6.3 [`3a2952c`](https://github.com/eea/volto-eea-website-policy/commit/3a2952c654e507ec3e58919f8738d3af280226d5)
|
|
215
|
+
- fix(notInEn): Fix regex to consider internal path only if the path starts with /en - refs #254258 [`9e9ecd0`](https://github.com/eea/volto-eea-website-policy/commit/9e9ecd00a13ebe1767d11a145fc7869c36034e9e)
|
|
170
216
|
|
|
171
|
-
|
|
172
|
-
- prettier fix [Miu Razvan - [`eef9199`](https://github.com/eea/volto-eea-website-policy/commit/eef91996a480b371da69506700285c12adb69167)]
|
|
173
|
-
- prettier fix [Miu Razvan - [`0a3bf2d`](https://github.com/eea/volto-eea-website-policy/commit/0a3bf2de5103fd898e68491207751d39c8510d08)]
|
|
174
|
-
- other: disable tableau and map embed blocks [Miu Razvan - [`a032766`](https://github.com/eea/volto-eea-website-policy/commit/a0327664c25c55beb544dd22ca2e9d5cc6380acd)]
|
|
175
|
-
### [1.5.0](https://github.com/eea/volto-eea-website-policy/compare/1.4.0...1.5.0) - 24 March 2023
|
|
217
|
+
#### [1.6.2](https://github.com/eea/volto-eea-website-policy/compare/1.6.1...1.6.2)
|
|
176
218
|
|
|
177
|
-
|
|
219
|
+
> 13 June 2023
|
|
178
220
|
|
|
179
|
-
-
|
|
221
|
+
- Release [`#52`](https://github.com/eea/volto-eea-website-policy/pull/52)
|
|
222
|
+
- Automated release 1.6.2 [`ada3c9d`](https://github.com/eea/volto-eea-website-policy/commit/ada3c9dee7af871ec41790356ae76aa424354c6b)
|
|
223
|
+
- test: Fix test config, coverage Refs #253277 [`da8efc5`](https://github.com/eea/volto-eea-website-policy/commit/da8efc51bf6938b6f5cecb522a164279b06b83af)
|
|
224
|
+
- test: jest should look for addons in node_modules Refs #253277 [`e18d541`](https://github.com/eea/volto-eea-website-policy/commit/e18d541daea12f175f78ff75ba8ef2d5a2e5f0b0)
|
|
180
225
|
|
|
181
|
-
####
|
|
226
|
+
#### [1.6.1](https://github.com/eea/volto-eea-website-policy/compare/1.6.0...1.6.1)
|
|
182
227
|
|
|
183
|
-
|
|
228
|
+
> 23 May 2023
|
|
184
229
|
|
|
185
|
-
|
|
230
|
+
- other: restrict volto-datablocks blocks [`#50`](https://github.com/eea/volto-eea-website-policy/pull/50)
|
|
231
|
+
- Automated release 1.6.1 [`88d8d67`](https://github.com/eea/volto-eea-website-policy/commit/88d8d6793092a6539c8ed8fb82ecbbc496354027)
|
|
186
232
|
|
|
187
|
-
|
|
188
|
-
- test(Jenkinsfile): Use latest stable volto for testing [Alin Voinea - [`a8f7123`](https://github.com/eea/volto-eea-website-policy/commit/a8f712364187f9638886667c249fa102cb49b5c0)]
|
|
189
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`124a8f8`](https://github.com/eea/volto-eea-website-policy/commit/124a8f8ad4ced507aeec27012d725f2e2b977e08)]
|
|
190
|
-
### [1.4.0](https://github.com/eea/volto-eea-website-policy/compare/1.3.4...1.4.0) - 21 February 2023
|
|
233
|
+
#### [1.6.0](https://github.com/eea/volto-eea-website-policy/compare/1.5.0...1.6.0)
|
|
191
234
|
|
|
192
|
-
|
|
235
|
+
> 22 May 2023
|
|
193
236
|
|
|
194
|
-
-
|
|
237
|
+
- disable tableau and map embed blocks [`#49`](https://github.com/eea/volto-eea-website-policy/pull/49)
|
|
238
|
+
- change(blocks): moved layout settings block from volto-eea-policy to volto-eea-website-theme [`37bc97d`](https://github.com/eea/volto-eea-website-policy/commit/37bc97d0a3db77fa8f31e750be179cb287814217)
|
|
239
|
+
- Automated release 1.5.1 [`4d3c10e`](https://github.com/eea/volto-eea-website-policy/commit/4d3c10efc80b8e02df92a7d8cdf4ef48ad01e96a)
|
|
240
|
+
- change(blocks): moved most used block config within eea-website-theme [`b18d5ce`](https://github.com/eea/volto-eea-website-policy/commit/b18d5ce958c7e7f814969df8051d65c49133ca88)
|
|
241
|
+
- Automated release 1.6.0 [`528e714`](https://github.com/eea/volto-eea-website-policy/commit/528e7146085329a1d3b5385604d163c2c8631280)
|
|
242
|
+
- other: disable tableau and map embed blocks [`a032766`](https://github.com/eea/volto-eea-website-policy/commit/a0327664c25c55beb544dd22ca2e9d5cc6380acd)
|
|
243
|
+
- prettier fix [`0a3bf2d`](https://github.com/eea/volto-eea-website-policy/commit/0a3bf2de5103fd898e68491207751d39c8510d08)
|
|
244
|
+
- prettier fix [`eef9199`](https://github.com/eea/volto-eea-website-policy/commit/eef91996a480b371da69506700285c12adb69167)
|
|
245
|
+
- Increased package version [`174b77e`](https://github.com/eea/volto-eea-website-policy/commit/174b77eccf7ba80286edee8ea30c1a3f2523b200)
|
|
246
|
+
- change(blocks): moved layout settings block within volto-eea-website-theme #48 from eea/252559-policy-refactoring [`45fee8e`](https://github.com/eea/volto-eea-website-policy/commit/45fee8e68d1a18d7be77f33a8207524ae6f7d220)
|
|
195
247
|
|
|
196
|
-
####
|
|
248
|
+
#### [1.5.0](https://github.com/eea/volto-eea-website-policy/compare/1.4.0...1.5.0)
|
|
197
249
|
|
|
198
|
-
|
|
250
|
+
> 24 March 2023
|
|
199
251
|
|
|
200
|
-
|
|
252
|
+
- Release [`#47`](https://github.com/eea/volto-eea-website-policy/pull/47)
|
|
253
|
+
- chore(cleanup): Remove Volto core customizations as the issues were fixed in Volto Core 16.18.0 - refs #142686 [`d0824b2`](https://github.com/eea/volto-eea-website-policy/commit/d0824b2e14d2a18bfb161946c6d0090e11261a53)
|
|
254
|
+
- Automated release 1.5.0 [`119a493`](https://github.com/eea/volto-eea-website-policy/commit/119a493eaf31dffdaf58fc5d0bc39b51121ba3e3)
|
|
255
|
+
- test(Jenkinsfile): Use latest stable volto for testing [`a8f7123`](https://github.com/eea/volto-eea-website-policy/commit/a8f712364187f9638886667c249fa102cb49b5c0)
|
|
256
|
+
- Release 1.5.0 [`a3dea8e`](https://github.com/eea/volto-eea-website-policy/commit/a3dea8ea15cb8d2a876dc10da926ece3a5707ea9)
|
|
257
|
+
- fix(anchors): Keep anchor links internal - refs #142686 [`402fb9b`](https://github.com/eea/volto-eea-website-policy/commit/402fb9b36333d80cd3c21337c0c079cb642d12b8)
|
|
258
|
+
- Add Sonarqube tag using eea-website-frontend addons list [`124a8f8`](https://github.com/eea/volto-eea-website-policy/commit/124a8f8ad4ced507aeec27012d725f2e2b977e08)
|
|
201
259
|
|
|
202
|
-
|
|
260
|
+
#### [1.4.0](https://github.com/eea/volto-eea-website-policy/compare/1.3.4...1.4.0)
|
|
203
261
|
|
|
204
|
-
|
|
262
|
+
> 21 February 2023
|
|
205
263
|
|
|
206
|
-
- Release
|
|
207
|
-
|
|
264
|
+
- Release [`#45`](https://github.com/eea/volto-eea-website-policy/pull/45)
|
|
265
|
+
- feat(contact-form): Redirect to /en/about/contact-us - refs #160689 [`14ae1f0`](https://github.com/eea/volto-eea-website-policy/commit/14ae1f01c34f9b146207daee538f5988e1df821e)
|
|
266
|
+
- refactor(contact-form): Moved to volto-eea-website-theme - refs #160689 [`e7c2e18`](https://github.com/eea/volto-eea-website-policy/commit/e7c2e1851d2db95055ad11bfdd9c7ccf123195f6)
|
|
267
|
+
- Automated release 1.4.0 [`bc50cdb`](https://github.com/eea/volto-eea-website-policy/commit/bc50cdb3f11328d6aef1525168bc1ce782fc5849)
|
|
268
|
+
- Automated release 1.3.5 [`c835da5`](https://github.com/eea/volto-eea-website-policy/commit/c835da5e4c317e82ef0a0c6744132330a4768384)
|
|
269
|
+
- Release 1.4.0 [`8add7f3`](https://github.com/eea/volto-eea-website-policy/commit/8add7f353887ade8399ab3ad56c96b9dcaba461b)
|
|
270
|
+
- fix(logout): Fix login / logout redirect loop on demo-www [`ab3d0fe`](https://github.com/eea/volto-eea-website-policy/commit/ab3d0fe4a79ed29b63bb0673f748481439d61b3d)
|
|
208
271
|
|
|
209
|
-
####
|
|
272
|
+
#### [1.3.4](https://github.com/eea/volto-eea-website-policy/compare/1.3.3...1.3.4)
|
|
210
273
|
|
|
211
|
-
|
|
212
|
-
- fix(LinkView): Try to use window.location.replace to redirect Links - refs #158717 [Alin Voinea - [`7210193`](https://github.com/eea/volto-eea-website-policy/commit/7210193090295fcd116aa831296b70238508f037)]
|
|
213
|
-
- fix(LinkView): Copy unchanged from volto 16.11.0 [Alin Voinea - [`3cf2634`](https://github.com/eea/volto-eea-website-policy/commit/3cf263464f1729b503561088582ca6657212fbd1)]
|
|
274
|
+
> 17 February 2023
|
|
214
275
|
|
|
215
|
-
|
|
276
|
+
- Release: Fix link view redirect - refs #158717 [`#43`](https://github.com/eea/volto-eea-website-policy/pull/43)
|
|
277
|
+
- Fix link view redirect - refs #158717 [`#42`](https://github.com/eea/volto-eea-website-policy/pull/42)
|
|
278
|
+
- fix(LinkView): Copy unchanged from volto 16.11.0 [`3cf2634`](https://github.com/eea/volto-eea-website-policy/commit/3cf263464f1729b503561088582ca6657212fbd1)
|
|
279
|
+
- Automated release 1.3.4 [`f6834a1`](https://github.com/eea/volto-eea-website-policy/commit/f6834a141bbbac251968e64e9a367e386d0ed684)
|
|
280
|
+
- fix(LinkView): Consider /en/ only links as internal - refs #158717 [`a39598a`](https://github.com/eea/volto-eea-website-policy/commit/a39598ade9430bc9c3f20d63e33cb19774cd365a)
|
|
281
|
+
- fix(LinkView): Try to use window.location.replace to redirect Links - refs #158717 [`7210193`](https://github.com/eea/volto-eea-website-policy/commit/7210193090295fcd116aa831296b70238508f037)
|
|
216
282
|
|
|
217
|
-
####
|
|
283
|
+
#### [1.3.3](https://github.com/eea/volto-eea-website-policy/compare/1.3.2...1.3.3)
|
|
218
284
|
|
|
219
|
-
|
|
285
|
+
> 17 February 2023
|
|
220
286
|
|
|
221
|
-
|
|
287
|
+
- Release: Fix externalRoutes [`#41`](https://github.com/eea/volto-eea-website-policy/pull/41)
|
|
288
|
+
- fix(externalRoutes): Consider everything outside /en as external routes - refs #158717 [`cfa1bb7`](https://github.com/eea/volto-eea-website-policy/commit/cfa1bb756d2bf73cd492f1995116e2a17b36d414)
|
|
289
|
+
- Automated release 1.3.3 [`181dde5`](https://github.com/eea/volto-eea-website-policy/commit/181dde5d3e74799bb7a5d9c6f729dfb2734f6d6f)
|
|
290
|
+
- Do not override externalRoutes [`feaa112`](https://github.com/eea/volto-eea-website-policy/commit/feaa1127ca81e67adafc3714a9bd5bcadb4af5a9)
|
|
222
291
|
|
|
223
|
-
|
|
224
|
-
### [1.3.2](https://github.com/eea/volto-eea-website-policy/compare/1.3.1...1.3.2) - 16 February 2023
|
|
292
|
+
#### [1.3.2](https://github.com/eea/volto-eea-website-policy/compare/1.3.1...1.3.2)
|
|
225
293
|
|
|
226
|
-
|
|
294
|
+
> 16 February 2023
|
|
227
295
|
|
|
228
|
-
-
|
|
296
|
+
- Threat non-en paths as external - refs #158717 [`#40`](https://github.com/eea/volto-eea-website-policy/pull/40)
|
|
297
|
+
- fix(/en): threat non-en paths as external - refs #158717 [`f2da4b1`](https://github.com/eea/volto-eea-website-policy/commit/f2da4b11fd0b2bfc7d148ffd7444cd92da9eea0c)
|
|
298
|
+
- Automated release 1.3.2 [`ce8ab47`](https://github.com/eea/volto-eea-website-policy/commit/ce8ab4759a5422b59dc3d7907673d5efeac8fe35)
|
|
229
299
|
|
|
230
|
-
|
|
300
|
+
#### [1.3.1](https://github.com/eea/volto-eea-website-policy/compare/1.3.0...1.3.1)
|
|
231
301
|
|
|
232
|
-
|
|
302
|
+
> 9 February 2023
|
|
233
303
|
|
|
234
|
-
-
|
|
304
|
+
- Add externalRoutes to /ims - refs #158717 [`#37`](https://github.com/eea/volto-eea-website-policy/pull/37)
|
|
305
|
+
- Automated release 1.3.1 [`88dc6ea`](https://github.com/eea/volto-eea-website-policy/commit/88dc6ea27adf283271875fa1d5ec524c4b910a2f)
|
|
306
|
+
- fix(ims): Add externalRoutes to /ims - refs #158717 [`1e5988e`](https://github.com/eea/volto-eea-website-policy/commit/1e5988e67a91172333e8a0c017aad06b1d4259f3)
|
|
235
307
|
|
|
236
|
-
|
|
308
|
+
#### [1.3.0](https://github.com/eea/volto-eea-website-policy/compare/1.2.2...1.3.0)
|
|
237
309
|
|
|
238
|
-
|
|
310
|
+
> 8 February 2023
|
|
239
311
|
|
|
240
|
-
-
|
|
241
|
-
-
|
|
242
|
-
- refactor(
|
|
312
|
+
- Release [`#36`](https://github.com/eea/volto-eea-website-policy/pull/36)
|
|
313
|
+
- Include subsite in api expanders [`#30`](https://github.com/eea/volto-eea-website-policy/pull/30)
|
|
314
|
+
- refactor(Controlpanel): Cleanup obsolete shadow ContentTypeLayout [`7469ea9`](https://github.com/eea/volto-eea-website-policy/commit/7469ea9670d1dcf9dc98d6e3f4537244069222fa)
|
|
315
|
+
- refactor(Toolbar): Upgrade Toolbar.jsx shadow customization to Volto 16.10.0 [`d759206`](https://github.com/eea/volto-eea-website-policy/commit/d759206b48f31e1835da1b5cc99f4b640812b6a0)
|
|
316
|
+
- refactor(config): Move some common settings to volto-eea-website-theme - refs #160747 [`e7b8508`](https://github.com/eea/volto-eea-website-policy/commit/e7b85082449406962d2e90e0362ac596f127a0e5)
|
|
317
|
+
- Automated release 1.2.3 [`023db4b`](https://github.com/eea/volto-eea-website-policy/commit/023db4b5fe81d5b95140ad5ef268800ede9b3b8b)
|
|
318
|
+
- Automated release 1.3.0 [`17af3f1`](https://github.com/eea/volto-eea-website-policy/commit/17af3f183c5b83b29a801ef8953bd9d635d872a2)
|
|
319
|
+
- Release 1.3.0 [`8a8e906`](https://github.com/eea/volto-eea-website-policy/commit/8a8e9061aedbbec89d7ab7e7493cfcabefdd3bc5)
|
|
243
320
|
|
|
244
|
-
####
|
|
321
|
+
#### [1.2.2](https://github.com/eea/volto-eea-website-policy/compare/1.2.1...1.2.2)
|
|
245
322
|
|
|
246
|
-
|
|
247
|
-
### [1.2.2](https://github.com/eea/volto-eea-website-policy/compare/1.2.1...1.2.2) - 25 January 2023
|
|
323
|
+
> 25 January 2023
|
|
248
324
|
|
|
249
|
-
|
|
325
|
+
- Enable scripts on error pages [`#34`](https://github.com/eea/volto-eea-website-policy/pull/34)
|
|
326
|
+
- Automated release 1.2.2 [`a0a0df8`](https://github.com/eea/volto-eea-website-policy/commit/a0a0df88faa0d46d96e4366e7d1f7d76f3cfbb52)
|
|
327
|
+
- Safely set extractScripts.errorPages [`439fb46`](https://github.com/eea/volto-eea-website-policy/commit/439fb46167aa24fe1ae87c1721894aceb89a1a55)
|
|
250
328
|
|
|
251
|
-
|
|
252
|
-
### [1.2.1](https://github.com/eea/volto-eea-website-policy/compare/1.2.0...1.2.1) - 29 December 2022
|
|
329
|
+
#### [1.2.1](https://github.com/eea/volto-eea-website-policy/compare/1.2.0...1.2.1)
|
|
253
330
|
|
|
254
|
-
|
|
331
|
+
> 29 December 2022
|
|
255
332
|
|
|
256
|
-
|
|
333
|
+
- Release [`#33`](https://github.com/eea/volto-eea-website-policy/pull/33)
|
|
334
|
+
- Automated release 1.2.1 [`6eb44b6`](https://github.com/eea/volto-eea-website-policy/commit/6eb44b62f9184e32a98751784f0b776a02d8f899)
|
|
335
|
+
- Automated release 1.2.1 [`0c06a01`](https://github.com/eea/volto-eea-website-policy/commit/0c06a0173c4e0a5d814c09975a0bf2d53527014a)
|
|
257
336
|
|
|
258
|
-
|
|
337
|
+
#### [1.2.0](https://github.com/eea/volto-eea-website-policy/compare/1.1.0...1.2.0)
|
|
259
338
|
|
|
260
|
-
|
|
339
|
+
> 28 December 2022
|
|
261
340
|
|
|
262
|
-
- Release
|
|
263
|
-
-
|
|
264
|
-
|
|
341
|
+
- Release [`#32`](https://github.com/eea/volto-eea-website-policy/pull/32)
|
|
342
|
+
- Automated release 1.1.1 [`700cb99`](https://github.com/eea/volto-eea-website-policy/commit/700cb99d5c6b93b740dd6251112a5a2368dcb498)
|
|
343
|
+
- feat(language): Disable language menu until for now - refs #158616 [`c33f334`](https://github.com/eea/volto-eea-website-policy/commit/c33f33456a4d968bd4aef4876fa3db76ae86293b)
|
|
344
|
+
- Release 1.2.0 [`81c4e67`](https://github.com/eea/volto-eea-website-policy/commit/81c4e673ab5e40dd06ebd023e111f4e4e01bd316)
|
|
345
|
+
- test(Jenkins): Run tests and cypress with latest canary @plone/volto [`1d391dc`](https://github.com/eea/volto-eea-website-policy/commit/1d391dccfc63f2c6def50775da164c8e5b9f51d6)
|
|
265
346
|
|
|
266
|
-
####
|
|
347
|
+
#### [1.1.0](https://github.com/eea/volto-eea-website-policy/compare/1.0.4...1.1.0)
|
|
267
348
|
|
|
268
|
-
|
|
269
|
-
- yarn 3 [Alin Voinea - [`593aa58`](https://github.com/eea/volto-eea-website-policy/commit/593aa58eaa4d28aced0603b7f7dd125c857a6f54)]
|
|
270
|
-
### [1.0.4](https://github.com/eea/volto-eea-website-policy/compare/1.0.3...1.0.4) - 22 November 2022
|
|
349
|
+
> 29 November 2022
|
|
271
350
|
|
|
272
|
-
|
|
351
|
+
- Remove Blocks customization, it's outdated [`#29`](https://github.com/eea/volto-eea-website-policy/pull/29)
|
|
352
|
+
- Automated release 1.0.5 [`cff4b80`](https://github.com/eea/volto-eea-website-policy/commit/cff4b8079056195a8378485f0be090e78b8cb717)
|
|
353
|
+
- Automated release 1.0.5 [`ceeafa5`](https://github.com/eea/volto-eea-website-policy/commit/ceeafa5cc1658f35b1c89dc8632eae3a19a7c1e5)
|
|
354
|
+
- Automated release 1.1.0 [`8dbc03a`](https://github.com/eea/volto-eea-website-policy/commit/8dbc03a04efdc315a1d0644698c0a850392896a8)
|
|
355
|
+
- yarn 3 [`593aa58`](https://github.com/eea/volto-eea-website-policy/commit/593aa58eaa4d28aced0603b7f7dd125c857a6f54)
|
|
356
|
+
- Release 1.1.0 [`0291b3b`](https://github.com/eea/volto-eea-website-policy/commit/0291b3bb7b4c6ab09ca98728885cea4051eac8e3)
|
|
273
357
|
|
|
274
|
-
|
|
275
|
-
- change(policy): Enable styling schema enhancer for listing block [kreafox - [`79d6059`](https://github.com/eea/volto-eea-website-policy/commit/79d6059ece37553436bc7d937063c1c53b533cc8)]
|
|
358
|
+
#### [1.0.4](https://github.com/eea/volto-eea-website-policy/compare/1.0.3...1.0.4)
|
|
276
359
|
|
|
277
|
-
|
|
360
|
+
> 22 November 2022
|
|
278
361
|
|
|
279
|
-
|
|
362
|
+
- Release [`#28`](https://github.com/eea/volto-eea-website-policy/pull/28)
|
|
363
|
+
- Automated release 1.0.4 [`5852c6f`](https://github.com/eea/volto-eea-website-policy/commit/5852c6f191a9233968c7b930773f610cae28783c)
|
|
364
|
+
- change(policy): Enable styling schema enhancer for listing block #27 from eea/listing [`d4c679a`](https://github.com/eea/volto-eea-website-policy/commit/d4c679a11a0dd84bb891a4f4396c4fc671da028c)
|
|
365
|
+
- change(policy): Enable styling schema enhancer for listing block [`79d6059`](https://github.com/eea/volto-eea-website-policy/commit/79d6059ece37553436bc7d937063c1c53b533cc8)
|
|
280
366
|
|
|
281
|
-
####
|
|
367
|
+
#### [1.0.3](https://github.com/eea/volto-eea-website-policy/compare/1.0.2...1.0.3)
|
|
282
368
|
|
|
283
|
-
|
|
284
|
-
- change(policy): added styling schema as a block enhancer useful for several packages [David Ichim - [`1cc294f`](https://github.com/eea/volto-eea-website-policy/commit/1cc294f0512db3cbd06e9951ab9d4893e0899444)]
|
|
369
|
+
> 16 November 2022
|
|
285
370
|
|
|
286
|
-
|
|
371
|
+
- Added layout settings blocks to policy packag… [`#26`](https://github.com/eea/volto-eea-website-policy/pull/26)
|
|
372
|
+
- change(website-policy): added layout settings blocks to policy package [`#24`](https://github.com/eea/volto-eea-website-policy/pull/24)
|
|
373
|
+
- Automated release 1.0.3 [`0acd300`](https://github.com/eea/volto-eea-website-policy/commit/0acd3008b927dd0908f7bd0cdaa878ffdf03b258)
|
|
287
374
|
|
|
288
|
-
|
|
289
|
-
### [1.0.1](https://github.com/eea/volto-eea-website-policy/compare/1.0.0...1.0.1) - 28 October 2022
|
|
375
|
+
#### [1.0.2](https://github.com/eea/volto-eea-website-policy/compare/1.0.1...1.0.2)
|
|
290
376
|
|
|
291
|
-
|
|
377
|
+
> 16 November 2022
|
|
292
378
|
|
|
293
|
-
-
|
|
379
|
+
- Release [`#25`](https://github.com/eea/volto-eea-website-policy/pull/25)
|
|
380
|
+
- change(policy): added styling schema as a block enhancer useful for several packages [`1cc294f`](https://github.com/eea/volto-eea-website-policy/commit/1cc294f0512db3cbd06e9951ab9d4893e0899444)
|
|
381
|
+
- Automated release 1.0.2 [`4ef3965`](https://github.com/eea/volto-eea-website-policy/commit/4ef396565c1870a4b5b022f3ccdeec69a100fd1c)
|
|
382
|
+
- change(policy): use image-fit for container option and enabled styling schema enhancer for group block [`8132bae`](https://github.com/eea/volto-eea-website-policy/commit/8132baea590042390f56d26c1acf4f26b0ac33a7)
|
|
383
|
+
- test(estlint): Fix .project.eslintrc.js [`e6b49b6`](https://github.com/eea/volto-eea-website-policy/commit/e6b49b678e2917915332203fe34e8f6cc4f96372)
|
|
294
384
|
|
|
295
|
-
|
|
385
|
+
#### [1.0.1](https://github.com/eea/volto-eea-website-policy/compare/1.0.0...1.0.1)
|
|
296
386
|
|
|
297
|
-
|
|
387
|
+
> 28 October 2022
|
|
298
388
|
|
|
299
|
-
- refactor(
|
|
300
|
-
-
|
|
389
|
+
- refactor(customizations): Upgrade Toolbar customization to volto 16 a… [`#23`](https://github.com/eea/volto-eea-website-policy/pull/23)
|
|
390
|
+
- Automated release 1.0.1 [`6670763`](https://github.com/eea/volto-eea-website-policy/commit/6670763ce81d9b0c9ed2ac363d5dec525c18a30e)
|
|
391
|
+
- refactor(customizations): Upgrade Toolbar customization to volto 16 alpha 45 [`08b14d6`](https://github.com/eea/volto-eea-website-policy/commit/08b14d64958316f434f79dc4b3308164a3f1df38)
|
|
301
392
|
|
|
302
|
-
|
|
393
|
+
### [1.0.0](https://github.com/eea/volto-eea-website-policy/compare/0.4.2...1.0.0)
|
|
303
394
|
|
|
304
|
-
|
|
305
|
-
### [0.4.2](https://github.com/eea/volto-eea-website-policy/compare/0.4.1...0.4.2) - 28 September 2022
|
|
395
|
+
> 28 October 2022
|
|
306
396
|
|
|
307
|
-
|
|
397
|
+
- Upgrade Cypress 10 / Razzle 4 [`#22`](https://github.com/eea/volto-eea-website-policy/pull/22)
|
|
398
|
+
- refactor(cypress): Cypress 10 / Razzle 4 [`12ab932`](https://github.com/eea/volto-eea-website-policy/commit/12ab932bd0e66c2990a5e02e04025c58f50fb1a9)
|
|
399
|
+
- refactor(volto-slate): Upgrade to @plone/volto-slate - refs #153447 [`e642f85`](https://github.com/eea/volto-eea-website-policy/commit/e642f85f2a57131c7a84dbc22f17e5c1a34a7dc2)
|
|
400
|
+
- Automated release 1.0.0 [`f65f4d0`](https://github.com/eea/volto-eea-website-policy/commit/f65f4d0db077b87c70b713af03676d24404fe7ac)
|
|
401
|
+
- [JENKINS] Add missing md5 dev dependency [`ebca02d`](https://github.com/eea/volto-eea-website-policy/commit/ebca02d676d21d7e59b38c081281240f38c343cd)
|
|
402
|
+
- Cleanup [`624f797`](https://github.com/eea/volto-eea-website-policy/commit/624f797b6ac4f46fb1a5699a22f966d0579953d3)
|
|
308
403
|
|
|
309
|
-
####
|
|
404
|
+
#### [0.4.2](https://github.com/eea/volto-eea-website-policy/compare/0.4.1...0.4.2)
|
|
310
405
|
|
|
311
|
-
|
|
406
|
+
> 28 September 2022
|
|
312
407
|
|
|
313
|
-
|
|
408
|
+
- feat(accordion): Most used - refs #148213 [`#21`](https://github.com/eea/volto-eea-website-policy/pull/21)
|
|
409
|
+
- Automated release 0.4.2 [`235b703`](https://github.com/eea/volto-eea-website-policy/commit/235b703be7f36e988adb5e30866460d6b4447452)
|
|
314
410
|
|
|
315
|
-
|
|
316
|
-
### [0.4.0](https://github.com/eea/volto-eea-website-policy/compare/0.3.3...0.4.0) - 19 September 2022
|
|
411
|
+
#### [0.4.1](https://github.com/eea/volto-eea-website-policy/compare/0.4.0...0.4.1)
|
|
317
412
|
|
|
318
|
-
|
|
413
|
+
> 28 September 2022
|
|
319
414
|
|
|
320
|
-
- Release
|
|
321
|
-
|
|
415
|
+
- Release [`#20`](https://github.com/eea/volto-eea-website-policy/pull/20)
|
|
416
|
+
- Automated release 0.4.1 [`5e1d522`](https://github.com/eea/volto-eea-website-policy/commit/5e1d522ceae5d921ddacfb2636e17750ed83cf43)
|
|
417
|
+
- Automated release 0.4.1 [`ce0f7df`](https://github.com/eea/volto-eea-website-policy/commit/ce0f7df6fa0e2f517e5d3ad72bee94afb79d4fc9)
|
|
418
|
+
- fix(Navigation): Hide navigation block [`557284e`](https://github.com/eea/volto-eea-website-policy/commit/557284e6b3e85ecb63aab770cdb1abb8b8eb8d44)
|
|
419
|
+
- Add Sonarqube tag using eea-website-frontend addons list [`d153f54`](https://github.com/eea/volto-eea-website-policy/commit/d153f54e55e918fa4746e05488c734624eaf14a9)
|
|
322
420
|
|
|
323
|
-
####
|
|
421
|
+
#### [0.4.0](https://github.com/eea/volto-eea-website-policy/compare/0.3.3...0.4.0)
|
|
324
422
|
|
|
325
|
-
|
|
326
|
-
### [0.3.2](https://github.com/eea/volto-eea-website-policy/compare/0.3.1...0.3.2) - 10 August 2022
|
|
423
|
+
> 19 September 2022
|
|
327
424
|
|
|
328
|
-
|
|
425
|
+
- feat(Card) - Move Item and Teaser to volto-listing-block - refs #148723 [`#19`](https://github.com/eea/volto-eea-website-policy/pull/19)
|
|
426
|
+
- Release 0.4.0 [`057ae58`](https://github.com/eea/volto-eea-website-policy/commit/057ae5873ddb72d5a59572447d446bf87022bcb6)
|
|
329
427
|
|
|
330
|
-
|
|
331
|
-
- Customize Blocks helper - copy unchanged from @plone/volto 16.alpha.12 [Alin Voinea - [`368ffa8`](https://github.com/eea/volto-eea-website-policy/commit/368ffa8c9ebfc54d364d7bf13b60f4016f1c90e8)]
|
|
332
|
-
### [0.3.1](https://github.com/eea/volto-eea-website-policy/compare/0.3.0...0.3.1) - 1 August 2022
|
|
428
|
+
#### [0.3.3](https://github.com/eea/volto-eea-website-policy/compare/0.3.2...0.3.3)
|
|
333
429
|
|
|
334
|
-
|
|
430
|
+
> 5 September 2022
|
|
335
431
|
|
|
336
|
-
|
|
432
|
+
- override(ContentTypeLayout): Enable volto.blocks.editable.layout - refs #153858 [`#17`](https://github.com/eea/volto-eea-website-policy/pull/17)
|
|
433
|
+
- override(ContentTypeLayout) - from @plone/volto 16 alpha 12 [`777068d`](https://github.com/eea/volto-eea-website-policy/commit/777068d4b41d4c94863e2c34ea274f150ead7875)
|
|
434
|
+
- Automated release 0.3.3 [`13e124f`](https://github.com/eea/volto-eea-website-policy/commit/13e124f5388eae9c4a723b374da9a690cc3b766d)
|
|
337
435
|
|
|
338
|
-
|
|
339
|
-
- change(item): enable theming for icon and text color and added tertiary option [David Ichim - [`58c2d28`](https://github.com/eea/volto-eea-website-policy/commit/58c2d2864fe94c9e7808064b61d3b6c4e6fccbb1)]
|
|
340
|
-
- change(item): commented sizes too small for item icons and enabled tertiary theme [David Ichim - [`0f02d7d`](https://github.com/eea/volto-eea-website-policy/commit/0f02d7d6204b068b78c3f977a561782a19b6f79e)]
|
|
436
|
+
#### [0.3.2](https://github.com/eea/volto-eea-website-policy/compare/0.3.1...0.3.2)
|
|
341
437
|
|
|
342
|
-
|
|
438
|
+
> 10 August 2022
|
|
343
439
|
|
|
344
|
-
|
|
440
|
+
- Patch Blocks helper to safely get blocks from data - refs #153018 [`#15`](https://github.com/eea/volto-eea-website-policy/pull/15)
|
|
441
|
+
- Customize Blocks helper - copy unchanged from @plone/volto 16.alpha.12 [`368ffa8`](https://github.com/eea/volto-eea-website-policy/commit/368ffa8c9ebfc54d364d7bf13b60f4016f1c90e8)
|
|
442
|
+
- Automated release 0.3.2 [`e6e69aa`](https://github.com/eea/volto-eea-website-policy/commit/e6e69aa33a7a9360a4c5f9cda0c938375135b262)
|
|
443
|
+
- [JENKINS] Run cypress on volto 16 alpha 14 [`0e6020e`](https://github.com/eea/volto-eea-website-policy/commit/0e6020e178dfdf1d31a451bb80fcb068e18be33d)
|
|
444
|
+
- Safely get data - refs #153018 [`aefc689`](https://github.com/eea/volto-eea-website-policy/commit/aefc68979f6aad86ea02952f82e639dfe8c566f2)
|
|
345
445
|
|
|
346
|
-
|
|
347
|
-
- Customize Toolbar.jsx - copied unchanged from @plone/volto 16.0.0.alpha.11 [Alin Voinea - [`b7add4f`](https://github.com/eea/volto-eea-website-policy/commit/b7add4faa8ef2dde7d77489fc8bc431cbb023314)]
|
|
348
|
-
### [0.2.5](https://github.com/eea/volto-eea-website-policy/compare/0.2.4...0.2.5) - 23 June 2022
|
|
446
|
+
#### [0.3.1](https://github.com/eea/volto-eea-website-policy/compare/0.3.0...0.3.1)
|
|
349
447
|
|
|
350
|
-
|
|
448
|
+
> 1 August 2022
|
|
351
449
|
|
|
352
|
-
-
|
|
353
|
-
-
|
|
354
|
-
- Disable Image Cards block [Alin Voinea - [`3ed8dc3`](https://github.com/eea/volto-eea-website-policy/commit/3ed8dc311cad8e30a8c918ecec7b21cc99260c50)]
|
|
355
|
-
- Rounded Card variation - refs #148723 [Alin Voinea - [`4b46731`](https://github.com/eea/volto-eea-website-policy/commit/4b46731e25962bbb6e7159d0db8a9a642a95eb53)]
|
|
356
|
-
### [0.2.4](https://github.com/eea/volto-eea-website-policy/compare/0.2.3...0.2.4) - 13 June 2022
|
|
450
|
+
- feature(navigation): addde context navigation block [`#14`](https://github.com/eea/volto-eea-website-policy/pull/14)
|
|
451
|
+
- Automated release 0.3.1 [`d12a628`](https://github.com/eea/volto-eea-website-policy/commit/d12a628b2865da4243efd8c19acbdf37c8a6b8ab)
|
|
357
452
|
|
|
358
|
-
####
|
|
453
|
+
#### [0.3.0](https://github.com/eea/volto-eea-website-policy/compare/0.2.6...0.3.0)
|
|
359
454
|
|
|
360
|
-
|
|
361
|
-
- Add theme to teaser stylewrapper [Alin Voinea - [`60eeb28`](https://github.com/eea/volto-eea-website-policy/commit/60eeb28b7793708c59d0af73ffb09895e8f2c87d)]
|
|
362
|
-
- Fix className vs class warning [Alin Voinea - [`fea1603`](https://github.com/eea/volto-eea-website-policy/commit/fea1603eefd628d57640a6b94ddbbb7edfb0d841)]
|
|
363
|
-
- Custom card view for teaser [Alin Voinea - [`c8eded0`](https://github.com/eea/volto-eea-website-policy/commit/c8eded011b8317cce9f842526f5d86771f54797b)]
|
|
364
|
-
### [0.2.3](https://github.com/eea/volto-eea-website-policy/compare/0.2.2...0.2.3) - 10 June 2022
|
|
455
|
+
> 6 July 2022
|
|
365
456
|
|
|
366
|
-
|
|
457
|
+
- change(teaser): enabled theming for icon and text color [`#13`](https://github.com/eea/volto-eea-website-policy/pull/13)
|
|
458
|
+
- change(item): commented sizes too small for item icons and enabled tertiary theme [`0f02d7d`](https://github.com/eea/volto-eea-website-policy/commit/0f02d7d6204b068b78c3f977a561782a19b6f79e)
|
|
459
|
+
- Automated release 0.3.0 [`42547ce`](https://github.com/eea/volto-eea-website-policy/commit/42547ce25987adb79ddcd4b5657990326bd59e0b)
|
|
460
|
+
- change(item): enable theming for icon and text color and added tertiary option [`58c2d28`](https://github.com/eea/volto-eea-website-policy/commit/58c2d2864fe94c9e7808064b61d3b6c4e6fccbb1)
|
|
461
|
+
- change(package): bump release version [`1b00439`](https://github.com/eea/volto-eea-website-policy/commit/1b0043933442bb73c1042dce644a2c09e5f210f4)
|
|
367
462
|
|
|
368
|
-
|
|
369
|
-
- Update index.js [ichim-david - [`fb73895`](https://github.com/eea/volto-eea-website-policy/commit/fb7389509bc7e207942762c5e02a93d0168a6fba)]
|
|
370
|
-
- removed change from commit 719e3778 [ichim-david - [`29e636b`](https://github.com/eea/volto-eea-website-policy/commit/29e636b34ab02992c67cc5960f4dc6b21b1b4e71)]
|
|
371
|
-
- added navDepth to level 4 in order to fill mega menu [ichim-david - [`719e377`](https://github.com/eea/volto-eea-website-policy/commit/719e37785cfa2ed37568c82a34dc470b52483d04)]
|
|
372
|
-
- Rearrange Block Chooser [Alin Voinea - [`9a5c118`](https://github.com/eea/volto-eea-website-policy/commit/9a5c1187ba21fa1898394a4b6cf6dd68bd68f258)]
|
|
373
|
-
- Move Item block un components folder [Miu Razvan - [`9fb6ab2`](https://github.com/eea/volto-eea-website-policy/commit/9fb6ab2fb02cc5c1a7e25367de5ebe7109bd3dc4)]
|
|
374
|
-
- Set default sizes for image & icon in Item block [Miu Razvan - [`af22ec7`](https://github.com/eea/volto-eea-website-policy/commit/af22ec78b2c6fd1d033dc1acfec5e64f8926cd77)]
|
|
375
|
-
- Add helpers functions [Miu Razvan - [`353581c`](https://github.com/eea/volto-eea-website-policy/commit/353581cc6602b5e573eee93c74a67656203c0968)]
|
|
376
|
-
- Add Teaser block folder's structure [Alin Voinea - [`9457dd4`](https://github.com/eea/volto-eea-website-policy/commit/9457dd4ffaa2631eceb46bfd1ec2d201e8b3d7a8)]
|
|
377
|
-
### [0.2.2](https://github.com/eea/volto-eea-website-policy/compare/0.2.1...0.2.2) - 24 May 2022
|
|
463
|
+
#### [0.2.6](https://github.com/eea/volto-eea-website-policy/compare/0.2.5...0.2.6)
|
|
378
464
|
|
|
379
|
-
|
|
465
|
+
> 1 July 2022
|
|
380
466
|
|
|
381
|
-
|
|
467
|
+
- [JENKINS] - Use Document for cypress sandbox [`#12`](https://github.com/eea/volto-eea-website-policy/pull/12)
|
|
468
|
+
- Customize Toolbar.jsx - copied unchanged from @plone/volto 16.0.0.alpha.11 [`b7add4f`](https://github.com/eea/volto-eea-website-policy/commit/b7add4faa8ef2dde7d77489fc8bc431cbb023314)
|
|
469
|
+
- Automated release 0.2.6 [`f532fc5`](https://github.com/eea/volto-eea-website-policy/commit/f532fc51f1ec83ed41d56c2ad1158e99337d8697)
|
|
470
|
+
- Fix Cannot read properties of undefined (reading 'translations') [`8e7b8b8`](https://github.com/eea/volto-eea-website-policy/commit/8e7b8b8533b14f173d77783fe2d0b517c29c5937)
|
|
471
|
+
- [JENKINS] - Use the latest Volto alpha release [`e9a0c2d`](https://github.com/eea/volto-eea-website-policy/commit/e9a0c2df27eb67cb118972f48e370f82acc2310f)
|
|
382
472
|
|
|
383
|
-
####
|
|
473
|
+
#### [0.2.5](https://github.com/eea/volto-eea-website-policy/compare/0.2.4...0.2.5)
|
|
384
474
|
|
|
385
|
-
|
|
386
|
-
- Update index.js [Alexandru Ghica - [`0f5be15`](https://github.com/eea/volto-eea-website-policy/commit/0f5be1553b608f49c9a61bbc69a0f90219260a83)]
|
|
387
|
-
- Update index.js [Alexandru Ghica - [`03dd3b1`](https://github.com/eea/volto-eea-website-policy/commit/03dd3b162d3175df00048339bed4f9a7d097a896)]
|
|
388
|
-
- format index.js [Andrei Grigore - [`db4481a`](https://github.com/eea/volto-eea-website-policy/commit/db4481aeeba59a769272659f33278c902fc69bec)]
|
|
389
|
-
- Update index.js [Alexandru Ghica - [`dc09886`](https://github.com/eea/volto-eea-website-policy/commit/dc0988640a76a9914381b120f58bb61a9ab1eb39)]
|
|
390
|
-
- Added externalRoutes [Alexandru Ghica - [`b68135b`](https://github.com/eea/volto-eea-website-policy/commit/b68135b013fafa93a41ea602ea2fad30879abe0f)]
|
|
391
|
-
- Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`575cca6`](https://github.com/eea/volto-eea-website-policy/commit/575cca674602ca2e1c2a41300c47ba594ff49aa0)]
|
|
392
|
-
### [0.1.1](https://github.com/eea/volto-eea-website-policy/compare/0.1.0...0.1.1) - 4 March 2022
|
|
475
|
+
> 23 June 2022
|
|
393
476
|
|
|
394
|
-
|
|
477
|
+
- Rounded Card variation and disable ImageCards block [`#11`](https://github.com/eea/volto-eea-website-policy/pull/11)
|
|
478
|
+
- Revert "Rounded Card variation - refs #148723" [`0168a86`](https://github.com/eea/volto-eea-website-policy/commit/0168a86fa644a9b848e37c7f5054eb4308c36784)
|
|
479
|
+
- Rounded Card variation - refs #148723 [`4b46731`](https://github.com/eea/volto-eea-website-policy/commit/4b46731e25962bbb6e7159d0db8a9a642a95eb53)
|
|
480
|
+
- Rounded card via style wrapper [`6728684`](https://github.com/eea/volto-eea-website-policy/commit/67286844b00902aa4c6b316b50be35db95c531f0)
|
|
481
|
+
- Automated release 0.2.5 [`2b8144f`](https://github.com/eea/volto-eea-website-policy/commit/2b8144fb74dc076279f2fc2d765cc0189c68561f)
|
|
482
|
+
- Disable Image Cards block [`3ed8dc3`](https://github.com/eea/volto-eea-website-policy/commit/3ed8dc311cad8e30a8c918ecec7b21cc99260c50)
|
|
483
|
+
- Automated release 0.2.5 [`853df98`](https://github.com/eea/volto-eea-website-policy/commit/853df982e644639f0f3bbce7849211b63770e326)
|
|
395
484
|
|
|
396
|
-
|
|
397
|
-
- Prepare for first release [Alin Voinea - [`69e36b1`](https://github.com/eea/volto-eea-website-policy/commit/69e36b1c82b75b0917ef3d433581c50cdcf6c341)]
|
|
398
|
-
- Enable working copy support [Alin Voinea - [`7c6269d`](https://github.com/eea/volto-eea-website-policy/commit/7c6269d75df915f39c15e8ed0893cc062601e7a7)]
|
|
399
|
-
- Enable multilingual [Alin Voinea - [`73210b9`](https://github.com/eea/volto-eea-website-policy/commit/73210b90ad968909da0c15583992f8f58e99e632)]
|
|
400
|
-
### 0.1.0 - 4 March 2022
|
|
485
|
+
#### [0.2.4](https://github.com/eea/volto-eea-website-policy/compare/0.2.3...0.2.4)
|
|
401
486
|
|
|
402
|
-
|
|
487
|
+
> 13 June 2022
|
|
403
488
|
|
|
404
|
-
-
|
|
405
|
-
-
|
|
489
|
+
- Release [`#10`](https://github.com/eea/volto-eea-website-policy/pull/10)
|
|
490
|
+
- Custom card view for teaser [`c8eded0`](https://github.com/eea/volto-eea-website-policy/commit/c8eded011b8317cce9f842526f5d86771f54797b)
|
|
491
|
+
- Add theme to teaser stylewrapper [`60eeb28`](https://github.com/eea/volto-eea-website-policy/commit/60eeb28b7793708c59d0af73ffb09895e8f2c87d)
|
|
492
|
+
- Automated release 0.2.4 [`f31c2f3`](https://github.com/eea/volto-eea-website-policy/commit/f31c2f3a54faf76c3754ed8329f93a47abc28b72)
|
|
493
|
+
- Fix listing block title: Listing (Content) [`cec2760`](https://github.com/eea/volto-eea-website-policy/commit/cec276082c3fc1b5486c996c3746a6958fb3a1a9)
|
|
494
|
+
- Fix className vs class warning [`fea1603`](https://github.com/eea/volto-eea-website-policy/commit/fea1603eefd628d57640a6b94ddbbb7edfb0d841)
|
|
495
|
+
|
|
496
|
+
#### [0.2.3](https://github.com/eea/volto-eea-website-policy/compare/0.2.2...0.2.3)
|
|
497
|
+
|
|
498
|
+
> 10 June 2022
|
|
499
|
+
|
|
500
|
+
- Add Item block [`#9`](https://github.com/eea/volto-eea-website-policy/pull/9)
|
|
501
|
+
- Rearrange Block Chooser [`9a5c118`](https://github.com/eea/volto-eea-website-policy/commit/9a5c1187ba21fa1898394a4b6cf6dd68bd68f258)
|
|
502
|
+
- Add helpers functions [`353581c`](https://github.com/eea/volto-eea-website-policy/commit/353581cc6602b5e573eee93c74a67656203c0968)
|
|
503
|
+
- Automated release 0.2.3 [`cfec6e7`](https://github.com/eea/volto-eea-website-policy/commit/cfec6e7e97e443d377c1e3a54a429c57c643ee32)
|
|
504
|
+
- Set default sizes for image & icon in Item block [`af22ec7`](https://github.com/eea/volto-eea-website-policy/commit/af22ec78b2c6fd1d033dc1acfec5e64f8926cd77)
|
|
505
|
+
- removed change from commit 719e3778 [`29e636b`](https://github.com/eea/volto-eea-website-policy/commit/29e636b34ab02992c67cc5960f4dc6b21b1b4e71)
|
|
506
|
+
- added navDepth to level 4 in order to fill mega menu [`719e377`](https://github.com/eea/volto-eea-website-policy/commit/719e37785cfa2ed37568c82a34dc470b52483d04)
|
|
507
|
+
- Automated release 0.2.3 [`8695084`](https://github.com/eea/volto-eea-website-policy/commit/86950845d74a8c0cdbc71948c491c99e9e401340)
|
|
508
|
+
- Update index.js [`fb73895`](https://github.com/eea/volto-eea-website-policy/commit/fb7389509bc7e207942762c5e02a93d0168a6fba)
|
|
509
|
+
- prettier fix [`c2a6d2d`](https://github.com/eea/volto-eea-website-policy/commit/c2a6d2d3b12ce771b9b4413c5a6db157ccd9d1fc)
|
|
510
|
+
- Move Item block un components folder [`9fb6ab2`](https://github.com/eea/volto-eea-website-policy/commit/9fb6ab2fb02cc5c1a7e25367de5ebe7109bd3dc4)
|
|
511
|
+
- Automated release 0.2.3 [`3a6077d`](https://github.com/eea/volto-eea-website-policy/commit/3a6077dd65ad0382d1a963df714e2e8a8833622d)
|
|
512
|
+
- Automated release 0.2.3 [`ca475f7`](https://github.com/eea/volto-eea-website-policy/commit/ca475f786ab27d21a0c0a49f9412133661b5ea1c)
|
|
513
|
+
- Automated release 0.2.3 [`170c484`](https://github.com/eea/volto-eea-website-policy/commit/170c4849e309b565e7ac1932974255b156373b4b)
|
|
514
|
+
- Add Teaser block folder's structure [`9457dd4`](https://github.com/eea/volto-eea-website-policy/commit/9457dd4ffaa2631eceb46bfd1ec2d201e8b3d7a8)
|
|
515
|
+
|
|
516
|
+
#### [0.2.2](https://github.com/eea/volto-eea-website-policy/compare/0.2.1...0.2.2)
|
|
517
|
+
|
|
518
|
+
> 24 May 2022
|
|
519
|
+
|
|
520
|
+
- Install callout and remove blockquote - refs #148688 [`#8`](https://github.com/eea/volto-eea-website-policy/pull/8)
|
|
521
|
+
- Automated release 0.2.2 [`bd433b1`](https://github.com/eea/volto-eea-website-policy/commit/bd433b1034e526ab99dd913b49e9794397ebcae9)
|
|
522
|
+
- [JENKINS] - Fix tests dependencies [`6d418ae`](https://github.com/eea/volto-eea-website-policy/commit/6d418ae34c73ff6ba1f20d257567f1250be71ddd)
|
|
523
|
+
- [JENKINS] Use NodeJS 16 for sonarqube - Refs #111286 [`9da4229`](https://github.com/eea/volto-eea-website-policy/commit/9da4229ac114b97cd4b49105bde9c24911662602)
|
|
524
|
+
|
|
525
|
+
#### [0.2.1](https://github.com/eea/volto-eea-website-policy/compare/0.2.0...0.2.1)
|
|
526
|
+
|
|
527
|
+
> 25 March 2022
|
|
528
|
+
|
|
529
|
+
- 137187 keycloak integration for plone6 (#3) [`#6`](https://github.com/eea/volto-eea-website-policy/pull/6)
|
|
530
|
+
- 137187 keycloak integration for plone6 [`#3`](https://github.com/eea/volto-eea-website-policy/pull/3)
|
|
531
|
+
- Automated release 0.2.1 [`36c989a`](https://github.com/eea/volto-eea-website-policy/commit/36c989ade32c72d2d3487545ae230b2c57fca7fa)
|
|
532
|
+
|
|
533
|
+
#### [0.2.0](https://github.com/eea/volto-eea-website-policy/compare/0.1.1...0.2.0)
|
|
534
|
+
|
|
535
|
+
> 18 March 2022
|
|
536
|
+
|
|
537
|
+
- Release [`#5`](https://github.com/eea/volto-eea-website-policy/pull/5)
|
|
538
|
+
- Enable multilingual - refs #146771 [`#4`](https://github.com/eea/volto-eea-website-policy/pull/4)
|
|
539
|
+
- Automated release 0.1.2 [`984f3fe`](https://github.com/eea/volto-eea-website-policy/commit/984f3fe36788bb8e5e63956ff3fe6fc63ee6460f)
|
|
540
|
+
- format index.js [`db4481a`](https://github.com/eea/volto-eea-website-policy/commit/db4481aeeba59a769272659f33278c902fc69bec)
|
|
541
|
+
- Added externalRoutes [`b68135b`](https://github.com/eea/volto-eea-website-policy/commit/b68135b013fafa93a41ea602ea2fad30879abe0f)
|
|
542
|
+
- Automated release 0.2.0 [`235cfa3`](https://github.com/eea/volto-eea-website-policy/commit/235cfa3968eb1d0f3de3b174bf00504271a7570f)
|
|
543
|
+
- Update index.js [`0f5be15`](https://github.com/eea/volto-eea-website-policy/commit/0f5be1553b608f49c9a61bbc69a0f90219260a83)
|
|
544
|
+
- Update index.js [`dc09886`](https://github.com/eea/volto-eea-website-policy/commit/dc0988640a76a9914381b120f58bb61a9ab1eb39)
|
|
545
|
+
- Release 0.2.0 [`4b72206`](https://github.com/eea/volto-eea-website-policy/commit/4b72206675ab13ed81567df590849613581d7f10)
|
|
546
|
+
- Update index.js [`03dd3b1`](https://github.com/eea/volto-eea-website-policy/commit/03dd3b162d3175df00048339bed4f9a7d097a896)
|
|
547
|
+
- Add Sonarqube tag using eea-website-frontend addons list [`575cca6`](https://github.com/eea/volto-eea-website-policy/commit/575cca674602ca2e1c2a41300c47ba594ff49aa0)
|
|
548
|
+
|
|
549
|
+
#### [0.1.1](https://github.com/eea/volto-eea-website-policy/compare/0.1.0...0.1.1)
|
|
550
|
+
|
|
551
|
+
> 4 March 2022
|
|
552
|
+
|
|
553
|
+
- Release [`#1`](https://github.com/eea/volto-eea-website-policy/pull/1)
|
|
554
|
+
- Prepare for first release [`69e36b1`](https://github.com/eea/volto-eea-website-policy/commit/69e36b1c82b75b0917ef3d433581c50cdcf6c341)
|
|
555
|
+
- Enable multilingual [`73210b9`](https://github.com/eea/volto-eea-website-policy/commit/73210b90ad968909da0c15583992f8f58e99e632)
|
|
556
|
+
- Automated release 0.1.1 [`c0fc528`](https://github.com/eea/volto-eea-website-policy/commit/c0fc52827346ad852fd917f12a3a9ae75a5b30ec)
|
|
557
|
+
- Enable description block by default [`b3d6534`](https://github.com/eea/volto-eea-website-policy/commit/b3d6534a57f7288899c4f59b5cec553370363d8b)
|
|
558
|
+
- [JENKINS] - Fix Jenkinsfile [`7947248`](https://github.com/eea/volto-eea-website-policy/commit/794724882fa306c9052263b06ffe5979cec07d36)
|
|
559
|
+
- Enable working copy support [`7c6269d`](https://github.com/eea/volto-eea-website-policy/commit/7c6269d75df915f39c15e8ed0893cc062601e7a7)
|
|
560
|
+
- [JENKINS] - Fix integration testing backend docker image [`764b358`](https://github.com/eea/volto-eea-website-policy/commit/764b3586d694cb20d0b3b2c6b762889280c520cc)
|
|
561
|
+
|
|
562
|
+
#### 0.1.0
|
|
563
|
+
|
|
564
|
+
> 4 March 2022
|
|
565
|
+
|
|
566
|
+
- Initial commit [`3800692`](https://github.com/eea/volto-eea-website-policy/commit/3800692f7a4de6460815bd6061facacb986cbef0)
|
|
567
|
+
- yarn bootstrap [`9b4d197`](https://github.com/eea/volto-eea-website-policy/commit/9b4d197cbc7992566cb36524d190078d5ad21a44)
|
package/jest-addon.config.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require('dotenv').config({ path: __dirname + '/.env' })
|
|
2
|
+
|
|
1
3
|
module.exports = {
|
|
2
4
|
testMatch: ['**/src/addons/**/?(*.)+(spec|test).[jt]s?(x)'],
|
|
3
5
|
collectCoverageFrom: [
|
|
@@ -9,18 +11,26 @@ module.exports = {
|
|
|
9
11
|
'@plone/volto/cypress': '<rootDir>/node_modules/@plone/volto/cypress',
|
|
10
12
|
'@plone/volto/babel': '<rootDir>/node_modules/@plone/volto/babel',
|
|
11
13
|
'@plone/volto/(.*)$': '<rootDir>/node_modules/@plone/volto/src/$1',
|
|
12
|
-
'@package/(.*)$': '<rootDir>/src/$1',
|
|
13
|
-
'@root/(.*)$': '<rootDir>/src/$1',
|
|
14
|
+
'@package/(.*)$': '<rootDir>/node_modules/@plone/volto/src/$1',
|
|
15
|
+
'@root/(.*)$': '<rootDir>/node_modules/@plone/volto/src/$1',
|
|
14
16
|
'@plone/volto-quanta/(.*)$': '<rootDir>/src/addons/volto-quanta/src/$1',
|
|
17
|
+
'@eeacms/search/(.*)$': '<rootDir>/src/addons/volto-searchlib/searchlib/$1',
|
|
18
|
+
'@eeacms/search': '<rootDir>/src/addons/volto-searchlib/searchlib',
|
|
15
19
|
'@eeacms/(.*?)/(.*)$': '<rootDir>/node_modules/@eeacms/$1/src/$2',
|
|
16
|
-
'@plone/volto-slate':
|
|
20
|
+
'@plone/volto-slate$':
|
|
17
21
|
'<rootDir>/node_modules/@plone/volto/packages/volto-slate/src',
|
|
22
|
+
'@plone/volto-slate/(.*)$':
|
|
23
|
+
'<rootDir>/node_modules/@plone/volto/packages/volto-slate/src/$1',
|
|
18
24
|
'~/(.*)$': '<rootDir>/src/$1',
|
|
19
25
|
'load-volto-addons':
|
|
20
26
|
'<rootDir>/node_modules/@plone/volto/jest-addons-loader.js',
|
|
21
27
|
},
|
|
28
|
+
transformIgnorePatterns: [
|
|
29
|
+
'/node_modules/(?!(@plone|@root|@package|@eeacms)/).*/',
|
|
30
|
+
],
|
|
22
31
|
transform: {
|
|
23
32
|
'^.+\\.js(x)?$': 'babel-jest',
|
|
33
|
+
'^.+\\.ts(x)?$': 'babel-jest',
|
|
24
34
|
'^.+\\.(png)$': 'jest-file',
|
|
25
35
|
'^.+\\.(jpg)$': 'jest-file',
|
|
26
36
|
'^.+\\.(svg)$': './node_modules/@plone/volto/jest-svgsystem-transform.js',
|
|
@@ -33,4 +43,9 @@ module.exports = {
|
|
|
33
43
|
statements: 5,
|
|
34
44
|
},
|
|
35
45
|
},
|
|
36
|
-
|
|
46
|
+
...(process.env.JEST_USE_SETUP === 'ON' && {
|
|
47
|
+
setupFilesAfterEnv: [
|
|
48
|
+
'<rootDir>/node_modules/@eeacms/volto-eea-website-policy/jest.setup.js',
|
|
49
|
+
],
|
|
50
|
+
}),
|
|
51
|
+
}
|
package/jest.setup.js
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { jest } from '@jest/globals';
|
|
2
|
+
import configureStore from 'redux-mock-store';
|
|
3
|
+
import thunk from 'redux-thunk';
|
|
4
|
+
import { blocksConfig } from '@plone/volto/config/Blocks';
|
|
5
|
+
import installSlate from '@plone/volto-slate/index';
|
|
6
|
+
|
|
7
|
+
var mockSemanticComponents = jest.requireActual('semantic-ui-react');
|
|
8
|
+
var mockComponents = jest.requireActual('@plone/volto/components');
|
|
9
|
+
var config = jest.requireActual('@plone/volto/registry').default;
|
|
10
|
+
|
|
11
|
+
config.blocks.blocksConfig = {
|
|
12
|
+
...blocksConfig,
|
|
13
|
+
...config.blocks.blocksConfig,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
jest.doMock('semantic-ui-react', () => ({
|
|
17
|
+
__esModule: true,
|
|
18
|
+
...mockSemanticComponents,
|
|
19
|
+
Popup: ({ content, trigger }) => {
|
|
20
|
+
return (
|
|
21
|
+
<div className="popup">
|
|
22
|
+
<div className="trigger">{trigger}</div>
|
|
23
|
+
<div className="content">{content}</div>
|
|
24
|
+
</div>
|
|
25
|
+
);
|
|
26
|
+
},
|
|
27
|
+
}));
|
|
28
|
+
|
|
29
|
+
jest.doMock('@plone/volto/components', () => {
|
|
30
|
+
return {
|
|
31
|
+
__esModule: true,
|
|
32
|
+
...mockComponents,
|
|
33
|
+
SidebarPortal: ({ children }) => <div id="sidebar">{children}</div>,
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
jest.doMock('@plone/volto/registry', () =>
|
|
38
|
+
[installSlate].reduce((acc, apply) => apply(acc), config),
|
|
39
|
+
);
|
|
40
|
+
|
|
41
|
+
const mockStore = configureStore([thunk]);
|
|
42
|
+
|
|
43
|
+
global.fetch = jest.fn(() =>
|
|
44
|
+
Promise.resolve({
|
|
45
|
+
json: () => Promise.resolve({}),
|
|
46
|
+
}),
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
global.store = mockStore({
|
|
50
|
+
intl: {
|
|
51
|
+
locale: 'en',
|
|
52
|
+
messages: {},
|
|
53
|
+
formatMessage: jest.fn(),
|
|
54
|
+
},
|
|
55
|
+
content: {
|
|
56
|
+
create: {},
|
|
57
|
+
subrequests: [],
|
|
58
|
+
},
|
|
59
|
+
connected_data_parameters: {},
|
|
60
|
+
screen: {
|
|
61
|
+
page: {
|
|
62
|
+
width: 768,
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-eea-website-policy",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.1-beta.1",
|
|
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",
|
|
@@ -17,15 +17,21 @@
|
|
|
17
17
|
"url": "git@github.com:eea/volto-eea-website-policy.git"
|
|
18
18
|
},
|
|
19
19
|
"addons": [
|
|
20
|
-
"@eeacms/volto-widget-dataprovenance"
|
|
20
|
+
"@eeacms/volto-widget-dataprovenance",
|
|
21
|
+
"@plone-collective/volto-authomatic"
|
|
21
22
|
],
|
|
22
23
|
"dependencies": {
|
|
23
|
-
"@eeacms/volto-widget-dataprovenance": "*"
|
|
24
|
+
"@eeacms/volto-widget-dataprovenance": "*",
|
|
25
|
+
"@plone-collective/volto-authomatic": "2.0.1"
|
|
26
|
+
},
|
|
27
|
+
"resolutions": {
|
|
28
|
+
"@plone-collective/volto-authomatic": "2.0.1"
|
|
24
29
|
},
|
|
25
30
|
"devDependencies": {
|
|
26
31
|
"@cypress/code-coverage": "^3.10.0",
|
|
27
32
|
"@plone/scripts": "*",
|
|
28
33
|
"babel-plugin-transform-class-properties": "^6.24.1",
|
|
34
|
+
"dotenv": "^16.3.2",
|
|
29
35
|
"husky": "^8.0.3",
|
|
30
36
|
"lint-staged": "^14.0.1",
|
|
31
37
|
"md5": "^2.3.0"
|
|
@@ -3,7 +3,7 @@ import ContextNavigationEdit from './ContextNavigationEdit';
|
|
|
3
3
|
import ContextNavigationView from './ContextNavigationView';
|
|
4
4
|
import BlockSettingsSchema from '@plone/volto/components/manage/Blocks/Block/Schema';
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
const applyConfig = (config) => {
|
|
7
7
|
config.blocks.blocksConfig.contextNavigation = {
|
|
8
8
|
id: 'contextNavigation',
|
|
9
9
|
title: 'Navigation',
|
|
@@ -24,3 +24,5 @@ export default (config) => {
|
|
|
24
24
|
|
|
25
25
|
return config;
|
|
26
26
|
};
|
|
27
|
+
|
|
28
|
+
export default applyConfig;
|
|
@@ -82,8 +82,7 @@ const messages = defineMessages({
|
|
|
82
82
|
defaultMessage: 'Changes applied',
|
|
83
83
|
},
|
|
84
84
|
workingCopyAppliedBy: {
|
|
85
|
-
id:
|
|
86
|
-
'Made by {creator} on {date}. This is not a working copy anymore, but the main content.',
|
|
85
|
+
id: 'Made by {creator} on {date}. This is not a working copy anymore, but the main content.',
|
|
87
86
|
defaultMessage:
|
|
88
87
|
'Made by {creator} on {date}. This is not a working copy anymore, but the main content.',
|
|
89
88
|
},
|
package/src/index.js
CHANGED
|
@@ -2,6 +2,9 @@ import { runtimeConfig } from '@plone/volto/runtime_config';
|
|
|
2
2
|
import installContextNavigationBlock from '@eeacms/volto-eea-website-policy/components/Blocks/ContextNavigation';
|
|
3
3
|
import { appendGroup } from './helpers';
|
|
4
4
|
import { FrequencyOfDissemination } from '@eeacms/volto-eea-website-policy/components/Widgets/FrequencyOfDissemination';
|
|
5
|
+
import Login from '@plone-collective/volto-authomatic/components/Login/Login.jsx';
|
|
6
|
+
import Logout from '@plone-collective/volto-authomatic/components/Logout/Logout.jsx';
|
|
7
|
+
import { Login as VoltoLogin } from '@plone/volto/components';
|
|
5
8
|
|
|
6
9
|
const restrictedBlocks = [
|
|
7
10
|
'imagecards',
|
|
@@ -39,7 +42,8 @@ const overrideBlocks = {
|
|
|
39
42
|
|
|
40
43
|
const applyConfig = (config) => {
|
|
41
44
|
// #158717#note-25 any path that isn't static, en or controlpanel is treated as external
|
|
42
|
-
const notInEN =
|
|
45
|
+
const notInEN =
|
|
46
|
+
/^(?!(#|\/en|\/login-authomatic|\/fallback_login|\/static|\/controlpanel|\/cypress|\/login|\/logout|\/contact-form|\/passwordreset)).*$/;
|
|
43
47
|
config.settings.externalRoutes = [
|
|
44
48
|
...(config.settings.externalRoutes || []),
|
|
45
49
|
{
|
|
@@ -51,6 +55,25 @@ const applyConfig = (config) => {
|
|
|
51
55
|
},
|
|
52
56
|
];
|
|
53
57
|
|
|
58
|
+
//Make azure login to be at route azure_login, and ldap login to be at /login
|
|
59
|
+
|
|
60
|
+
config.addonRoutes = config.addonRoutes.filter(
|
|
61
|
+
(route) =>
|
|
62
|
+
!route.path.includes('/login') && !route.path.includes('/logout'),
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
config.addonRoutes.push(
|
|
66
|
+
{
|
|
67
|
+
path: '/**/azure_login',
|
|
68
|
+
component: Login,
|
|
69
|
+
},
|
|
70
|
+
{ path: '/**/azure_login', component: Login },
|
|
71
|
+
{ path: '/login', component: VoltoLogin },
|
|
72
|
+
{ path: '/**/login', component: VoltoLogin },
|
|
73
|
+
{ path: '/logout', component: Logout },
|
|
74
|
+
{ path: '/**/logout', component: Logout },
|
|
75
|
+
);
|
|
76
|
+
|
|
54
77
|
// #160689 Redirect contact-form to contact-us
|
|
55
78
|
config.settings.contactForm = '/en/about/contact-us';
|
|
56
79
|
|
package/.project.eslintrc.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
const fs = require('fs');
|
|
2
|
-
const path = require('path');
|
|
3
|
-
|
|
4
|
-
const projectRootPath = fs.existsSync('./project')
|
|
5
|
-
? fs.realpathSync('./project')
|
|
6
|
-
: fs.realpathSync('./../../../');
|
|
7
|
-
const packageJson = require(path.join(projectRootPath, 'package.json'));
|
|
8
|
-
const jsConfig = require(path.join(projectRootPath, 'jsconfig.json')).compilerOptions;
|
|
9
|
-
|
|
10
|
-
const pathsConfig = jsConfig.paths;
|
|
11
|
-
|
|
12
|
-
let voltoPath = path.join(projectRootPath, 'node_modules/@plone/volto');
|
|
13
|
-
|
|
14
|
-
Object.keys(pathsConfig).forEach(pkg => {
|
|
15
|
-
if (pkg === '@plone/volto') {
|
|
16
|
-
voltoPath = `./${jsConfig.baseUrl}/${pathsConfig[pkg][0]}`;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
const AddonConfigurationRegistry = require(`${voltoPath}/addon-registry.js`);
|
|
20
|
-
const reg = new AddonConfigurationRegistry(projectRootPath);
|
|
21
|
-
|
|
22
|
-
// Extends ESlint configuration for adding the aliases to `src` directories in Volto addons
|
|
23
|
-
const addonAliases = Object.keys(reg.packages).map(o => [
|
|
24
|
-
o,
|
|
25
|
-
reg.packages[o].modulePath,
|
|
26
|
-
]);
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
module.exports = {
|
|
30
|
-
extends: `${projectRootPath}/node_modules/@plone/volto/.eslintrc`,
|
|
31
|
-
settings: {
|
|
32
|
-
'import/resolver': {
|
|
33
|
-
alias: {
|
|
34
|
-
map: [
|
|
35
|
-
['@plone/volto', '@plone/volto/src'],
|
|
36
|
-
...addonAliases,
|
|
37
|
-
['@package', `${__dirname}/src`],
|
|
38
|
-
['~', `${__dirname}/src`],
|
|
39
|
-
],
|
|
40
|
-
extensions: ['.js', '.jsx', '.json'],
|
|
41
|
-
},
|
|
42
|
-
'babel-plugin-root-import': {
|
|
43
|
-
rootPathSuffix: 'src',
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
|