Skip to content

Releases: liqd/a4-meinberlin

v2404.1.2

02 May 10:42
1015ff5
Compare
Choose a tag to compare

v2404.1.2

Changed

  • update a4 to mB-v2404.1.2

Fixed

  • fix categories can't be saved without icon

v2402.1.3

13 Mar 15:15
Compare
Choose a tag to compare

v2402.1.3

Changes

Added

  • added option in ckeditor to open links in new tab

Fixed

  • add migrations for offlineevents and plans to make existing iframes appear in
    the new ckeditor5

v2402.1.2

13 Mar 15:14
Compare
Choose a tag to compare

v2402.1.2

Changes

Fixed

  • fix group members not being allowed to upload files via ckeditor5
  • disable iframes in the project result tab to prevent them from loading if js
    is disabled

v2402.1.1

26 Feb 14:15
Compare
Choose a tag to compare

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

26 Feb 16:02
b4c3589
Compare
Choose a tag to compare

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

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

09 Aug 09:00
4a30dfb
Compare
Choose a tag to compare

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

v2303.3

02 Aug 12:34
c52889e
Compare
Choose a tag to compare

Hotfix release:
a4 hash update to fix comment list comment count misbehavior.

v2303.2

31 Jul 10:45
Compare
Choose a tag to compare

Hotfix release:
a4 hash update to fix comment list pagination not loading more then 20 comments and child comment count.

v2303.1

25 Jul 13:07
Compare
Choose a tag to compare

Update a4 hash to hotfix not all comments loading
include fix for urlib version

v2307

19 Jul 07:04
Compare
Choose a tag to compare

v2307

