Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add state/category filters to base cobrand. | Matthew Somerville | 2015-10-07 | -5/+0 |
| | | | | | | | This removes the on map/nearby tabs, replacing them with one combined list. The styling is moved to the base, so that it is used on mobile too. A closed option is added to the existing dropdown, and the base/fixmystreet my templates are also combined. Fixes #1141. | |||
* | Combine some base/fixmystreet templates. | Matthew Somerville | 2015-10-07 | -1/+1 |
| | | | | | | | | The aim is to combine base and fixmystreet as much as possible, providing enough template/styling hooks for any cobrand. This commit removes the need for separate base/fixmystreet templates for the front page, almost all of the /around templates, the open graph headers, and the low level item list templates. | |||
* | Factor out all uses of param()/params. | Matthew Somerville | 2015-07-07 | -17/+16 |
| | | | | | | | Use a central get_param and get_param_list functions dependent on whether we're after a scalar or a list (almost always a scalar). This prevents any possibility of confusion where param() could return a list, or params->{} an arrayref. | |||
* | Refactor duplicated filter_status code into a single function | Steven Day | 2015-06-29 | -14/+2 |
| | ||||
* | Rename map filtering GET param, remove unnecessary query | Steven Day | 2015-06-29 | -12/+5 |
| | ||||
* | Simplify default status filter for map pins | Steven Day | 2015-06-29 | -3/+3 |
| | ||||
* | Populate category filter with all available categories | Steven Day | 2015-06-29 | -9/+23 |
| | ||||
* | Make load_and_group_problems respect status/category query params | Dave Arter | 2015-06-29 | -1/+1 |
| | | | | | | | This allows the /reports page to be filtered using the status/category dropdowns. This is implemented in a manner that means the t/c params will override status/category. | |||
* | Use a consistent method of filtering by category on /around and /ajax | Dave Arter | 2015-06-29 | -0/+13 |
| | ||||
* | Allow cobrands to override the default 'state' filter for map pins | Dave Arter | 2015-06-29 | -1/+2 |
| | ||||
* | Ignore invalid categories in /around query string | Dave Arter | 2015-06-29 | -4/+35 |
| | ||||
* | Stash category from query params for templates to use | Steven Day | 2015-06-29 | -0/+1 |
| | ||||
* | Filter initial pins by category on /around | Dave Arter | 2015-06-29 | -1/+4 |
| | ||||
* | Make sure all co-ordinates are stringified. | Matthew Somerville | 2015-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 Somerville | 2014-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 Somerville | 2014-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 locations | Struan Donald | 2013-03-21 | -2/+3 |
| | ||||
* | Fix tests. | Matthew Somerville | 2013-02-20 | -1/+1 |
| | ||||
* | Redirect to front page if nothing provided. | Matthew Somerville | 2013-02-20 | -3/+4 |
| | ||||
* | Make sure title not shown on pins on unconfirmed Zurich reports. | Matthew Somerville | 2013-01-24 | -1/+1 |
| | ||||
* | remove redundant code accidentally left in :( | Struan Donald | 2013-01-17 | -14/+0 |
| | ||||
* | add an ajax location lookup method for doing string -> lat,long lookup | Struan Donald | 2013-01-17 | -0/+46 |
| | | | | factor out shared code with autocomplete method to save repetition | |||
* | Autocomplete of Zurich street names (2beb264 plus tweaks). | Matthew Somerville | 2013-01-07 | -0/+27 |
| | ||||
* | Update reporting to use bodies. | Matthew Somerville | 2012-12-15 | -6/+6 |
| | ||||
* | Merge remote branch 'origin/master' into fmb-read-only | Dave Whiteland | 2012-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 Somerville | 2012-05-22 | -1/+1 |
| | | ||||
| * | Fix CM8 Bromley pin colours. | Matthew Somerville | 2012-05-01 | -1/+2 |
| | | ||||
* | | Allow display of areas on /around. | Matthew Somerville | 2012-05-08 | -0/+1 |
| | | ||||
* | | Area type for Barangay, and hack for working out/in boundaries. Error ↵ | Matthew Somerville | 2012-04-26 | -1/+1 |
|/ | | | | handling needs looking at. | |||
* | All pins yellow, for #250. | Matthew Somerville | 2012-03-01 | -1/+1 |
| | ||||
* | Factor out fragment rendering, as additional template paths needs to be passed. | Matthew Somerville | 2012-02-23 | -6/+5 |
| | ||||
* | Remove some things from EHA website. | Matthew Somerville | 2011-10-28 | -1/+1 |
| | ||||
* | Change JSON response header for browsing map, so is not double-encoded. Add ↵ | Matthew Somerville | 2011-09-12 | -1/+1 |
| | | | | tests for it. | |||
* | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵ | Struan Donald | 2011-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 Somerville | 2011-08-17 | -1/+1 |
| | | ||||
| * | Use Gaze distance if already fetched. | Matthew Somerville | 2011-08-11 | -3/+3 |
| | | ||||
| * | Fix for bad requests to AJAX pin lookup. | Matthew Somerville | 2011-08-05 | -13/+13 |
| | | ||||
* | | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵ | Struan Donald | 2011-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 Somerville | 2011-07-01 | -0/+5 |
| | | | | | | | | don't set map parameter in JS. | |||
* | | Merge branch 'master' of ssh://git.mysociety.org/data/git/public/fixmystreet ↵ | Struan Donald | 2011-06-30 | -15/+8 |
|\| | | | | | | | | | | | | | into new_statuses Conflicts: perllib/FixMyStreet/App/Controller/Reports.pm | |||
| * | Strategy/Format for updating pins as map is panned. | Matthew Somerville | 2011-06-30 | -15/+7 |
| | | ||||
| * | Move to Vector layer rather than Markers, to be able to use the ↵ | Matthew Somerville | 2011-06-29 | -0/+1 |
| | | | | | | | | Strategy/Protocol features. | |||
* | | Merge branch 'master' into new_statuses | Struan Donald | 2011-06-21 | -14/+0 |
|\| | ||||
| * | Centralise UK location check to catch edge cases. | Matthew Somerville | 2011-06-17 | -14/+0 |
| | | ||||
* | | stop using hard coded names for fixed/visible states ( work in progress ) | Struan Donald | 2011-06-16 | -1/+1 |
|/ | ||||
* | Move country to cobrand rather than config option. | Matthew Somerville | 2011-06-14 | -1/+1 |
| | ||||
* | Truncate co-ords to prevent exponentials appearing too. | Matthew Somerville | 2011-06-13 | -0/+1 |
| | ||||
* | Consolidate MaPit calls to call out to it less. | Matthew Somerville | 2011-06-10 | -16/+6 |
| | ||||
* | IF on an arrayref in a template returns true, so need to check size. | Matthew Somerville | 2011-06-10 | -9/+7 |
| | ||||
* | Move the tricky nearby DB call to its own Result/ResultSet, and move more ↵ | Matthew Somerville | 2011-06-09 | -7/+11 |
| | | | | functions. |