Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add a test for the PublicBodyController statistics action | Mark Longair | 2013-08-20 | -0/+52 |
| | ||||
* | Add excanvas for support of graph-drawing on IE8 and before | Mark Longair | 2013-08-20 | -0/+2 |
| | | | | This is as suggested in the Flot documentation. | |||
* | Make the minimum requests for statistics configurable | Mark Longair | 2013-08-20 | -1/+8 |
| | | | | This adds the MINIMUM_REQUESTS_FOR_STATISTICS config option. | |||
* | Add a page with experimental statistics on public bodies | Mark Longair | 2013-08-20 | -1/+375 |
| | | | | | | | | | | | | | | | | | 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. | |||
* | Add a Flot extension for drawing axis labels | Mark Longair | 2013-08-15 | -0/+451 |
| | | | | | | | | | | Suprisingly, there is not support in base Flot for drawing axis labels - one solution is to use the flot-axislabels plugin from: https://github.com/markrcote/flot-axislabels This plugin is also MIT-licensed. | |||
* | Add the flot Javascript graph drawing library version 0.8.1 | Mark Longair | 2013-08-15 | -0/+92 |
| | | | | | | From the full distribution, this only includes the basic libary and the component for plotting error bars. (Flot is MIT licensed.) | |||
* | Add the statistics2 gem to the bundle | Mark Longair | 2013-08-15 | -0/+3 |
| | | | | | This is used for the calculation of the confidence intervals for public body statistics. | |||
* | Merge branch 'feature/further-request-event-fixes' into rails-3-develop | Louise Crow | 2013-08-15 | -14/+126 |
|\ | ||||
| * | Comments on described_state and calculated_state | Louise Crow | 2013-08-15 | -3/+20 |
| | | | | | | | | | | | | Add some notes on the logic and expectations around InfoRequest.described_state and calculate_status and InfoRequestEvent.described_state and calculated_state. | |||
| * | Add task for cleaning up bad request histories. | Louise Crow | 2013-08-15 | -0/+30 |
| | | ||||
| * | Set the calculated state on external requests. | Louise Crow | 2013-08-15 | -0/+5 |
| | | | | | | | | Set to 'waiting_response' on creation, to match the displayed state. | |||
| * | Make admin edits affect info_request_event described_states. | Louise Crow | 2013-08-15 | -7/+29 |
| | | | | | | | | | | | | | | Make sure that admin edits changing the described state of an info request are reflected in the latest_status and status values of info request events so that the info requests are retrieved correctly in status-based searches. | |||
| * | Allow 'edit' and 'status_update' calculated states to propagate. | Louise Crow | 2013-08-15 | -7/+45 |
| | | | | | | | | | | | | | | | | Update test expectations and add further test to explicitly show that we want the described status from a status update to be propagated to a preceding response, as well as being filled in in the status update itself (which is mostly to deal with the case where there isn't a preceding response). Make those changes to calculate_event_states | |||
* | | The mysociety debian repo only has 64-bit packages | Ganesh Sittampalam | 2013-08-14 | -1/+1 |
| | | ||||
* | | Run migrations before trying to install theme | Ian Chard | 2013-08-14 | -3/+1 |
| | | | | | | | | | | | | Conflicts: script/rails-post-deploy | |||
* | | Try to convert csv files of public bodies into utf-8 before importing them. | Louise Crow | 2013-08-14 | -1/+2 |
| | | ||||
* | | add wheezy package names as alternates for rdoc and irb | Ian Chard | 2013-08-14 | -2/+2 |
| | | ||||
* | | Update tests for changes to fixture file. | Louise Crow | 2013-08-14 | -14/+18 |
| | | ||||
* | | Fix for #566. Also fix wrong identifier being used in text. | Louise Crow | 2013-08-13 | -1/+1 |
| | | ||||
* | | Clean up paths to be a bit less OS dependent. | Louise Crow | 2013-08-12 | -6/+4 |
| | | ||||
* | | Merge remote-tracking branch ↵ | Louise Crow | 2013-08-12 | -51/+1 |
|\ \ | | | | | | | | | | 'openaustralia_github/upgrade-rvmrc-to-ruby-version' into rails-3-develop | |||
| * | | Switch from .rvmrc to .ruby-version | Henare Degan | 2013-08-10 | -51/+1 |
|/ / | | | | | | | ruby-version is cross compatible with other Ruby version managers | |||
* | | Removing db/development_structure.sql from version control. Because ↵ | Louise Crow | 2013-08-08 | -2095/+0 |
| | | | | | | | | different versions of postgres are producing minor variations every time this is generated, it's proving more of a hindrance than a help to development. Happy to reinstate it if anyone has suggestions about how to keep it stable across minor postgres version differences. | |||
* | | Merge branch 'feature/check-submodules' into rails-3-develop | Louise Crow | 2013-08-08 | -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/+29 |
| | | | | | | | | | | | | we expect it to be. | |||
* | | | Update for Rails 3 - script/server is deprecated. | Louise Crow | 2013-08-07 | -1/+1 |
| |/ |/| | ||||
* | | Translations with new strings. | Louise Crow | 2013-08-05 | -81/+384 |
| | | ||||
* | | Latest translations from transifex | Louise Crow | 2013-08-05 | -390/+7217 |
| | | ||||
* | | Use raw on select_tag option string so it doesn't get escaped. Fixes #1027. | Louise Crow | 2013-07-31 | -2/+2 |
| | | ||||
* | | Merge remote-tracking branch 'scjody_github/patch-1' into rails-3-develop | Louise Crow | 2013-07-31 | -1/+1 |
|\ \ | ||||
| * | | Fix name of locale/ directory in INSTALL.md | Jody McIntyre | 2013-07-31 | -1/+1 |
| | | | ||||
| * | | Mark ban text as html safe | Louise Crow | 2013-04-25 | -1/+1 |
| | | | ||||
| * | | Merge branch 'release/0.9' into develop | Louise Crow | 2013-04-24 | -535/+3941 |
| |\ \ | ||||
| * | | | Make sure raw emails are loaded before running integration spec | Louise Crow | 2013-04-23 | -0/+1 |
| | | | | ||||
* | | | | Preserve string "Tags (separated by a space):", removed in ↵ | Louise Crow | 2013-07-31 | -1/+1 |
| |_|/ |/| | | | | | | | | f89e2c3d5cee5e3bf2bd2227254fa0edb09aeb53, as there are lots of translations for this already, and we'll probably be re-introducing it with more features around tagging. | |||
* | | | Remove unused line of code | Louise Crow | 2013-07-30 | -1/+0 |
| | | | ||||
* | | | Use first argument to script when not running in daemon mode. Fixes #1023. | Louise Crow | 2013-07-30 | -1/+1 |
| | | | ||||
* | | | Add some notes about how to fix existing email addresses with spaces. | Louise Crow | 2013-07-30 | -2/+1 |
| | | | ||||
* | | | Add a note on how to start mailcatcher. | Louise Crow | 2013-07-30 | -1/+2 |
| | | | ||||
* | | | Handle the case of a name that hits the character limits and has been ↵ | Louise Crow | 2013-07-29 | -7/+27 |
| | | | | | | | | | | | | suffixed with a number. | |||
* | | | Update commonlib to get fix for ↵ | Louise Crow | 2013-07-29 | -0/+6 |
| | | | | | | | | | | | | https://github.com/mysociety/alaveteli/issues/282 and https://github.com/opennorth/alaveteli/issues/2. Note, this will not fix https://github.com/mysociety/alaveteli/issues/902, which would require a change in request title validation in https://github.com/mysociety/alaveteli/blob/rails-3-develop/app/models/info_request.rb#L34. | |||
* | | | Merge branch 'feature/localisation-fixes' into rails-3-develop | Louise Crow | 2013-07-29 | -168/+190 |
|\ \ \ | ||||
| * | | | Prepare the xapian database before running tests that rely on it existing. | Louise Crow | 2013-07-29 | -0/+5 |
| | | | | ||||
| * | | | Move some more config into AlaveteliLocalization so that it can be called ↵ | Louise Crow | 2013-07-24 | -13/+14 |
| | | | | | | | | | | | | | | | | outside initialization e.g. in tests. | |||
| * | | | Clarify comment. | Louise Crow | 2013-07-23 | -1/+1 |
| | | | | ||||
| * | | | Use FastGettext.locale, not I18n.locale as the latter will return hyphens, ↵ | Louise Crow | 2013-07-23 | -1/+1 |
| | | | | | | | | | | | | | | | | not underscores as we use in our URLs. | |||
| * | | | Patch Globalize to compensate for the way gettext_i18n_rails patches ↵ | Louise Crow | 2013-07-23 | -6/+49 |
| | | | | | | | | | | | | | | | | 118n.locale in the handling of locales with underscores. Fixes #999. |