Skip to content

Commit

Permalink
Merge pull request #3 from eea/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
avoinea authored Mar 15, 2024
2 parents f482243 + 4eb3e7c commit 82c87e6
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
28 changes: 25 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: `<packageJson.version>` - Frontend version
* `RAZZLE_FRONTEND_NAME` - Default: `<packageJson.name>` - 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
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-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",
Expand Down
1 change: 1 addition & 0 deletions src/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 82c87e6

Please sign in to comment.