Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Always provide a string for stdin (passing nil exposed an apparent bug in ↵ | Seb Bacon | 2012-07-17 | -1/+1 |
| | | | | `uudecode` in Ubuntu 11.10) | |||
* | Merge branch 'develop' of github.com:sebbacon/alaveteli into develop | Robin Houston | 2012-06-23 | -12/+37 |
|\ | | | | | | | | | | | | | | | Conflicts: Gemfile.lock script/handle-mail-replies script/handle-mail-replies.rb spec/controllers/request_controller_spec.rb | |||
| * | Make successful PURGEs log at debug level to reduce unecessary noise at ↵ | Seb Bacon | 2012-06-20 | -1/+1 |
| | | | | | | | | default level (info) | |||
| * | Increase the time a page is cached for sites that are using Varnish. ↵ | Seb Bacon | 2012-06-20 | -3/+3 |
| | | | | | | | | Relatedly, document the consequences of getting the Varnish config wrong; and make it easier to grep for problems with Varnish in the log. | |||
| * | Bind PURGE requests to localhost | Seb Bacon | 2012-06-20 | -6/+8 |
| | | ||||
| * | Use explicit `Rails.logger` (as we're not inheriting from ActiveRecord) | Seb Bacon | 2012-06-20 | -4/+4 |
| | | ||||
| * | Ensure we generate URLs containing the current locale, even if the locale ↵ | Seb Bacon | 2012-06-14 | -0/+17 |
| | | | | | | | | | | | | contains an underscore. Includes a bonus test to ensure that locales with unknown territories fall back to known languages. | |||
| * | Upgrade to latest gettext_i18n_rails. As we are now using a gem, we also ↵ | Seb Bacon | 2012-06-14 | -0/+4 |
| | | | | | | | | need to explicitly include the rake tasts from that gem. | |||
| * | Fix it so we can correctly use and display locales that contain an ↵ | Seb Bacon | 2012-06-13 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | 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) | |||
| * | Fall back to "parent" locale names when deciding the localised language ↵ | Seb Bacon | 2012-06-12 | -2/+3 |
|/ | | | | name. Fixes #503 | |||
* | trailing whitespace | Robin Houston | 2012-06-03 | -1/+1 |
| | ||||
* | Bring list of world FOI websites up to date | Seb Bacon | 2012-05-30 | -8/+25 |
| | ||||
* | More changes and refactoring to make purges work. | Seb Bacon | 2012-04-20 | -11/+34 |
| | ||||
* | Merge branch 'develop' into purge-requests | Seb Bacon | 2012-04-19 | -12/+9 |
|\ | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb | |||
| * | use Rails.root, not RAILS_ROOT | James McKinney | 2012-04-02 | -9/+9 |
| | | ||||
| * | Merge jpmckinney/bundler | Seb Bacon | 2012-02-15 | -3/+0 |
| | | ||||
* | | first stab at sending PURGE requests to upstream varnish for request pages. ↵ | Seb Bacon | 2012-03-13 | -0/+11 |
|/ | | | | Next step: making it asynchronous, e.g. with a queue of things to purge via a cron job. | |||
* | Update all the PO files as well as the POT when running our gettext ↵ | Seb Bacon | 2012-02-08 | -1/+4 |
| | | | | commands. Also, don't word-wrap. Includes non-word-wrapped source files. | |||
* | Fix namespace problem in i18n interpolation | Seb Bacon | 2012-02-02 | -2/+2 |
| | ||||
* | New improved find-msgids-and-make-pot-file rake task: | Seb Bacon | 2012-02-02 | -1/+19 |
| | | | | | (a) it doesn't do fuzzy matches (apparently Transifex does that for you) (b) it doesn't update all the PO files too (which certainly Transifex does for you) | |||
* | Merge branch 'release/0.5' of github.com:sebbacon/alaveteli into release/0.5 | Seb Bacon | 2012-02-02 | -0/+21 |
|\ | ||||
| * | Avoid need to be db superuser to run tests | Robin Houston | 2012-01-31 | -0/+21 |
| | | | | | | | | | | Add a patch from louisecrow (https://github.com/mysociety/fixmytransport/blob/master/lib/patches/fixtures_constraint_disabling.rb) that makes it possible to run the tests without being a database superuser. | |||
* | | Remove WDTK-specific categories from core Alaveteli. Replace with ↵ | Seb Bacon | 2012-02-02 | -79/+15 |
|/ | | | | categories that work with the sample data. | |||
* | Make better wording at the top of the page listing subsets of public bodies. ↵ | Seb Bacon | 2012-01-30 | -4/+3 |
| | | | | At the same time, cause the tests not to rely on WDTK data. Fixes #396 | |||
* | Force the 'C' locale for elinks | Robin Houston | 2012-01-17 | -1/+1 |
| | | | | | The behaviour of elinks is locale-dependent. This patch forces LANG=C which makes the behaviour consistent across platforms. | |||
* | Replace all `which command` calls | Robin Houston | 2012-01-17 | -2/+2 |
| | | | | | | | | | | The trouble with `which command` is twofold: - It spawns a whole shell just to find out the path to a binary, every time; - The results are environment-dependent, since they depend on $PATH. It would be better to specify the search path in the configuration file where everything else is specified rather than in the environment. This commit replaces it with the new mechanism from AlaveteliExternalCommand. | |||
* | Paths for external commands | Robin Houston | 2012-01-17 | -1/+16 |
| | | | | | | Look for external commands in a config-defined path (defaulting to /usr/bin:/usr/local/bin), rather than requiring the path to be hard-coded or the caller to resolve it. | |||
* | Ensure pagination works when running behind Passenger | Seb Bacon | 2012-01-09 | -2/+4 |
| | ||||
* | Make sure paging authority list works even when using typeahead search | Seb Bacon | 2012-01-09 | -1/+5 |
| | ||||
* | remove stray cut&paste cruft | Seb Bacon | 2012-01-09 | -1/+0 |
| | ||||
* | Ensure pagination works even on general search page | Seb Bacon | 2012-01-09 | -14/+54 |
| | ||||
* | Display internationalized emails correctly (specifically, RFC2047 headers, ↵ | Seb Bacon | 2012-01-04 | -1/+1 |
| | | | | and HTML emails with encoding in a meta-tag). Fixes #281 | |||
* | Merge remote-tracking branch 'jpmckinney/pre1.9' into develop | Seb Bacon | 2011-11-24 | -2/+12 |
|\ | | | | | | | | | Conflicts: spec/controllers/request_controller_spec.rb | |||
| * | add String#is_binary_data? in Ruby 1.9 | James McKinney | 2011-10-17 | -0/+8 |
| | | ||||
| * | comment out commonlib tests, which are not 1.9 compatible | James McKinney | 2011-10-16 | -1/+2 |
| | | ||||
| * | call #first on from_addrs and to_addrs before calling #to_s | James McKinney | 2011-10-16 | -1/+1 |
| | | ||||
| * | add encoding magic comments and fix paths | James McKinney | 2011-10-16 | -0/+1 |
| | | ||||
* | | Merge pull request #264 from jpmckinney/flexible_binary_paths_dev | Seb Bacon | 2011-11-22 | -1/+1 |
|\ \ | |/ |/| | Use flexible binary paths for external commands | |||
| * | add one more command | James McKinney | 2011-10-11 | -1/+1 |
| | | ||||
* | | Add a more correct check for vendored Rails, and use non-vendored Rails' ↵ | James McKinney | 2011-10-11 | -1/+5 |
|/ | | | | gem_dependency.rb if not vendored | |||
* | Don't prepend path when loading public categories, closes #178 | David Cabo | 2011-09-19 | -1/+1 |
| | | | | There's a quite strange interaction that I couldn't work out fully with the themes: even if I comment out the init.rb file in the theme, the theme categories under lib/ were overriding the default ones, which broke some tests. By removing the lib/ prefix it works as expected: the theme overrides the defaults only when alavetelitheme.rb is require'd | |||
* | Wrap categories loading into singleton and add support for multiple locales ↵ | David Cabo | 2011-09-19 | -94/+109 |
| | | | | simultaneously. Fixes #178 | |||
* | Provide ability to download zip file containing complete request. Closes #11 | Seb Bacon | 2011-09-13 | -0/+33 |
| | ||||
* | Merge branch 'wdtk' into develop | Robin Houston | 2011-09-08 | -135/+0 |
|\ | | | | | | | | | | | Conflicts: config/general.yml-example spec/models/track_mailer_spec.rb | |||
| * | Move external_command.rb to commonlib | Robin Houston | 2011-09-07 | -135/+0 |
| | | ||||
* | | Flash a message to users from outside the deployed country, telling them ↵ | Seb Bacon | 2011-09-05 | -0/+40 |
|/ | | | | about either (a) a website in their country, or (b) the existence of Alaveteli to help them make one themselves. Closes #124. | |||
* | Produce transaction stats up to and including August 2011. | Robin Houston | 2011-08-24 | -2/+2 |
| | ||||
* | Ensure that recent Rails upgrade doesn't break compatibility with older ↵ | Seb Bacon | 2011-08-22 | -0/+42 |
| | | | | versions of Rubygems (such as exist in Debian Lenny). Closes #145. | |||
* | New files I forgot to add in a7df6f479f452503e3a9 | Seb Bacon | 2011-08-15 | -0/+65 |
| | ||||
* | include "locale" in list of session data keys that are used to decide if a ↵ | Seb Bacon | 2011-07-27 | -1/+1 |
| | | | | rails session cookie is redundant for the purposes of this request. Fixes #91 |