From c7a7cec5fe0f8baf831973acfd654f1b3deb5a3f Mon Sep 17 00:00:00 2001 From: Hanne Moa Date: Tue, 22 Oct 2024 08:18:07 +0200 Subject: [PATCH] Update changelog and notes --- CHANGELOG.md | 27 +++++++++++++++++++ NOTES.md | 23 ++++++++++++++++ changelog.d/+improve-app-settings.changed.md | 1 - changelog.d/+spa-frontend-specific.changed.md | 11 -------- changelog.d/908.changed.md | 1 - 5 files changed, 50 insertions(+), 13 deletions(-) delete mode 100644 changelog.d/+improve-app-settings.changed.md delete mode 100644 changelog.d/+spa-frontend-specific.changed.md delete mode 100644 changelog.d/908.changed.md diff --git a/CHANGELOG.md b/CHANGELOG.md index c74f51474..ea3b37d49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,33 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang +## [1.24.0] - 2024-10-22 + + +### Added + +- There's a new courtesy method on the User-model: `is_member_of_group()`. + +### Changed + +- Switched to running docker image on python 3.10 and postgres v14. + ([#908](https://github.com/Uninett/Argus/issues/908)) +- Make it possible to change any setting via the + (EXTRA|OVERRIDING)\_APPS-machinery. +- Split out all the hard coded support for the REACT SPA frontend into + a library. + + In the process, the following renames were done: + + - `ARGUS_COOKIE_DOMAIN` -> `ARGUS_SPA_COOKIE_DOMAIN` (environment variable) + - `COOKIE_DOMAIN` -> `SPA_COOKIE_DOMAIN` (setting) + - `ARGUS_TOKEN_COOKIE_NAME` -> `ARGUS_SPA_TOKEN_COOKIE_NAME` (hidden setting) + + How to deploy with support for this frontend has also changed, see the new + documentation section "REACT Frontend". In short, it is necessary to change + which settings-file to base the deployment on. + + ## [1.23.0] - 2024-10-10 This is the first version of Argus to be able to run on Django 5.1. diff --git a/NOTES.md b/NOTES.md index 4a74616b2..370471bf6 100644 --- a/NOTES.md +++ b/NOTES.md @@ -3,6 +3,29 @@ This file documents changes to Argus that are relevant for operations and end-users. +## [1.24.0] - 2024-10-22 + +### Deployment changes! + +All the hard coded support for the REACT SPA frontend has been split out into +a library. + +In the process, the following renames were done: + +- `ARGUS_COOKIE_DOMAIN` -> `ARGUS_SPA_COOKIE_DOMAIN` (environment variable) +- `COOKIE_DOMAIN` -> `SPA_COOKIE_DOMAIN` (setting) +- `ARGUS_TOKEN_COOKIE_NAME` -> `ARGUS_SPA_TOKEN_COOKIE_NAME` (hidden setting) + +How to deploy argus-server with support for this frontend has also changed, see +the new documentation section "REACT Frontend". In short, it is necessary to +change which settings-file to base the deployment on. + +You might have to rebuild docker images: ours uses a newer Python (3.10) and +PostgreSQL (14) than they used to. + +Any setting can now be changed via the (EXTRA|OVERRIDING)\_APPS-machinery. + + ## [1.23.0] - 2024-10-10 This is the first version of Argus to be able to run on Django 5.1. diff --git a/changelog.d/+improve-app-settings.changed.md b/changelog.d/+improve-app-settings.changed.md deleted file mode 100644 index 731244ad2..000000000 --- a/changelog.d/+improve-app-settings.changed.md +++ /dev/null @@ -1 +0,0 @@ -Make it possible to change any setting via the (EXTRA|OVERRIDING)\_APPS-machinery . diff --git a/changelog.d/+spa-frontend-specific.changed.md b/changelog.d/+spa-frontend-specific.changed.md deleted file mode 100644 index f2aeea2e8..000000000 --- a/changelog.d/+spa-frontend-specific.changed.md +++ /dev/null @@ -1,11 +0,0 @@ -Split out all the hard coded support for the REACT SPA frontend into a library. - -In the process, the following renames were done: - -- `ARGUS_COOKIE_DOMAIN` -> `ARGUS_SPA_COOKIE_DOMAIN` -- `COOKIE_DOMAIN` -> `SPA_COOKIE_DOMAIN` -- `ARGUS_TOKEN_COOKIE_NAME` -> `ARGUS_SPA_TOKEN_COOKIE_NAME` - -How to deploy with support for this backend has also changed, see the new -documentation section REACT Frontend. In short, it is necessary to change which -settings-file to base the deployment on. diff --git a/changelog.d/908.changed.md b/changelog.d/908.changed.md deleted file mode 100644 index a83e9272e..000000000 --- a/changelog.d/908.changed.md +++ /dev/null @@ -1 +0,0 @@ -Switched to running docker image on python 3.10 and postgres v14. \ No newline at end of file