Releases: mysociety/alaveteli
Releases · mysociety/alaveteli
0.28.0.14
0.29.0.4
Highlighted Features
- Fix broken
fr_BE
translation (Gareth Rees)
0.29.0.3
Highlighted Features
- Backport fixes for HTML getting rendered in to flash messages (Gareth Rees)
Upgrade Notes
app/views/track/_track_set.erb
has been renamed to
app/views/track/_track_set.html.erb
, so if you've overriden it you will need
to update the override.
0.30.0.1
0.30.0.0
0.30.0.0
Highlighted Features
- Fix bug that prevented private requests from being published across the whole
site once the embargo period had expired (Liz Conlan) - Update format of
robots.txt
for Baidu compatibility (Gareth Rees) - Added some extra margin space to the
#logged_in_bar
when javascript is
disabled to avoid the user's name from overlapping the 'Sign out' link -
otherwise if there is enough space to do so, the secondary menu will try to
float alongside the nav bar content (Liz Conlan) - Make it clearer to users that they must complete an action when receiving the
email to remind them to update the status of a request (Gareth Rees) - Removed non-responsive assets (Gareth Rees)
- Upgrade to Rails 4.2 (Liz Conlan, Gareth Rees)
- Fixed problem where the routing filter doesn't recognise default locales with
underscores properly (Liz Conlan) - Added wrapper methods to
AlaveteliLocalization
to be used in preference to
the underlyingI18n
andFastGettext
methods, avoiding confusion about
which should be used and reducing the likelihood of getting hyphenated and
underscore locale formats mixed up (Liz Conlan) - Prevent null bytes getting saved to
IncomingMessage
attachment cache
columns (Gareth Rees) - Add
:inverse_of
option to ActiveRecord associations to improve performance
(Gareth Rees) - Make Vagrant settings configurable through
.vagrant.yml
(Gareth Rees) - Make sure geoip-database-contrib is installed when installing Alaveteli
(Gareth Rees) - Make sure memcached is installed when installing Alaveteli (Gareth Rees)
- Remove front-end caching from delivery status calculation (Gareth Rees)
- Remove unconventional PublicBody database constraints (Gareth Rees,
Liz Conlan) - Improve public body data validations (Gareth Rees)
- Increase truncation length of comments on admin page so that its easier to
spot spam without expanding each comment (Gareth Rees) - Handle unicode in spam request subject lines (Gareth Rees)
- Improve public body data validation test coverage (Gareth Rees)
- Move some more flash messages to be rendered from partials (Gareth Rees)
- Admin timeline can now show events filtered by type (Louise Crow)
- As promised the
notifications_testers
role as been removed. Access to
the experimental notification features is now controlled by a feature flag. - Request numbers in search and list views are now more clearly displayed as
estimates (Liz Conlan) - Functionality of 'was clarification' admin button restored (Louise Crow)
- A new method for receiving incoming mail has been introduced. Setting the experimental
config variablePRODUCTION_MAILER_RETRIEVER_METHOD
topop
and generating
a daemon from thepoll-for-incoming-debian.example
template will
cause Alaveteli to poll a mailbox for incoming mail via POP, in addition to
passively accepting mail piped into the application viascript/mailin
(Louise Crow) - Only publicly visible requests are now counted in the text for a user search
result (Louise Crow) - Similar request IDs are now cached, rather than template partials displaying
similar requests, in order to make better usage of the cache space (Louise Crow) - You can now filter users by their role on the admin user list page (Louise Crow)
- Remove the obsolete
admin_level
user attribute (Louise Crow) - Allow embargoed requests to be displayed separately in the admin interface
to admins with pro_admin permissions (Louise Crow) - Add a cookie_passthrough param to ensure that image files in responses can be
accessed by authorised users on embargoed requests (Louise Crow) - Add
oink
memory debugging setup. UseALAVETELI_USE_OINK=1
to produce
object allocation debugging output (Louise Crow)
Upgrade Notes
- This release removes the
admin_level
user attribute. You will need to migrate
to this release via 0.29.0.0 and follow the instructions in the release notes for
that release to migrate admin and pro statuses to the role-based system first, in
order to retain admin status for your admin users. - Ensure memcached is installed (
sudo apt-get install memcached
) and running
(sudo service memcached start
). app/views/track/_track_set.erb
has been renamed to
app/views/track/_track_set.html.erb
, so if you've overriden it you will need
to update the override.app/views/general/_opengraph_tags.erb
has been renamed to
app/views/general/_opengraph_tags.html.erb
, so if you've overriden it you
will need to update the override.- Run
bundle exec rake temp:populate_last_event_time
after deployment to populate
the cachedlast_event_time
attribute on info_requests, used in the admin interface. - Run
bundle exec rake temp:remove_notifications_tester_role
to remove the
notification tester role from the database. - Use of the
PRODUCTION_MAILER_RETRIEVER_METHOD
config setting is currently
not recommended. - Upgrading to Rails 4.2 requires that themes have a new section in their
alavetelitheme.rb
file as in:
mysociety/whatdotheyknow-theme@f99f7fd
For more details, see the preparatory changes
and the upgrade itself - To start the Rails server from a Vagrant box, you will now need to tell it
what address to bind to as it now defaults to localhost.
e.g.bundle exec rails s -b 0.0.0.0
to bind to all addresses (as before)
orbundle exec rails s -b 10.10.10.30
to just use the Vagrantfile address. - File-type icons have been moved from
images
toimages/content_type
. Please
ensure any direct use of these uses the new path. - This release deprecates the use of purge requests to Varnish. Please make sure
your site works withVARNISH_HOST
empty - it will be removed as a param in
the next release. - Run
bundle exec rake temp:set_daily_summary_times
to set some default
times for users to receive daily summaries of notifications. This won't have
any effect on emails for most users until the new notifications system is
rolled out. - There are some database structure updates so remember to
rake db:migrate
0.28.0.13
0.29.0.2
0.29.0.1
Highlighted Features
- Fixed problem where the routing filter doesn't recognise default locales with
underscores properly (Liz Conlan) - Added wrapper methods to AlaveteliLocalization to be used in preference to the
underlying I18n and FastGettext methods, avoiding confusion about which should
be used and reducing the likelihood of getting hyphenated and underscore
locale formats mixed up (Liz Conlan)
0.28.0.12
0.28.0.11
Highlighted Features
- Backport fix for loading sample data in Rails 4 (Gareth Rees)