aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeLines
...
* Merge commit '3474b961f86ad743b958e9fce2c39e8e54ac6a95' into ↵Louise Crow2012-10-25-6/+6
|\ | | | | | | feature/nils_in_config
| * Merge remote-tracking branch 'henare_github/nil-config-defaults' into ↵Louise Crow2012-10-22-6/+6
| |\ | | | | | | | | | feature/nil-config-defaults
| | * Fix empty configuration defaultsHenare Degan2012-10-19-6/+6
| | | | | | | | | | | | | | | | | | Because of the way that rblib/config.rb works, nil for these values would always raise an exeption (see line 209) so changing it to an empty string seems better. It fixes my problem where I purposely didn't define HTML_TO_PDF_COMMAND anyway.
* | | Remove redundant line.Louise Crow2012-10-24-2/+1
| | |
* | | Merge remote-tracking branch 'openaustralia_github/add_timezone_support' ↵Louise Crow2012-10-24-0/+1
|\ \ \ | |/ / |/| | | | | into develop
| * | Add support for showing all dates and times in the correct timezoneMatthew Landauer2012-10-19-0/+1
| |/
* / Fix bug where visitors from overseas visit a site which is not officially ↵Matthew Landauer2012-10-19-1/+5
|/ | | | live yet
* Merge remote-tracking branch 'openaustralia_github/postfix_log_support' into ↵Louise Crow2012-10-12-0/+1
|\ | | | | | | | | | | | | | | develop Conflicts: Gemfile.lock app/models/exim_log.rb
| * New configuration MTA_LOG_TYPE to set whether we are using exim or postfix ↵Matthew Landauer2012-10-11-0/+1
| | | | | | | | to deliver and receive our mail
* | Remove svn tags that are out of date as we are now using gitMatthew Landauer2012-10-09-6/+1
|/
* Merge remote-tracking branch ↵Louise Crow2012-10-08-2/+2
|\ | | | | | | 'openaustralia_github/fix_world_foi_website_urls' into develop
| * Make url for Acceso Intelligente valid by sticking http on the frontMatthew Landauer2012-10-07-1/+1
| |
| * Fix Ask The EU urlMatthew Landauer2012-10-07-1/+1
| |
* | Use new configuration module.Louise Crow2012-10-04-1/+1
| |
* | Task for generating monthly volume statistics filtered by tag set.Louise Crow2012-10-04-25/+71
| |
* | Merge remote-tracking branch 'henare_github/full-url-in-admin-emails' into ↵Louise Crow2012-10-04-1/+1
|\ \ | |/ |/| | | develop
| * Correct default value for ADMIN_BASE_URLHenare Degan2012-10-04-1/+1
| | | | | | | | Back in 008e64e7 it was changed so that you could just set a blank value instead of '/admin/', it looks like test.yml was never updated and somehow lib/configuration.rb started off with the old value too.
* | Use new Configuration for OVERRIDE_ALL_PUBLIC_BODY_REQUEST_EMAILSMatthew Landauer2012-10-02-0/+1
|/
* Merge remote-tracking branch 'openaustralia_github/configuration_refactor' ↵Louise Crow2012-10-01-8/+69
|\ | | | | | | | | | | | | into develop Conflicts: config/general.yml-example
| * Add undocumented UTILITY_SEARCH_PATH configuration to general.yml-exampleMatthew Landauer2012-09-25-1/+0
| |
| * Extract configuration with defaults into one moduleMatthew Landauer2012-09-25-8/+70
| |
* | Better line formatting.Louise Crow2012-09-26-5/+13
| |
* | Add a rake task to generate a file with an example of every email sent by ↵Louise Crow2012-09-26-0/+184
| | | | | | | | the application.
* | Move the usage notice functions to a module so they can be used elsewhere.Louise Crow2012-09-25-22/+28
|/
* Add task config_files:convert_init_script - it does the ugly variable ↵Louise Crow2012-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 Crow2012-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 Crow2012-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.5Louise Crow2012-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 Crow2012-08-30-1/+1
|
* The exit-code flag to git ls-remote seems relatively recent. Check for a ↵Louise Crow2012-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 Crow2012-08-29-0/+1
|
* Handle absence of deprecated THEME_URL option.Louise Crow2012-08-29-1/+2
|
* Update references to point to the mySociety repo.Louise Crow2012-08-29-2/+2
|
* Pass through verbose param, switch to false.Louise Crow2012-08-29-4/+4
|
* Move the installation of themes to a Rake task so that we can use the ↵Louise Crow2012-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 Crow2012-08-28-5/+24
| | | | easier access to headings and to tags associated with a particular heading.
* ECONNRESET is another error we might getRobin Houston2012-08-20-2/+2
|
* Merge branch 'wdtk' into developLouise Crow2012-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 Crow2012-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 Bacon2012-07-17-1/+1
|/ | | | `uudecode` in Ubuntu 11.10)
* Merge branch 'develop' of github.com:sebbacon/alaveteli into developRobin Houston2012-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 Bacon2012-06-20-1/+1
| | | | | | | | default level (info)
| * Increase the time a page is cached for sites that are using Varnish. ↵Seb Bacon2012-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 localhostSeb Bacon2012-06-20-6/+8
| |
| * Use explicit `Rails.logger` (as we're not inheriting from ActiveRecord)Seb Bacon2012-06-20-4/+4
| |
| * Ensure we generate URLs containing the current locale, even if the locale ↵Seb Bacon2012-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 Bacon2012-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 Bacon2012-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 Bacon2012-06-12-2/+3
|/ | | | name. Fixes #503
* trailing whitespaceRobin Houston2012-06-03-1/+1
|