Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Better line formatting. | Louise Crow | 2012-09-26 | -5/+13 |
| | ||||
* | Add a rake task to generate a file with an example of every email sent by ↵ | Louise Crow | 2012-09-26 | -0/+184 |
| | | | | the application. | |||
* | Move the usage notice functions to a module so they can be used elsewhere. | Louise Crow | 2012-09-25 | -22/+28 |
| | ||||
* | Add task config_files:convert_init_script - it does the ugly variable ↵ | Louise Crow | 2012-09-20 | -0/+76 |
| | | | | replacement and uncomments the RAILS_ENV setting and exporting (substituting in the current RAILS_ENV) if there's no config/rails_env.rb | |||
* | Simpler usage of git when trying to get usage tags for themes. Also for ↵ | Louise Crow | 2012-09-11 | -24/+34 |
| | | | | ALAVETELI_VERSIONS with more than 4 sequence elements (hotfixes), if we can't find an exactly matching usage tag, look for one matching the related minor release. This should prevent unexpected switching to HEAD for themes with no matching usage tag for that hotfix. | |||
* | A rake task to populate the request classification table based on any ↵ | Louise Crow | 2012-09-11 | -0/+9 |
| | | | | existing status update info request events. | |||
* | Be more specific about the output from git remote-ls - anything except a ↵release/0.6.5 | Louise Crow | 2012-08-30 | -1/+1 |
| | | | | single commit hash and tag should cause us just to pull head. | |||
* | Be verbose for now to make any errors more obvious. | Louise Crow | 2012-08-30 | -1/+1 |
| | ||||
* | The exit-code flag to git ls-remote seems relatively recent. Check for a ↵ | Louise Crow | 2012-08-30 | -3/+3 |
| | | | | non-empty output from the tag query instead. | |||
* | Raise an error on a non-zero return code from the git pull command. | Louise Crow | 2012-08-29 | -0/+1 |
| | ||||
* | Handle absence of deprecated THEME_URL option. | Louise Crow | 2012-08-29 | -1/+2 |
| | ||||
* | Update references to point to the mySociety repo. | Louise Crow | 2012-08-29 | -2/+2 |
| | ||||
* | Pass through verbose param, switch to false. | Louise Crow | 2012-08-29 | -4/+4 |
| | ||||
* | Move the installation of themes to a Rake task so that we can use the ↵ | Louise Crow | 2012-08-29 | -0/+85 |
| | | | | ALAVETELI_VERSION constant to check for tags in themes that indicate compatibility with this version of the Alaveteli codebase. | |||
* | Add headings and by_heading accessors to PublicBodyCategories to allow ↵ | Louise Crow | 2012-08-28 | -5/+24 |
| | | | | easier access to headings and to tags associated with a particular heading. | |||
* | ECONNRESET is another error we might get | Robin Houston | 2012-08-20 | -2/+2 |
| | ||||
* | Merge branch 'wdtk' into develop | Louise Crow | 2012-08-16 | -10/+39 |
|\ | | | | | | | | | | | | | Conflicts: app/controllers/admin_request_controller.rb config/httpd.conf spec/models/info_request_spec.rb | |||
| * | Add temp task to delete the cached attachment files for requests that have ↵ | Louise Crow | 2012-08-16 | -10/+39 |
| | | | | | | | | been deleted or are currently not publicly visible - having prominence requester_only or hidden. | |||
* | | 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 |