Releases: liqd/a4-meinberlin
Releases · liqd/a4-meinberlin
v2502.1
v2502.1
Changed
- BREAKING CHANGE A database with geospatial support is now required (e.g spatialite, postgresql with postgis)
- Migrate the point field of the
Plan
model to GeoJson - Use the new
PointSerializerMixin
in Bplan, ExtProject and Plan Serializers - Restyled
Filters
component and added filter button - added project status model instead of a field to be able to store a list of project statuses inside a search profile
- added some more options to actionable list component
- added prop to have the label of a toggleswitch on the right
- update Berlin Online css file
- remove local versions of Berlin Online JS files and add new version via a script tag
- remove un-needed packages from package.json
- update stylelint to 16.11.0
- update stylelint-config-standard-scss to 13.1.0
- fix new stylelint warnings
- renamed component_library to dashboard_component_library and non dashboard components
- Style
StatisticsBox
- Add $primary green color to statistics progress
- updated references to old notification and newsletter flags
- refactored some of the js logic for notification settings
- wording for notification settings page
- new a4 rating component used for support buttons in budgeting
- updated font awesome from v5 to v6
- made button block fullwidth on palm breakpoint
- update wagtail to 6.0.x
- update wagtail to 6.1.x
- update djangorestframework to 3.15.1 as required by wagtail 6.1.x
- update wagtail to 6.2.x
- update wagtail to 6.3.x LTS
- replace wagtails ImageChooserBlock with the more accessible ImageBlock
- Converted alert component to a static info box
contrib/templates/meinberlin_contrib/components/
- Removed dismissible functionality (close button)
- Updated ARIA semantics from
role="alert"
torole="status"
- Info box visibility now toggles based on project publication state- Updated module page forms to feature a grey background container and buttons, aligning with the BO style guide (e.g., the proposal form now uses the "form--base panel--heavy" classes for consistency).
- Relocated follow.scss to a4-follow.scss within the adhocracy folder, indicating that it overwrites styles for an A4 component.
- updated the design of
templates/account/login.html
andtemplates/account/signup.html
- Update styles to reflect the Modal.jsx refactor in adhocracy4
- Changed categories select to
MultiSelect
- Style “Show on Screen” link
- Changed
CategorySelect
andQuestionForm
CSS classes to styleguide.berlin.de form classes - IconSwitch now always has full width on mobile
- IconSwitch title is now optional
- Search pills on project overview are now shown for all separate items
- resetting the form now happens on click not on click and then submitting the form
- favicons for BO one (story !7629)
- replaced the old datepicker with flatpickr
- make flatpickr instances aware of each other (e.g. for start and end phase of
a module, you can't choose an end date which is earlier than the start date) - add a time-only datepicker to the time field
- Change plan detail page styling
- project_detail header to BO herounit-image-with-aside !7701
styles_user_facing/_variables.scss
- update django-ckeditor-5 to v0.2.13-liqd
- refactor ParagraphForm.jsx to work with the changed api in django-ckeditor-5
- CardMeta: removed ref number and updated the date helper to new date format and updated wording
- CardStats: use bold tag as per the design and update all tests where stats rendered
- Pill: change text colour inline with design
- platformemail_form template: change extend from base to dashboard as it is part of the initiator interface and therfore shoudl not be BO styled
- redesign rating and comments
- updated a4forms/form_field.html to be identical to the old
meinberlin_contrib/form_field.html - update all dashboard forms to use a4forms/form_field.html instead of the new
redesigned meinberlin_contrib/form_field.html, fixes the broken styling in
dashboard forms - updated navigation for burger menu
- Replaced instances of
<a href="/">
with<a href="{% url 'wagtail_serve' '' %}">
to fix linting errors - update celery to 5.4.0
- make post_save and post_delete signal for external projects, plans and
projects reset the cache instead of deleting it. - use delay_on_commit() to call celery tasks to prevent race conditions, adjust
tests - replace old django ckeditor fields with TextField in migrations to allow the
removal of the django-ckeditor package - refactored ListItemBadges.jsx to remove the moderator_status from the list
- create reusable
moderator_form.html
snippet and update moderator form templates - add two new helper/utility classes
.mt-1
.mb-2
- increase (overwrite)
.formgroup__help
font-size to 14px- added/changed styling for comment filters and form according to styleguide - renamed _select.scss to _a4-select.css to reflect the move from mB to a4
- updated imports for ControlBarDropdown and ControlBarSearch to reflect the
move from mB to a4 - project_detail changes tabs to new style and used wcag recommended structure https://www.w3.org/WAI/ARIA/apg/patterns/tabs/examples/tabs-automatic/ used BO js for functionality
- add new tab styling and move old to component_dashboard
- add edit link styling using same system as BO styleguide
- ProposalViewSet now extends IdeaViewSet to simplify code structure (#7833)
- Implemented redesign for phase info according to BerlinOnline styleguide
- Refactor files in templates/a4modules
- Optimized Swiper integration
imghdr
support was deprecated in python, so now we usepython-magic
and built-inmime
to check the filetype of images files for bplans created using the API.- move all react components to separate react folder structure and update webpack paths, documented in wiki
- modified
form_submit_flex_end.html
to add secondary link - modified
form_submit_actions.html
to add optional button text - simplify wording on form submit buttons
- unify dropdown and refactor following files: dropdown.js, _dropdown.scss, item_detail_dropdown.html, user_indicator.html, _user_indicator.scss
- Generate actions for moderator remarks and ratings
- redesigned poll module
- moved and renamed
components/poll.scss
tomeinberlin/assets/scss/components_user_facing/_a4-poll.scss
- updated
styles_user_facing/_variables.scss
- removed
components/radio.scss
fromstyles_user_facing.scss
- moved Card components to own folder as seemed more tidy - added headline to mapswitch as part of design and used different BO classes for additional styling
- removed django filters from list view
- adapted
chapter_detail.html
andparagraph_detail.html
to redesign - simplified
nextprev.html
- deleted
document.scss
as styles not needed anymore- Breaking Change: RenamedDocsBlock
intoAccordionBlock
oncms/blocks.py
for consistency. - Modified
AccordionBlock
to support dynamic heading levels based on context. It now adjusts betweenh2
andh3
depending on whether it is used as a standalone block or within a list. - Updated the
accordion_list_block.html
andaccordion_block.html
templates to accommodate the newAccordionListBlock
structure and dynamic heading levels. _accordion.scss
has been renamed tocollapsible-fragment
to reflect the respective template and located to a new/ck-editor
subfolder incomponents_user_facing
.- The
details.scss
file now handles styling for the<details>
barebones element, adopting a more semantic HTML approach. - add ckeditor text size css to make text sizing work
- add tag to
collapsible-image-editor
Bleach config to allow italic text - Refactored the label class in ModeratorStatus.jsx for improved clarity and modularity.
- Cleaned up templates/meinberlin_contrib/item_detail.html
- moved Pagination from /budgeting to /contrib
- TypeaheadField styling
- variants for the control bar
- updated @testing-library/* packages to get rid of deprecation warnings
- Moved
is_answered
update logic toQuestionModerator
component - removed idea-list-item template and exclussive associated styles and deleted from component library
- move remaining list-item styles to components_dashboard where they are still used in project list and some form lists
- remove pagination include from list templates
- add BO classes to Pagination.jsx so it conforms to styleguide
- move pagination.scss to components_dashboard as not needed usersides anymore
- update components_dashboard and components_userside lists to better rflect what is used where and what has already been touched
- styled navigation on account dashboard to look like tab navigation
- removed warning from ModeratorStatus.jsx- Fixed incorrect use of
rem
values in old variables to ensure proper functionality inem
-based layouts. - plan and project detail pages- moved LocaleInfoMixin from ideas to contrib
- refactor (scss/components_user_facing/_details.scss) to update global element selector to class
.details
- made title for module detail page h1 instead of h2 - make
name
field on SearchProfile optional as users can only change it after
creation and it makes accommodating the auto-naming scheme easier - changed unused
project_thumbnail
thumbnail alias to reflect the new teaser - moved
/components/_alert.scss
to components_dashboard folder - New design for platform mail form
- sender field is now required to prevent issues with email clients
- CKEditor styling for redesign
- change default values for fields in platform email form
- adapt bplan api to the requirements for the diplan system
- add a new field
is_diplan
to the bplan model to be able to differentiate
between old bplans from imperia and new ones from diplan - add the
point
fie...
- add a new field
v2412.1.2
v2412.1.1
v2412.1
Added
- add captcha to bplan statement form
- Cache for public projects, external projects and plans duplicating the view projects-list
- Scheduled resetting cache for public projects, external projects and plans every hour
- add select_related to external project queryset to save a query per project
- add select_related and prefetch_related to plans
- add topics to prefetch_related for projects
- add max resolution (650, 650) to organisation logo
- add settings to restrict upload file size for django-ckeditor-5
- added management command to create fake comments for testing
Removed
- removed no longer required
use_json_field
from wagtail pages
Fixed
- fix form submit for document / text commenting dashboard view not reloading on submit
- incorrect version pin of djlint
Changed
- replaced the old datepicker with flatpickr
- make flatpickr instances aware of each other (e.g. for start and end phase of
a module, you can't choose an end date which is earlier than the start date) - add a time-only datepicker to the time field
- make the captcha js listen to both DOMContentLoaded and a4.embed.ready
- update celery to 5.4.0
- make post_save and post_delete signal for external projects, plans and
projects reset the cache instead of deleting it. - use delay_on_commit() to call celery tasks to prevent race conditions, adjust
tests - update django-ckeditor-5 to v0.2.13-liqd
- refactor ParagraphForm.jsx to work with the changed api in django-ckeditor-5
- update wagtail to 6.0.x
- update wagtail to 6.1.x
- update djangorestframework to 3.15.1 as required by wagtail 6.1.x
- update wagtail to 6.2.x
- update wagtail to 6.3.x LTS
- replace wagtails ImageChooserBlock with the more accessible ImageBlock
- update django-allauth to 65.x
- rename and adapt
get_email_confirmation_redirect_url
toget_email_verification_redirect_url
- update django-allauth settings to the new style
- update stylelint to 16.11.0
- update stylelint-config-standard-scss to 13.1.0
- fix new stylelint warnings
- Translations update from LIQD Weblate
- migrate renovate config
- update babel monorepo
- update dependency @testing-library/react to v16.1.0
- update dependency babel-loader to v9.2.1
- update dependency beautifulsoup4 to v4.12.3
- update dependency black to v24.10.0
- update dependency django to v4.2.16 [security]
- update dependency django-celery-beat to v2.7.0
- update dependency django-debug-toolbar to v4.4.6
- update dependency django-filter to v24
- update dependency django_csp to v3.8
- update dependency djangorestframework to v3.15.2 [security]
- update dependency djlint to v1.36.3
- update dependency easy-thumbnails to v2.10
- update dependency factory-boy to v3.3.1
- update dependency faker to v33
- update dependency flake8 to v7.1.1
- update dependency freezegun to v1.5.1
- update dependency gunicorn to v23
- update dependency hiredis to v3
- update dependency husky to v9.1.7
- update dependency lint-staged to v15.2.10
- update dependency postcss to v8.4.49
- update dependency psycopg to v3.2.3
- update dependency pytest to v8.3.4
- update dependency pytest-cov to v6
- update dependency pytest-django to v4.9.0
- update dependency pytest-factoryboy to v2.7.0
- update dependency python-dateutil to v2.9.0.post0
- update dependency redis to v5.2.0
- update dependency requests to v2.32.3
- update dependency rules to v3.5
- update dependency sentry-sdk to v2.19.0
- update dependency stylelint to v16.11.0
- update dependency stylelint-config-standard-scss to v14
- update dependency stylelint-declaration-strict-value to v1.10.6
- update dependency urllib3 to v2.2.3
- update dependency wagtail to v6.3.1
- update dependency webpack to v5.97.1
- update dependency webpack-merge to v6
- update dependency whitenoise to v6.8.2
- update dependency xlsxwriter to v3.2.0
- update dependency zeep to v4.3.1
- update eslint packages
- update dependency @fortawesome/fontawesome-free to v6.7.1
- update dependency @maplibre/maplibre-gl-leaflet to v0.0.21
- update dependency @maplibre/maplibre-gl-leaflet to v0.0.22
- update dependency acorn to v8.14.0
- update dependency autoprefixer to v10.4.20
- update dependency css-loader to v7
- update dependency mini-css-extract-plugin to v2.9.2
- update dependency postcss-loader to v8.1.1
- update dependency react-bootstrap-typeahead to v6.3.4
- update dependency react-cookie to v7.2.2
- update dependency react-router-dom to v6.28.0
- update dependency sass to v1.82.0
- update dependency sass-loader to v16.0.4
- update dependency shpjs to v6
- update dependency swiper to v11.1.15
- update react monorepo to v18.3.1
- update react-router to v7
v2404.1.2
v2402.1.3
v2402.1.2
v2402.1.1
v2402.1.1
Hotfix release
Fixed
Custom template for verify_email
missing (added in the last version of allauth package).
Full Changelog: v2402.1...v2402.1.1
v2402.1
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/images/migrations
- .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
- Migrate FieldPanel to TitleFieldPanel for slug field sync functionality
- 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
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
v2308
Changed
- update a4 to mB-v2308
- update translations
- update dependency stylelint to v15.10.2 by @renovate in #5212
- update dependency bootstrap to v5.3.1 by @renovate in #5122
- update dependency postcss to v8.4.27 by @renovate in #5215
- Revert "fix(deps): update dependency bootstrap to v5.3.1" by @philli-m in #5219
Fixed
- fixed inconsistent comment count
- fixed infinite comment scrolling