aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/CHANGES.md6
-rw-r--r--doc/INSTALL.md21
2 files changed, 21 insertions, 6 deletions
diff --git a/doc/CHANGES.md b/doc/CHANGES.md
index 758e6b56e..b6e901fa9 100644
--- a/doc/CHANGES.md
+++ b/doc/CHANGES.md
@@ -6,14 +6,16 @@
* It is now possible to rebuild the xapian index for specific terms, rather than having to drop and rebuild the entire database every time (as previously). See rake xapian:rebuild_index for more info.
* When listing authorities, show all authorities in default locale, rather than only those in the currently selected locale.
* Ensure incoming emails are only ever parsed once (should give a performance boost)
+* [Full list of changes on github](https://github.com/sebbacon/alaveteli/issues?state=closed&milestone=9)
## Upgrade notes
-* **IMPORTANT! We now depend on Xapian 1.2**, which means you may need to install Xapian from backports. See [issue #159] for more info.
+* **IMPORTANT! We now depend on Xapian 1.2**, which means you may need to install Xapian from backports. See [issue #159](https://github.com/sebbacon/alaveteli/issues/159) for more info.
* Themes created for 0.4 and below should be changed to match the new format (although the old way should continue to work):
* You should create a resources folder at `<yourtheme>/public/` and symlink to it from the main rails app. See the `install.rb` in `alaveteli-theme` example theme for details.
* Your styles should be moved from `general/custom_css.rhtml` to a standalone stylesheet in `<yourtheme>/public/stylesheets/`
* The partial at `general/_before_head_end.rhtml` should be changed in the theme to include this stylesheet
-
+* [issue #281](https://github.com/sebbacon/alaveteli/issues/281) fixes some bugs relating to display of internationalised emails. To fix any wrongly displayed emails, you'll need to run the script at `script/clear-caches` so that the caches can be regenerated
+* During this release, a bug was discovered in pdftk 1.44 which caused it to loop forever. Until it's incorporated into an official release, you'll need to patch it yourself or use the Debian package compiled by mySociety (see link in [issue 305](https://github.com/sebbacon/alaveteli/issues/305))
# Version 0.4
diff --git a/doc/INSTALL.md b/doc/INSTALL.md
index a666ac2f0..b95534e4f 100644
--- a/doc/INSTALL.md
+++ b/doc/INSTALL.md
@@ -51,6 +51,12 @@ graphical interface running) on Linux. If you do install
`wkhtmltopdf`, you need to edit a setting in the config file to point
to it (see below).
+Version 1.44 of `pdftk` contains a bug which makes it to loop forever
+in certain edge conditions. Until it's incorporated into an official
+release, you can either hope you don't encounter the bug (it ties up a
+rails process until you kill it) you'll need to patch it yourself or
+use the Debian package compiled by mySociety (see link in
+[issue 305](https://github.com/sebbacon/alaveteli/issues/305))
# Configure Database
@@ -77,8 +83,8 @@ constraints whilst running the tests they also need to be a superuser.
The following command will set up a user 'foi' with password 'foi':
- echo "CREATE DATABASE foi_development encoding = 'UTF8';
- CREATE DATABASE foi_test encoding = 'UTF8';
+ echo "CREATE DATABASE foi_development encoding 'SQL_ASCII' template template0;
+ CREATE DATABASE foi_test encoding 'SQL_ASCII' template template0;
CREATE USER foi WITH CREATEUSER;
ALTER USER foi WITH PASSWORD 'foi';
ALTER USER foi WITH CREATEDB;
@@ -86,6 +92,12 @@ The following command will set up a user 'foi' with password 'foi':
GRANT ALL PRIVILEGES ON DATABASE foi_test TO foi;
ALTER DATABASE foi_development OWNER TO foi;
ALTER DATABASE foi_test OWNER TO foi;" | psql
+
+We create using the ``SQL_ASCII`` encoding, because in postgres this
+is means "no encoding"; and because we handle and store all kinds of
+data that may not be valid UTF (for example, data originating from
+various broken email clients that's not 8-bit clean), it's safer to be
+able to store *anything*, than reject data at runtime.
# Configure email
@@ -295,8 +307,9 @@ is supplied in `../conf/varnish-alaveteli.vcl`.
to `/etc/elinks/elinks.conf`:
set document.codepage.assume = "utf-8"
-
- You should also check that your locale is set up wrongly. See
+ set document.codepage.force_assumed = 1
+
+ You should also check that your locale is set up correctly. See
[https://github.com/sebbacon/alaveteli/issues/128#issuecomment-1814845](this issue followup)
for further discussion.