aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Add support for running alert-tracks as a daemon, rather than a cron job.Robin Houston2011-06-22-2/+60
|
* Add tests for the external_command library, and fix a bugRobin Houston2011-06-22-4/+70
| | | | | | | (which was actually a fairly late regression, showing the benefits of formal tests vs informal testing). I believe this bug was the cause of the recent Xapian indexing errors.
* Run wvText through the external_command wrapper, tooRobin Houston2011-06-21-1/+1
|
* Fix the scripts so they work even if there is a space in the pathRobin Houston2011-06-21-12/+12
|
* Add an option to make alert_tracks run continually, rather than just ↵Robin Houston2011-06-21-2/+19
| | | | processing whichever alerts are due right now.
* Replace STDERR.puts by $stderr.puts elsewhere, which is potentially more ↵Robin Houston2011-06-21-9/+9
| | | | flexible (because STDERR is always the system standard error file descriptor, whereas $stderr can be replaced by some other ruby object to handle error output).
* Get rid of commented-out STDERR.puts messagesRobin Houston2011-06-21-28/+0
|
* Correct an operator precendence bug in request_controller, and add a test ↵Robin Houston2011-06-21-8/+37
| | | | for it.
* Improve parameter nameRobin Houston2011-06-21-3/+3
|
* - Refactor models/incoming_message.rb to get rid of the hideousRobin Houston2011-06-21-214/+195
| | | | | | | global variables and methods. Move the MIME type stuff into lib/alaveteli_file_types.rb. - Correct the spelling of the word extensions (not extentions).
* TypoRobin Houston2011-06-21-1/+1
|
* If we print an error message from an external converter program,Robin Houston2011-06-20-0/+1
| | | | indicate which program produced the message.
* When external converters are used to extract text from attachmentsRobin Houston2011-06-20-23/+170
| | | | | | | | | | | for Xapian, suppress the stderr output of these external programs unless they actually fail. It is possible this will not significantly reduce the noise from converters, because they may actually have been failing. At least with this change we’ll be able to tell which it is. Closes #52.
* Argh! Another spec that uses the :public_bodies fixture and needsRobin Houston2011-06-20-0/+1
| | | | :public_body_translations to be added for it to work correctly.
* Non-ASCII characters in views appear to upset the HTML validatorRobin Houston2011-06-17-25/+25
| | | | | | that is used by the tests. Of course this is a limitation of the validator, rather than an actual problem, so it breaks my heart to make this change — but it’s the simplest thing to do for now.
* 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.