aboutsummaryrefslogtreecommitdiffstats
path: root/app
Commit message (Collapse)AuthorAgeLines
* After discussing this with Seb, we have decided to keep theRobin Houston2011-06-17-6/+6
| | | | | | | | msgids equal to the English strings even in the case of minor changes, to avoid confusion when reading the code. So this commit reverts locale/en/app.po to having blank msgstr entries everywhere, and shifts the changes into the source code and hence the msgids.
* Use a better header line for search results when there is onlyRobin Houston2011-06-16-3/+15
| | | | | | one result, since "1 to 1 of 1" is rather baffling. Closes #50.
* Set the default value for publication_scheme explicitly in an ↵Robin Houston2011-06-15-0/+6
| | | | after_initialize callback, because the usual mechanism for setting default values (whatever that is) does not seem to work with attributes that are translated by the globalize2 plugin
* It is not permissible to have more than one "translates" listRobin Houston2011-06-15-2/+1
| | | | in an ActiveRecord model. (The second was being silently ignored.)
* Remove a couple of residual WDTK-specific things from the admin layout.Robin Houston2011-06-14-2/+1
|
* remove notes to self about UK hard-coded stuff (so we can deploy WDTK from ↵Seb Bacon2011-06-14-3/+0
| | | | alaveteli code base)
* allow search and publicbody examples to be provided in config file, falling ↵Seb Bacon2011-06-14-3/+17
| | | | back to a vaguely sensible default based on existing data if not present. Note that the fallback is a slow query on a large database!
* If you want to combine stylesheets, they must have the same 'title' attributeSeb Bacon2011-06-14-1/+1
|
* Reorganise the style sheets so that custom.css from the local themeRobin Houston2011-06-13-1/+1
| | | | will be picked up correctly.
* Remove the field name from the validates_presence_of :message, to prevent ↵Robin Houston2011-06-11-2/+2
| | | | error messages such as "Name Name can't be blank"
* ensure all with_locale calls end with explicit renderSeb Bacon2011-06-13-43/+50
|
* Make sure the template rendering happens within the scope ofSeb Bacon2011-06-13-5/+8
| | | | | with_locale, so it's rendered using the correct locale. (+ test for this)
* Remove the spelling checker, because:Robin Houston2011-06-09-8/+0
| | | | | 1/ It introduces a PHP dependency, which complicates testing and deployment outside the mySociety infrastructure; 2/ Modern browsers have built-in spell-checking capabilities.
* Remove hard-coded localhost URLRobin Houston2011-06-09-1/+0
|
* Don't store passwords in post_params.Louise Crow2011-05-16-5/+19
|
* fix adding new public bodiesSeb Bacon2011-04-08-2/+2
|
* Merge branch 'master' of github.com:sebbacon/alaveteliSeb Bacon2011-04-01-6/+7
|\
| * Use google viewer for docs - wvWare is hanging server.Louise Crow2011-03-30-6/+7
| |
* | further test fixageSeb Bacon2011-04-01-114/+141
| |
* | some test fixageSeb Bacon2011-03-11-3/+3
| |
* | further i18n of templatesSeb Bacon2011-03-10-65/+63
| |
* | fix bad merges from rebase with masterSeb Bacon2011-03-10-1/+1
| |
* | fix bad merges from rebase with masterSeb Bacon2011-03-10-0/+21
| |
* | minor i18n string hanging aroundSeb Bacon2011-03-10-1/+1
| |
* | add a "custom_css" template, so we can easily overlay it from pluginsSeb Bacon2011-03-10-1/+9
| |
* | locale switcher code missing from earlier commitSeb Bacon2011-03-10-0/+12
| |
* | add explicit admin routes (so we can localise them)Seb Bacon2011-03-10-8/+8
| |
* | make locale switcher available in admin interfaceSeb Bacon2011-03-10-13/+3
| |
* | move locale-setting logic locally (are likely to want to override it)Seb Bacon2011-03-10-11/+18
| |
* | add global locale switcherSeb Bacon2011-03-10-0/+20
| |
* | new i18n tests for controllers and associated fixesSeb Bacon2011-03-10-47/+56
| |
* | make site_name a globally available helperSeb Bacon2011-03-10-0/+10
| |
* | top-level gettext functions already availableSeb Bacon2011-03-10-0/+3
| |
* | got as far as localizing Authorities from within admin pagesSeb Bacon2011-03-10-0/+12
| |
* | initial support for localising model data (not fully tested)Seb Bacon2011-03-10-4/+13
| |
* | support basic skinning (by providing file where CSS can be overridden)Seb Bacon2011-03-10-2/+6
| |
* | explicit linking to request listing URLs so we can translate themSeb Bacon2011-03-10-5/+5
| |
* | dynamically generate homepage link in headerSeb Bacon2011-03-10-1/+1
| |
* | reference location of shared snippets explicitlySeb Bacon2011-03-10-37/+21
| |
* | make site_name a globally available helperSeb Bacon2011-03-10-25/+21
| |
* | remove historic messageSeb Bacon2011-03-10-28/+2
| |
* | example localised static pageSeb Bacon2011-03-10-0/+10
| |
* | top-level gettext functions already availableSeb Bacon2011-03-10-1/+0
| |
* | initial, basic i18n support with gettextSeb Bacon2011-03-10-4/+4
|/
* Add CSRF protection on state changing actions. Use default handler ↵Louise Crow2011-02-28-22/+34
| | | | handle_unverified_request which clears session.
* Adding CSRF protection for admin forms.Louise Crow2011-02-24-0/+5
|
* Add explicit error messages for the validations that were using defaults.Louise Crow2011-02-24-5/+5
|
* Updating validations so that none expect automatic interpolation of the ↵Louise Crow2011-02-24-45/+47
| | | | attribute.
* Merge branch 'master' of https://github.com/crowbot/alaveteliSeb Bacon2011-01-28-0/+2
|\
| * Scrub passwords from logs.Louise Crow2011-01-24-0/+2
| |