aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Silence another deprecation warning, this time just by muting it (since ↵Robin Houston2011-06-17-4/+10
| | | | | | there is no obvious fix). See also https://github.com/joshmh/globalize2/issues/42
* Move the rake task from the translate_routes plugin into the (new?) standard ↵Robin Houston2011-06-17-0/+0
| | | | directory, to avoid an annoying warning message.
* Get rid of (at least some instances of) the deprecation warning that says ↵Robin Houston2011-06-17-1/+1
| | | | :session_key is deprecated
* There is no real sense in keeping the fuzzy-string markers in es/app.po, ↵Robin Houston2011-06-17-4/+0
| | | | when this is not a real locale file
* After discussing this with Seb, we have decided to keep theRobin Houston2011-06-17-35/+36
| | | | | | | | 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.
* Remove a trailing spaceRobin Houston2011-06-17-1/+1
|
* Use a better header line for search results when there is onlyRobin Houston2011-06-16-235/+289
| | | | | | one result, since "1 to 1 of 1" is rather baffling. Closes #50.
* Ignore the generated file locale/model_attributes.rbRobin Houston2011-06-16-1/+2
|
* Make script/generate_pot.sh executable, like the other scripts are.Robin Houston2011-06-15-0/+0
|
* Add gettext to config/packagesRobin Houston2011-06-15-0/+1
|
* 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
* Test that PublicBody.first_letter is correctly set on saveRobin Houston2011-06-15-1/+13
|
* Add a migration that fixes the data problems caused by the PublicBody bugRobin Houston2011-06-15-0/+35
|
* Merge branch 'master' of git@github.com:sebbacon/alaveteliRobin Houston2011-06-15-18/+34
|\
| * Merge branch 'master' of github.com:sebbacon/alaveteliSeb Bacon2011-06-15-6/+9
| |\
| * | Update install docs to reflect new config settings and ability to load ↵Seb Bacon2011-06-15-18/+34
| | | | | | | | | | | | sample data via fixtures
* | | 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.)
* | Update config/locales symlink to not hardcode Seb’s home directoryRobin Houston2011-06-14-1/+1
| |
* | Merge branch 'master' of git@github.com:sebbacon/alaveteliRobin Houston2011-06-14-4/+2
|\|
| * ignore installed themesSeb Bacon2011-06-14-1/+2
| |
| * don't track alavetelitheme as submoduleSeb Bacon2011-06-14-3/+0
| |
* | Make the script runner change to the application directory, in an attempt to ↵Robin Houston2011-06-14-3/+7
| | | | | | | | fix the locale-related errors being reported by cron
* | Remove a couple of residual WDTK-specific things from the admin layout.Robin Houston2011-06-14-2/+1
|/
* Merge branch 'master' of github.com:sebbacon/alaveteliSeb Bacon2011-06-14-3/+3
|\
| * Change the submodule specifications to use git://github URLs, because the ↵Robin Houston2011-06-14-3/+3
| | | | | | | | mySociety deployment script "git-safe-to-checkout" fails
* | remove notes to self about UK hard-coded stuff (so we can deploy WDTK from ↵Seb Bacon2011-06-14-3/+0
|/ | | | alaveteli code base)
* added option to install a theme from a remote URL as part of ↵Seb Bacon2011-06-14-0/+8
| | | | rails-post-deploy process
* allow search and publicbody examples to be provided in config file, falling ↵Seb Bacon2011-06-14-4/+25
| | | | 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!
* merge WTDK changes to master (preparation for closing WTDK branch and ↵Seb Bacon2011-06-14-1762/+74
|\ | | | | | | deploying WTDK website straight from master)
| * Remove db/development_structure.sql from the repository, and tell git to ↵Robin Houston2011-06-10-1676/+1
| | | | | | | | ignore it in future
| * Move the non-fixture files in spec/fixtures to their own subdirectory,Robin Houston2011-06-10-6/+5
| | | | | | | | | | so that we can run rake spec:db:fixtures:load without it choking on the files that aren't fixtures.
| * Slighlty nicer formatLouise Crow2011-05-26-6/+14
| |
| * Adding script for generating transaction stats.Louise Crow2011-05-26-0/+40
| |
| * Don't store passwords in post_params.Louise Crow2011-05-16-7/+36
| |
| * Adding new authority categories, moving defunct ones to new super-category ↵Louise Crow2011-04-04-16/+19
| | | | | | | | for defunct categories.
| * noop to poke gitSeb Bacon2011-04-01-0/+1
| |
* | correct route for custom stylesheet (provided by themes)Seb Bacon2011-06-14-1/+1
| |
* | Remove obselete msgidsSeb Bacon2011-06-14-12/+3
| |
* | 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-22/+4
| | | | | | | | will be picked up correctly.
* | Change the default value of ADMIN_PUBLIC_URL from "/" to "", because ↵Robin Houston2011-06-13-3/+3
| | | | | | | | absolute paths are not allowed (i.e. do not work)
* | Save the default translated values for publicbody entities.Robin Houston2011-06-11-2/+3
| |
* | 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/+15
| | | | | | | | | | with_locale, so it's rendered using the correct locale. (+ test for this)
* | Make sure the previous locale is restored on block exit, even if theSeb Bacon2011-06-13-3/+6
| | | | | | | | block was left via return.
* | Since some of the tests rely on the availability of the "es" locale, we ↵Robin Houston2011-06-10-2/+7
| | | | | | | | override the FastGettext.default_available_locales when testing to make sure it is available.
* | It's a bit misleading to set FastGettext.default_available_locales in ↵Robin Houston2011-06-10-1/+0
| | | | | | | | initializers/fast_gettext.rb, when it is overridded by environment.rb anyway (based on the value in config/general)
* | Change "whatdotheyknow" to "alaveteli" where appropriate, and correct the ↵Robin Houston2011-06-10-7/+7
| | | | | | | | filename crontab.ugly
* | Add config.tmp to .gitignore, to avoid problems with the mySociety ↵Robin Houston2011-06-10-0/+1
| | | | | | | | deployment scripts.