aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Council.pm
Commit message (Collapse)AuthorAgeLines
* Factor to common FixMyStreet::MapIt call.Matthew Somerville2019-04-04-9/+4
|
* Don’t call add_extra_area_types cobrand hook on alerts pagesDave Arter2018-04-03-2/+5
|
* Allow cobrands to add extra MapIt areas & typesDave Arter2018-03-29-0/+5
|
* Add manage screen for editing priority/category.Matthew Somerville2016-09-09-3/+3
| | | | | | | This is a cut-down version of the full inspect screen. We truncate the co-ordinates just in case (they should be anyway but e.g. the test report isn't).
* Allow editing of category on admin report edit.Matthew Somerville2016-07-15-1/+6
| | | | This also updates the body column to match the category.
* Make sure all co-ordinates are stringified.Matthew Somerville2015-02-13-5/+2
| | | | | | | This includes MapIt postcode lookups, geocoding, query parameters, tile clicks. Stringifying truncates them to six decimal places, which means we no longer need any "short" versions anywhere, and the JSON response will always uses a decimal point regardless of locale.
* Add MAPIT_GENERATION variable, to pin whitelist.Matthew Somerville2014-05-16-2/+9
| | | | | | Otherwise, when MapIt Global is updated, the 'point' lookup, as it only returns the current generation by default, might no longer return the areas present in the whitelist.
* Use flags to indicate type of location errorStruan Donald2014-04-08-0/+3
| | | | | | | This makes it a bit easier to override the message in templates which makes it a bit easier for cobrands. Leaves the default error message in location_error stash key which should prevent any existing logic breaking.
* Update reporting to use bodies.Matthew Somerville2012-12-15-26/+26
|
* Unneeded TODO; truncate_coordinate uses in_gb_locale.Matthew Somerville2012-11-14-1/+0
|
* Allow the MapIt types to be given in config.Matthew Somerville2012-08-17-7/+7
|
* Move location_offshore warning to standard location_error, so is shown in ↵Matthew Somerville2012-07-20-1/+1
| | | | Ajax pin selection.
* Remove various UK specific code out of Default cobrand into UK one.Matthew Somerville2012-07-13-1/+5
|
* Have a whole fake mapit (for #182) that works if MAPIT_URL is set accordingly.Matthew Somerville2012-07-13-0/+1
| | | | | | | | | Setting MAPIT_URL to .../fakemapit/ will then return one area, ID 161 and type ZZZ, whatever co-ordinate it is given. This means the default area type is now ZZZ, the UK specific types are moved into the UK cobrands, and the tests updated accordingly to still function (they assume UK-ness a lot, so probably need an ALLOWED_COBRANDS entry of "fixmystreet: 'localhost'" and for your host's domain to show fixmystreet too).
* Get postcode always lookup working in Norway.Petter Reinholdtsen2011-08-12-2/+5
|
* Consolidate MaPit calls to call out to it less.Matthew Somerville2011-06-10-4/+17
|
* move remove redundant council code into cobrandsStruan Donald2011-05-09-30/+1
|
* Allow us to get councils or councils and wards and control if we remove ↵Struan Donald2011-05-06-4/+23
| | | | redundant councils
* created council controller and use that for load and check councilsStruan Donald2011-05-06-0/+104