aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
Commit message (Collapse)AuthorAgeLines
...
* Merge branch 'feature/further-request-event-fixes' into rails-3-developLouise Crow2013-08-15-0/+30
|\
| * Add task for cleaning up bad request histories.Louise Crow2013-08-15-0/+30
| |
* | Only check commonlib, don't try to split the response into segments (as @mhl ↵Louise Crow2013-08-08-7/+8
| | | | | | | | points out, the case where the initial character is a space is somewhat confusing), just grab the first character of the whole string and check it against expected values.
* | Call it an error, not a warning.Louise Crow2013-07-30-4/+4
| |
* | Get first character in a way that will work in Ruby 1.8 and 1.9Louise Crow2013-07-30-1/+1
| |
* | Add a rake task to print a warning if the state of a submodule is not what ↵Louise Crow2013-07-30-0/+27
|/ | | | we expect it to be.
* Add a rake task to re-extract any missing attachmentsMark Longair2013-06-12-0/+22
| | | | | | | | | | | | | | You can see the number of emails that would be reparsed by doing: bundle exec rake temp:reextract_missing_attachments To actually reparse the incoming emails and rextract attachments for any that were missing, you would do: bundle exec rake temp:reextract_missing_attachments[commit] (In fact, the 'commit' can be any non-empty string.)
* Merge branch 'hotfix/0.11.0.7' into rails-3-developLouise Crow2013-06-10-39/+69
|\ | | | | | | | | Conflicts: spec/models/info_request_spec.rb
| * Add extra debug linehotfix/0.11.0.7Louise Crow2013-06-10-0/+1
| |
| * Fix syntax errors, add some debug output.Louise Crow2013-06-10-8/+22
| |
| * Add a task for cleaning up user accounts that were created with a space in ↵Louise Crow2013-06-10-0/+65
| | | | | | | | the email address.
| * Remove old temp tasks.Louise Crow2013-06-10-50/+0
| |
* | Merge remote-tracking branch 'origin/themes-install-refactor' into ↵Louise Crow2013-06-05-5/+7
|\ \ | | | | | | | | | rails-3-develop
| * | themes:install: minor refactoring of checking out a refMark Longair2013-05-24-5/+7
| | |
* | | Merge remote-tracking branch ↵Louise Crow2013-06-04-7/+5
|\ \ \ | |_|/ |/| | | | | 'openaustralia_github/inline_search_method_refactor' into rails-3-develop
| * | Inline method InfoRequest.full_searchMatthew Landauer2013-03-25-7/+5
| | |
* | | Add rake tasks for checking the parsing of a random sample of emailsMark Longair2013-05-16-0/+150
| |/ |/| | | | | | | | | | | | | | | | | | | | | For the upgrade from Rails 2 to Rails 3, we want to check that existing emails are parsed correctly. One of these tasks (temp:random_attachments_hexdigests) is for dumping a CVS file of details about each attachment, and its hexdigest, and a list of the randomly selected raw emails. (It's intended that you run this on an old Rails 2 install of Alaveteli. The other task (temp:recompute_attachments_hexdigests) is intended to be run on a Rails 3 install of Alaveteli, with the previous files as input, to check that the same results are obtained.
* | No need to explicitly load the rake tasks in Rails 3.Louise Crow2013-05-07-4/+0
|/
* Rename Configuration class to avoid conflict with ActiveSupport::ConfigurableHenare Degan2013-03-03-6/+6
|
* create_ is deprecatedHenare Degan2013-02-25-22/+22
|
* Merge branch 'develop' into rails-3-spikeHenare Degan2013-02-15-3/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * Simple task for converting .po files to a standard msgmerge format.Louise Crow2013-02-08-3/+12
| |
| * Merge remote-tracking branch ↵Louise Crow2013-02-01-1/+1
| |\ | | | | | | | | | 'openaustralia_github/backport_rails_3_mailer_fix' into develop
| | * Rename mailer method to avoid naming conflict in Rails 3Matthew Landauer2013-01-25-1/+1
| | |
| * | Calling TMail::Mail#base64_decode does not modify the mail object so doesn't ↵Matthew Landauer2013-01-28-2/+2
| |/ | | | | | | do anything as used here
| * If we're not going to run the commonlib tests (and I think that's correct - ↵Louise Crow2012-12-18-2/+0
| | | | | | | | they belong in commonlib and should only be run when commonlib is changed), then don't load them. Allows us not to include the rspec gem in production.
| * Include Rake::DSL module manually to avoid deprecation warnings as perLouise Crow2012-12-18-0/+3
| | | | | | | | https://github.com/dchelimsky/rspec-rails/commit/be52a9841dde0292c7bc7ecfe39e7214b4db1cab
* | Calling TMail::Mail#base64_decode does not modify the mail object so doesn't ↵Matthew Landauer2013-01-28-2/+2
| | | | | | | | do anything as used here
* | Rename mailer method to avoid naming conflict in Rails 3Matthew Landauer2013-01-25-1/+1
| |
* | RSpec Rake tasks now live in the gemHenare Degan2012-12-11-147/+0
| |
* | Run the Rails 3 generatorHenare Degan2012-12-11-0/+0
|/
* Use mail handler in translation task.Louise Crow2012-11-15-2/+2
|
* Add optional branch to install themes from. Falls back if it doesn't exist.Matthew Landauer2012-11-01-2/+10
|
* Use new configuration module.Louise Crow2012-10-04-1/+1
|
* Task for generating monthly volume statistics filtered by tag set.Louise Crow2012-10-04-25/+71
|
* Merge remote-tracking branch 'openaustralia_github/configuration_refactor' ↵Louise Crow2012-10-01-5/+3
|\ | | | | | | | | | | | | into develop Conflicts: config/general.yml-example
| * Extract configuration with defaults into one moduleMatthew Landauer2012-09-25-5/+3
| |
* | Better line formatting.Louise Crow2012-09-26-5/+13
| |
* | Add a rake task to generate a file with an example of every email sent by ↵Louise Crow2012-09-26-0/+184
| | | | | | | | the application.
* | Move the usage notice functions to a module so they can be used elsewhere.Louise Crow2012-09-25-22/+28
|/
* Add task config_files:convert_init_script - it does the ugly variable ↵Louise Crow2012-09-20-0/+76
| | | | replacement and uncomments the RAILS_ENV setting and exporting (substituting in the current RAILS_ENV) if there's no config/rails_env.rb
* Simpler usage of git when trying to get usage tags for themes. Also for ↵Louise Crow2012-09-11-24/+34
| | | | ALAVETELI_VERSIONS with more than 4 sequence elements (hotfixes), if we can't find an exactly matching usage tag, look for one matching the related minor release. This should prevent unexpected switching to HEAD for themes with no matching usage tag for that hotfix.
* A rake task to populate the request classification table based on any ↵Louise Crow2012-09-11-0/+9
| | | | existing status update info request events.
* Be more specific about the output from git remote-ls - anything except a ↵release/0.6.5Louise Crow2012-08-30-1/+1
| | | | single commit hash and tag should cause us just to pull head.
* Be verbose for now to make any errors more obvious.Louise Crow2012-08-30-1/+1
|
* The exit-code flag to git ls-remote seems relatively recent. Check for a ↵Louise Crow2012-08-30-3/+3
| | | | non-empty output from the tag query instead.
* Raise an error on a non-zero return code from the git pull command.Louise Crow2012-08-29-0/+1
|
* Handle absence of deprecated THEME_URL option.Louise Crow2012-08-29-1/+2
|
* Pass through verbose param, switch to false.Louise Crow2012-08-29-4/+4
|
* Move the installation of themes to a Rake task so that we can use the ↵Louise Crow2012-08-29-0/+85
| | | | ALAVETELI_VERSION constant to check for tags in themes that indicate compatibility with this version of the Alaveteli codebase.