Skip to content

Commit

Permalink
Merge pull request #90 from eea/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 authored Feb 29, 2024
2 parents a9b16e0 + 886fa34 commit 74ace6a
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 22 deletions.
23 changes: 13 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [0.2.7](https://github.com/eea/volto-freshwater-policy/compare/1.0.0-prefix-path-fixes.1-alpha...0.2.7) - 28 February 2024
### [0.3.0](https://github.com/eea/volto-freshwater-policy/compare/1.0.0-prefix-path-fixes.1-alpha...0.3.0) - 29 February 2024

#### :rocket: New Features

- feat: put blacklist to refrain from prefix [nileshgulia1 - [`acd7f2d`](https://github.com/eea/volto-freshwater-policy/commit/acd7f2d502be607e760c26b1cfc1da654ebd3b34)]
- feat: open externalLink in new tab [nileshgulia1 - [`037ece7`](https://github.com/eea/volto-freshwater-policy/commit/037ece7e5bced5ee9bf8a905165cbb1bf58cc4d5)]

#### :bug: Bug Fixes
Expand Down Expand Up @@ -35,6 +36,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### :house: Internal changes

- chore: eslint . [nileshgulia1 - [`4e03047`](https://github.com/eea/volto-freshwater-policy/commit/4e030476826e918397b6c029e5cc37cdea07b551)]
- style: Automated code fix [eea-jenkins - [`6e5eb10`](https://github.com/eea/volto-freshwater-policy/commit/6e5eb108197748584deb3d0f400d105c157b4b81)]
- style: Automated code fix [eea-jenkins - [`d0cf5d6`](https://github.com/eea/volto-freshwater-policy/commit/d0cf5d62c9ebe251486f8900e16aff77c3fb8272)]
- style: Automated code fix [eea-jenkins - [`1296ee4`](https://github.com/eea/volto-freshwater-policy/commit/1296ee476ddd473cb78d5b82656f352c52749ef0)]
Expand All @@ -44,6 +46,8 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### :hammer_and_wrench: Others

- bump 0.3.0 [nileshgulia1 - [`06a7be0`](https://github.com/eea/volto-freshwater-policy/commit/06a7be030aee43fcc95de5efebd314b79ac1774f)]
- eslint . [nileshgulia1 - [`8f3ec2b`](https://github.com/eea/volto-freshwater-policy/commit/8f3ec2b6862ec0930c0956c8dc6d742ab0f9b13a)]
- test: revert jest config [valentinab25 - [`866f1f6`](https://github.com/eea/volto-freshwater-policy/commit/866f1f617b0ec63a3beab0e763ca482eb7d3b83f)]
- test: revert eslint configuration [valentinab25 - [`b54c1f8`](https://github.com/eea/volto-freshwater-policy/commit/b54c1f8ab3ea6a927b444e6f3e7be253eee749fc)]
- test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`c1332e4`](https://github.com/eea/volto-freshwater-policy/commit/c1332e41da9f818fe8bb853bb11b364b342d0c6e)]
Expand All @@ -67,7 +71,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Remove console.log [laszlocseh - [`e6b9cb0`](https://github.com/eea/volto-freshwater-policy/commit/e6b9cb00f24248d9556f54f8b396821b9c54bb87)]
- Added variation to country header data block [laszlocseh - [`1a5e9ed`](https://github.com/eea/volto-freshwater-policy/commit/1a5e9ed6b3ea92b166a43090f13aee505ca4e1a3)]
- bump 0.2.0 [nileshgulia1 - [`5b876c7`](https://github.com/eea/volto-freshwater-policy/commit/5b876c7fac39922f955592fa74db306844e7f90a)]
- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`c8efdd3`](https://github.com/eea/volto-freshwater-policy/commit/c8efdd3a5c290dc9c0223f0802c32a30181af8c4)]
- test: fix duplicated code [kreafox - [`afa5b8a`](https://github.com/eea/volto-freshwater-policy/commit/afa5b8a6ad01c7da2c7180d9186ae30981899014)]
- Small fix in country header data block [laszlocseh - [`3d849ca`](https://github.com/eea/volto-freshwater-policy/commit/3d849cae57fcd1c5a80aeceb442b62d69e5d4e06)]
- Undo change to apiExpander [laszlocseh - [`5167495`](https://github.com/eea/volto-freshwater-policy/commit/51674955ce95c969c1823b16a0db2ac75677401b)]
Expand All @@ -90,8 +93,15 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

- fix: override of volto-call-to-action widget [nileshgulia1 - [`bc613be`](https://github.com/eea/volto-freshwater-policy/commit/bc613be163d32ffd296458c7307ac5fa1c586c9e)]

### [1.0.0-prefix-path-fixes.0-alpha](https://github.com/eea/volto-freshwater-policy/compare/0.2.6...1.0.0-prefix-path-fixes.0-alpha) - 15 January 2024
### [1.0.0-prefix-path-fixes.0-alpha](https://github.com/eea/volto-freshwater-policy/compare/0.2.7...1.0.0-prefix-path-fixes.0-alpha) - 15 January 2024

### [0.2.7](https://github.com/eea/volto-freshwater-policy/compare/0.2.6...0.2.7) - 28 February 2024

#### :hammer_and_wrench: Others

- test: revert jest config [valentinab25 - [`866f1f6`](https://github.com/eea/volto-freshwater-policy/commit/866f1f617b0ec63a3beab0e763ca482eb7d3b83f)]
- test: revert eslint configuration [valentinab25 - [`b54c1f8`](https://github.com/eea/volto-freshwater-policy/commit/b54c1f8ab3ea6a927b444e6f3e7be253eee749fc)]
- test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`c1332e4`](https://github.com/eea/volto-freshwater-policy/commit/c1332e41da9f818fe8bb853bb11b364b342d0c6e)]
### [0.2.6](https://github.com/eea/volto-freshwater-policy/compare/0.2.5...0.2.6) - 27 February 2024

### [0.2.5](https://github.com/eea/volto-freshwater-policy/compare/0.2.4...0.2.5) - 26 February 2024
Expand Down Expand Up @@ -176,7 +186,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### :hammer_and_wrench: Others

- Add Sonarqube tag using freshwater-frontend addons list [EEA Jenkins - [`c8efdd3`](https://github.com/eea/volto-freshwater-policy/commit/c8efdd3a5c290dc9c0223f0802c32a30181af8c4)]
### [0.1.55](https://github.com/eea/volto-freshwater-policy/compare/0.1.54...0.1.55) - 8 February 2024

#### :nail_care: Enhancements
Expand Down Expand Up @@ -342,8 +351,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

- fix logo [nileshgulia1 - [`24948fd`](https://github.com/eea/volto-freshwater-policy/commit/24948fd0a56a66f8cf9e12a6a3b8184febede801)]
- add support for prefixPath refs#144165 [nileshgulia1 - [`595c22e`](https://github.com/eea/volto-freshwater-policy/commit/595c22e734da3dfe45b958818da0df95122fb591)]
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`7b656fc`](https://github.com/eea/volto-freshwater-policy/commit/7b656fc8ccc3c7d2c3a42cfbcd4874e0502a79c9)]
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`f6da0ca`](https://github.com/eea/volto-freshwater-policy/commit/f6da0ca013142501a2c4e937dcb029b835e8ae1d)]
### [0.1.34](https://github.com/eea/volto-freshwater-policy/compare/0.1.33...0.1.34) - 14 November 2023

#### :bug: Bug Fixes
Expand All @@ -368,12 +375,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### :hammer_and_wrench: Others

- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`8b64fda`](https://github.com/eea/volto-freshwater-policy/commit/8b64fdae9bb8b95c1c589f3c9483cb026e7c9b26)]
### [0.1.31](https://github.com/eea/volto-freshwater-policy/compare/0.1.30...0.1.31) - 6 November 2023

#### :house: Internal changes

- chore: [JENKINS] Refactor automated testing [valentinab25 - [`370f49d`](https://github.com/eea/volto-freshwater-policy/commit/370f49dee1f260ab4fd1e2fd16976fb6e01da080)]

#### :hammer_and_wrench: Others

Expand All @@ -384,8 +389,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
- Fix modal content scrolling [kreafox - [`fac39fc`](https://github.com/eea/volto-freshwater-policy/commit/fac39fc3f0d1f73d3f2fdafbaaab9c6144b12ae7)]
- Add rights widget [kreafox - [`a53bae9`](https://github.com/eea/volto-freshwater-policy/commit/a53bae9393dac1205c62f5049f5cd43698f5ca1e)]
- Remove modal for tableau visualization [kreafox - [`eafdc11`](https://github.com/eea/volto-freshwater-policy/commit/eafdc11e76b09b65ae004bef34651d45a0479add)]
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`d0ca004`](https://github.com/eea/volto-freshwater-policy/commit/d0ca0042b89fa298a0544dd5776d73e7a03a3c6b)]
- test: [JENKINS] Improve cypress time [valentinab25 - [`9a7c42c`](https://github.com/eea/volto-freshwater-policy/commit/9a7c42c9310c9ea3395638d1c83c4f8c53cc592b)]
### [0.1.30](https://github.com/eea/volto-freshwater-policy/compare/0.1.29...0.1.30) - 27 October 2023

#### :house: Internal changes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-freshwater-policy",
"version": "0.2.7",
"version": "0.3.0",
"description": "@eeacms/volto-freshwater-policy: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
8 changes: 4 additions & 4 deletions src/components/Blocks/CaseStudyExplorer/CaseStudyListing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function CaseStudyList(props) {
<h3 className="listing-header">
<a
target="_blank"
rel="noreferrer"
rel="noopener noreferrer"
href={selectedCase.path}
title={selectedCase.title}
>
Expand Down Expand Up @@ -110,7 +110,7 @@ export default function CaseStudyList(props) {
<span>
<a
target="_blank"
rel="noreferrer"
rel="noopener noreferrer"
href={measure.path}
>
{measure.title}
Expand Down Expand Up @@ -154,7 +154,7 @@ export default function CaseStudyList(props) {
<h3 className="listing-header">
<a
target="_blank"
rel="noreferrer"
rel="noopener noreferrer"
href={item.values_.path}
title={item.values_.title}
>
Expand Down Expand Up @@ -189,7 +189,7 @@ export default function CaseStudyList(props) {
<span>
<a
target="_blank"
rel="noreferrer"
rel="noopener noreferrer"
href={measure.path}
>
{measure.title}
Expand Down
8 changes: 6 additions & 2 deletions src/components/Blocks/CaseStudyExplorer/FeatureDisplay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function FeatureDisplay({ feature }) {
<div id="csepopup">
<h3>
<strong>
<a target="_blank" rel="noreferrer" href={feature.path}>
<a target="_blank" rel="noopener noreferrer" href={feature.path}>
{feature.title}
</a>
</strong>
Expand All @@ -16,7 +16,11 @@ export default function FeatureDisplay({ feature }) {
{feature.nwrms_implemented.map((item, index) => {
return (
<li key={index}>
<a target="_blank" rel="noreferrer" href={item['path']}>
<a
target="_blank"
rel="noopener noreferrer"
href={item['path']}
>
{item['title']}
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion src/components/theme/CaseStudyView/CaseStudyView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const CaseStudyView = (props) => {
<div className="field__label">
<a
href={item['@id'] + '/@@images/file'}
rel="noreferrer"
rel="noopener noreferrer"
target="_blank"
>
The in-depth description of the case study (link)
Expand Down
2 changes: 1 addition & 1 deletion src/components/theme/ItemMetadata/ItemMetadata.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const ItemMetadata = (props) => {
<a
href={original_source}
target="_blank"
rel="noreferrer"
rel="noopener noreferrer"
>
{original_source}
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/components/theme/MeasureView/MeasureView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const ImageSource = (props) => {
<div className="field__label">
<a
target="_blank"
rel="noreferrer"
rel="noopener noreferrer"
href={image.description.split(': ')[1]}
style={{ display: 'flex', gap: '5px' }}
>
Expand Down
4 changes: 2 additions & 2 deletions src/customizations/volto/components/theme/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const EEAHeader = ({ pathname, token, items, history, subsite }) => {
<a
href="https://europa.eu/european-union/contact/institutions-bodies_en"
target="_blank"
rel="noreferrer"
rel="noopener noreferrer"
onKeyDown={(evt) => evt.stopPropagation()}
>
See all EU institutions and bodies
Expand All @@ -143,7 +143,7 @@ const EEAHeader = ({ pathname, token, items, history, subsite }) => {
href={item.href}
className="site"
target="_blank"
rel="noreferrer"
rel="noopener noreferrer"
onKeyDown={(evt) => evt.stopPropagation()}
>
{item.title}
Expand Down
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,9 @@ const applyConfig = (config) => {

config.settings.openExternalLinkInNewTab = true;

//this is required by volto-prefixpath
config.settings.blackListUrls = ['/marine'];

// Routes
config.addonRoutes = [
...config.addonRoutes,
Expand Down

0 comments on commit 74ace6a

Please sign in to comment.