aboutsummaryrefslogtreecommitdiffstats
path: root/config/initializers
Commit message (Collapse)AuthorAgeLines
* backport Ruby 1.9.3 fix from Rails HEADJames McKinney2012-10-10-0/+2
|
* Default internal and external encodings now set in environment.rbLouise Crow2012-10-10-1/+0
|
* Extract configuration with defaults into one moduleMatthew Landauer2012-09-25-3/+2
|
* Merge branch 'release/0.6.3' into developLouise Crow2012-08-22-1/+1
|\ | | | | | | | | | | | | | | Conflicts: app/controllers/admin_public_body_controller.rb app/views/admin_public_body/import_csv.rhtml spec/controllers/admin_public_body_controller_spec.rb spec/models/info_request_spec.rb
| * Rollback change to activerecord session store - whilst activerecord store ↵Louise Crow2012-08-15-2/+2
| | | | | | | | has some advantages (notably avoiding permanent versus transient session hijack possibilities), I think it needs some more work/testing (we'd need to have good code for cleaning out stale activerecord sessions periodically - with activerecord store this is now our responsibility). We'd also need to reset the session key to kill all in progress sessions to prevent errors as rails tries to store long cookie keys in the limited key field of the activerecord store. For this release, it'll be more straightforward to fix the csv_upload file issue #526 in a more localized way.
| * Use ActiveRecord to store sessions, rather than Cookies. Fixes #526.Seb Bacon2012-07-19-1/+1
| |
* | Add workaround for Rails security vulnerability CVE-2012-3464.Louise Crow2012-08-13-0/+31
|/
* Fix it so we can correctly use and display locales that contain an ↵Seb Bacon2012-06-13-0/+4
| | | | | | | | | | underscore (e.g. `hu_HU`): * Use the latest version of `gettext_i18n_rails` (including fix to make it work in Railes 2.x) * Use a backend that falls back to, for example, `hu` from `hu_HU` (so we can use any underlying Rails l10n) * Normalize the underscore to a hyphen when working out which languages to display in the language switcher Fixes #503 (and see there for more discussion)
* Monkey-patch for CVE-2012-2660Robin Houston2012-06-12-0/+51
| | | | Stolen from FixMyTransport. Thanks @crowbot!
* Multi-theme support for custom routesRobin Houston2012-06-05-1/+5
| | | | | A simple mechanism for allowing multiple themes to register custom routes.
* When loading themes, only attempt to do so if it exists.Seb Bacon2012-05-30-1/+4
|
* Experimental theme loader, that allows us to specify the order themes are ↵Seb Bacon2012-05-23-0/+7
| | | | loaded in -- so we can try having more than one loaded at once.
* Merge branch 'develop' of github.com:sebbacon/alaveteli into developRobin Houston2012-04-27-1/+1
|\
| * use Rails.root, not RAILS_ROOTJames McKinney2012-04-02-1/+1
| |
* | fix 'invalid byte sequence in US-ASCII'James McKinney2012-04-02-0/+1
|/
* fix another pathJames McKinney2011-10-16-1/+1
|
* Put back the gettext fuzzy/obsolete warningsDavid Cabo2011-08-12-1/+1
| | | | Be careful: turns out that the :ignore_fuzzy flag changes the behaviour of gettext. The warnings dont show up, but the fuzzy strings get used, and theyre most often wrong!
* disable FastText warnings about fuzzy/obsolete strings, at least temporarilyDavid Cabo2011-08-11-1/+1
|
* Add FixMyTransport's strip_empty_sessions to not send a cookie if there's ↵Matthew Somerville2011-07-26-0/+17
| | | | nothing in the session.
* It's a bit misleading to set FastGettext.default_available_locales in ↵Robin Houston2011-06-10-1/+0
| | | | initializers/fast_gettext.rb, when it is overridded by environment.rb anyway (based on the value in config/general)
* initial, basic i18n support with gettextSeb Bacon2011-03-10-3/+3
|
* Make sure locale path is absolute - the app code is called from within crons ↵Louise Crow2011-02-24-1/+1
| | | | etc.
* Adding translation via fast_gettext.Louise Crow2011-02-24-0/+3