aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
Commit message (Collapse)AuthorAgeLines
* Make sure all co-ordinates are stringified.Matthew Somerville2015-02-13-12/+8
| | | | | | | 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.
* Only show text on /reports if appropriate.Matthew Somerville2014-11-14-2/+0
| | | | | Only show "select..." if more than one body, and only mention greyed out lines if there are any. Fixes #869.
* [fixmystreet.com] Experiment, no pins by default.Matthew Somerville2014-10-17-10/+6
| | | | | | | | This changes the default flow to show no pins and a message about reporting, with the second tab displaying existing problems (and showing map pins). Those existing problems are the ones that would currently be on "problems on the map" followed by those currently on "problems nearby".
* return locations with coordinates as well as bare locationsStruan Donald2013-03-21-2/+3
|
* Fix tests.Matthew Somerville2013-02-20-1/+1
|
* Redirect to front page if nothing provided.Matthew Somerville2013-02-20-3/+4
|
* Make sure title not shown on pins on unconfirmed Zurich reports.Matthew Somerville2013-01-24-1/+1
|
* remove redundant code accidentally left in :(Struan Donald2013-01-17-14/+0
|
* add an ajax location lookup method for doing string -> lat,long lookupStruan Donald2013-01-17-0/+46
| | | | factor out shared code with autocomplete method to save repetition
* Autocomplete of Zurich street names (2beb264 plus tweaks).Matthew Somerville2013-01-07-0/+27
|
* Update reporting to use bodies.Matthew Somerville2012-12-15-6/+6
|
* Merge remote branch 'origin/master' into fmb-read-onlyDave Whiteland2012-05-29-1/+2
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: bin/send-reports perllib/FixMyStreet/Cobrand/Default.pm perllib/FixMyStreet/Cobrand/FixMyStreet.pm templates/web/fixmystreet/alert/index.html templates/web/fixmystreet/around/display_location.html web/cobrands/fixmystreet/_layout.scss web/js/map-OpenLayers.js
| * Pins yellow on /my for Bromley.Matthew Somerville2012-05-22-1/+1
| |
| * Fix CM8 Bromley pin colours.Matthew Somerville2012-05-01-1/+2
| |
* | Allow display of areas on /around.Matthew Somerville2012-05-08-0/+1
| |
* | Area type for Barangay, and hack for working out/in boundaries. Error ↵Matthew Somerville2012-04-26-1/+1
|/ | | | handling needs looking at.
* All pins yellow, for #250.Matthew Somerville2012-03-01-1/+1
|
* Factor out fragment rendering, as additional template paths needs to be passed.Matthew Somerville2012-02-23-6/+5
|
* Remove some things from EHA website.Matthew Somerville2011-10-28-1/+1
|
* Change JSON response header for browsing map, so is not double-encoded. Add ↵Matthew Somerville2011-09-12-1/+1
| | | | tests for it.
* Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-08-17-17/+17
|\ | | | | | | | | | | | | | | | | | | | | | | into new_statuses Conflicts: db/schema.sql perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/DB/Result/User.pm t/app/controller/admin.t templates/web/default/admin/update_edit.html web/css/core.css
| * Reduce size of JS output strings.Matthew Somerville2011-08-17-1/+1
| |
| * Use Gaze distance if already fetched.Matthew Somerville2011-08-11-3/+3
| |
| * Fix for bad requests to AJAX pin lookup.Matthew Somerville2011-08-05-13/+13
| |
* | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-07-26-0/+5
|\| | | | | | | | | | | | | | | | | | | into new_statuses Conflicts: perllib/FixMyStreet/App/Controller/Admin.pm perllib/FixMyStreet/App/Controller/JSON.pm perllib/FixMyStreet/Map/Tilma/Original.pm web/css/core.css
| * Use our own StreetView tile server, add missing IE6 CSS for OpenLayers, ↵Matthew Somerville2011-07-01-0/+5
| | | | | | | | don't set map parameter in JS.
* | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵Struan Donald2011-06-30-15/+8
|\| | | | | | | | | | | | | into new_statuses Conflicts: perllib/FixMyStreet/App/Controller/Reports.pm
| * Strategy/Format for updating pins as map is panned.Matthew Somerville2011-06-30-15/+7
| |
| * Move to Vector layer rather than Markers, to be able to use the ↵Matthew Somerville2011-06-29-0/+1
| | | | | | | | Strategy/Protocol features.
* | Merge branch 'master' into new_statusesStruan Donald2011-06-21-14/+0
|\|
| * Centralise UK location check to catch edge cases.Matthew Somerville2011-06-17-14/+0
| |
* | stop using hard coded names for fixed/visible states ( work in progress )Struan Donald2011-06-16-1/+1
|/
* Move country to cobrand rather than config option.Matthew Somerville2011-06-14-1/+1
|
* Truncate co-ords to prevent exponentials appearing too.Matthew Somerville2011-06-13-0/+1
|
* Consolidate MaPit calls to call out to it less.Matthew Somerville2011-06-10-16/+6
|
* IF on an arrayref in a template returns true, so need to check size.Matthew Somerville2011-06-10-9/+7
|
* Move the tricky nearby DB call to its own Result/ResultSet, and move more ↵Matthew Somerville2011-06-09-7/+11
| | | | functions.
* Switch to using c->cobrand->problems to return all problems for a cobrand ↵Matthew Somerville2011-06-08-1/+1
| | | | (so on Barnet only return Barnet problems).
* Don't show any pins if no-JS no_pins parameter is supplied.Matthew Somerville2011-06-07-2/+5
|
* Get rid of some more fake_q etc.Matthew Somerville2011-06-06-2/+2
|
* Get header JS <script> out of code and into templates.Matthew Somerville2011-05-26-1/+0
|
* Tidy up map parmeters.Matthew Somerville2011-05-25-3/+3
|
* Get rid of pointless and hard-to-follow listrefs when referring to pins.Matthew Somerville2011-05-25-4/+7
|
* Remove old CGI Q from Map calls.Matthew Somerville2011-05-25-1/+1
|
* Template original Tilma map and some more text, updates on questionnaire ↵Matthew Somerville2011-05-25-2/+2
| | | | page, bring in click pin fix from pre-london branch, other map types will be broken.
* Move links under map to template.Matthew Somerville2011-05-24-34/+0
|
* Move some of map_start to templates.Matthew Somerville2011-05-20-1/+1
|
* Remove unnecessary display_map_end function.Matthew Somerville2011-05-20-1/+0
|
* Allow us to get councils or councils and wards and control if we remove ↵Struan Donald2011-05-06-1/+3
| | | | redundant councils
* use location finding from lcoation controllerStruan Donald2011-05-06-81/+2
|