From b20fb4e94332c350888ea4be88ad95d8d176b55e Mon Sep 17 00:00:00 2001 From: taitus Date: Wed, 26 Jun 2024 19:06:06 +0200 Subject: [PATCH] Release version 2.2.0 --- CHANGELOG.md | 93 ++++++++++++++++++++++ app/controllers/installation_controller.rb | 2 +- 2 files changed, 94 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 13496275f..1557d07f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,99 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). +## [2.2.0](https://github.com/consuldemocracy/consuldemocracy/tree/2.2.0) (2024-07-01) + +[Full Changelog](https://github.com/consuldemocracy/consuldemocracy/compare/2.1.1...2.2.0) + +### Added + +- **Accessibility:** Add a link to skip to the main content [\#5396](https://github.com/consuldemocracy/consuldemocracy/pull/5396) and [\#5486](https://github.com/consuldemocracy/consuldemocracy/pull/5486) +- **Documentation:** Import code and commit history from the docs repository [\#5544](https://github.com/consuldemocracy/consuldemocracy/pull/5544) +- **Homepage:** Allow sorting homepage cards [\#5276](https://github.com/consuldemocracy/consuldemocracy/pull/5276) +- **Maintenance-CI:** Run MDL in GitHub actions [\#5582](https://github.com/consuldemocracy/consuldemocracy/pull/5582) +- **Maintenance-CI:** Run every linter separately in Github Actions [\#5545](https://github.com/consuldemocracy/consuldemocracy/pull/5545) and [\#5583](https://github.com/consuldemocracy/consuldemocracy/pull/5583) +- **Maintenance-Deployment:** Clear Rails cache when upgrading Consul Democracy [\#5547](https://github.com/consuldemocracy/consuldemocracy/pull/5547) +- **Maps:** Geozone Admin maps [\#5390](https://github.com/consuldemocracy/consuldemocracy/pull/5390) +- **Multitenancy:** Allow different locales per tenant [\#5243](https://github.com/consuldemocracy/consuldemocracy/pull/5243), [\#5488](https://github.com/consuldemocracy/consuldemocracy/pull/5488) and [\#5585](https://github.com/consuldemocracy/consuldemocracy/pull/5585) +- **Translations:** Update translations from Crowdin [\#5589](https://github.com/consuldemocracy/consuldemocracy/pull/5589) + +### Changed + +- **Accessibility:** Replace initialjs-rails with custom avatar code [\#5481](https://github.com/consuldemocracy/consuldemocracy/pull/5481) and [\#5575](https://github.com/consuldemocracy/consuldemocracy/pull/5575) +- **Accessibility:** Use buttons to open/close admin navigation submenus [\#5460](https://github.com/consuldemocracy/consuldemocracy/pull/5460) +- **Accessibility:** Use buttons for non-GET actions in the admin section [\#5459](https://github.com/consuldemocracy/consuldemocracy/pull/5459) +- **Maintenance:** Base staging configuration on the production one [\#5463](https://github.com/consuldemocracy/consuldemocracy/pull/5463) +- **Maintenance:** Update code of conduct contact address [\#5442](https://github.com/consuldemocracy/consuldemocracy/pull/5442) +- **Maintenance:** Use Zeitwerk to autoload files [\#5425](https://github.com/consuldemocracy/consuldemocracy/pull/5425), [\#5492](https://github.com/consuldemocracy/consuldemocracy/pull/5492) and [\#5587](https://github.com/consuldemocracy/consuldemocracy/pull/5587) +- **Maintenance-CI:** Replace SCSS Lint with Stylelint [\#5448](https://github.com/consuldemocracy/consuldemocracy/pull/5448) +- **Maintenance-Deployment:** Don't ping search engines after sitemap generation [\#5464](https://github.com/consuldemocracy/consuldemocracy/pull/5464) +- **Maintenance-Deployment:** Upgrade Ruby to version 3.2.4 [\#5404](https://github.com/consuldemocracy/consuldemocracy/pull/5404) and [\#5541](https://github.com/consuldemocracy/consuldemocracy/pull/5541) +- **Maintenance-Gems:** \[Security\] Bump rexml from 3.2.6 to 3.2.8 [\#5542](https://github.com/consuldemocracy/consuldemocracy/pull/5542) +- **Maintenance-Gems:** \[Security\] Bump nokogiri from 1.16.3 to 1.16.5 [\#5538](https://github.com/consuldemocracy/consuldemocracy/pull/5538) +- **Maintenance-Gems:** Replace SassC/Libsass with Dart Sass [\#5477](https://github.com/consuldemocracy/consuldemocracy/pull/5477) +- **Maintenance-Gems:** \[Security\] Bump faker from 3.2.3 to 3.3.1 [\#5474](https://github.com/consuldemocracy/consuldemocracy/pull/5474) +- **Maintenance-Gems:** \[Security\] Bump markdown-it from 9.0.1 to 12.3.2 [\#5473](https://github.com/consuldemocracy/consuldemocracy/pull/5473) +- **Maintenance-Gems:** Upgrade to Rails 7.0 [\#5465](https://github.com/consuldemocracy/consuldemocracy/pull/5465), [\#5497](https://github.com/consuldemocracy/consuldemocracy/pull/5497), [\#5508](https://github.com/consuldemocracy/consuldemocracy/pull/5508), [\#5570](https://github.com/consuldemocracy/consuldemocracy/pull/5570) and [\#5577](https://github.com/consuldemocracy/consuldemocracy/pull/5577) +- **Maintenance-Gems:** Bump sprockets-rails from 3.2.2 to 3.4.2 [\#5462](https://github.com/consuldemocracy/consuldemocracy/pull/5462) +- **Maintenance-Gems:** Bump ahoy_matey from 4.2.1 to 5.0.2 [\#5452](https://github.com/consuldemocracy/consuldemocracy/pull/5452) +- **Maintenance-Gems:** Bump exiftool_vendored from 12.60.0 to 12.80.0 [\#5444](https://github.com/consuldemocracy/consuldemocracy/pull/5444) +- **Maintenance-Gems:** Bump knapsack_pro from 5.7.0 to 7.0.1 [\#5436](https://github.com/consuldemocracy/consuldemocracy/pull/5436) +- **Maintenance-Gems:** Bump invisible_captcha from 2.1.0 to 2.3.0 [\#5435](https://github.com/consuldemocracy/consuldemocracy/pull/5435) +- **Maintenance-Gems:** Bump rspec-rails from 5.1.2 to 6.1.2 [\#5434](https://github.com/consuldemocracy/consuldemocracy/pull/5434) +- **Maintenance-Gems:** Bump capistrano from 3.17.3 to 3.18.1 [\#5433](https://github.com/consuldemocracy/consuldemocracy/pull/5433) +- **Maintenance-Gems:** Bump wicked_pdf from 2.7.0 to 2.8.0 [\#5418](https://github.com/consuldemocracy/consuldemocracy/pull/5418) +- **Maintenance-Gems:** Bump savon from 2.14.0 to 2.15.0 [\#5414](https://github.com/consuldemocracy/consuldemocracy/pull/5414) +- **Maintenance-Gems:** Bump caxlsx from 3.4.1 to 4.1.0 [\#5410](https://github.com/consuldemocracy/consuldemocracy/pull/5410) +- **Maintenance-Gems:** Bump pg from 1.4.3 to 1.5.6 [\#5408](https://github.com/consuldemocracy/consuldemocracy/pull/5408) and [\#5424](https://github.com/consuldemocracy/consuldemocracy/pull/5424) +- **Maintenance-Gems:** Bump rubocop from 1.56.4 to 1.61.0 [\#5406](https://github.com/consuldemocracy/consuldemocracy/pull/5406) +- **Maintenance-Gems:** Bump dalli from 3.2.6 to 3.2.8 [\#5402](https://github.com/consuldemocracy/consuldemocracy/pull/5402) +- **Maintenance-Gems:** Bump rubocop-performance from 1.19.1 to 1.20.2 [\#5384](https://github.com/consuldemocracy/consuldemocracy/pull/5384) +- **Maintenance-Gems:** Bump audited from 5.4.0 to 5.4.3 [\#5382](https://github.com/consuldemocracy/consuldemocracy/pull/5382) +- **Maintenance-Gems:** Bump omniauth from 2.1.1 to 2.1.2 [\#5359](https://github.com/consuldemocracy/consuldemocracy/pull/5359) +- **Maintenance-Gems:** Bump autoprefixer-rails from 8.2.0 to 10.4.16.0 [\#5346](https://github.com/consuldemocracy/consuldemocracy/pull/5346) and [\#5438](https://github.com/consuldemocracy/consuldemocracy/pull/5438) +- **Maintenance-Gems:** Bump airbrake from 13.0.3 to 13.0.4 [\#5343](https://github.com/consuldemocracy/consuldemocracy/pull/5343) +- **Maintenance-Gems:** Bump spring from 2.1.1 to 4.1.3 [\#5338](https://github.com/consuldemocracy/consuldemocracy/pull/5338) and [\#5573](https://github.com/consuldemocracy/consuldemocracy/pull/5573) +- **Maintenance-Gems:** Bump globalize from 6.2.1 to 6.3.0 [\#5308](https://github.com/consuldemocracy/consuldemocracy/pull/5308) +- **Maintenance-Gems:** Bump pronto from 0.11.1 to 0.11.2 [\#5307](https://github.com/consuldemocracy/consuldemocracy/pull/5307) +- **Maintenance-Gems:** Bump delayed_job_active_record from 4.1.7 to 4.1.8 [\#5300](https://github.com/consuldemocracy/consuldemocracy/pull/5300) +- **Maintenance-Gems:** Bump acts-as-taggable-on from 9.0.1 to 10.0.0 [\#5298](https://github.com/consuldemocracy/consuldemocracy/pull/5298) +- **Maintenance-Gems:** Bump responders from 3.1.0 to 3.1.1 [\#5296](https://github.com/consuldemocracy/consuldemocracy/pull/5296) +- **Maintenance-Gems:** Bump devise from 4.9.2 to 4.9.3 [\#5293](https://github.com/consuldemocracy/consuldemocracy/pull/5293) +- **Maintenance-Gems:** Bump paranoia from 2.6.2 to 2.6.3 [\#5292](https://github.com/consuldemocracy/consuldemocracy/pull/5292) +- **Maintenance-Gems:** Bump graphql from 1.12.14 to 1.13.22 [\#4955](https://github.com/consuldemocracy/consuldemocracy/pull/4955) +- **Maintenance-JavaScript:** Bump braces from 3.0.2 to 3.0.3 [\#5578](https://github.com/consuldemocracy/consuldemocracy/pull/5578) +- **Maintenance-JavaScript:** Update Node.js from 18.18.2 to 18.20.3 [\#5543](https://github.com/consuldemocracy/consuldemocracy/pull/5543) +- **Maintenance-JavaScript:** Bump jquery-file-upload from 9.12.5 to 9.34.0 [\#5447](https://github.com/consuldemocracy/consuldemocracy/pull/5447) +- **Maintenance-JavaScript:** Bump foundation-sites from 6.6.2 to 6.7.5 [\#5445](https://github.com/consuldemocracy/consuldemocracy/pull/5445) and [\#5446](https://github.com/consuldemocracy/consuldemocracy/pull/5446) +- **Maintenance-JavaScript:** Replace rails-assets.org with Node.js packages [\#5423](https://github.com/consuldemocracy/consuldemocracy/pull/5423) +- **Maintenance-Refactoring:** Rename Poll::Question::Answer to Poll::Question::Option [\#5537](https://github.com/consuldemocracy/consuldemocracy/pull/5537) +- **Maintenance-Specs:** Make comments specs faster [\#5369](https://github.com/consuldemocracy/consuldemocracy/pull/5369) and [\#5457](https://github.com/consuldemocracy/consuldemocracy/pull/5457) +- **Statistics:** Improve stats graphs in admin section [\#5503](https://github.com/consuldemocracy/consuldemocracy/pull/5503) +- **UX:** Do not use third-party cookies in embedded videos [\#5548](https://github.com/consuldemocracy/consuldemocracy/pull/5548) +- **UX:** Use a GDPR-compliant configuration for Ahoy [\#5504](https://github.com/consuldemocracy/consuldemocracy/pull/5504) +- **UX:** Change the English translation of check ballot to avoid confusion [\#5455](https://github.com/consuldemocracy/consuldemocracy/pull/5455) +- **UX:** Change the order in which PB Ballot votes are displayed [\#5454](https://github.com/consuldemocracy/consuldemocracy/pull/5454) + +### Fixed + +- **Maintenance-CI:** Install Node packages before compiling assets in Gitlab CI [\#5475](https://github.com/consuldemocracy/consuldemocracy/pull/5475) +- **Maintenance-Specs:** Use logout to sign out in tests [\#5580](https://github.com/consuldemocracy/consuldemocracy/pull/5580) +- **Polls:** Avoid duplicate records in poll answers [\#5539](https://github.com/consuldemocracy/consuldemocracy/pull/5539) +- **Polls:** Avoid creating duplicate voters in polls [\#5532](https://github.com/consuldemocracy/consuldemocracy/pull/5532) +- **Statistics:** Calculate age stats based on the participation date [\#5533](https://github.com/consuldemocracy/consuldemocracy/pull/5533), [\#5569](https://github.com/consuldemocracy/consuldemocracy/pull/5569) and [\#5584](https://github.com/consuldemocracy/consuldemocracy/pull/5584) +- **Statistics:** Don't use the cache in admin budget stats [\#5456](https://github.com/consuldemocracy/consuldemocracy/pull/5456) +- **UX:** Fix styles for polls table and polls dates [\#5499](https://github.com/consuldemocracy/consuldemocracy/pull/5499) +- **UX:** Fix font-awesome icons in Internet Explorer 11 [\#5450](https://github.com/consuldemocracy/consuldemocracy/pull/5450) + +### Removed + +- **Documentation:** Remove link to gitter chat [\#5440](https://github.com/consuldemocracy/consuldemocracy/pull/5440) +- **Maintenance:** Remove legacy code from Puma config [\#5479](https://github.com/consuldemocracy/consuldemocracy/pull/5479) +- **Maintenance:** Update badges in README files [\#5398](https://github.com/consuldemocracy/consuldemocracy/pull/5398) +- **Maintenance-Deployment:** Remove task to stop the puma daemon [\#5476](https://github.com/consuldemocracy/consuldemocracy/pull/5476) +- **Maintenance-Gems:** Remove Bullet from Gemfile [\#5500](https://github.com/consuldemocracy/consuldemocracy/pull/5500) +- **Maintenance-Specs:** Remove duplicated spec [\#5502](https://github.com/consuldemocracy/consuldemocracy/pull/5502) + ## [2.1.1](https://github.com/consuldemocracy/consuldemocracy/tree/2.1.1) (2024-03-21) [Full Changelog](https://github.com/consuldemocracy/consuldemocracy/compare/2.1.0...2.1.1) diff --git a/app/controllers/installation_controller.rb b/app/controllers/installation_controller.rb index 87651a4af..671e3cc45 100644 --- a/app/controllers/installation_controller.rb +++ b/app/controllers/installation_controller.rb @@ -10,7 +10,7 @@ class InstallationController < ApplicationController private def consul_installation_details - { release: "2.1.1" }.merge(features: settings_feature_flags) + { release: "2.2.0" }.merge(features: settings_feature_flags) end def settings_feature_flags