aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeLines
* Only set up FastGettext on initialization, even in development modeimprove-development-performanceMark Longair2013-09-16-15/+11
| | | | | | | | | | | | | | | | | Even on a very fast computer, there is a significant delay (a couple of seconds) in processing every request in development mode. This is because the configuration of FastGettext's paths for finding translations is done in a block passed to Rails.configuration.to_prepare, which causes the block to be run before every request by the Rails Reloader in developmetn mode. It seems to be work fine just running the FastGettext calls on initialization in development mode, however - customizations in the theme's locale-theme directory still have effect in development mode even after the reloader has reloaded classes before handling subsequent requests. So, I think this change should be safe. This commit introduces that change, having the effect that development mode is much more responsive.
* Merge branch 'master' into developLouise Crow2013-08-20-20/+15
|\
| * Update initial_request.text.erbJody McIntyre2013-07-17-1/+1
| | | | | | Use the raw helper so that characters like ' are not HTML escaped in outgoing email messages. This is already done in the initial_request.text.erb shipped with Alaveteli.
| * Configuration is now AlaveteliConfigurationMark Longair2013-04-10-2/+2
| |
| * Since mailer views are plain text, they should be text.erbMark Longair2013-04-10-0/+0
| | | | | | | | | | Thanks to Henare Degan for pointing this out in his theme upgrade document.
| * Explicitly add a survey method to UserControllerMark Longair2013-04-09-0/+4
| | | | | | | | | | | | | | | | | | | | Previously the survey.rhtml method was rendered by default if no action matching 'survey' was found in the controller, but this doesn't seem to be the case with some configurations. This is rather unsatisfactory, in that we haven't found documentation of any change that might cause this different behaviour, but the pragmatic solution is to just to add the empty survey method and move on.
| * Update the routing for Rails 3Mark Longair2013-04-09-8/+3
| |
| * Rename the .rhtml files to .html.erb for Rails 3Mark Longair2013-04-09-0/+0
| |
| * Fix the "can't modify frozen array" error with Rails 3Mark Longair2013-04-09-1/+1
| |
| * Replace Dispatcher.to_prepare with Rails.configuration.to_prepareMark Longair2013-04-09-8/+4
| |
* | Fix typo.Louise Crow2013-07-23-2/+2
|/
* Merge remote-tracking branch ↵use-with-alaveteli-0.9use-with-alaveteli-0.8use-with-alaveteli-0.7use-with-alaveteli-0.6.9use-with-alaveteli-0.6.8use-with-alaveteli-0.6.7Louise Crow2012-10-04-1/+1
|\ | | | | | | 'openaustralia_github/help_advanced_search_link' into develop
| * Make advanced search link in help sidebar point at advancedsearch rather ↵Matthew Landauer2012-10-04-1/+1
| | | | | | | | than search
* | Use Configuration rather than MySociety::Config directlyMatthew Landauer2012-10-02-2/+2
|/
* Add default value for INCOMING_EMAIL_DOMAIN so an error isn't thrown in the ↵use-with-alaveteli-0.6.6Louise Crow2012-09-18-21/+21
| | | | case where this isn't defined yet.
* Use email domain from configuration rather than hardcoded domainMatthew Landauer2012-09-18-2/+2
|
* Replace instances of WhatDoTheyKnow with site_name from configurationMatthew Landauer2012-09-18-31/+31
|
* Don't use dispatcher/reloading trick with routes - it won't work.Seb Bacon2012-07-16-13/+9
|
* Note that custom routes file needs a unique nameSeb Bacon2012-07-16-0/+2
|
* Correct path for custom routesSeb Bacon2012-07-13-1/+1
|
* Sample frontpage intro sentenceSeb Bacon2012-07-13-0/+4
|
* Banner placeholder with commentSeb Bacon2012-07-13-0/+1
|
* Remember actually to include mailer patches; and use the latest way of ↵Seb Bacon2012-07-13-3/+5
| | | | adding custom routes
* Forgot to include variable in previous commitSeb Bacon2012-06-25-0/+2
|
* Create and use a dynamically-named filter path for the theme, so we can ↵Seb Bacon2012-06-12-3/+7
| | | | ensure multiple themes don't overwrite each other.
* Explicitly load monkeypatches etc with full path, so we can support multiple ↵Seb Bacon2012-05-30-9/+6
| | | | themes living side-by-side (or at least, support one theme overriding the behaviour of another in a predictable manner)
* Override a mailer template as an exampleDavid Cabo2012-02-20-0/+9
|
* Create stubs for the various points where a user might want to customise ↵Seb Bacon2012-01-30-5/+129
| | | | Alaveteli via their theme, as per suggestions by @dcabo on [the mailing list](http://groups.google.com/group/alaveteli-dev/msg/f50eba23f75b5c75)
* Add examples of how a user might customise:Seb Bacon2012-01-27-0/+81
| | | | | | * routes * gettext translations * categories
* Update help pages to match newer base layoutSeb Bacon2012-01-27-9/+17
|
* Implement new-style Alaveteli theme (CSS is in a CSS file, plain gray styles ↵Seb Bacon2011-10-12-15/+2
| | | | in updated base design overridden by purple stuff here)
* removed deprecation warning by moving rake tasks to lib/ folderDavid Cabo2011-07-20-0/+4
|
* Improved handling of static assets in themes:David Cabo2011-07-19-0/+7
| | | | | - Symbolic link created automatically during install (and removed when uninstall) - As an example, replaced the default logo with a new image
* various help files that would normally need to be localisedSeb Bacon2011-02-25-0/+886
|
* ensure it's UTF8 encodedSeb Bacon2011-02-25-1/+1
|
* initial commitSeb Bacon2011-02-25-0/+32