Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Improve use of OL ArgParser/missing zoom in URL. | Matthew Somerville | 2019-02-04 | -3/+3 |
| | | | | | | 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. | |||
* | Fix test calling external service. | Matthew Somerville | 2017-09-30 | -1/+5 |
| | | | | | | This test would pass offline (as query would fail without error), and online was passing because Nominatim was presumably returning no results before today? | |||
* | Run each test file in a transaction. | Matthew Somerville | 2017-06-20 | -2/+0 |
| | | | | This means that the tests can be run in parallel. | |||
* | [UK] Remove requirement for fixed body IDs. | Matthew Somerville | 2017-06-20 | -1/+1 |
| | | | | | | | | | | | | Historically in UK cobrands, bodies have had IDs the same as the MapIt area ID they cover. This can be confusing (if you are setting up a dev environment, say) and should not be necessary. This commit removes the requirement entirely, by switching any ID checks to either the name of the body, or the actual area it covers. One note: the body name in the test has to match so that we do not get two bodies both covering 2237 created. This will not be necessary when the tests are compartmentalized in the next commit. | |||
* | 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 | -7/+2 |
| | ||||
* | Pre-filter map pages if user has categories assigned | Dave Arter | 2016-10-31 | -0/+17 |
| | | | | | This pre-filters the 'all reports' link in the main nav and the /around page reached via the front page postcode form | |||
* | By default, use area-based alerts. | Matthew Somerville | 2014-12-12 | -3/+4 |
| | | | | | | | | | 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. | |||
* | Couple of tests missing MapIt override. | Matthew Somerville | 2014-10-08 | -1/+5 |
| | | | | Looks like Travis doesn't like connections back to itself. | |||
* | Fix test suite to run regardless of config setup. | Matthew Somerville | 2013-10-24 | -1/+5 |
| | ||||
* | Rename council column to bodies_str, and all the related code. | Matthew Somerville | 2012-12-15 | -2/+2 |
| | ||||
* | Can't use front page stats/list due to memcache (disable for tests?); also ↵ | Matthew Somerville | 2012-09-07 | -5/+8 |
| | | | | might be existing reports. | |||
* | check non public reports are included in front page stats | Struan Donald | 2012-09-04 | -0/+2 |
| | ||||
* | move add and delete problem utility functions to test mech | Struan Donald | 2012-09-03 | -0/+14 |
| | | | | add in non public problem tests for front page | |||
* | Fix URI overriding now it's being used. | Matthew Somerville | 2011-07-01 | -3/+3 |
| | ||||
* | Fix tests. | Matthew Somerville | 2011-06-13 | -2/+2 |
| | ||||
* | Handle (e,n) requests to '/' | Edmund von der Burg | 2011-04-15 | -5/+24 |
| | ||||
* | Create Around controller and implement the easy bits | Edmund von der Burg | 2011-04-12 | -4/+3 |
| | ||||
* | Redirect locations queries from '/' to '/around' | Edmund von der Burg | 2011-04-12 | -4/+5 |
| | ||||
* | Start to move index.cgi into catalyst | Edmund von der Burg | 2011-04-12 | -0/+39 |