aboutsummaryrefslogtreecommitdiffstats
path: root/script
Commit message (Collapse)AuthorAgeLines
* Replace backticks with call to exec(), the former spawns a new process, and ↵Louise Crow2013-06-03-2/+3
| | | | the latter replaces the current process. In the daemon context we care about the process id so that calls to startstopdaemon won't spawn a new daemon.
* Now that runner is invoked via the rails command and not directly from the ↵Louise Crow2013-05-29-24/+32
| | | | script directory, it's more important to cd to the app directory in order to pick up the bundler gemfile. Fixes #964.
* Revert "Remove setting of internal and external encodings for ruby 1.9 - as ↵Louise Crow2013-05-28-0/+4
| | | | | | per 512d8e3d1845e327740acc2f7326e72b23d0d604, this is already the default in Rails 3." <- Although this is the default in Rails, Rails isn't loaded at this point in the script. This reverts commit 6124624f4035e74eb79f1e93f26d5584ed3e2fa1.
* Restore load of config (AlaveteliConfiguration is required in forward_on) - ↵Louise Crow2013-05-08-0/+4
| | | | update config to avoid redefinition of constant warnings.
* Remove setting of internal and external encodings for ruby 1.9 - as per ↵Louise Crow2013-04-30-4/+0
| | | | 512d8e3d1845e327740acc2f7326e72b23d0d604, this is already the default in Rails 3.
* In the mailin script, run "rails runner" with "bundle exec"Mark Longair2013-04-15-1/+1
| | | | | | | The example usages in the documentation all refer to the mailin script without a "bundle exec" prefix, so with bundler-based installation these examples may not work without a "bundle exec" being used in the script.
* Enable rails-post-deploy to be run from any directoryMark Longair2013-04-02-2/+7
| | | | | | | The BASH_SOURCE variable reliably gives the path of the script, so we can make the script work regardless of what the current working directory is on running the script.
* Change email address in header of source code to hello@mysociety.orgMatthew Landauer2013-03-26-3/+3
|
* Stop AlaveteliConfiguration class being loaded twiceMatthew Landauer2013-03-19-4/+0
|
* This won't work anymore so remove itHenare Degan2013-03-16-8/+0
|
* autospec wasn't working so remove until someone complains. Closes #824Henare Degan2013-03-16-6/+0
|
* Merge remote-tracking branch 'mysociety/develop' into rails-3-developHenare Degan2013-03-14-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile Gemfile.lock app/controllers/admin_request_controller.rb app/controllers/admin_track_controller.rb app/controllers/request_controller.rb app/controllers/services_controller.rb app/helpers/link_to_helper.rb app/mailers/request_mailer.rb app/models/application_mailer.rb app/models/info_request.rb app/views/admin_censor_rule/edit.html.erb app/views/admin_censor_rule/new.html.erb app/views/admin_public_body/_form.html.erb app/views/admin_public_body/_locale_selector.html.erb app/views/admin_public_body/_one_list.html.erb app/views/admin_public_body/edit.html.erb app/views/admin_public_body/list.html.erb app/views/admin_public_body/new.html.erb app/views/admin_request/_incoming_message_actions.html.erb app/views/admin_request/edit.html.erb app/views/admin_request/edit_comment.html.erb app/views/admin_request/edit_outgoing.html.erb app/views/admin_request/list.html.erb app/views/admin_request/list_old_unclassified.html.erb app/views/admin_request/show.html.erb app/views/admin_track/_some_tracks.html.erb app/views/admin_track/list.html.erb app/views/admin_user/edit.html.erb app/views/admin_user/list.html.erb app/views/admin_user/show.html.erb app/views/general/_footer.html.erb app/views/general/exception_caught.html.erb app/views/help/contact.html.erb app/views/layouts/default.html.erb app/views/public_body/_alphabet.html.erb app/views/request/_request_listing_single.html.erb app/views/request/_sidebar.html.erb app/views/request/new.html.erb app/views/request/show.html.erb app/views/request_mailer/external_response.rhtml app/views/request_mailer/fake_response.rhtml config/environment.rb config/environments/production.rb config/routes.rb spec/controllers/admin_censor_rule_controller_spec.rb spec/controllers/request_controller_spec.rb spec/controllers/track_controller_spec.rb spec/helpers/link_to_helper_spec.rb spec/mailers/request_mailer_spec.rb spec/models/info_request_spec.rb spec/spec_helper.rb spec/views/public_body/show.html.erb_spec.rb spec/views/request/show.html.erb_spec.rb vendor/plugins/rails_xss/lib/rails_xss/erubis.rb
| * Move test runner disabling to request mailer in order to have access to ↵Louise Crow2013-02-19-5/+1
| | | | | | | | rails environment and make hack specific to ruby 1.9.
| * Prevent Autorunner from test-unit from hooking into the exit of script/runnerLouise Crow2013-02-17-2/+6
| |
* | Revert "Remove unused script" - It is used you insensitive clod!Henare Degan2013-03-06-0/+4
| | | | | | | | This reverts commit 13e2ee3ee80d8a768ebd0ab12aed5421e6368463.
* | Fixtures is namespaced in ActiveRecord nowHenare Degan2013-03-05-2/+2
| |
* | Rename Configuration class to avoid conflict with ActiveSupport::ConfigurableHenare Degan2013-03-03-1/+1
| |
* | Specify the full path as Ruby 1.9.3 doesn't include the current directory in ↵Henare Degan2013-02-20-2/+2
| | | | | | | | the load path
* | Upgrade script script/runner by Doing The Dumb Thing. #822Henare Degan2013-02-20-3/+2
| |
* | Shouldn't be needed as we use TravisHenare Degan2013-02-19-5/+0
| |
* | Use Spork instead of writing our ownHenare Degan2013-02-19-116/+0
| |
* | Upgrade script script/stop-new-responses-on-old-requestsHenare Degan2013-02-19-5/+1
| |
* | This is what 'config.order' is forHenare Degan2013-02-19-81/+0
| |
* | Remove unnecessary scriptHenare Degan2013-02-19-10/+0
| |
* | Upgrade script script/purge-varnishHenare Degan2013-02-19-2/+2
| |
* | Upgrade script syntax (not fully tested)Henare Degan2013-02-19-3/+3
| |
* | Remove unused scriptHenare Degan2013-02-19-4/+0
| |
* | Upgrade script script/delete-old-thingsHenare Degan2013-02-19-4/+2
| |
* | Upgrade (and fix) script script/clear-cachesHenare Degan2013-02-19-3/+2
| |
* | Upgrade script script/check-recent-requests-sentHenare Degan2013-02-19-6/+1
| |
* | Upgrade script script/cache-incoming-emailsHenare Degan2013-02-19-3/+1
| |
* | Use full arguments as they're more descriptive and you don't need to save ↵Henare Degan2013-02-19-1/+1
| | | | | | | | keystrokes in a file
* | Remove unused scriptHenare Degan2013-02-19-43/+0
| |
* | Upgrade script script/alert-tracksHenare Degan2013-02-19-5/+2
| |
* | Update script script/alert-overdue-requestsHenare Degan2013-02-19-3/+1
| |
* | Upgrade script script/alert-not-clarified-requestHenare Degan2013-02-19-5/+1
| |
* | Upgrade script script/alert-new-response-remindersHenare Degan2013-02-19-5/+1
| |
* | Upgrade script alert-comment-on-requestHenare Degan2013-02-19-5/+1
| |
* | Remove Rails 2 scriptsHenare Degan2013-02-19-18/+0
| |
* | Stop RSpec output when running load-sample-dataHenare Degan2013-02-19-2/+8
| |
* | Upgrade load-sample-data to work with Rails 3Henare Degan2013-02-19-6/+12
| |
* | Merge branch 'develop' into rails-3-spikeHenare Degan2013-02-15-1/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile Gemfile.lock app/controllers/general_controller.rb app/controllers/track_controller.rb app/models/outgoing_message.rb app/models/public_body.rb app/models/user.rb app/views/general/frontpage.rhtml config/environment.rb config/initializers/inflections.rb config/initializers/mime_types.rb db/migrate/094_remove_old_tags_foreign_key.rb lib/timezone_fixes.rb spec/models/request_mailer_spec.rb spec/views/request/list.rhtml_spec.rb
| * Calling TMail::Mail#base64_decode does not modify the mail object so doesn't ↵Matthew Landauer2013-01-28-1/+1
| | | | | | | | do anything as used here
| * Even in development, bundle should be installed in the vendor directory. ↵Louise Crow2013-01-15-1/+4
| | | | | | | | Fixes #730. Capistrano-based deploys don't use rails-post-deploy, so I don't think this will be a problem for them.
* | Calling TMail::Mail#base64_decode does not modify the mail object so doesn't ↵Matthew Landauer2013-01-28-1/+1
| | | | | | | | do anything as used here
* | Remove Rails 2 scriptsHenare Degan2013-01-24-24/+0
| |
* | Merge remote-tracking branch 'mysociety/develop' into rails-3-spikeMatthew Landauer2013-01-04-0/+4
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: Gemfile.lock Rakefile app/controllers/request_controller.rb lib/tasks/rspec.rake spec/controllers/services_controller_spec.rb spec/spec_helper.rb spec/views/request/_after_actions.rhtml_spec.rb
| * Don't install the develop or development group of gems in travis.Louise Crow2012-12-17-0/+4
| |
* | Run the Rails 3 generatorHenare Degan2012-12-11-0/+6
|/
* Move the action mailer dependency to the mail handler so that it's only ↵Louise Crow2012-12-04-19/+22
| | | | active in Ruby 1.8. Use mail handler methods in handle-mail-replies.