aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311/getservicerequestupdates.t
Commit message (Collapse)AuthorAgeLines
* Remove need for cron-wrapper with existing scriptsMatthew Somerville2015-01-19-4/+0
| | | | | Call the necessary boilerplate in each script so you can call them directly. Remove boilerplate from files that don't need it.
* Fix uncommon Open311 errors on processing updates.Hakim Cassimally2014-02-27-9/+25
| | | | | | | | | | | Fixes #677. The query to fetch the related alert sometimes: * retrieves no result, causing an error on $alert->id * retrieves multiple results, causing deprecation warnings (e.g. which may at some point become future errors in DBIC) This commit turns the resultset('DB::Alert')->find(...) into a search(...) and loops over the results, to suppress them.
* Don't update problem state from service request if currently hidden.Matthew Somerville2014-01-30-18/+13
|
* Fix some missing time zone declarations in tests.Matthew Somerville2013-04-09-1/+3
|
* Merge remote branch 'origin/zurich'Matthew Somerville2013-02-04-9/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/open311-populate-service-list bin/send-comments bin/update-all-reports conf/crontab.ugly db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/App/Controller/Report/New.pm perllib/FixMyStreet/App/Controller/Reports.pm perllib/FixMyStreet/Cobrand/Default.pm perllib/FixMyStreet/Cobrand/LichfieldDC.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/Result/Problem.pm perllib/FixMyStreet/DB/ResultSet/Problem.pm perllib/FixMyStreet/SendReport.pm perllib/FixMyStreet/SendReport/Email.pm perllib/FixMyStreet/SendReport/Open311.pm perllib/Open311/GetServiceRequestUpdates.pm perllib/Open311/PopulateServiceList.pm t/app/controller/report_new.t t/app/controller/rss.t templates/web/bromley/report/display.html templates/web/default/admin/council_contacts.html templates/web/default/common_header_tags.html templates/web/default/dashboard/index.html templates/web/default/front/stats.html templates/web/default/report/_main.html templates/web/default/report/update-form.html templates/web/emptyhomes/index.html templates/web/emptyhomes/report/display.html templates/web/emptyhomes/report/new/councils_text_all.html templates/web/emptyhomes/reports/body.html templates/web/emptyhomes/reports/index.html templates/web/fixmystreet/report/new/fill_in_details_form.html templates/web/fixmystreet/report/update-form.html web/cobrands/fixmystreet/fixmystreet.js web/js/fixmystreet.js
| * Allow bodies to span multiple area IDs, and areas can be covered by more ↵Matthew Somerville2012-12-19-7/+7
| | | | | | | | than one body.
| * Update tests for new names of things and bodies needing to exist.Matthew Somerville2012-12-15-2/+2
| |
* | add internal review status to problemsStruan Donald2013-01-17-0/+12
| |
* | Merge branch 'bromley-new-statuses'Struan Donald2013-01-16-14/+148
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/send-comments conf/crontab.ugly db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/DB/Result/Open311conf.pm perllib/FixMyStreet/DB/ResultSet/Problem.pm perllib/Open311.pm t/app/controller/report_updates.t t/open311.t templates/web/default/report/display.html templates/web/default/report/updates.html templates/web/fixmystreet/report/display.html
| * be less restrictive about how open 311 status updates can change statesStruan Donald2012-11-09-4/+16
| | | | | | | | | | as logged in council users don't have the same restrictions also, fix open311 status name of unable to fix
| * simplfy state change code and also correct bugsStruan Donald2012-10-04-6/+56
| |
| * actually use a closed state in the testStruan Donald2012-10-04-1/+1
| |
| * add in test for FIXED statusStruan Donald2012-10-03-0/+12
| |
| * do not used planned status but use new action scheduled insteadStruan Donald2012-10-02-12/+0
| | | | | | | | | | NB: planned still listed in some places to account for old reports some test coverage improvements
| * tidy up status names in DB, improve tests a littleStruan Donald2012-10-01-4/+28
| |
| * initial work to handle changed problem statesStruan Donald2012-08-31-6/+54
| |
* | bring service request updates in line with our specStruan Donald2012-10-08-9/+9
| |
* | update getservice request tests for open311-fms versionStruan Donald2012-09-07-10/+31
| |
* | Always use 'reopened', and don't set mark_open for Open311 received updates.Matthew Somerville2012-09-05-2/+2
| |
* | handle re-opening of problems via open311 service requests updates correctlyStruan Donald2012-09-05-2/+2
|/ | | | also small tweaks to display of update meta information
* Use problem_state column rather than mark_fixed for updates from council.Matthew Somerville2012-06-06-3/+8
|
* add ability to suppress alerts to report creator onStruan Donald2012-05-11-0/+66
| | | | comments updated from open311
* tests for ignoring old comment state and related fixesStruan Donald2012-04-27-0/+57
|
* tests for time and comment replacement plus fixes for comment timeStruan Donald2012-03-28-0/+97
|
* add in start end date limits for get service request updatesStruan Donald2012-03-27-0/+46
|
* regularise data structure in open311 module as that is more sensibleStruan Donald2012-03-20-1/+1
|
* make sure external ids for problems and comments are only unique per councilStruan Donald2012-03-20-1/+72
|
* tests for mark_open and mark_fixedStruan Donald2012-03-20-0/+56
|
* slightly less convulted test data structureStruan Donald2012-03-20-4/+4
|
* add first pass of update comments method and testsStruan Donald2012-03-19-4/+75
|
* initial get serivce request updates method and testsStruan Donald2012-03-19-0/+68