aboutsummaryrefslogtreecommitdiffstats
path: root/script
Commit message (Collapse)AuthorAgeLines
* Extract configuration with defaults into one moduleMatthew Landauer2012-09-25-2/+1
|
* Move the installation of themes to a Rake task so that we can use the ↵Louise Crow2012-08-29-27/+1
| | | | ALAVETELI_VERSION constant to check for tags in themes that indicate compatibility with this version of the Alaveteli codebase.
* Merge branch 'release/0.6.3' into developRobin Houston2012-08-04-6/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: locale/bs/app.po locale/ca/app.po locale/cs/app.po locale/cy/app.po locale/de/app.po locale/es/app.po locale/eu/app.po locale/fr/app.po locale/gl/app.po locale/hu_HU/app.po locale/id/app.po locale/pt_BR/app.po locale/sq/app.po locale/sr@latin/app.po
| * Make the post-deploy script actually work, and for both incantations of ↵Seb Bacon2012-07-17-6/+12
| | | | | | | | theme installation
* | Fix loading of specific fileFOI archive email account2012-08-01-1/+4
|/ | | | abspath is not a standard command. Replace with a case statement.
* A dumb script to generate a crontabSeb Bacon2012-07-16-0/+16
|
* Run optional "post_install" scriptSeb Bacon2012-07-16-0/+6
|
* Merge branch 'develop' of github.com:sebbacon/alaveteli into developRobin Houston2012-06-23-2/+2
|\ | | | | | | | | | | | | | | Conflicts: Gemfile.lock script/handle-mail-replies script/handle-mail-replies.rb spec/controllers/request_controller_spec.rb
| * Fix bug that was preventing Rails from loading when *not* in test mode ↵Seb Bacon2012-06-14-1/+1
| | | | | | | | (exposed by the bug fixed in 7c846594 that was introduced in 775e122c)
| * Fix test failure introduced in 775e122cb4824c9734f50db0dd2967779636080eSeb Bacon2012-06-14-1/+1
| |
* | Make handle-mail-replies tests pass againRobin Houston2012-06-07-3/+3
|/
* File.dirname(__FILE__) is not necessarily absoluteRobin Houston2012-06-03-1/+1
| | | | | | | It’s weird that there’s so much code here that implicitly assumes File.dirname(__FILE__) is an absolute path, because really in general it very much is not! This assumption was invalidated by the recent bundler-awareness changes.
* Make handle-mail-replies bundler-aware tooRobin Houston2012-06-03-179/+183
|
* Make the scripts bundler-awareRobin Houston2012-06-03-34/+28
|
* Revert "Revert "Let’s try fixing bundler instead""Robin Houston2012-05-31-22/+1
| | | | | | | | | This reverts commit 57bfe1f4fd19f766677e08b132d0a16fad2ad706. In fact this time we are not going to try fixing bundler instead, but rather we are going to try to work around the bundler bug in a different way, by uploading our version of xapian-full to rubygems (under a different name: xapian-full-alaveteli).
* Revert "Let’s try fixing bundler instead"Robin Houston2012-05-31-1/+22
| | | | This reverts commit 9f5ad85b6ff541a8e4dc83e91548af9c745d64af.
* Let’s try fixing bundler insteadRobin Houston2012-05-31-22/+1
| | | | Instead of trying to work around the bug in bundler, what if we fixed it?
* local can only be used in a functionRobin Houston2012-05-31-1/+1
|
* Bundler fix for rails-post-deployRobin Houston2012-05-31-8/+30
| | | | | | | | | | | | | Ordinarily we would expect simply to run "bundle install" here. However, at the time of writing there is a bug in bundler that causes gems from github to be rebuilt every time bundle install is run, which makes the process very extremely slow in our case because Xapian takes a long time to build. Running "bundle exec bundle install" is a workaround for this bug. However clearly one cannot run bundle exec till the bundle has initially been installed, so we use a flag file .bundler-has-run to indicate whether we are doing an initial install.
* Shell script to help annotate modelsSeb Bacon2012-05-24-0/+5
|
* Correctly iterate over THEME_URLS arraySeb Bacon2012-05-23-2/+3
|
* Introduce ability to install multiple, layered themes.Seb Bacon2012-05-23-0/+10
|
* Use "bundle exec bundle install" (ugh) as a workaround for the fact that in ↵Seb Bacon2012-05-16-2/+2
| | | | deployment mode, the xapian-full gem gets recompiled every time
* Now we use bundler, update all scripts to exec `rake` as `bundle exec rake`Seb Bacon2012-05-04-8/+8
|
* Merge branch 'develop' of github.com:sebbacon/alaveteli into purge-requestsSeb Bacon2012-05-02-15/+37
|\
| * Handle yet another style of bounceRobin Houston2012-05-01-1/+8
| |
| * Recognise another variety of bounce messageRobin Houston2012-04-30-3/+18
| |
| * Merge branch 'develop' of github.com:sebbacon/alaveteli into developRobin Houston2012-04-27-3/+3
| |\
| * | fix require paths in 1.9James McKinney2012-04-02-12/+12
| | |
* | | More changes and refactoring to make purges work.Seb Bacon2012-04-20-0/+11
| |/ |/|
* | use Rails.root, not RAILS_ROOTJames McKinney2012-04-02-3/+3
|/
* in production mode, ensure we skip development and test gemsSeb Bacon2012-03-13-1/+1
|
* Do 'bundler' stuff in correct orderSeb Bacon2012-03-12-4/+6
|
* cause the post-deploy process to run "bundler install"Seb Bacon2012-02-22-1/+6
|
* Merge jpmckinney/bundlerSeb Bacon2012-02-15-7/+1
|
* Update translation documentation to reflect proposed new workflowSeb Bacon2012-02-08-1/+15
|
* Attempt to ensure tests always run using the "test" environment, by:Seb Bacon2012-02-07-14/+13
| | | | | 1) Not overriding any *existing* RAILS_ENV setting in rails_env.rb 2) Always creating a rails_env.rb file
* Create config/rails_env.rb in productionRobin Houston2012-02-06-17/+37
| | | | | | | | | | Partially revert 2eac4bef8d73f47bbe579b6f787ef54b8d782d7a, creating config/rails_env.rb in production only. This should address some of the difficulties with config/rails_env.rb causing unexpected behaviour in development, whilst forcing Rails into production environment where necessary for scripts run from cron etc. Closes #418?
* Merge branch 'wdtk' into release/0.5Robin Houston2012-02-03-1/+16
|\
| * Add --log optionRobin Houston2012-02-03-1/+16
| | | | | | | | | | | | Make it possible to log the output of failed pairs, so we have some hope of determining the cause of failure in cases where it does not turn out to be reproducible.
* | New improved find-msgids-and-make-pot-file rake task:Seb Bacon2012-02-02-3/+2
|/ | | | | (a) it doesn't do fuzzy matches (apparently Transifex does that for you) (b) it doesn't update all the PO files too (which certainly Transifex does for you)
* Get rid of config/rails_env.rbRobin Houston2012-02-02-27/+0
| | | | | | | The rails-post-deploy script was creating a file config/rails_env.rb to force $RAILS_ENV to have the appropriate value. But this is a huge pain during development, and shouldn’t be necessary anyway, so let’s get rid of it.
* Merge branch 'wdtk' into release/0.5Robin Houston2012-02-01-4/+3
|\ | | | | | | | | Conflicts: locale/app.pot
| * typoRobin Houston2012-02-01-1/+1
| |
| * Suppress stderr output from rake db:test:prepareRobin Houston2012-01-31-1/+1
| |
| * Use db:test:prepare to prepare the way for testsRobin Houston2012-01-31-2/+1
| |
| * fix shell syntax in scriptRobin Houston2012-01-31-2/+2
| |
* | Tweak translations documentationSeb Bacon2012-02-01-0/+1
|/
* Prompt users to reindex xapian after loading sample dataSeb Bacon2012-01-30-1/+1
|
* Load all raw emails for testingRobin Houston2012-01-29-7/+6
| | | | | | | | | | | Previously there was just one raw email, and the test code relied on that fact. Generalise it to handle multiple raw emails. This change causes a number of tests to fail, because it exposes failures that should have happened when the second raw email was added but were masked by the fact that the text of this second raw email was never loaded. These failures will be fixed in the next commit.