From f8859e29f5bcf75c1b2acb934bd4353f83c5a2c1 Mon Sep 17 00:00:00 2001 From: Dave Arter Date: Fri, 29 May 2020 16:21:57 +0100 Subject: [UK] Remove Somerset West and Taunton special destination handling --- t/Mock/MapIt.pm | 1 - 1 file changed, 1 deletion(-) (limited to 't/Mock/MapIt.pm') diff --git a/t/Mock/MapIt.pm b/t/Mock/MapIt.pm index d49294a6a..b54ba0ddb 100644 --- a/t/Mock/MapIt.pm +++ b/t/Mock/MapIt.pm @@ -50,7 +50,6 @@ my @PLACES = ( [ '?', 51.345714, -0.227959, 2457, 'Epsom and Ewell Borough Council', 'DIS' ], [ 'CW11 1HZ', 53.145324, -2.370437, 21069, 'Cheshire East Council', 'UTA', 135301, 'Sandbach Town', 'UTW' ], [ '?', 50.78301, -0.646929 ], - [ 'TA1 1QP', 51.023569, -3.099055, 2239, 'Somerset County Council', 'CTY', 2429, 'Taunton Deane Borough Council', 'DIS' ], [ 'GU51 4AE', 51.279456, -0.846216, 2333, 'Hart District Council', 'DIS', 2227, 'Hampshire County Council', 'CTY' ], [ 'WS1 4NH', 52.563074, -1.991032, 2535, 'Sandwell Borough Council', 'MTD' ], [ 'PO30 5XJ', 50.71086, -1.29573, 2636, 'Isle of Wight Council', 'UTA' ], -- cgit v1.2.3 From 3e9277ed0e81b5d09656bff0aa5dacd87da1e55e Mon Sep 17 00:00:00 2001 From: Martin Wright Date: Wed, 9 Oct 2019 14:02:12 +0100 Subject: [Hackney] Initial cobrand design & privacy policy amendment Co-Authored-By: Struan Donald For https://github.com/mysociety/fixmystreet-commercial/issues/1808 --- t/Mock/MapIt.pm | 1 + 1 file changed, 1 insertion(+) (limited to 't/Mock/MapIt.pm') diff --git a/t/Mock/MapIt.pm b/t/Mock/MapIt.pm index b54ba0ddb..ed95e71fc 100644 --- a/t/Mock/MapIt.pm +++ b/t/Mock/MapIt.pm @@ -44,6 +44,7 @@ my @PLACES = ( [ 'NN1 2NS', 52.238301, -0.889992, 2234, 'Northamptonshire County Council', 'CTY', 2397, 'Northampton Borough Council', 'DIS' ], [ '?', 52.238827, -0.894970, 2234, 'Northamptonshire County Council', 'CTY', 2397, 'Northampton Borough Council', 'DIS' ], [ '?', 52.23025, -1.015826, 2234, 'Northamptonshire County Council', 'CTY', 2397, 'Northampton Borough Council', 'DIS' ], + [ 'E8 1DY', 51.552267, -0.063316, 2508, 'Hackney Borough Council', 'LBO' ], [ 'TW7 5JN', 51.482286, -0.328163, 2483, 'Hounslow Borough Council', 'LBO' ], [ '?', 51.48111, -0.327219, 2483, 'Hounslow Borough Council', 'LBO' ], [ '?', 51.482045, -0.327219, 2483, 'Hounslow Borough Council', 'LBO' ], -- cgit v1.2.3 From 208935e97fdaa50be69affe176028a8872395c69 Mon Sep 17 00:00:00 2001 From: Struan Donald Date: Mon, 6 Jul 2020 17:03:48 +0100 Subject: [Hackney] skip hackney categories for TfL red routes Because Hackney doesn't have any matching categories for TfL red routes skip sending the body, otherwise you get a "no contact details" message when you click on a red route in Hackney --- t/Mock/MapIt.pm | 1 + 1 file changed, 1 insertion(+) (limited to 't/Mock/MapIt.pm') diff --git a/t/Mock/MapIt.pm b/t/Mock/MapIt.pm index ed95e71fc..760e0ba52 100644 --- a/t/Mock/MapIt.pm +++ b/t/Mock/MapIt.pm @@ -45,6 +45,7 @@ my @PLACES = ( [ '?', 52.238827, -0.894970, 2234, 'Northamptonshire County Council', 'CTY', 2397, 'Northampton Borough Council', 'DIS' ], [ '?', 52.23025, -1.015826, 2234, 'Northamptonshire County Council', 'CTY', 2397, 'Northampton Borough Council', 'DIS' ], [ 'E8 1DY', 51.552267, -0.063316, 2508, 'Hackney Borough Council', 'LBO' ], + [ 'E8 2DY', 51.552287, -0.063326, 2508, 'Hackney Council', 'LBO' ], [ 'TW7 5JN', 51.482286, -0.328163, 2483, 'Hounslow Borough Council', 'LBO' ], [ '?', 51.48111, -0.327219, 2483, 'Hounslow Borough Council', 'LBO' ], [ '?', 51.482045, -0.327219, 2483, 'Hounslow Borough Council', 'LBO' ], -- cgit v1.2.3 From d9cf470f321dc334391a35405a527521a3b605d5 Mon Sep 17 00:00:00 2001 From: Dave Arter Date: Mon, 24 Aug 2020 16:34:59 +0100 Subject: [Hackney] Allow editing & addition of contacts with special destination addresses This adds a cobrand hook to validate the email address provided when editing a contact in the admin. --- t/Mock/MapIt.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 't/Mock/MapIt.pm') diff --git a/t/Mock/MapIt.pm b/t/Mock/MapIt.pm index 760e0ba52..74e360974 100644 --- a/t/Mock/MapIt.pm +++ b/t/Mock/MapIt.pm @@ -122,6 +122,8 @@ sub dispatch_request { $self->output({2326 => {parent_area => undef, id => 2326, name => "Cheltenham Borough Council", type => "DIS"}}); } elsif ($areas eq 'UTA') { $self->output({2650 => {parent_area => undef, id => 2650, name => "Aberdeen Council", type => "UTA"}}); + } elsif ($areas eq 'DIS,LBO,MTD,UTA,CTY,COI,LGD') { + $self->output({2508 => {parent_area => undef, id => 2508, name => "Hackney Council", type => "LBO"}}); } elsif ($areas eq 'GRE') { $self->output({2493 => {parent_area => undef, id => 2493, name => "Greenwich Borough Council", type => "LBO"}}); } elsif ($areas eq 'LBO') { -- cgit v1.2.3