aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2015-06-23 11:32:13 +0100
committerLouise Crow <louise.crow@gmail.com>2015-06-23 11:32:47 +0100
commit2a6c79efc6b979c5abbe32c7240f94e6cf79a53c (patch)
treefeb8048ef725222142cd2cf31f575886034432cb
parentcafc4250a4f2f4f41250da9d9c626d2e1528978c (diff)
Add upgrade notes for latest changes
CVE fixes, ruby migration examples and FoiAttachment body encoding.
-rw-r--r--doc/CHANGES.md21
1 files changed, 18 insertions, 3 deletions
diff --git a/doc/CHANGES.md b/doc/CHANGES.md
index ebb3f10a7..287f7521c 100644
--- a/doc/CHANGES.md
+++ b/doc/CHANGES.md
@@ -2,17 +2,32 @@
## Highlighted Features
* There is experimental support for using an STMP server, rather than sendmail,
- for outgoing mail. There is not yet any ability to retry if the SMTP server is
- unavailable.
+ for outgoing mail. There is not yet any ability to retry if the SMTP server is
+ unavailable.
* HTML 'widgets' advertising requests can be displayed on other sites in iframes.
If 'ENABLE_WIDGETS' is set to true in `general.yml` (the default is false), a link
to the widget code will appear in the right hand sidebar of a request page.
* Capistrano now caches themes (Henare Degan).
+* Upgrades and fixes for security announcements CVE-2015-3225, CVE-2015-3227 and
+ CVE-2015-1840 (Louise Crow).
+* Attachment text conversion to UTF-8 is now handled in a clearer way by the
+ `FoiAttachment` model. Censor rules are applied with the appropriate encoding
+ (Louise Crow).
+* A rake task `temp:fix_invalid_utf8` has been added to help people migrating an
+ Alaveteli install from ruby 1.8.7 to a later ruby version (Louise Crow).
+* An example wrapper script, `config/run-with-rbenv-path` has been added to run
+ the mail scripts using the ruby version set by `rbenv`. Example code for this
+ has also been added to the daemon and cron example files.
## Upgrade Notes
* Capistrano now caches themes in `shared/themes`. Run the `deploy:setup` task
- to create the shared directory before making a new code deploy.
+ to create the shared directory before making a new code deploy.
+* If you handle attachment text in your theme, note that:
+ * FoiAttachment#body will always return a binary encoded string
+ * FoiAttachment#body_as_text will always return a UTF-8 encoded string
+ * FoiAttachment#default_body will return a UTF-8 encoded string for text
+ content types, and a binary encoded string for all other types.
# Version 0.21