From 3ecc243382d73d5b41754fe2a3c05c8d44c2e7f9 Mon Sep 17 00:00:00 2001 From: alin Date: Fri, 15 Mar 2024 19:17:20 +0200 Subject: [PATCH 1/3] feat: Add support also for eea.api.controlpanel backend add-on --- package.json | 2 +- src/system.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 84bea76..f416fe9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@eeacms/volto-controlpanel", - "version": "0.2.0", + "version": "0.3.0", "description": "@eeacms/volto-controlpanel: Volto add-on", "main": "src/index.js", "author": "European Environment Agency: IDM2 A-Team", diff --git a/src/system.js b/src/system.js index 0fbb9d0..73ede13 100644 --- a/src/system.js +++ b/src/system.js @@ -26,6 +26,7 @@ export const updateSystemInfo = (config) => { method: 'PATCH', body: JSON.stringify({ 'eea.kitkat.interfaces.IEEAVersionsFrontend.version': version, + 'eea.api.controlpanel.interfaces.IEEAVersionsFrontend.version': version, }), headers: { Accept: 'application/json', From 1291de508d07418351bd190f543fe04645dd20a0 Mon Sep 17 00:00:00 2001 From: alin Date: Fri, 15 Mar 2024 19:38:35 +0200 Subject: [PATCH 2/3] docs: Add information about used environment variables --- README.md | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 847423c..06b8d13 100644 --- a/README.md +++ b/README.md @@ -15,14 +15,36 @@ [![Duplicated Lines (%)](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-controlpanel-develop&metric=duplicated_lines_density)](https://sonarqube.eea.europa.eu/dashboard?id=volto-controlpanel-develop) -[Volto](https://github.com/plone/volto) add-on +[Volto](https://github.com/plone/volto) add-on that enhance Version Overview information in Control Panel: +* Frontend Version + * When it was updated and from which version + * Link to Frontend changelog + * Volto version and the list of all installed Volto add-ons +* Backend Version + * When it was updated and from which version + * Link to Backend changelog + * List of all Python eggs installed on Backend -## Features +## Requirements + +This addon requires a server-side package to be installed. +* [eea.api.controlpanel](https://github.com/eea/eea.api.controlpanel?) -Volto-cotrolpanel presents an overview of all frontend and backend packages used and their versions +## Features ![Volto Control Panel](https://raw.githubusercontent.com/eea/volto-controlpanel/master/docs/volto-controlpanel.gif) +## Environment Variables + +You can control the information displayed in Volto Control Panel via the following environment variables: + +* `RAZZLE_CHANGELOG_PREFIX` - Default: `https://github.com/eea` - Used to compose the links to CHANGELOG +* `RAZZLE_CHANGELOG_SUFFIX` - Default: `releases` - Used to compose the links to CHANGELOG +* `RAZZLE_FRONTEND_VERSION` - Default: `` - Frontend version +* `RAZZLE_FRONTEND_NAME` - Default: `` - Used to compose the links to CHANGELOG +* `RAZZLE_BACKEND_VERSION` - Default: `''` - Backend version +* `RAZZLE_BACKEND_NAME` - Default: `plone-backend` - Used to compose the backend link to CHANGELOG + ## Getting started ### Try volto-controlpanel with Docker From 4eb3e7c11454dc381ad2867fae40061d163c984d Mon Sep 17 00:00:00 2001 From: EEA Jenkins <@users.noreply.github.com> Date: Fri, 15 Mar 2024 17:47:58 +0000 Subject: [PATCH 3/3] Automated release 0.3.0 --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index eac675d..b43ab5c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ 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.3.0](https://github.com/eea/volto-controlpanel/compare/0.2.0...0.3.0) - 15 March 2024 + +#### :rocket: New Features + +- feat: Add support also for eea.api.controlpanel backend add-on [alin - [`3ecc243`](https://github.com/eea/volto-controlpanel/commit/3ecc243382d73d5b41754fe2a3c05c8d44c2e7f9)] + +#### :house: Documentation changes + +- docs: Add information about used environment variables [alin - [`1291de5`](https://github.com/eea/volto-controlpanel/commit/1291de508d07418351bd190f543fe04645dd20a0)] + ### [0.2.0](https://github.com/eea/volto-controlpanel/compare/0.1.0...0.2.0) - 14 March 2024 #### :rocket: New Features