aboutsummaryrefslogtreecommitdiffstats
path: root/bin/update-all-reports
Commit message (Collapse)AuthorAgeLines
* Add some new Body model helper methods.Matthew Somerville2018-01-03-1/+1
| | | | And use the existing ones more.
* Fix update-all-reports for all bodies generation.Matthew Somerville2017-11-21-1/+2
| | | | | Only works on bodies with an associated area, and requires the object to be passed in, not just its ID.
* update-all-reports operate per body optionally.Matthew Somerville2017-10-20-8/+24
|
* Allow testing override of /reports data.Matthew Somerville2017-10-16-2/+12
|
* Include area stats in all-reports.jsonDave Arter2017-07-17-1/+2
| | | | | | | This makes it possible to display stats per area on /reports Cobrands using this functionality should use the pre-dashboard reports/index.html template and pass --areas when calling bin/update-all-reports
* New version of /reports main page.Matthew Somerville2017-07-14-4/+4
| | | | | | | | | | | This is a much broader summary page, plus a body name autocomplete. This was originally implemented for fixmystreet.com in 8a6a4ccb7. It also adds '(no longer exists)' in the autocomplete next to bodies not covering any areas. You can supply the `--table` argument to `update-all-reports` to generate the old-style data.
* [fixmystreet.com] New version of /reports page.Zarino Zappia2017-07-06-1/+13
| | | | | | | | | | | This is a much broader summary page, plus a body name autocomplete. This uses a cut down version of chart.js. [1] [1] The full version was 149Kb (41Kb gzipped) plus you needed moment (50Kb/17Kb), for a total of 199Kb/58Kb. By stripping out unused graphs and code and config options, and switching to category axis rather than time, it is now a total of 39Kb/13Kb.
* Run each test file in a transaction.Matthew Somerville2017-06-20-72/+2
| | | | This means that the tests can be run in parallel.
* Remove some unused cobrands.Matthew Somerville2016-04-20-8/+0
|
* Switch final few JSON uses to JSON::MaybeXS.Matthew Somerville2016-02-09-2/+2
|
* Also store all reports summary data by cobrand.joeyisking2015-12-04-2/+6
| | | | This adds the ability to e.g. limit the all reports page by cobrand.
* Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-2/+4
| | | | Command line scripts don't need a full blown app, just database.
* Move "missing" handling to separate column.Matthew Somerville2015-08-19-2/+1
|
* Remove need for cron-wrapper with existing scriptsMatthew Somerville2015-01-19-0/+7
| | | | | Call the necessary boilerplate in each script so you can call them directly. Remove boilerplate from files that don't need it.
* Possible other string used in Zurich base URL.Matthew Somerville2013-06-10-1/+1
|
* Include other open states in all reports table.Matthew Somerville2013-04-19-1/+1
|
* Static figures for old EHA reports.Matthew Somerville2013-02-12-0/+8
|
* Some tweaks to get Zurich Reports page working a bit better.Matthew Somerville2013-01-16-2/+2
|
* Fix warning due to use of confirmed column on Zurich when not all will have ↵Matthew Somerville2013-01-04-1/+8
| | | | that set.
* Rename council column to bodies_str, and all the related code.Matthew Somerville2012-12-15-14/+14
|
* It's an array of states.Matthew Somerville2012-03-05-1/+1
|
* Fix states lookups in update-all-reports.Matthew Somerville2012-03-05-5/+8
|
* Some more cases for if perl is not in /usr/bin, and update commonlib to pull ↵Matthew Somerville2012-01-26-1/+1
| | | | in locale changes.
* Generate /reports data on cron.Matthew Somerville2011-06-16-0/+69