Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | [UK] Deal with 2019 local government changes. | Matthew Somerville | 2019-04-04 | -1/+5 |
| | ||||
* | Internal JSON endpoint to get reports near a point | Matthew Somerville | 2019-02-25 | -0/+6 |
| | | | | Unused right now, but will be soon, for the duplicate suggestion UI. | |||
* | Improve use of OL ArgParser/missing zoom in URL. | Matthew Somerville | 2019-02-04 | -22/+0 |
| | | | | | | Remove the server-side zoom-in-url fix, instead use an ArgParser subclass to default to the provided data if nothing in URL. Then we can switch to using short lat/lon in geocoder URLs. | |||
* | add private only report filter | Struan Donald | 2019-01-04 | -0/+26 |
| | ||||
* | add report_mark_private permission | Struan Donald | 2018-11-12 | -3/+48 |
| | | | | | | | | Allows user's to see the inspector panel to mark reports as Private, and also to view those non-public reports. Useful for call centre staff who want to record private reports but don't need to other permissions. Fixes mysociety/fixmystreet-commercial#1213 | |||
* | allow map zoom constants to be overridden | Struan Donald | 2018-10-15 | -0/+31 |
| | | | | | call ZOOM_LEVELS and MIN_ZOOM_LEVELS using self so that we can override them in a subclass. | |||
* | [fixmystreet.com] Default to open reports only. | Matthew Somerville | 2018-07-03 | -1/+1 |
| | ||||
* | Only display reports from last 6 months on around. | Struan Donald | 2018-07-03 | -2/+72 |
| | | | | | | | Add a checkbox to show older reports, plus if we get to the end of the new reports then instead of a Next button show a "show older" button that will reload the current page but with older reports also loaded. Wire it all up into the pushState code as well. | |||
* | Show all fixed issues when staff uses map filter. | Matthew Somerville | 2018-07-02 | -5/+5 |
| | ||||
* | Allow cobrands to give extra parameters for pins. | Steven Day | 2018-05-02 | -1/+9 |
| | | | | | | | So that you can build functionality to add extra limitations on to the map pins displayed. Useful for Collideoscope initially to filter out (or in) reports from the Department of Transport's Stats19 Data. | |||
* | Fix bug specifying category in URL on /around. | Matthew Somerville | 2018-01-04 | -5/+16 |
| | | | | The list of existing categories wasn't being checked correctly. | |||
* | Bypass /around from postcode form if required. | Dave Arter | 2017-12-13 | -0/+16 |
| | | | | | | | | | | Cobrands can provide a `skip_around_page` method which means the user will be taken from the front page form directly to /report/new with a pin in the map at the location entered. This also preserves the category parameter, if specified on the front page form. Fixes #1730. | |||
* | Have /around ajax use same format as others. | Matthew Somerville | 2017-11-02 | -5/+5 |
| | | | | | Both /reports and /my work by using the same URL with ajax=1. We should use the same on /around for consistency. | |||
* | Return page with "No results" if no ref found. | Matthew Somerville | 2017-10-05 | -8/+15 |
| | | | | | | This lookup is often performed by inspectors with appcache switched on, which means they were getting the intercepted Glitch page rather than a 404; give them a no results page instead. | |||
* | Auto-add strict/warnings/Test::More with TestMech. | Matthew Somerville | 2017-05-31 | -4/+0 |
| | ||||
* | Make sure all MapIt tests can run offline. | Matthew Somerville | 2017-03-23 | -8/+8 |
| | ||||
* | Always include MapIt mock handler in all tests. | Matthew Somerville | 2017-03-23 | -4/+0 |
| | ||||
* | Fix broken test due to missing config override. | Matthew Somerville | 2016-05-27 | -2/+7 |
| | ||||
* | Move test mocks to their own directory. | Matthew Somerville | 2016-01-27 | -2/+2 |
| | ||||
* | Mock MapIt postcode call to fix broken tests. | Matthew Somerville | 2015-09-15 | -3/+7 |
| | | | | SW1A 1AA has moved, who'd have thought. | |||
* | Rename map filtering GET param, remove unnecessary query | Steven Day | 2015-06-29 | -2/+2 |
| | ||||
* | Add some tests for the category & status filtering on /ajax | Steven Day | 2015-06-29 | -0/+39 |
| | ||||
* | By default, use area-based alerts. | Matthew Somerville | 2014-12-12 | -2/+6 |
| | | | | | | | | | The body-based alert only works if the body ID matches the MapIt ID. This fixes #959. Further work needs to be done to enable proper body-based alerts that work properly in all circumstances. Consequently, factor out fixed body IDs from many tests. Also fix a couple of tests not overriding geocoder correctly. | |||
* | Fix test of postcode that has moved ever so slightly. | Matthew Somerville | 2014-05-30 | -2/+2 |
| | ||||
* | Fix test suite to run regardless of config setup. | Matthew Somerville | 2013-10-24 | -5/+19 |
| | ||||
* | Fix tests. | Matthew Somerville | 2013-02-20 | -1/+1 |
| | ||||
* | Rename council column to bodies_str, and all the related code. | Matthew Somerville | 2012-12-15 | -1/+1 |
| | ||||
* | Remove unused function, add gridref test. | Matthew Somerville | 2012-11-12 | -0/+5 |
| | ||||
* | make around test for non public reports work, and do not display non | Struan Donald | 2012-09-03 | -0/+1 |
| | | | | public reports on around page | |||
* | tests for non public reports on around page | Struan Donald | 2012-09-03 | -0/+25 |
| | ||||
* | Have a whole fake mapit (for #182) that works if MAPIT_URL is set accordingly. | Matthew Somerville | 2012-07-13 | -1/+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). | |||
* | Fix URI overriding now it's being used. | Matthew Somerville | 2011-07-01 | -1/+1 |
| | ||||
* | Skip non-UK results in Bing geocoder, remove some geocode tests. | Matthew Somerville | 2011-06-29 | -25/+0 |
| | ||||
* | Fix tests. | Matthew Somerville | 2011-06-13 | -1/+1 |
| | ||||
* | Merge branch 'migrate_to_catalyst' of ↵ | Struan Donald | 2011-05-24 | -6/+6 |
|\ | | | | | | | ssh://git.mysociety.org/data/git/public/fixmystreet into migrate_to_catalyst | |||
| * | Move lat/lon to templates and use shortened forms. | Matthew Somerville | 2011-05-24 | -6/+6 |
| | | ||||
* | | google maps don't seem to pay as much attention to region hinting as they ↵ | Struan Donald | 2011-05-24 | -5/+8 |
|/ | | | | | once did so make sure we add UK on to the end. also update tests to take into account changed results because of this. | |||
* | Moved some of the location smarts from '/report/new' to '/around' | Edmund von der Burg | 2011-04-13 | -1/+73 |
| | ||||
* | Create Around controller and implement the easy bits | Edmund von der Burg | 2011-04-12 | -0/+31 |