Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add simple task for updating theme translations. | Louise Crow | 2013-09-12 | -0/+26 |
| | ||||
* | Remove unused task. | Louise Crow | 2013-09-12 | -22/+0 |
| | ||||
* | Don't save a public body version when updating the stats. | Louise Crow | 2013-09-05 | -1/+3 |
| | ||||
* | Don't re-index body when updating stats | Louise Crow | 2013-09-05 | -0/+1 |
| | ||||
* | Add a verbosity flag to public body stats task | Louise Crow | 2013-09-05 | -1/+3 |
| | ||||
* | Merge branch 'hotfix/0.13.0.1' into rails-3-develop | Louise Crow | 2013-09-04 | -1/+1 |
|\ | ||||
| * | Fix wrong method name.hotfix/0.13.0.1 | Louise Crow | 2013-08-28 | -1/+1 |
| | | ||||
* | | Merge branch 'body-statistics' into rails-3-develop | Louise Crow | 2013-09-04 | -0/+21 |
|\ \ | |/ |/| | ||||
| * | Improve calculation of PublicBody statistics columns | Mark Longair | 2013-08-20 | -18/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On PublicBody, we don't need to update info_requests_count because that's already done with :counter_cache. On the other hand, info_requests_successful_count and info_requests_not_held_count can't be updated easily with counter_cache (since they need conditions to be attached). Instead we update them in post_save and post_destroy, as suggested here: http://blog.douglasfshearer.com/post/17495285851/custom-counter-cache-with-conditions This also adds tests to ensure that the after_(save|destroy) callbacks are called and that they modify the counts correctly. | |||
| * | Add a page with experimental statistics on public bodies | Mark Longair | 2013-08-20 | -0/+36 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The statistics on the status of the requests to a particular public body are too slow to calculate on-the-fly, so this commit adds: * Extra columns on public_bodies to store counts of the successful, not held, and overdue request counts for each public body. * A rake task which should be run periodically to update the overdue request count column. If Javascript is not available, the summary statistics are shown as tables. If Javascript is available, graphs are drawn with Flot. | |||
* | | Mark all events for the fixed requests as needing a reindex.release/0.13 | Louise Crow | 2013-08-20 | -9/+16 |
|/ | ||||
* | Merge branch 'feature/further-request-event-fixes' into rails-3-develop | Louise Crow | 2013-08-15 | -0/+30 |
|\ | ||||
| * | Add task for cleaning up bad request histories. | Louise Crow | 2013-08-15 | -0/+30 |
| | | ||||
* | | Only check commonlib, don't try to split the response into segments (as @mhl ↵ | Louise Crow | 2013-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 Crow | 2013-07-30 | -4/+4 |
| | | ||||
* | | Get first character in a way that will work in Ruby 1.8 and 1.9 | Louise Crow | 2013-07-30 | -1/+1 |
| | | ||||
* | | Add a rake task to print a warning if the state of a submodule is not what ↵ | Louise Crow | 2013-07-30 | -0/+27 |
|/ | | | | we expect it to be. | |||
* | Add a rake task to re-extract any missing attachments | Mark Longair | 2013-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-develop | Louise Crow | 2013-06-10 | -39/+69 |
|\ | | | | | | | | | Conflicts: spec/models/info_request_spec.rb | |||
| * | Add extra debug linehotfix/0.11.0.7 | Louise Crow | 2013-06-10 | -0/+1 |
| | | ||||
| * | Fix syntax errors, add some debug output. | Louise Crow | 2013-06-10 | -8/+22 |
| | | ||||
| * | Add a task for cleaning up user accounts that were created with a space in ↵ | Louise Crow | 2013-06-10 | -0/+65 |
| | | | | | | | | the email address. | |||
| * | Remove old temp tasks. | Louise Crow | 2013-06-10 | -50/+0 |
| | | ||||
* | | Merge remote-tracking branch 'origin/themes-install-refactor' into ↵ | Louise Crow | 2013-06-05 | -5/+7 |
|\ \ | | | | | | | | | | rails-3-develop | |||
| * | | themes:install: minor refactoring of checking out a ref | Mark Longair | 2013-05-24 | -5/+7 |
| | | | ||||
* | | | Merge remote-tracking branch ↵ | Louise Crow | 2013-06-04 | -7/+5 |
|\ \ \ | |_|/ |/| | | | | | 'openaustralia_github/inline_search_method_refactor' into rails-3-develop | |||
| * | | Inline method InfoRequest.full_search | Matthew Landauer | 2013-03-25 | -7/+5 |
| | | | ||||
* | | | Add rake tasks for checking the parsing of a random sample of emails | Mark Longair | 2013-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 Crow | 2013-05-07 | -4/+0 |
|/ | ||||
* | Rename Configuration class to avoid conflict with ActiveSupport::Configurable | Henare Degan | 2013-03-03 | -6/+6 |
| | ||||
* | create_ is deprecated | Henare Degan | 2013-02-25 | -22/+22 |
| | ||||
* | Merge branch 'develop' into rails-3-spike | Henare Degan | 2013-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 Crow | 2013-02-08 | -3/+12 |
| | | ||||
| * | Merge remote-tracking branch ↵ | Louise Crow | 2013-02-01 | -1/+1 |
| |\ | | | | | | | | | | 'openaustralia_github/backport_rails_3_mailer_fix' into develop | |||
| | * | Rename mailer method to avoid naming conflict in Rails 3 | Matthew Landauer | 2013-01-25 | -1/+1 |
| | | | ||||
| * | | Calling TMail::Mail#base64_decode does not modify the mail object so doesn't ↵ | Matthew Landauer | 2013-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 Crow | 2012-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 per | Louise Crow | 2012-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 Landauer | 2013-01-28 | -2/+2 |
| | | | | | | | | do anything as used here | |||
* | | Rename mailer method to avoid naming conflict in Rails 3 | Matthew Landauer | 2013-01-25 | -1/+1 |
| | | ||||
* | | RSpec Rake tasks now live in the gem | Henare Degan | 2012-12-11 | -147/+0 |
| | | ||||
* | | Run the Rails 3 generator | Henare Degan | 2012-12-11 | -0/+0 |
|/ | ||||
* | Use mail handler in translation task. | Louise Crow | 2012-11-15 | -2/+2 |
| | ||||
* | Add optional branch to install themes from. Falls back if it doesn't exist. | Matthew Landauer | 2012-11-01 | -2/+10 |
| | ||||
* | Use new configuration module. | Louise Crow | 2012-10-04 | -1/+1 |
| | ||||
* | Task for generating monthly volume statistics filtered by tag set. | Louise Crow | 2012-10-04 | -25/+71 |
| | ||||
* | Merge remote-tracking branch 'openaustralia_github/configuration_refactor' ↵ | Louise Crow | 2012-10-01 | -5/+3 |
|\ | | | | | | | | | | | | | into develop Conflicts: config/general.yml-example | |||
| * | Extract configuration with defaults into one module | Matthew Landauer | 2012-09-25 | -5/+3 |
| | | ||||
* | | Better line formatting. | Louise Crow | 2012-09-26 | -5/+13 |
| | | ||||
* | | Add a rake task to generate a file with an example of every email sent by ↵ | Louise Crow | 2012-09-26 | -0/+184 |
| | | | | | | | | the application. |