aboutsummaryrefslogtreecommitdiffstats
path: root/t/open311.t
Commit message (Collapse)AuthorAgeLines
* [Open311] Move send-comments code to package.Matthew Somerville2018-10-09-1/+19
|
* Factor out photo storage into PhotoStorage::FileSystem backendDave Arter2018-09-28-1/+4
|
* [Open311] avoid spurious warning when params are undefStruan Donald2018-04-17-6/+49
| | | | | | | If there was an undefined parameter passed to `_post` then generating the debug string would generate a warning about an undefined value in a concatenation. So, check for undefined params and substitute empty string to avoid.
* [Open311] correctly handle one word names when splittingStruan Donald2018-04-17-0/+6
| | | | | | If a name only had a single word we were failing to split it and not setting `first_name`. Also refactor splitting out to a function so the regex is only in one place.
* [UK] Improve Open311 update Bromley-only check.Matthew Somerville2018-02-23-1/+1
| | | | | The addition of e.g. questionnaire_id to an update's extra field means this check has to be more nuanced.
* [FixaMinGata] Consolidate with upstream.Jon Kristensen2017-07-07-0/+2
| | | | | Add hook for post-title field content in report form. Update translations.
* Run each test file in a transaction.Matthew Somerville2017-06-20-3/+1
| | | | This means that the tests can be run in parallel.
* [Bristol] Switch warn threshold to five failures.Matthew Somerville2017-05-19-3/+3
|
* Open311 warn only after a couple of failures.Matthew Somerville2017-01-19-14/+23
| | | | | There are a couple of servers we currently talk to that error not that infrequently but work in the end.
* Tidy up some UK specific easting/northing handlingMatthew Somerville2016-06-22-1/+1
|
* Add PNG image support.Matthew Somerville2016-04-08-7/+19
| | | | | | | 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.
* Reduce use of FixMyStreet::App.Matthew Somerville2015-12-02-7/+7
| | | | Command line scripts don't need a full blown app, just database.
* 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.
* Add Open311 i18n test, and add utf8 pragma.Matthew Somerville2014-12-10-15/+27
| | | | Also remove some unused variables.
* Fix slight regression in cf20c709, to still match all UK cobrands.Matthew Somerville2014-03-13-0/+1
|
* Merge remote branch 'origin/sweden-rebase'Matthew Somerville2014-03-11-0/+2
|\ | | | | | | | | | | | | 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-0/+2
| | | | | | | | This could be made cobrand-customisable in future.
* | Correct subtest variable name, fix uninitialized value warning.Matthew Somerville2014-01-30-2/+2
|/
* Open311 should user name from report not userStruan Donald2013-08-19-0/+27
| | | | | Open311 was using the name in the user table for it's reports when it should be the one in the problem table.
* Update some tests to work around small changes in some underlying modules.Matthew Somerville2013-05-07-1/+2
|
* add internal review status to problemsStruan Donald2013-01-17-0/+7
|
* fix broken open311 testsStruan Donald2013-01-17-18/+15
|
* Merge branch 'bromley-new-statuses'Struan Donald2013-01-16-6/+99
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+55
| | | | | | | | | | | | 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-6/+48
| |
* | No title included in Oxfordshire send.Matthew Somerville2012-12-18-1/+1
| |
* | Merge branch 'stevenage'Struan Donald2012-11-19-16/+54
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore bin/make_css conf/crontab.ugly perllib/FixMyStreet/Cobrand/Default.pm perllib/Open311.pm templates/web/fixmystreet/around/postcode_form.html
| * | 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-16/+54
| |/
* / update test in line with error messages changesStruan Donald2012-09-24-1/+2
|/
* If we don't get a request_id or it's not a text element then regardStruan Donald2012-08-30-3/+31
| | | | posting the service request as having failed
* Add option to allow service to be sent as deviceid over open311Struan Donald2012-08-09-0/+43
| | | | turn this on for Bromley
* send media_url if comment has a photoStruan Donald2012-05-24-0/+16
|
* send address_id with NOTPINPOINTED to Bromley if not used map and no postcodeStruan Donald2012-05-23-2/+16
|
* address_string and not addressStruan Donald2012-05-23-2/+2
|
* If from an existing report page you click 'Nearby problems' > skip mapStruan Donald2012-05-22-0/+7
| | | | | 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-1/+23
|
* do no sent lat long if click no map click for bromleyStruan Donald2012-05-08-12/+86
|
* include timezone in dateStruan Donald2012-04-25-1/+2
|
* first_name not required as an attribute parameterStruan Donald2012-04-24-1/+1
|
* add in first_name, last_name and email attribute[] paramsStruan Donald2012-04-24-2/+2
|
* Revert "correct misunderstanding of bromley spec"Struan Donald2012-04-24-95/+3
| | | | | | Turns out I was correct the first time round :( This reverts commit afa97893b54edd890527a80392492f0d10a739a1.
* correct misunderstanding of bromley specStruan Donald2012-04-23-3/+95
|
* better test descriptionsStruan Donald2012-04-02-9/+9
|
* add in tests for fms_extra, first and last name in extraStruan Donald2012-04-02-15/+63
| | | | add code to handle first and last name in extra for request submission
* tests for name from extra in updatesStruan Donald2012-04-02-14/+39
|
* check extra values sending with requestsStruan Donald2012-03-29-0/+18
|
* basic test for posting service requestsStruan Donald2012-03-29-8/+66
|
* sort out putting names in commentsStruan Donald2012-03-27-0/+24
|