aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311/GetUpdates.pm
Commit message (Collapse)AuthorAgeLines
* Rewrite open311-update-reports to share code.Matthew Somerville2020-07-06-45/+31
| | | | | Make GetUpdates and GetServiceRequestUpdates share a common base; spot all visible states.
* fetch new problems over open311Struan Donald2018-03-15-1/+1
| | | | | | | | | | This enables the display of existing reports from the back end on FMS if the body is configured to do this. Reports will not be created if they are missing an id, a lat or a long, if the lat/long is outside the area covered by the body, if there is already a report with a matching id, or if we can't parse out the request time.
* Tidy up Open311 XML handling.Matthew Somerville2016-06-15-15/+4
| | | | | Parse the XML in such a way other parts of the code do not have to worry about single-value folding or the like.
* Move from Moose to Moo in non-App code.Matthew Somerville2015-12-02-1/+1
| | | | And create default cobrand class without all of Moose.
* Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-4/+3
| | | | Command line scripts don't need a full blown app, just database.
* Simplify/consolidate body restriction db code.Matthew Somerville2015-08-19-2/+1
| | | | | | | Make dashboard work properly in two-tier councils, showing reports sent to both. Create an index on the array of the bodies_str column to speed up performance, and use that throughout the code replacing all LIKE scans. This also enables a simplifying tidy of the restriction code.
* Update old-style open311 script to use bodies.Matthew Somerville2014-04-07-13/+9
| | | | Add some comments to the top of the open311 bin scripts.
* Add test for de47a7f.Matthew Somerville2014-03-12-1/+1
| | | | | | This tests that the default string used by the old-style Open311 update code if there is no incoming string and the report is marked fixed, is translated.
* Make sure language is set before updating report.Matthew Somerville2014-03-11-0/+2
| | | | So that e.g. 'Closed by council' is translated.
* Bring back open311-update-reports, GetUpdates.pm and getupdates.tJon Kristensen2014-03-11-0/+82
| | | | | | This commit reverses the "Remove unused Open311 GetUpdates code." commit. FixaMinGata, the Swedish FixMyStreet cobrand, is still using open311-update-reports.
* Remove unused Open311 GetUpdates code.Matthew Somerville2012-12-15-82/+0
|
* remove debug codeStruan Donald2011-10-27-1/+0
|
* shuffle problem update code about to make it easier to test and write some testsStruan Donald2011-08-12-0/+83