Added

  • add a changelog folder and readme with guideline for new changelog system
  • image and tile image alt-text field to projects, bplan, plan, container and extprojects serializers, admin and forms and display it in templates (!5121)
  • add markdown rules to editorconfig
  • add CategoryAndLabelAliasMixin and use in forms (#5156)
  • use CategoryAliasFilter from A4 instead of CategoryFilter to allow custom labels, also get custom labels in api (#5156)
  • docs: add more examples on how to test the bplan api
  • add script to check in CI that a4 hashes for pip and npm match
  • budgeting: added semantic time tag to react list item and updated component library
  • added class and styles to ensure ratings and title can be displayed correctly on mobiles fixes #5098
  • updated styling for horizontal tiles to ensure long titles work on all screens and rm uneeded classes to add to the class fixes #5097
  • add class for is-read-only to support button in budgeting (!7411)
  • add max height to control-bar dropdowns so users can scroll when more then 10 categories/labels (#5191)
  • add template tag in list and tile project images to ensure correct alt text is served
  • tests for category/label alias in budgeting api filtering, ideas list view filters and idea form
  • tests for image metadata required in bplan and plan form, testing !1425
  • testing tile_image_copyright, tile_image_alt_text in updated plan and project serializers, testing !1425
  • test archived projects cannot be supported by testing updated rule 'meinberlin_budgeting.support_proposal'

Changed

  • in plans changed name of description_image to image to be consistent with other project types and ensure image mixin works with all models (!5121)
  • reformat CHANGELOG.md
  • offlineevents: only send a notification about event start if project is not a draft (#4922)
  • change inheritance order to move ModelForm class from ImageRightOfUseMixin and ContactStorageConsentMixin to forms (#5156)
  • budgeting: made support button inactive when proposal is archived (!5150) updated component library (!5150)
  • updated captcheck js to be inline with DS improvements and move inline css to own file
  • use category and label factories from a4
  • allow already selected projects as possible choice for StoreFrontItem to avoid that they disappear once finished, fixes #5178
  • deps: update a4 to mb-v2307
  • update babel monorepo by @renovate in #5179
  • update dependency @fortawesome/fontawesome-free to v6.4.0 by @renovate in #5047
  • update dependency acorn to v8.10.0 by @renovate in #5198
  • update dependency autoprefixer to v10.4.14 by @renovate in #5020
  • update dependency babel-loader to v9.1.3 by @renovate in #5189
  • update dependency black to v23.7.0 by @renovate in #5190
  • update dependency bootstrap to v5.3.0 by @renovate in #5110
  • update dependency css-loader to v6.8.1 by @renovate in #5111
  • update dependency django to v3.2.20 [security] by @renovate in #5176
  • update dependency django-allauth to v0.54.0 by @renovate in #5033
  • update dependency django-debug-toolbar to v4 by @renovate in #5072
  • update dependency django-redis to v5.3.0 by @renovate in #5126
  • update dependency eslint to v8.45.0 by @renovate in #5207
  • update dependency eslint-plugin-jest to v27.2.3 by @renovate in #5201
  • update dependency faker to v18.11.2 by @renovate in #5134
  • update dependency hiredis to v2.2.3 by @renovate in #5055
  • update dependency js-cookie to v3.0.5 by @renovate in #5078
  • update dependency lint-staged to v13.2.3 by @renovate in #5177
  • update dependency mini-css-extract-plugin to v2.7.6 by @renovate in #5080
  • update dependency postcss to v8.4.26 by @renovate in #5202
  • update dependency postcss-loader to v7.3.3 by @renovate in #5103
  • update dependency psycopg2 to v2.9.6 by @renovate in #5058
  • update dependency psycopg2-binary to v2.9.6 by @renovate in #5064
  • update dependency pytest to v7.3.2 by @renovate in #5101
  • update dependency pytest-cov to v4.1.0 by @renovate in #5070
  • update dependency react-bootstrap-typeahead to v6.2.3 by @renovate in #5104
  • update dependency react-router-dom to v6.9.0 by @renovate in #5022
  • update dependency react-sticky-box to v2.0.4 by @renovate in #5081
  • update dependency requests to v2.31.0 [security] by @renovate in #5062
  • update dependency sass to v1.63.6 by @renovate in #5138
  • update dependency sass-loader to v13.3.2 by @renovate in #5105
  • update dependency sentry-sdk to v1.28.1 by @renovate in #5197
  • update dependency stylelint to v15.10.1 [security] by @renovate in #5186
  • update dependency stylelint-config-standard-scss to v9 by @renovate in #5074
  • update dependency swiper to v9.4.1 by @renovate in #5117
  • update dependency urllib3 to v2 by @renovate in #5088
  • update dependency wagtail to v4.1.6 by @renovate in #5066
  • update dependency webpack to v5.88.2 by @renovate in #5205
  • update dependency webpack-cli to v5.1.4 by @renovate in #5102
  • update dependency webpack-merge to v5.9.0 by @renovate in #5077
  • update dependency whatwg-fetch to v3.6.16 by @renovate in #5209
  • update dependency xlsxwriter to v3.1.2 by @renovate in #5094
  • update eslint packages by @renovate in #5109
  • update jest monorepo to v29.6.1 by @renovate in #5196

Fixed

  • add a missing translation for the char limit error from django-rest-framework (#4973)
  • budgeting: fix control bar not shown if list is empty (#5043)
  • notifications: fix typo in NotifyFollowersOnUpcomingEventEmail
  • add a missing translation for the char limit error from django-rest-framework (#4973)
  • fixed media query for list items aspect on larger screens, should fix #5171
  • temp fix for safari not breaking word when element is within grid element (#5193)
  • add missing default values to the copyright alt text partial fix for #5174
  • add correct path for alt text to ensure either tile or header alt is present depending on image displayed fixes #5174
  • increas max width templates/mapy_filter_and_sort: mv map switch to first line to match budgeting fixes #5170
  • add styling to ensure control bar dropsdowns wrap at max width fixes #5169
  • fix sass warning about negative inset variable

Removed

  • remove CategoryFactory and LabelFactory