diff --git a/config/initializers/alaveteli.rb b/config/initializers/alaveteli.rb index 5975f9f4e1..b2829e16f4 100644 --- a/config/initializers/alaveteli.rb +++ b/config/initializers/alaveteli.rb @@ -11,7 +11,7 @@ load "util.rb" # Application version -ALAVETELI_VERSION = '0.37.1.4' +ALAVETELI_VERSION = '0.38.0.0' # Add new inflection rules using the following format # (all these examples are active by default): diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 51fabf22d0..18d6d7d03c 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -4,18 +4,35 @@ * Upgrade to Rails 5.2 (Graeme Porteous) * Upgrade to Xapian to 1.4.11 (Sam Pearson, Graeme Porteous) +* Dependencies upgrades (Gareth Rees, Graeme Porteous) * Don't show profile photos of banned users (Gareth Rees) -* Link to change request form when asking users contact us about request email - updates (Gareth Rees) +* Link to change request form when asking users to contact us about request + email updates (Gareth Rees) * Configure Google Analytics to anonymise their IP address and disable storing browser cookies. (Graeme Porteous) * Removed New Relic support (Graeme Porteous) +* Fixes encoding issue when viewing attachment as HTML. See related upgrade note + regarding checking requests/censor rules below (Graeme Porteous, Gareth Rees) +* Fixes and improvements to geoip database download rake task (Graeme Porteous) + +## Highlighted Pro Features + +* Foundational work on a new "Projects" feature allowing users to collaborate on + requests and batches together (Gareth Rees, Graeme Porteous) + See: https://www.mysociety.org/2020/07/24/whatdotheyknow-projects/ # Upgrade Notes * **IMPORTANT! We now depend on Xapian 1.4**, which means you may need to - [convert your flint database to a chert database](https://getting-started-with-xapian.readthedocs.io/en/latest/advanced/admin_notes.html#converting-a-flint-database-to-a-chert-database) - prior to upgrading Alaveteli. + convert your flint database to a chert database prior to upgrading Alaveteli. + See: https://getting-started-with-xapian.readthedocs.io/en/latest/advanced/admin_notes.html#converting-a-flint-database-to-a-chert-database) +* **IMPORTANT! We no longer support PostgreSQL 9.4**. Please upgrade to 9.6 + before upgrading Alaveteli. See: https://www.postgresql.org/docs/9.6/release-9-6.html +* **NOTE:** This release will be the last to support Ruby 2.3 and 2.4. Please + consider upgrading to either 2.6. See: https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-6-6-released/ +* Run `bundle exec rake temp:identify_broken_binary_censor_rules` to generate + a list of requests which should be manually checked to ensure censor rules are + applied correctly. * The Google Analytics code has been extracted into `views/application/_ga_code.html.erb`, and to avoid the GDPR requirement to show cookie opt-in notices, now sets cookie-less tracking. Additionally, we @@ -24,6 +41,49 @@ profiled. If you wish to continue individually targeting users, you'll need to override `app/views/application/_ga_code.html.erb` in your theme and set appropriate options. +* There are some database structure updates so remember to run + `bundle exec rails db:migrate` + +### Changed Templates + +The following templates have been changed. Please update overrides in your theme +to match the new templates. + + app/views/admin_user/_form.html.erb + app/views/admin_user/index.html.erb + app/views/alaveteli_pro/comment/_suggestions.html.erb + app/views/alaveteli_pro/info_request_batches/_info_request_batch.html.erb + app/views/alaveteli_pro/info_requests/_after_actions.html.erb + app/views/alaveteli_pro/info_requests/_embargo_create_form.html.erb + app/views/alaveteli_pro/info_requests/_embargo_extension_form.html.erb + app/views/alaveteli_pro/info_requests/_embargo_form.html.erb + app/views/alaveteli_pro/info_requests/_select_authority_form.html.erb + app/views/alaveteli_pro/info_requests/_sidebar.html.erb + app/views/classifications/message.html.erb + app/views/comment/_single_comment.html.erb + app/views/comment/_suggestions.html.erb + app/views/followups/new.html.erb + app/views/info_request_batch/show.html.erb + app/views/layouts/default.html.erb + app/views/public_body/view_email.html.erb + app/views/request/_after_actions.html.erb + app/views/request/_bubble.html.erb + app/views/request/_citations.html.erb + app/views/request/_correspondence.html.erb + app/views/request/_describe_state.html.erb + app/views/request/_incoming_correspondence.html.erb + app/views/request/_outgoing_correspondence.html.erb + app/views/request/_request_subtitle.html.erb + app/views/request/_sidebar.html.erb + app/views/request/_view_html_prefix.html.erb + app/views/request/show.html.erb + app/views/request/show.text.erb + app/views/request_mailer/requires_admin.text.erb + app/views/statistics/_people_leaderboard.html.erb + app/views/track/_tracking_links_simple.html.erb + app/views/user/_user_listing_single.html.erb + app/views/user/show/_show_profile.html.erb + app/views/widgets/show.html.erb # 0.37.1.4 @@ -77,7 +137,7 @@ Pin-Priority: 50 ## Highlighted Features * Automatically run `db:seed` on deployment (Gareth Rees) -* Highlight the importance of remembering OTP (Gareth Ress) +* Highlight the importance of remembering OTP (Gareth Rees) * Updated world sites index with new Alaveteli installs (Jen Bramley) * Fetch MaxMind database weekly (Sam Pearson) * Link requests to news articles through citations (Graeme Porteous)