diff options
Diffstat (limited to 'doc/CHANGES.md')
-rw-r--r-- | doc/CHANGES.md | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/doc/CHANGES.md b/doc/CHANGES.md index 777501ca5..237355c1d 100644 --- a/doc/CHANGES.md +++ b/doc/CHANGES.md @@ -1,3 +1,105 @@ +# Version 0.19 + +## Highlighted Features + +* Improved documentation at http://alaveteli.org/docs (Louise Crow, Gareth Rees, + Dave Whiteland) +* Added mySociety Launchpad PPA to supply updated version of pdftk (Louise Crow) +* Made default maintenance page generic (Gareth Rees) +* Support additional Vagrant operating system images (Gareth Rees) +* Add SysVinit for Phusion Passenger (Gareth Rees) +* Eager loading to speed up `body_request_events` API action (Louise Crow) +* Ability to update the status of external requests made via the API (Liz + Conlan) +* Removed more mySociety internal dependencies from install script and example configuration and template files (Gareth Rees) +* Improved example configuration files (Gareth Rees) +* Support Portugese locale (Louise Crow) +* Default to using UTF-8 encoded database for new installs and CI (Gareth Rees) +* Better config file generators in `lib/tasks/config_files.rake` (Gareth Rees) +* Improved search term highlighting (Gareth Rees) +* Added responsive styling (Louise Crow) +* Documentation tidying and redirection (Louise Crow) +* Allow a message with more than one event to be destroyed (Louise Crow) +* Makes public body stats available if configured (Gareth Rees) +* Cache-busting on request response notification emails (Gareth Rees) +* Better error handling on new requests (Louise Crow) +* Rake task for cleaning up holding pen events (`rake cleanup:holding_pen`) + (Louise Crow) +* Added searching of bodies by short_name (Gareth Rees) +* Additional stats on `/version.json` (Gareth Rees) +* Minor tweaks to the homepage (Gareth Rees) +* Translation housekeeping (Louise Crow) +* Minor style updates to admin request edit page (Gareth Rees) + +## Upgrade Notes + +* `HighlightHelper#excerpt` backports the Rails 4 `excerpt` which requires a + Hash for the options parameter rather than globbing the remaining arguments. + +For example: + + - <%=h excerpt(info_request.initial_request_text, "", 100) %> + + <%=h excerpt(info_request.initial_request_text, "", :radius => 100) %> + +You will need to update any use of `excerpt` in your theme to use the Hash args. + +* Ubuntu Precise users can get an updated version of pdftk from mySociety's PPA + +Install the repo and update the sources: + + apt-get install python-software-properties + add-apt-repository ppa:mysociety/alaveteli + apt-get update + +The mySociety pdftk package (`1.44-7~precise1ms1`) should now be the install +candidate: + + apt-cache policy pdftk + +* Install `lockfile-progs` so that the `run-with-lockfile` shell script can be + used instead of the C program +* Use responsive stylesheets in `config/general.yml`: + `RESPONSIVE_STYLING: true`. If you don't currently use responsive styling, + and you don't want to get switched over just set `RESPONSIVE_STYLING: false` + and the fixed-width stylesheets will be used as before. +* Allow access to public body stats page if desired in `config/general/yml`: + `PUBLIC_BODY_STATISTICS_PAGE: true` +* Run migrations to define track_things constraint correctly (Robin Houston) and + add additional index for `event_type` on `info_request_events` (Steven Day) +* The `SHARED_DIRECTORIES` setting now includes `tmp/pids`. The notes below for + updating the log directory should cover the update steps for `tmp/pids`. +* Capistrano now creates `SHARED_PATH/tmp/pids` and links `APP_ROOT/tmp/pids` + here, as the alert tracks daemon writes its pids to the generally expected + location of `APP_ROOT/tmp/pids`. +* rails-post-deploy no longer handles linking `APP_ROOT/log` to a log directory + outside the app. Capistrano users will find that `:symlink_configuration` now + links `APP_ROOT/log` to `SHARED_PATH/log`. Users who aleady use the + `SHARED_FILES` and `SHARED_DIRECTORIES` settings in `config/general.yml` + should add `log/` to the `SHARED_DIRECTORIES` setting. The existing mechanism + for shared directories (in `script/rails-deploy-before-down`) will create the + necessary link to `SHARED_FILES_PATH/log`. If your existing shared log + directory is not at `SHARED_FILES_PATH/log`, move the directory and re-run + `script/rails-post-deploy` to link up the new location. If you don't use + `SHARED_FILES` and `SHARED_DIRECTORIES`, alaveteli will now write it's + application logs to `APP_ROOT/log` rather than `APP_ROOT/../logs` by default. +* `public_body_change_requests/new.html.erb` has a new field for spam prevention + so customisations of this template should be updated with: + + <p style="display:none;"> + <%= label_tag 'public_body_change_request[comment]', _('Do not fill in this field') %> + <%= text_field_tag 'public_body_change_request[comment]' %> + </p> + This is the anti-spam honeypot. +* The workaround for an old [bug](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=637239) in libc6 in squeeze has been removed. If you're running on squeeze, please make sure you're using the latest version of libc6 (2.11.3-4) to prevent the risk of segfaults. +* The capistrano `stop`, `start` and `restart` tasks now restart the app + server via the service `/etc/init.d/alaveteli`. If you're using + capistrano for deployment, make sure `/etc/init.d/alaveteli` exists + and is current, and executable by the cap user. You can create it using the template + `config/sysvinit-thin.ugly` or `config/sysvinit-passenger.ugly` as + described in http://alaveteli.org/docs/installing/manual_install/#generate-alaveteli-service +* This release includes an update to the commonlib submodule - you + should be warned about this when running rails-post-deploy. + # Version 0.18 ## Highlighted features |