Skip to content

Commit

Permalink
Clear attachedimage
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Jun 22, 2022
2 parents 311343d + 1310a71 commit a550dc0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@ 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.1.6](https://github.com/eea/volto-addons-forest/compare/0.1.5...0.1.6)

- resolve urlutils update [`b444fc8`](https://github.com/eea/volto-addons-forest/commit/b444fc8aea18594760ac27f5bdf13801836579ce)
- remove uuid [`8096e5e`](https://github.com/eea/volto-addons-forest/commit/8096e5e16b533583893315e5828f68c10a45a2db)
- fix for attachedImage [`8c47c1e`](https://github.com/eea/volto-addons-forest/commit/8c47c1ea7afb8807ac9af1d09344418ed84a32cb)

#### [0.1.5](https://github.com/eea/volto-addons-forest/compare/0.1.4...0.1.5)

> 14 December 2021
- Update [`#6`](https://github.com/eea/volto-addons-forest/pull/6)
- Removed duplicate style [`6699da2`](https://github.com/eea/volto-addons-forest/commit/6699da2c49cb4bf1afeecdaf71a1d0d894f1bfc4)
- Refs #142010 - Optimize Volto-addons gitflow pipelines [`e8764b8`](https://github.com/eea/volto-addons-forest/commit/e8764b83cb5b41a88eaf6e93d5ade301d2d3aca0)

Expand Down
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ pipeline {
unstash "xunit-reports"
unstash "cypress-coverage"
def scannerHome = tool 'SonarQubeScanner';
def nodeJS = tool 'NodeJS11';
def nodeJS = tool 'NodeJS';
withSonarQubeEnv('Sonarqube') {
sh '''sed -i "s#/opt/frontend/my-volto-project/src/addons/${GIT_NAME}/##g" xunit-reports/coverage/lcov.info'''
sh "export PATH=$PATH:${scannerHome}/bin:${nodeJS}/bin; sonar-scanner -Dsonar.javascript.lcov.reportPaths=./xunit-reports/coverage/lcov.info,./cypress-coverage/coverage/lcov.info -Dsonar.sources=./src -Dsonar.projectKey=$GIT_NAME-$BRANCH_NAME -Dsonar.projectVersion=$BRANCH_NAME-$BUILD_NUMBER"
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-$BRANCH_NAME -Dsonar.projectVersion=$BRANCH_NAME-$BUILD_NUMBER"
sh '''try=2; while [ \$try -gt 0 ]; do curl -s -XPOST -u "${SONAR_AUTH_TOKEN}:" "${SONAR_HOST_URL}api/project_tags/set?project=${GIT_NAME}-${BRANCH_NAME}&tags=${SONARQUBE_TAGS},${BRANCH_NAME}" > set_tags_result; if [ \$(grep -ic error set_tags_result ) -eq 0 ]; then try=0; else cat set_tags_result; echo "... Will retry"; sleep 60; try=\$(( \$try - 1 )); fi; done'''
}
}
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-addons-forest",
"version": "0.1.5",
"version": "0.1.6",
"description": "Addons and functionalities used by Forest",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
2 changes: 1 addition & 1 deletion src/Widgets/AddLinkForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { doesNodeContainClick } from 'semantic-ui-react/dist/commonjs/lib';
import { defineMessages, injectIntl } from 'react-intl';

import { resetSearchContent, searchContent } from '@plone/volto/actions';
import URLUtils from '@plone/volto/components/manage/AnchorPlugin/utils/URLUtils';
import URLUtils from '@plone/volto/helpers/Url/Url';

const messages = defineMessages({
placeholder: {
Expand Down

0 comments on commit a550dc0

Please sign in to comment.