aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/Open311.pm
Commit message (Collapse)AuthorAgeLines
* [Bristol] Switch Open311 warnings off, false +ves.Matthew Somerville2017-07-08-1/+1
|
* [FixaMinGata] Consolidate with upstream.Jon Kristensen2017-07-07-0/+1
| | | | | Add hook for post-title field content in report form. Update translations.
* [Bristol] Switch warn threshold to five failures.Matthew Somerville2017-05-19-4/+22
|
* Open311 warn only after a couple of failures.Matthew Somerville2017-01-19-4/+4
| | | | | There are a couple of servers we currently talk to that error not that infrequently but work in the end.
* Make sure Open311 passed coordinate is decimal.Matthew Somerville2016-08-21-2/+3
|
* Tidy up some UK specific easting/northing handlingMatthew Somerville2016-06-22-1/+1
|
* Tidy up Open311 XML handling.Matthew Somerville2016-06-15-41/+31
| | | | | Parse the XML in such a way other parts of the code do not have to worry about single-value folding or the like.
* Add PNG image support.Matthew Somerville2016-04-08-1/+1
| | | | | | | Store image type along with hash in photo column, and use that when outputting images / generating URLs. Make sure all public photo URL generation goes through appropriate functions, and change temp URLs so the filename can be output directly from the list.
* Move from Moose to Moo in non-App code.Matthew Somerville2015-12-02-16/+17
| | | | And create default cobrand class without all of Moose.
* Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-0/+2
| | | | Command line scripts don't need a full blown app, just database.
* Add Extra role to ease use of {extra} field.Hakim Cassimally2015-03-20-12/+8
| | | | | | | | | Historically, the extra field has been used in two different ways by different cobrands, both as a list (e.g. Open311 category fields) and a hash (e.g. the Zurich cobrand). This commit consolidates usage, adding an API to make use of the field easier and always returning a hash for the code to use. Fixes #1018.
* Add Open311 i18n test, and add utf8 pragma.Matthew Somerville2014-12-10-0/+1
| | | | Also remove some unused variables.
* Only have jurisdiction_id in request if present.Matthew Somerville2014-11-26-7/+7
| | | | | | So don't request '...services.xml?jurisdiction_id=' as that can lead to an error from an Open311 server that expects either no parameter at all or a stated jurisdiction_id.
* Open311. Remove extraneous 'jurisdiction' parameterHakim Cassimally2014-10-16-1/+0
| | | | | | | This parameter was added in 3eb93cea4acd5f9b76efdc0910466363a0b9b445 and is superfluous (as jurisdiction*_id* is the correct parameter, and is already sent.) That commit mentions only api_key so understand this wrong parameter is an artefact.
* Add extra Open311 strings for FixaMinGataJon Kristensen2014-03-14-0/+4
|
* Fix slight regression in cf20c709, to still match all UK cobrands.Matthew Somerville2014-03-13-1/+1
|
* Merge remote branch 'origin/sweden-rebase'Matthew Somerville2014-03-11-13/+12
|\ | | | | | | | | | | | | Conflicts: bin/update-schema locale/sv_SE.UTF-8/LC_MESSAGES/FixMyStreet.po perllib/FixMyStreet/DB/Result/Body.pm
| * Alter Open311 description to only include English on FixMyStreet.Jon Kristensen2014-03-11-13/+12
| | | | | | | | This could be made cobrand-customisable in future.
* | Default lastname of '-' if none found.Matthew Somerville2014-01-14-0/+1
|/
* Open311 should user name from report not userStruan Donald2013-08-19-1/+1
| | | | | Open311 was using the name in the user table for it's reports when it should be the one in the problem table.
* Remove *_local tz functions, set timezone on fetching original columns from ↵Matthew Somerville2013-02-14-1/+1
| | | | database.
* add internal review status to problemsStruan Donald2013-01-17-0/+2
|
* do not attempt to process empty service list contentStruan Donald2013-01-16-1/+5
|
* Merge branch 'bromley-new-statuses'Struan Donald2013-01-16-1/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * use the problem_state of the comment to set the update state ratherStruan Donald2012-11-22-9/+14
| | | | | | | | | | | | than the state of the problem in case a second update has changed the problem state since. On the of chance that there is no problem_state for the comment then fall back to the state of the problem
| * be less restrictive about how open 311 status updates can change statesStruan Donald2012-11-09-1/+1
| | | | | | | | | | as logged in council users don't have the same restrictions also, fix open311 status name of unable to fix
| * allow extended statuses in open311 service request updatesStruan Donald2012-10-02-1/+24
| |
* | Fix default now it's swapped, and extra newline stoppage.Matthew Somerville2012-12-18-3/+2
| |
* | No title included in Oxfordshire send.Matthew Somerville2012-12-18-6/+11
| |
* | slightly more useful error messages if fetching Open311 service request ↵Struan Donald2012-11-21-2/+6
| | | | | | | | updates fails
* | Merge branch 'stevenage'Struan Donald2012-11-19-5/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore bin/make_css conf/crontab.ugly perllib/FixMyStreet/Cobrand/Default.pm perllib/Open311.pm templates/web/fixmystreet/around/postcode_form.html
| * | change the way we get open311 singlelist data so we can order itStruan Donald2012-10-22-1/+1
| | | | | | | | | | | | correctly for display
| * | bring service request updates in line with our specStruan Donald2012-10-08-1/+1
| | |
| * | send out open311 fms standard updates unless in extended modeStruan Donald2012-09-06-3/+9
| |/
* | Some fixes for when warnings are on during test run.Matthew Somerville2012-11-09-1/+1
| |
* | More cron quietening, only show full Open311 first time, then summarise.Matthew Somerville2012-10-05-4/+8
| |
* | Pull out problem/comment id in error messages when Open311 posts failStruan Donald2012-09-24-3/+6
|/
* If we don't get a request_id or it's not a text element then regardStruan Donald2012-08-30-1/+5
| | | | posting the service request as having failed
* Add option to allow service to be sent as deviceid over open311Struan Donald2012-08-09-0/+5
| | | | turn this on for Bromley
* improve spliting name into first and last namesStruan Donald2012-07-10-2/+2
|
* Remove unused base_url_for_emails function.Matthew Somerville2012-07-06-1/+1
|
* photo is url, not photosStruan Donald2012-06-13-1/+1
|
* send media_url if comment has a photoStruan Donald2012-05-24-0/+7
|
* send address_id with NOTPINPOINTED to Bromley if not used map and no postcodeStruan Donald2012-05-23-1/+10
|
* address_string and not addressStruan Donald2012-05-23-1/+1
|
* If from an existing report page you click 'Nearby problems' > skip mapStruan Donald2012-05-22-1/+5
| | | | | then you end up with used_map=f and nothign in postcode so we should not attempt to send the postcode over open311 as it won't be there
* option to only send problem details over open311 for BromleyStruan Donald2012-05-08-3/+9
|
* do no sent lat long if click no map click for bromleyStruan Donald2012-05-08-2/+8
|
* clear debug information between callsStruan Donald2012-04-27-2/+9
|
* get service request updates requires api keyStruan Donald2012-04-27-1/+4
|