@eeacms/volto-cca-policy 0.2.80 → 0.2.81

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,13 @@ 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.2.81](https://github.com/eea/volto-cca-policy/compare/0.2.80...0.2.81) - 25 November 2024
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Remove console.log [Tiberiu Ichim - [`1c82ad8`](https://github.com/eea/volto-cca-policy/commit/1c82ad898054a723d47144100139f6880ef5ea0d)]
12
+ - WIP [Tiberiu Ichim - [`5fa406c`](https://github.com/eea/volto-cca-policy/commit/5fa406ca4824829fc8700f8172ae52903f39bd55)]
13
+ - refs #272894: added permanentFilters to search apps to exclude pages with seo_noindex [laszlocseh - [`a64ffb1`](https://github.com/eea/volto-cca-policy/commit/a64ffb11984c122dceddb94294c19b17dfd39ead)]
7
14
  ### [0.2.80](https://github.com/eea/volto-cca-policy/compare/0.2.79...0.2.80) - 15 November 2024
8
15
 
9
16
  #### :rocket: Dependency updates
@@ -1666,13 +1673,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1666
1673
  - Refs #260715 rast-block wip [Tripon Eugen - [`f19d54e`](https://github.com/eea/volto-cca-policy/commit/f19d54e0b9a6a86bf344eb85b6a1cda7f3de91bf)]
1667
1674
  - Refs #260715 rast-block wip [Tripon Eugen - [`2828537`](https://github.com/eea/volto-cca-policy/commit/2828537b6c084cd1a82162d552fb4ef025b71f9f)]
1668
1675
  - Refs #260715 rast-block updates [Tripon Eugen - [`1e803e5`](https://github.com/eea/volto-cca-policy/commit/1e803e5bd3d3fb7558f261c76c68866be7beb8b5)]
1669
- - test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`0a15e1b`](https://github.com/eea/volto-cca-policy/commit/0a15e1b2ad081233685e80d5b3c60a8663f6b896)]
1670
- - test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`9554e44`](https://github.com/eea/volto-cca-policy/commit/9554e44c92a621a52b2adb5a4830fb084ee5734b)]
1671
1676
  ### [0.1.49](https://github.com/eea/volto-cca-policy/compare/0.1.48...0.1.49) - 15 November 2023
1672
1677
 
1673
1678
  #### :house: Internal changes
1674
1679
 
1675
- - chore: [JENKINS] Refactor automated testing [valentinab25 - [`7b820a6`](https://github.com/eea/volto-cca-policy/commit/7b820a6369c2ddd5203b1a4abe352cb4bb43db7a)]
1676
1680
  - chore: husky, lint-staged use fixed versions [valentinab25 - [`f0a8061`](https://github.com/eea/volto-cca-policy/commit/f0a8061c275c236deb00087c23fac9860a073106)]
1677
1681
 
1678
1682
  #### :hammer_and_wrench: Others
@@ -1689,9 +1693,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1689
1693
  - Refs #259267 - jenkins test [Tripon Eugen - [`cacd31e`](https://github.com/eea/volto-cca-policy/commit/cacd31e7b1afe0983674ed5c7632d2e1d7fa752e)]
1690
1694
  - Refs #259267 - jenkins [Tripon Eugen - [`5b3affe`](https://github.com/eea/volto-cca-policy/commit/5b3affee8401239de10097884c1b7f2349d15ec0)]
1691
1695
  - Refs #259267 - add When, lead image and title to files [Tripon Eugen - [`2cedb23`](https://github.com/eea/volto-cca-policy/commit/2cedb237f898af9057e13fba94b615ef71077204)]
1692
- - test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`4d607a5`](https://github.com/eea/volto-cca-policy/commit/4d607a576e9d0a5c34e48c41b409e7df616ee3d6)]
1693
- - test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`b7f74d5`](https://github.com/eea/volto-cca-policy/commit/b7f74d53513a6edbfbca5cb6d19687929bb1e5db)]
1694
- - test: [JENKINS] Improve cypress time [valentinab25 - [`db65617`](https://github.com/eea/volto-cca-policy/commit/db656173391f65157098d95d388c25f6429753d8)]
1695
1696
  - Refs #259267 - cca event blocks attachments and check not mandatoty fields [Tripon Eugen - [`3138e5a`](https://github.com/eea/volto-cca-policy/commit/3138e5afb5bfbdbed14e27ed457b16867b7fa414)]
1696
1697
  - 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)]
1697
1698
  - Refs #161485 - Fix ECDE name conflict. [GhitaB - [`8bfd99f`](https://github.com/eea/volto-cca-policy/commit/8bfd99ff68bb82a04d1c0ed625fa514fcf46289e)]
@@ -1908,7 +1909,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1908
1909
 
1909
1910
  #### :house: Internal changes
1910
1911
 
1911
- - chore: [JENKINS] Remove alpha testing version [valentinab25 - [`ad1ced0`](https://github.com/eea/volto-cca-policy/commit/ad1ced0971ba116c13a3b5fcc039172cc915c919)]
1912
1912
 
1913
1913
  #### :hammer_and_wrench: Others
1914
1914
 
@@ -2389,7 +2389,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
2389
2389
  #### :hammer_and_wrench: Others
2390
2390
 
2391
2391
  - Refs #158294 - Update supported languages list. [GhitaB - [`0a4f91f`](https://github.com/eea/volto-cca-policy/commit/0a4f91f39b7edc367bd4c127d6a8f273c7788361)]
2392
- - Add Sonarqube tag using cca-frontend addons list [EEA Jenkins - [`8f1f9ce`](https://github.com/eea/volto-cca-policy/commit/8f1f9ce6c22805670cc0800d3c779b6d619d0f31)]
2393
2392
  ### [0.1.1](https://github.com/eea/volto-cca-policy/compare/0.1.0...0.1.1) - 13 December 2022
2394
2393
 
2395
2394
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.2.80",
3
+ "version": "0.2.81",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -87,6 +87,17 @@ export default function installMainSearch(config) {
87
87
  cca_include_in_search_observatory: 'true',
88
88
  },
89
89
  });
90
+ ccaHealthSearch.permanentFilters.push({
91
+ bool: {
92
+ must_not: [
93
+ {
94
+ term: {
95
+ 'seo_noindex.keyword': 'true',
96
+ },
97
+ },
98
+ ],
99
+ },
100
+ });
90
101
  ccaHealthSearch.contentSectionsParams = {
91
102
  enable: true,
92
103
  sectionFacetsField: 'op_cluster',
@@ -54,6 +54,17 @@ export default function installMainSearch(config) {
54
54
  cluster_name: 'cca',
55
55
  },
56
56
  });
57
+ missionAll.permanentFilters.push({
58
+ bool: {
59
+ must_not: [
60
+ {
61
+ term: {
62
+ 'seo_noindex.keyword': 'true',
63
+ },
64
+ },
65
+ ],
66
+ },
67
+ });
57
68
  // missionAll.permanentFilters.push({
58
69
  // bool: {
59
70
  // must_not: [
@@ -5,7 +5,7 @@ import facets from './facets-funding';
5
5
 
6
6
  const missionFundingSearchConfig = {
7
7
  title: 'Mission Funding Search',
8
- ...facets,
8
+ facets,
9
9
  };
10
10
 
11
11
  export default function installMissionFundingSearch(config) {
@@ -30,15 +30,22 @@ export default function installMissionFundingSearch(config) {
30
30
  };
31
31
 
32
32
  const { missionFundingSearch } = config.searchui;
33
-
34
- missionFundingSearch.facets = facets;
33
+ missionFundingSearch.permanentFilters.push({
34
+ bool: {
35
+ must_not: [
36
+ {
37
+ term: {
38
+ 'seo_noindex.keyword': 'true',
39
+ },
40
+ },
41
+ ],
42
+ },
43
+ });
35
44
 
36
45
  if (typeof window !== 'undefined') {
37
46
  config.searchui.missionFundingSearch.host =
38
47
  process.env.RAZZLE_ES_PROXY_ADDR || getClientProxyAddress();
39
48
  }
40
49
 
41
- // console.log(config.searchui);
42
-
43
50
  return config;
44
51
  }
@@ -3,7 +3,7 @@ import globalSearchBaseConfig from '@eeacms/volto-globalsearch/config/global-sea
3
3
  import spatialWhitelist from '@eeacms/volto-globalsearch/config/json/spatialWhitelist';
4
4
  import { cca_adaptation_sectors } from './../common';
5
5
 
6
- const blacklist = ['IncludeArchived', 'issued.date', 'spatial'];
6
+ const blacklist = ['IncludeArchived', 'issued.date', 'spatial', 'language'];
7
7
 
8
8
  const facets = [
9
9
  multiTermFacet({
@@ -58,6 +58,18 @@ export default function installMainSearch(config) {
58
58
  },
59
59
  });
60
60
 
61
+ missionProjects.permanentFilters.push({
62
+ bool: {
63
+ must_not: [
64
+ {
65
+ term: {
66
+ 'seo_noindex.keyword': 'true',
67
+ },
68
+ },
69
+ ],
70
+ },
71
+ });
72
+
61
73
  missionProjects.facets = facets;
62
74
 
63
75
  if (typeof window !== 'undefined') {
@@ -29,7 +29,17 @@ export default function installMissionStoriesSearch(config) {
29
29
  };
30
30
 
31
31
  const { missionStoriesSearch } = config.searchui;
32
-
32
+ missionStoriesSearch.permanentFilters.push({
33
+ bool: {
34
+ must_not: [
35
+ {
36
+ term: {
37
+ 'seo_noindex.keyword': 'true',
38
+ },
39
+ },
40
+ ],
41
+ },
42
+ });
33
43
  missionStoriesSearch.facets = facets;
34
44
 
35
45
  if (typeof window !== 'undefined') {
@@ -30,7 +30,17 @@ export default function installMissionToolsSearch(config) {
30
30
  };
31
31
 
32
32
  const { missionToolsSearch } = config.searchui;
33
-
33
+ missionToolsSearch.permanentFilters.push({
34
+ bool: {
35
+ must_not: [
36
+ {
37
+ term: {
38
+ 'seo_noindex.keyword': 'true',
39
+ },
40
+ },
41
+ ],
42
+ },
43
+ });
34
44
  missionToolsSearch.facets = facets;
35
45
 
36
46
  if (typeof window !== 'undefined') {