From b4c3589b657671775296e5e235e05b3001e8dc5f Mon Sep 17 00:00:00 2001 From: Julian Dehm Date: Mon, 19 Feb 2024 14:54:02 +0100 Subject: [PATCH] release v2402.1 --- CHANGELOG.md | 117 ++++++++++++++++++++++++++++++++++++++++++++- changelog/2222.md | 3 -- changelog/2223.md | 3 -- changelog/2224.md | 3 -- changelog/2225.md | 7 --- changelog/2449.md | 3 -- changelog/3333.md | 3 -- changelog/5275.md | 3 -- changelog/5451.md | 4 -- changelog/7274.md | 23 --------- changelog/7275.md | 5 -- changelog/7618.md | 5 -- changelog/7634.md | 32 ------------- changelog/7638.md | 5 -- changelog/7671.md | 4 -- changelog/7709.md | 7 --- changelog/7777.md | 17 ------- changelog/7778.md | 9 ---- changelog/7809.md | 8 ---- changelog/7810.md | 3 -- changelog/7884.md | 3 -- changelog/8888.md | 3 -- changelog/_5220.md | 3 -- changelog/_6473.md | 5 -- changelog/_6555.md | 4 -- changelog/_6666.md | 3 -- changelog/_9993.md | 4 -- 27 files changed, 116 insertions(+), 173 deletions(-) delete mode 100644 changelog/2222.md delete mode 100644 changelog/2223.md delete mode 100644 changelog/2224.md delete mode 100644 changelog/2225.md delete mode 100644 changelog/2449.md delete mode 100644 changelog/3333.md delete mode 100644 changelog/5275.md delete mode 100644 changelog/5451.md delete mode 100644 changelog/7274.md delete mode 100644 changelog/7275.md delete mode 100644 changelog/7618.md delete mode 100644 changelog/7634.md delete mode 100644 changelog/7638.md delete mode 100644 changelog/7671.md delete mode 100644 changelog/7709.md delete mode 100644 changelog/7777.md delete mode 100644 changelog/7778.md delete mode 100644 changelog/7809.md delete mode 100644 changelog/7810.md delete mode 100644 changelog/7884.md delete mode 100644 changelog/8888.md delete mode 100644 changelog/_5220.md delete mode 100644 changelog/_6473.md delete mode 100644 changelog/_6555.md delete mode 100644 changelog/_6666.md delete mode 100644 changelog/_9993.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 4df425894e..ba6fa5f399 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,9 +2,124 @@ All notable changes to this project will be documented in this file. -Since version the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +Since version v2308 the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), This project (not yet) adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## v2402.1 + +### Added + +- celery beat for configuring scheduled tasks from django admin +- pyenv version in gitignore +- djlint linter for django templates to ensure code cosistency and avoid issues when using external code e.g. incorrect quotation marks +- adds support for celery task queues with a redis message broker +- adds makefile commands for starting and status checking of celery worker processes +- settings: move A4_PROJECT_TOPICS to Enum class +- apps/plans: topics as an m2m relation to plans, replacing django-multiselectfield +- apps/projects: topics from TopicEnum, topic form and serializer for projects +- logger in apps init file +- management command devtools for creating fake data for testing API performance. +- custom migration to make iframes work with ckeditor5 +- added dependency beautifulsoup4 +- add helptext to paragraph form in documents/text review +- add helptext for maptopicprio ckeditor5 field +- add helptext for topicprio ckeditor5 field +- add helptext for offlinevent ckeditor5 field +- enables caching for api endpoints `api/{plans,extprojects,projects}/` +- caches are expired by signals and by periodic tasks, for details, see `docs/api_caching.md` +- pyenv support for the make clean command and removing python packages in the README +- test helper for getting emails by email address and subject + +### Changed + +- Django from 3.2.20 to 4.0 + admin short description to admin desplay decorator + delete custom function moved to the method form_valid according to Delete Generic Views upgrade + url patterns + USE_L10N is by default enabled + ENGINE from postgresql_psycopg2 to postgresql + new migrations for relations +- Django from 4.0 to 4.1 +- Django from 4.1 to 4.2 + settings/production.py: change to STORAGES + apps: add update_fields for models' custom save() + apps/votes: change index_together to indexes (generates a migration) + requirements: update psycopg to v3 +- Updated pull request template for improved clarity and efficiency. +- Introduced "Describe your changes" section. +- Added items to "Tasks" checklist.- replace django-ckeditor with django-ckeditor5 +- disable browser-side form checks for forms which use ckeditor by adding + `novalidate` to them This is necessary as ckeditor form fields which are + required will block form submission otherwise. +- update and move helptext for plans ckeditor5 field from model to form +- update and move helptext for newsletter ckeditor5 field from model to form +- update and move helptext for plattform email ckeditor5 field from model to + form +- update a4 to aa44c6c7f75428cc54988762ad333001596c6019 +- add image validator which validates that all img tags have the alt attribute + set to all ckedito5 fields +- made follow button always shown, not just when logged in +- redirect to login page when clicking follow button and not logged in +- classes and styling class ref for buttons so they work with new a4-prefix classes and follow refactor +- apps/livequestions: remove richtext templatetag from module description in + question_module_detail.html +- wagtail upgrade from 4.1.6 to to 5.0 gradually + - 4.2 + - WagtailImageField extend's Django ImageField to use Willow, new migrations + - wagtail/images/migrations + - 0025_alter_image_file_alter_rendition_file + - wagtail/migrations + - 0079_rename_taskstate_page_revision + - 0080_generic_workflowstate + - 0081_populate_workflowstate_content_type + - 0082_alter_workflowstate_content_type_notnull + - 0083_workflowcontenttype + - meinberlin/apps/cms/migrations + - 0042_upgrade_wagtail_image_related + - .wagtail-userbar style change to web component + - assets/scss/print.scss line 4 + - 5.0 + - New field for choosing css themes + - wagtail/users/migrations/ + - 0012_userprofile_theme.py + - 5.02 + - Migrate FieldPanel to TitleFieldPanel for slug field sync functionality + - meinberlin/apps/cms/models/pages.py +- wagtail: upgrade to 5.1.x (7634) +- wagtail: upgrade to 5.2.x (7634) +- django-filters: upgrade to 23.5 as required by wagtail 5.2 (7634) + +### Fixed + +- captcha becomes optional depending on project settings (from a+ issues: #2449) +- deprecated warnings + - remove default_app_config in apps + - add a mock for session middleware get_response which cannot be none + - replace deprecated ifequal with if tag in templates + - replace active_phase with active_phase_ends_next in cms +- add linebreaks templatetag to bplan statement email template to display + newlines and paragraphs properly again. +- fix contribution count on module tiles didn't include child comments (#5220) +- fixed non-standard plain text email signature delimiter to use the established + dash dash space delimiter +- error json cannot be NULL by setting homepage empty body to {} in an earlier migration +- add custom template for pasword reset done + +### Removed + +- background_task_completedtask and background_task tables +- background_task app from the settings +- background_task app from the requirements +- removed kiezkasse from list on `apps/dashboard/blueprints.py` +- help text about forgot password in login form (coming from allauth) +- **BREAKING CHANGE** remove most of the project container app in preparation of + the full deletion. **This removes all existing project containers from the + database**. Make sure to export project container data or backup your database + if you still need them. Only project containers are deleted, the projects they + contain will be left untouched. +- **BREAKING CHANGE** removed `Select2MultipleWidget` and associated styling. +- apps/servicekonto: servicekonto provider + ## v2308 ### Changed diff --git a/changelog/2222.md b/changelog/2222.md deleted file mode 100644 index 17808adfaf..0000000000 --- a/changelog/2222.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- celery beat for configuring scheduled tasks from django admin diff --git a/changelog/2223.md b/changelog/2223.md deleted file mode 100644 index ae65f0e4d3..0000000000 --- a/changelog/2223.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- logger in apps init file diff --git a/changelog/2224.md b/changelog/2224.md deleted file mode 100644 index 128d58c33c..0000000000 --- a/changelog/2224.md +++ /dev/null @@ -1,3 +0,0 @@ -## Added - -- management command devtools for creating fake data for testing API performance. diff --git a/changelog/2225.md b/changelog/2225.md deleted file mode 100644 index 40ba635651..0000000000 --- a/changelog/2225.md +++ /dev/null @@ -1,7 +0,0 @@ -### Removed - -- help text about forgot password in login form (coming from allauth) - -### Fixed - -- template reset done diff --git a/changelog/2449.md b/changelog/2449.md deleted file mode 100644 index f539916167..0000000000 --- a/changelog/2449.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- captcha becomes optional depending on project settings (from a+ issues: #2449) diff --git a/changelog/3333.md b/changelog/3333.md deleted file mode 100644 index 2c90b63046..0000000000 --- a/changelog/3333.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- pyenv version in gitignore diff --git a/changelog/5275.md b/changelog/5275.md deleted file mode 100644 index 2f04bd0752..0000000000 --- a/changelog/5275.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- djlint linter for django templates to ensure code cosistency and avoid issues when using external code e.g. incorrect quotation marks diff --git a/changelog/5451.md b/changelog/5451.md deleted file mode 100644 index ed46fd6743..0000000000 --- a/changelog/5451.md +++ /dev/null @@ -1,4 +0,0 @@ -### Fixed - -- add linebreaks templatetag to bplan statement email template to display - newlines and paragraphs properly again. diff --git a/changelog/7274.md b/changelog/7274.md deleted file mode 100644 index bb2162e2a6..0000000000 --- a/changelog/7274.md +++ /dev/null @@ -1,23 +0,0 @@ -### Added - -- custom migration to make iframes work with ckeditor5 -- added dependency beautifulsoup4 -- add helptext to paragraph form in documents/text review -- add helptext for maptopicprio ckeditor5 field -- add helptext for topicprio ckeditor5 field -- add helptext for offlinevent ckeditor5 field - - -### Changed - -- replace django-ckeditor with django-ckeditor5 -- disable browser-side form checks for forms which use ckeditor by adding - `novalidate` to them This is necessary as ckeditor form fields which are - required will block form submission otherwise. -- update and move helptext for plans ckeditor5 field from model to form -- update and move helptext for newsletter ckeditor5 field from model to form -- update and move helptext for plattform email ckeditor5 field from model to - form -- update a4 to aa44c6c7f75428cc54988762ad333001596c6019 -- add image validator which validates that all img tags have the alt attribute - set to all ckedito5 fields diff --git a/changelog/7275.md b/changelog/7275.md deleted file mode 100644 index 6eae80d3ba..0000000000 --- a/changelog/7275.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- enables caching for api endpoints `api/{plans,extprojects,projects}/` -- caches are expired by signals and by periodic tasks, for details, see `docs/api_caching.md` - diff --git a/changelog/7618.md b/changelog/7618.md deleted file mode 100644 index 6c00bd9e63..0000000000 --- a/changelog/7618.md +++ /dev/null @@ -1,5 +0,0 @@ -### Changed - -- made follow button always shown, not just when logged in -- redirect to login page when clicking follow button and not logged in -- classes and styling class ref for buttons so they work with new a4-prefix classes and follow refactor diff --git a/changelog/7634.md b/changelog/7634.md deleted file mode 100644 index 56a3d64317..0000000000 --- a/changelog/7634.md +++ /dev/null @@ -1,32 +0,0 @@ -### Add - -- wagtail upgrade from 4.1.6 to to 5.0 gradually - 4.2 - WagtailImageField extend's Django ImageField to use Willow, new migrations - wagtail/images/migrations - - 0025_alter_image_file_alter_rendition_file - wagtail/migrations - - 0079_rename_taskstate_page_revision - - 0080_generic_workflowstate - - 0081_populate_workflowstate_content_type - - 0082_alter_workflowstate_content_type_notnull - - 0083_workflowcontenttype - meinberlin/apps/cms/migrations - - 0042_upgrade_wagtail_image_related - - .wagtail-userbar style change to web component - - assets/scss/print.scss line 4 - 5.0 - New field for choosing css themes - wagtail/users/migrations/ - - 0012_userprofile_theme.py - 5.02 - Migrate FieldPanel to TitleFieldPanel for slug field sync functionality - meinberlin/apps/cms/models/pages.py -- wagtail: upgrade to 5.1.x (7634) -- wagtail: upgrade to 5.2.x (7634) -- django-filters: upgrade to 23.5 as required by wagtail 5.2 (7634) - -### Fix - -- error json cannot be NULL by setting homepage empty body to {} in an earlier migration diff --git a/changelog/7638.md b/changelog/7638.md deleted file mode 100644 index b4098c7990..0000000000 --- a/changelog/7638.md +++ /dev/null @@ -1,5 +0,0 @@ -### Removed - -- background_task_completedtask and background_task tables -- background_task app from the settings -- background_task app from the requirements diff --git a/changelog/7671.md b/changelog/7671.md deleted file mode 100644 index 5bda854398..0000000000 --- a/changelog/7671.md +++ /dev/null @@ -1,4 +0,0 @@ -## Added - -- adds support for celery task queues with a redis message broker -- adds makefile commands for starting and status checking of celery worker processes diff --git a/changelog/7709.md b/changelog/7709.md deleted file mode 100644 index 27cf8d4147..0000000000 --- a/changelog/7709.md +++ /dev/null @@ -1,7 +0,0 @@ -### Fixed - -- deprecated warnings - - remove default_app_config in apps - - add a mock for session middleware get_response which cannot be none - - replace deprecated ifequal with if tag in templates - - replace active_phase with active_phase_ends_next in cms diff --git a/changelog/7777.md b/changelog/7777.md deleted file mode 100644 index 1f3d91cf35..0000000000 --- a/changelog/7777.md +++ /dev/null @@ -1,17 +0,0 @@ -### Upgraded - -- Django from 3.2.20 to 4.0 - admin short description to admin desplay decorator - delete custom function moved to the method form_valid according to Delete Generic Views upgrade - url patterns - USE_L10N is by default enabled - ENGINE from postgresql_psycopg2 to postgresql - new migrations for relations - -- Django from 4.0 to 4.1 - -- Django from 4.1 to 4.2 - settings/production.py: change to STORAGES - apps: add update_fields for models' custom save() - apps/votes: change index_together to indexes (generates a migration) - requirements: update psycopg to v3 diff --git a/changelog/7778.md b/changelog/7778.md deleted file mode 100644 index 0926dd3b8b..0000000000 --- a/changelog/7778.md +++ /dev/null @@ -1,9 +0,0 @@ -### Added - -- settings: move A4_PROJECT_TOPICS to Enum class -- apps/plans: topics as an m2m relation to plans, replacing django-multiselectfield -- apps/projects: topics from TopicEnum, topic form and serializer for projects -- **Breaking Change** Plan topics with a code longer than 3 chars will be dropped. - If you need to keep them modify the check in - `meinberlin/apps/plans/migratiosn/0059_migrate_topics_to_m2m_topics.py` or - migrate them to shorter codes. Note: the max. possible length is still limited to 10. diff --git a/changelog/7809.md b/changelog/7809.md deleted file mode 100644 index 12f1271e8f..0000000000 --- a/changelog/7809.md +++ /dev/null @@ -1,8 +0,0 @@ -## Removed - -- **BREAKING CHANGE** remove most of the project container app in preparation of - the full deletion. **This removes all existing project containers from the - database**. Make sure to export project container data or backup your database - if you still need them. Only project containers are deleted, the projects they - contain will be left untouched. -- **BREAKING CHANGE** removed `Select2MultipleWidget` and associated styling. diff --git a/changelog/7810.md b/changelog/7810.md deleted file mode 100644 index 21b1e3e8a3..0000000000 --- a/changelog/7810.md +++ /dev/null @@ -1,3 +0,0 @@ -### Removed - -- removed kiezkasse from list on `apps/dashboard/blueprints.py` diff --git a/changelog/7884.md b/changelog/7884.md deleted file mode 100644 index d23d79dc43..0000000000 --- a/changelog/7884.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- pyenv support for the make clean command and removing python packages in the README diff --git a/changelog/8888.md b/changelog/8888.md deleted file mode 100644 index 424aa73d48..0000000000 --- a/changelog/8888.md +++ /dev/null @@ -1,3 +0,0 @@ -# Deleted - -- apps/servicekonto: servicekonto provider diff --git a/changelog/_5220.md b/changelog/_5220.md deleted file mode 100644 index b700c80fec..0000000000 --- a/changelog/_5220.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- fix contribution count on module tiles didn't include child comments (#5220) diff --git a/changelog/_6473.md b/changelog/_6473.md deleted file mode 100644 index 16c0cef93b..0000000000 --- a/changelog/_6473.md +++ /dev/null @@ -1,5 +0,0 @@ -## Changed - -- Updated pull request template for improved clarity and efficiency. -- Introduced "Describe your changes" section. -- Added items to "Tasks" checklist. \ No newline at end of file diff --git a/changelog/_6555.md b/changelog/_6555.md deleted file mode 100644 index 26c29f64ff..0000000000 --- a/changelog/_6555.md +++ /dev/null @@ -1,4 +0,0 @@ -### Changed - -- apps/livequestions: remove richtext templatetag from module description in - question_module_detail.html diff --git a/changelog/_6666.md b/changelog/_6666.md deleted file mode 100644 index 060828ff96..0000000000 --- a/changelog/_6666.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- test helper for getting emails by email address and subject diff --git a/changelog/_9993.md b/changelog/_9993.md deleted file mode 100644 index 8df00c18a6..0000000000 --- a/changelog/_9993.md +++ /dev/null @@ -1,4 +0,0 @@ -### Fixed - -- fixed non-standard plain text email signature delimiter to use the established - dash dash space delimiter