Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Refactor SendReport::Open311 to use cobrand hooks. | Matthew Somerville | 2017-03-09 | -70/+14 |
| | | | | | | | | | | | | | | Avoid doing cobrand-specific logic within SendReport::Open311. The hooks defined are: open311_config: set extra fields open311_pre_send: set endpoints and munge data These are tested in the new t/app/sendreport/open311.t, which does not send any actual reports, but just checks that all the data is munged into the expected format. (tests under t/open311* should already test the actual sending) Remove unused Open311 special cases. | |||
* | Add a 'closest_address' hidden Open311 attribute. | Matthew Somerville | 2017-02-03 | -0/+2 |
| | | | | This joins easting, northing and an external ID field. | |||
* | Automatically spot Open311 co-ord/ID attributes. | Matthew Somerville | 2016-08-24 | -39/+28 |
| | ||||
* | Pass back Open311 request through send_reports for tests. | Matthew Somerville | 2016-08-24 | -0/+7 |
| | ||||
* | Store Open311 error in report on failure. | Matthew Somerville | 2016-04-27 | -1/+2 |
| | | | | | | It will still output via cron on the first failure. However, reduce the verbosity of a couple of SendReport modules which are reporting failure every time. | |||
* | [UK] Remove West Berkshire temporary fix. | Matthew Somerville | 2016-04-27 | -4/+0 |
| | ||||
* | Remove some unused cobrands. | Matthew Somerville | 2016-04-20 | -2/+2 |
| | ||||
* | Remove many uses of mySociety::Config. | Matthew Somerville | 2015-12-02 | -1/+0 |
| | ||||
* | Move from Moose to Moo in non-App code. | Matthew Somerville | 2015-12-02 | -1/+1 |
| | | | | And create default cobrand class without all of Moose. | |||
* | Reduce use of FixMyStreet::App. | Matthew Somerville | 2015-12-02 | -2/+1 |
| | | | | Command line scripts don't need a full blown app, just database. | |||
* | Set external_id for Greenwich Open311 based on bodies_str, not cobrand | Dave Arter | 2015-07-20 | -1/+2 |
| | | | | | Problems for Greenwich reported via the fixmystreet cobrand weren't having the external_id included in the Open311 request and were failing. | |||
* | [Greenwich] Include external_id when submitting Open311 reports | Dave Arter | 2015-06-30 | -2/+2 |
| | ||||
* | Add Extra role to ease use of {extra} field. | Hakim Cassimally | 2015-03-20 | -10/+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. | |||
* | Open311 tweaks to get round-tripping working | Hakim Cassimally | 2014-10-16 | -2/+8 |
| | | | | | If https://github.com/mysociety/fixmystreet/pull/792 is accepted then this should be rewritten in terms of that. | |||
* | Use name from problem in Bromley Open311 extra params | Struan Donald | 2013-08-19 | -1/+1 |
| | | | | | In order to match the way we get the name for the standard Open311 params as changed in b3e8d60 | |||
* | Consolidate sending backoff for different types of sender. | Matthew Somerville | 2013-05-02 | -24/+0 |
| | ||||
* | Warnfix a string comparison, as might not be numeric. | Matthew Somerville | 2013-03-04 | -1/+1 |
| | ||||
* | Remove *_local tz functions, set timezone on fetching original columns from ↵ | Matthew Somerville | 2013-02-14 | -1/+1 |
| | | | | database. | |||
* | Add a basic FMB test. | Matthew Somerville | 2013-02-04 | -1/+11 |
| | ||||
* | Remove all special body handling in order to move FMB to use bodies properly. | Matthew Somerville | 2013-02-04 | -13/+0 |
| | ||||
* | Missed some council references. | Matthew Somerville | 2013-02-04 | -2/+2 |
| | ||||
* | Merge remote branch 'origin/zurich' | Matthew Somerville | 2013-02-04 | -10/+16 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | |||
| * | Rename council column to bodies_str, and all the related code. | Matthew Somerville | 2012-12-15 | -4/+4 |
| | | ||||
| * | Convert report sending code to use bodies rather than areas/councils. | Matthew Somerville | 2012-12-15 | -10/+15 |
| | | ||||
| * | Rename area_id on Contacts table to body_id. | Matthew Somerville | 2012-12-15 | -1/+1 |
| | | | | | | | | Add foreign key constraint from contacts to body. | |||
* | | added two more external_bodies to FixMyBarangay's hard-coded departments | Dave Whiteland | 2013-01-08 | -3/+11 |
| | | ||||
* | | pass nearest address over to Oxfordshire in its entirety, parse at point of ↵ | Dave Whiteland | 2012-12-19 | -12/+1 |
| | | | | | | | | insertion | |||
* | | Merge branch 'tuesday-oxfordshire' | Dave Whiteland | 2012-12-19 | -1/+14 |
|\ \ | ||||
| * | | added postcode and nearest address to Oxfordshire Open311 call | Dave Whiteland | 2012-12-18 | -1/+14 |
| | | | ||||
* | | | No title included in Oxfordshire send. | Matthew Somerville | 2012-12-18 | -3/+5 |
|/ / | ||||
* | | add CGI script for Oxfordshire to absorb incoming Open311 service request POSTs | Dave Whiteland | 2012-12-13 | -1/+1 |
| | | ||||
* | | Oxfordshire Open311 requires FMS id as attribute and a custom endpoint URL | Dave Whiteland | 2012-12-13 | -2/+8 |
| | | ||||
* | | use Readonly for Oxfordshire council name | Dave Whiteland | 2012-12-12 | -3/+6 |
| | | ||||
* | | Oxfordshire wants easting/northing, so send then as Open311 attributes | Dave Whiteland | 2012-12-10 | -1/+11 |
|/ | ||||
* | FixMyBarangay external_body hardcoded fix moved to be in the right place, whoops | Dave Whiteland | 2012-11-22 | -1/+6 |
| | ||||
* | allow endpoints to be configured at a category level | Struan Donald | 2012-08-29 | -1/+1 |
| | | | | | default cobrand now checks for endpoint configuration and only extra fallbacks are in UK cobrand | |||
* | Merge remote-tracking branch 'origin/master' into fmb-read-only | Struan Donald | 2012-08-22 | -7/+18 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .gitignore bin/make_css conf/general.yml-example perllib/FixMyStreet/App/Controller/Council.pm perllib/FixMyStreet/App/Controller/Report/New.pm perllib/FixMyStreet/Cobrand/Default.pm templates/web/default/around/around_index.html templates/web/default/index.html templates/web/emptyhomes/index.html templates/web/fixmystreet/around/around_index.html templates/web/fixmystreet/index.html web/fixmystreet_app_cgi.cgi web/fixmystreet_app_fastcgi.cgi | |||
| * | Add option to allow service to be sent as deviceid over open311 | Struan Donald | 2012-08-09 | -6/+9 |
| | | | | | | | | turn this on for Bromley | |||
| * | Simplify SendReport code, moving some Email only bits to that module. | Matthew Somerville | 2012-07-20 | -1/+1 |
| | | ||||
| * | improve spliting name into first and last names | Struan Donald | 2012-07-10 | -1/+1 |
| | | ||||
| * | Only need last_name as attribute. | Matthew Somerville | 2012-06-28 | -2/+2 |
| | | ||||
| * | Revert "Unneeded code, as is ignored, and same thing happens in Open311.pm ↵ | Matthew Somerville | 2012-06-28 | -0/+8 |
| | | | | | | | | | | | | anyway." This reverts commit 65b6b5eba895444aa2fc39f323ddac43bb608ba9. | |||
* | | reintroduce logic for sending external_id to fixmybarangay Open311 | Dave Whiteland | 2012-07-22 | -1/+6 |
|/ | ||||
* | Unneeded code, as is ignored, and same thing happens in Open311.pm anyway. | Matthew Somerville | 2012-06-21 | -8/+0 |
| | ||||
* | make sure bromley open311 reports made on main FMS site include last_name ↵ | Struan Donald | 2012-05-30 | -0/+7 |
| | | | | and first_name attributes | |||
* | only send comments if problem was sent by Open311 | Struan Donald | 2012-05-29 | -0/+1 |
| | ||||
* | send address_id with NOTPINPOINTED to Bromley if not used map and no postcode | Struan Donald | 2012-05-23 | -2/+7 |
| | ||||
* | option to only send problem details over open311 for Bromley | Struan Donald | 2012-05-08 | -0/+7 |
| | ||||
* | do no sent lat long if click no map click for bromley | Struan Donald | 2012-05-08 | -3/+6 |
| | ||||
* | force truncation of seconds as W3CDTF does not | Struan Donald | 2012-04-25 | -1/+1 |
| |