Releases: mysociety/alaveteli
Releases · mysociety/alaveteli
0.26.0.7
0.26.0.6
Highlighted Features
- Apply text masks and censor rules to attachments when downloading a whole
request as a Zip file (Louise Crow, Gareth Rees)
Upgrade Notes
- Check what information may have been released by auditing cached zip
downloads:
bundle exec rake temp:audit_cached_zip_downloads_with_censor_rules
. Save
this information somewhere to refer back to. - Clear all cached Zip downloads so that masks and censor rules are applied the
next time they are accessed:
bundle exec rake temp:remove_cached_zip_downloads
.
0.26.0.5
Highlighted Features
- Added an instruction line to the translation source to warn against using
double quotes for the email name translation string (Liz Conlan) - Updated translations for Italy and Nepal (Liz Conlan)
Upgrade Notes
- This hotfix just includes translation updates.
0.26.0.4
0.26.0.3
Highlighted Features
- Updated translations for Italian translations to fix a bug that prevents mail sending from working properly if there are double quotes in the string used when constructing to email's to field (Liz Conlan)
Upgrade Notes
- This hotfix just includes translation updates.
0.26.0.2
Highlighted Features
- Updated translations (Liz Conlan)
Upgrade Notes
- This hotfix just includes translation updates.
0.26.0.1
Highlighted Features
- Minor tweaks to unify the action bars used on the authority and request pages
(Martin Wright) - Added the new action menu to the bottom of the correspondence thread after
user feedback (Gareth Rees)
Release 0.26.0.0
Highlighted Features
- Moved user actions to an "action menu" on the request pages (Martin Wright,
Gareth Rees, Liz Conlan) - Added sorting to admin users list (Gareth Rees)
- Add
required
attribute to select authority form to prevent blank searches
(Gareth Rees) - Make spam term checking configurable (Gareth Rees)
- Exclude banned users from graphs and stats tasks (Liz Conlan)
- New statistics page that includes user stats to show top requesters and
annotators, and hidden requests. Includes a new event type of "hide" to
make tracking and reporting on hidden requests much simpler. Need to run
rake temp:update_hide_event_type
to set up the data for this feature
(Henare Degan, Luke Bacon) - Added task to export last 2 days of requests (
cleanup:spam_requests
)
(Gareth Rees) - Added admin comments list page (Gareth Rees)
- Add "banned" label to banned users in admin users list for better visibility
(Gareth Rees) - Fix request counts for authorities on the body stats page (Henare Degan)
- Cached mail server log delivery status (Liz Conlan, Gareth Rees)
- Improved display of authority list in search results (Martin Wright)
- Added favicon to
admin
,no_chrome
and attachment to html layouts
(Gareth Rees) - Search for requests made to a tagged set of public authorities (Henare Degan)
- Allow format to be parsed correctly so JSON searches work (Henare Degan)
- Improve styling of request status messages (Martin Wright)
- Stopped HTML Entities being included in emails (Liz Conlan)
- Added support for Ubuntu 14.04 LTS (Trusty Tahr) (Louise Crow)
- Stopped including the original mail in bounce messages to prevent us
redistributing spam (Louise Crow) - Added more modern request status icons from the default Alaveteli theme
(Louise Crow) - Made search interfaces more consistent (Martin Wright, Louise Crow)
- Added a package to automate updating the geoip databases (Henare Degan)
- New requests are now recorded as virtual pageviews in Google Analytics (Louise Crow)
- Fixed broken table cell markup (Luke Bacon)
- Added an admin link to outgoing correspondence (Gareth Rees)
- Fixed some minor bugs on the admin debug page (Henare Degan)
- Moved Javascript to end of body tag (Louse Crow)
- Improve Public Body import from CSV documentation and page layout (Liz Conlan,
Gareth Rees) - Apache and nginx example files now have far-future expiration dates for static assets
to allow browser-based caching (Louise Crow) - Improved design of request correspondence boxes (Martin Wright).
- Improved the listing of similar requests in the request page sidebar (Martin
Wright) - Added a "Make a Request" call to action to the sidebar of the request pages
(Martin Wright) - Fixed some missing markup on request description notices (Sam Smith)
- Improved wording of lists of requests requiring attention on the admin summary
page (Louise Crow) - Added strong parameters gem for better mass assignment security (Gareth Rees)
- Added experimental Xapian database replication (Hazel Smith, Louise Crow)
Upgrade Notes
- To cache delivery status of existing mail server logs run
bundle exec rake temp:cache_delivery_status
after deployment. InfoRequest.last_public_response_clause
,
InfoRequest.old_unclassified_params
,
InfoRequest.count_old_unclassified
,
InfoRequest.get_random_old_unclassified
and
InfoRequest.find_old_unclassified
have been removed. Use
InfoRequest.where_old_unclassified
and additional ARel query methods where
necessary.- You can improve the speed of your site by making sure that far-future expiration dates
are being set on static assets - see the examples in the example config files (config/ httpd.conf-example
andconfig/nginx.conf.example
). - Install the
geoip-database-contrib
package to automatically fetch latest
geoip databases. - To make requests searchable based on their public body's tags you'll need to
reindex Xapian. To make this quicker you can selectively reindex just the
model and new term by running
bundle exec rake xapian:rebuild_index models="InfoRequestEvent" terms="X"
- To update events to use the new 'hide' event type you need to run
rake temp:update_hide_event_type
- If you've added Javascript to overriden view templates, you should wrap it
in acontent_for :javascript
block. See http://api.rubyonrails.org/v3.2.22/classes/ActionView/Helpers/CaptureHelper.html#method-i-content_for
for more information. - If you've overridden models that use
attr_accessible
orattr_protected
,
you'll need to update them as per the strong parameters migration guide. - There are some database structure updates so remember to
rake db:migrate