@eeacms/volto-clms-theme 1.1.273 → 1.1.275
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [1.1.275](https://github.com/eea/volto-clms-theme/compare/1.1.274...1.1.275) - 2 March 2026
|
|
8
|
+
|
|
9
|
+
#### :hammer_and_wrench: Others
|
|
10
|
+
|
|
11
|
+
- Refs #295005 - In TechnicalLibraryView add case of external source content. [GhitaB - [`ccc4d65`](https://github.com/eea/volto-clms-theme/commit/ccc4d65a4a3b8d54245baed78872d0fe0977a7ae)]
|
|
12
|
+
### [1.1.274](https://github.com/eea/volto-clms-theme/compare/1.1.273...1.1.274) - 26 February 2026
|
|
13
|
+
|
|
14
|
+
#### :house: Internal changes
|
|
15
|
+
|
|
16
|
+
- chore: [JENKINSFILE] add package version in sonarqube [valentinab25 - [`083ab74`](https://github.com/eea/volto-clms-theme/commit/083ab74551580ab295eba0443b2b63365107ba80)]
|
|
17
|
+
- chore: [JENKINSFILE] use sonarqube branches [EEA Jenkins - [`22cf3b2`](https://github.com/eea/volto-clms-theme/commit/22cf3b2a747b0d5f2814ab6d8cb569e278cf1ff4)]
|
|
18
|
+
|
|
19
|
+
#### :hammer_and_wrench: Others
|
|
20
|
+
|
|
21
|
+
- Refs #295005 - Fix tests. [GhitaB - [`eb4832d`](https://github.com/eea/volto-clms-theme/commit/eb4832d3a5073effd908b1c75a2b4677bbf68e1e)]
|
|
22
|
+
- Refs #295005 - Include all_fields_for_freetext in search formula. [GhitaB - [`793e569`](https://github.com/eea/volto-clms-theme/commit/793e5695827d8cad7cbda59ca3e4f00adb012e2f)]
|
|
23
|
+
- Refs #295005 - Include all_fields_for_freetext in search formula. [GhitaB - [`ff0ed4a`](https://github.com/eea/volto-clms-theme/commit/ff0ed4a5a2e80a81c293e64f85ba538708595599)]
|
|
7
24
|
### [1.1.273](https://github.com/eea/volto-clms-theme/compare/1.1.272...1.1.273) - 10 February 2026
|
|
8
25
|
|
|
9
26
|
#### :hammer_and_wrench: Others
|
package/Jenkinsfile
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
pipeline {
|
|
2
|
-
tools {
|
|
3
|
-
jdk 'Java17'
|
|
4
|
-
}
|
|
5
2
|
agent {
|
|
6
3
|
node { label 'docker-host' }
|
|
7
4
|
}
|
|
@@ -239,11 +236,17 @@ pipeline {
|
|
|
239
236
|
// script {
|
|
240
237
|
// def scannerHome = tool 'SonarQubeScanner'
|
|
241
238
|
// def nodeJS = tool 'NodeJS'
|
|
239
|
+
// if (env.CHANGE_ID) {
|
|
240
|
+
// env.sonarParams = " -Dsonar.pullrequest.base=${env.CHANGE_TARGET} -Dsonar.pullrequest.branch=${env.CHANGE_BRANCH} -Dsonar.pullrequest.key=${env.CHANGE_ID} "
|
|
241
|
+
// }
|
|
242
|
+
// else {
|
|
243
|
+
// env.sonarParams = " -Dsonar.branch.name=${env.BRANCH_NAME}"
|
|
244
|
+
// }
|
|
242
245
|
// withSonarQubeEnv('Sonarqube') {
|
|
243
246
|
// sh '''sed -i "s#/app/src/addons/${GIT_NAME}/##g" xunit-reports/coverage/lcov.info'''
|
|
244
247
|
// sh '''sed -i "s#src/addons/${GIT_NAME}/##g" xunit-reports/coverage/lcov.info'''
|
|
245
|
-
// // sh "export PATH=${scannerHome}/bin:${nodeJS}/bin:$PATH; sonar-scanner -Dsonar.javascript.lcov.reportPaths=./xunit-reports/coverage/lcov.info,./cypress-coverage/coverage/lcov.info -Dsonar.sources=./src -Dsonar.projectKey=$GIT_NAME
|
|
246
|
-
// sh '''try=5; while [ \$try -gt 0 ]; do curl -s -XPOST -u "${SONAR_AUTH_TOKEN}:" "${SONAR_HOST_URL}api/project_tags/set?project=${GIT_NAME}
|
|
248
|
+
// // sh "export PATH=${scannerHome}/bin:${nodeJS}/bin:$PATH; sonar-scanner -Dsonar.javascript.lcov.reportPaths=./xunit-reports/coverage/lcov.info,./cypress-coverage/coverage/lcov.info -Dsonar.sources=./src -Dsonar.projectKey=$GIT_NAME -Dsonar.projectName=$GIT_NAME -Dsonar.projectVersion=\$(jq -r '.version' package.json) ${env.sonarParams}"
|
|
249
|
+
// sh '''try=5; while [ \$try -gt 0 ]; do curl -s -XPOST -u "${SONAR_AUTH_TOKEN}:" "${SONAR_HOST_URL}api/project_tags/set?project=${GIT_NAME}&tags=${SONARQUBE_TAGS}" > set_tags_result; if [ \$(grep -ic error set_tags_result ) -eq 0 ]; then try=0; else cat set_tags_result; echo "... Will retry"; sleep 15; try=\$(( \$try - 1 )); fi; done'''
|
|
247
250
|
// }
|
|
248
251
|
// }
|
|
249
252
|
// }
|
|
@@ -267,7 +270,7 @@ pipeline {
|
|
|
267
270
|
// script {
|
|
268
271
|
// sh '''echo "Error" > checkresult.txt'''
|
|
269
272
|
// catchError(buildResult: 'FAILURE', stageResult: 'FAILURE') {
|
|
270
|
-
// sh '''set -o pipefail; docker run -i --rm --pull always --name="$IMAGE_NAME-gitflow-sn" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_NAME="$GIT_NAME" eeacms/gitflow /
|
|
273
|
+
// sh '''set -o pipefail; docker run -i --rm --pull always --name="$IMAGE_NAME-gitflow-sn" -e GIT_BRANCH="$BRANCH_NAME" -e GIT_NAME="$GIT_NAME" eeacms/gitflow /checkSonarqubemasterV2.sh | grep -v "Found script" | tee checkresult.txt'''
|
|
271
274
|
// }
|
|
272
275
|
|
|
273
276
|
// publishChecks name: 'SonarQube', title: 'Sonarqube Code Quality Check', summary: 'Quality check on the SonarQube metrics from branch develop, comparing it with the ones from master branch. No bugs are allowed',
|
package/README.md
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
[](https://github.com/eea/volto-clms-theme/releases)
|
|
4
4
|
|
|
5
5
|
[](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-clms-theme/job/master/display/redirect)
|
|
6
|
-
[](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-clms-theme
|
|
6
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-clms-theme)
|
|
7
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-clms-theme)
|
|
8
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-clms-theme)
|
|
9
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-clms-theme)
|
|
10
10
|
|
|
11
11
|
[](https://ci.eionet.europa.eu/view/Github/job/volto-addons/job/volto-clms-theme/job/develop/display/redirect)
|
|
12
|
-
[](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-clms-theme
|
|
12
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-clms-theme&branch=develop)
|
|
13
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-clms-theme&branch=develop)
|
|
14
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-clms-theme&branch=develop)
|
|
15
|
+
[](https://sonarqube.eea.europa.eu/dashboard?id=volto-clms-theme&branch=develop)
|
|
16
16
|
|
|
17
17
|
[Volto](https://github.com/plone/volto) add-on
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -21,7 +21,19 @@ const CLMSTechnicalLibraryView = (props) => {
|
|
|
21
21
|
</div>
|
|
22
22
|
)}
|
|
23
23
|
<div className="technicallibrary-content">
|
|
24
|
-
{content.
|
|
24
|
+
{typeof content.external_source_url === 'string' &&
|
|
25
|
+
content.external_source_url.trim() !== '' ? (
|
|
26
|
+
<>
|
|
27
|
+
<p>This document is hosted externally. Access it here:</p>
|
|
28
|
+
<CclButton
|
|
29
|
+
url={content.external_source_url}
|
|
30
|
+
target="_blank"
|
|
31
|
+
rel="noreferrer"
|
|
32
|
+
>
|
|
33
|
+
Open External Source
|
|
34
|
+
</CclButton>
|
|
35
|
+
</>
|
|
36
|
+
) : content.ondemand ? (
|
|
25
37
|
<>
|
|
26
38
|
<p>
|
|
27
39
|
You are requesting an on-demand document. Please contact the{' '}
|
package/src/search/index.js
CHANGED