Skip to content

Release 0.24.0.0

Compare
Choose a tag to compare
@garethrees garethrees released this 16 Mar 15:58
· 9731 commits to develop since this release

Highlighted Features

  • Stopped enforcing line lengths in plain text emails for a better experience
    when using small screen clients such as mobile phones (Liz Conlan)
  • Added Google Analytics tracking code to log an event when a widget button
    is clicked (Liz Conlan)
  • Fix crash when neither Geoip nor Gaze are configured (Alfonso Cora)
  • Added a system of checkboxes to allow admins to delete multiple incoming
    messages (ie spam) that are associated with a request (Liz Conlan)
  • Added a new cron job to run the holding pen cleanup task once a week.
    (Liz Conlan)
  • Improved the holiday reminder email that gets sent to site admins once a year
    (Liz Conlan)
  • Extracted ResponseController#show_response in to several actions in a new
    FollowupsController (Liz Conlan, Gareth Rees)
  • Added links to AskTheEU from Alaveteli sites
    installed in an EU country (Gareth Rees)
  • Stopped generating code coverage reports locally. You can still view code
    coverage reports on https://coveralls.io/github/mysociety/alaveteli
    (Gareth Rees)
  • Added OutgoingMessage::Template module and extracted templates to classes
    in this module (Gareth Rees)
  • Added some experimental methods for sending requests to an external reviewer
    (Gareth Rees)
  • Added some experimental methods for retrieving exim mail server logs for a
    specific OutgoingMessage (Gareth Rees)
  • Improved the organisation of the items in the admin nav bar (Gareth Rees)
  • Global and Public Body censor rules can now be managed through the admin UI
    (Gareth Rees)
  • Added non-destructive methods to apply censor rules and text masks (Gareth
    Rees).
  • Improve handling of long translations in logged in nav (Zarino Zappia)
  • Better support for setting up a thin cluster (Liz Conlan)
  • Added onscreen instructions to the Vagrant box (Liz Conlan)
  • The UK-specific SPECIAL_REPLY_VERY_LATE_AFTER_DAYS has been removed. See
    mysociety/whatdotheyknow-theme#287 for how we've
    re-implemented this in WhatDoTheyKnow.
  • Stop outgoing messages being displayed with forced line breaks (Liz Conlan).
  • Reduce risk of duplicate request urls (Liz Conlan).
  • Better image for pages when shared on Facebook (Zarino Zappia)
  • Official support added for ruby 2.1.5 and 2.3.0 (Louise Crow)
  • Ported the graph generation shell scripts to Ruby (Liz Conlan)
  • Official support added for Debian Jessie (Liz Conlan)
  • Improved some translation strings and added some missing wrappers (Gareth
    Rees)
  • Deprecated some UK-specific code (Gareth Rees)
  • Improve speed of the 'old unclassified' requests query by adding a cached
    field to InfoRequest to keep track of when the last public response was
    made (Liz Conlan).
  • Improved error messages in script/switch-theme.rb (Zarino Zappia)

Upgrade Notes

  • The following methods have been replaced:

    • CensorRule#apply_to_text!: CensorRule#apply_to_text
    • CensorRule#apply_to_binary!: CensorRule#apply_to_binary
    • IncomingMessage#apply_masks!: IncomingMessage#apply_masks
    • InfoRequest#apply_censor_rules_to_text!: InfoRequest#apply_censor_rules_to_text
    • InfoRequest#apply_censor_rules_to_binary!: InfoRequest#apply_censor_rules_to_binary
    • AlaveteliTextMasker#apply_masks!: AlaveteliTextMasker#apply_masks
    • AlaveteliTextMasker#apply_pdf_masks!: AlaveteliTextMasker#apply_pdf_masks
    • AlaveteliTextMasker#apply_binary_masks!: AlaveteliTextMasker#apply_binary_masks
    • AlaveteliTextMasker#apply_text_masks!: AlaveteliTextMasker#apply_text_masks

    Note that you will need to assign the return value from the new methods, e.g:

- censor_rule.apply_to_text!(text)
+ censored_text = censor_rule.apply_to_text(text)