38 Commits (f3ba492e050368b0434972bc3b8795f9b18a2e0c)

Author SHA1 Message Date
Julian Simioni ef78b2e0fd Filter source and layer by new fields 9 years ago
Peter Johnson 49d37eafed one config per query 9 years ago
Stephen Hess 0f6d08c0ec set boundary.circle.radius to default if caller did not supply it 9 years ago
Stephen Hess e90f70ce3d added sanitizer that verifies that all parameters are single scalar values 9 years ago
Peter Johnson 82ab899ecc progress commit 9 years ago
Julian Simioni d6abe09447 Use flat clean structure in /reverse 9 years ago
Julian Simioni e5ed04858b Test individual clean attribute intead of using deepEquals 9 years ago
Diana Shkolnikov f1fdc2bc26 Remove categories from response json 9 years ago
Peter Johnson 7c46aed4a7 expose error messages in geojson 9 years ago
Stephen Hess ba22912507 implemented Diana's suggestions to use check-types and delete key rather than set to undefined 9 years ago
Stephen Hess 13635a2c16 added boundary.country to search and reverse queries (with test fixtures) 9 years ago
Peter Johnson a1efb0c6d0 lodash-ify some array functions; remove 'yes' and 'y' from thruthy 9 years ago
Peter Johnson e726636c3d merge with master 9 years ago
Diana Shkolnikov c069933d5b Refactored layers and sources into a common targets module 9 years ago
Diana Shkolnikov feb1b0a6cd Update /reverse endpoint params and query as per API spec 9 years ago
Julian Simioni 96c58e8658 Rename /reverse lat/lon to point.lat/lon 9 years ago
Julian Simioni 040871cbe4 Whitespace 9 years ago
Julian Simioni d9ede52e1b Remove extra input paremter from reverse unit tests 9 years ago
Julian Simioni 2ebc935295 Rename query/indidces to query/types 9 years ago
Julian Simioni 6f92189519 Remove default_layers_set flag! 9 years ago
Julian Simioni 82d3a6603c Store sanitised types from layers parameter 9 years ago
Julian Simioni 24349a3839 Rename query/indidces to query/types 9 years ago
Julian Simioni 3ff1752434 Remove default_layers_set flag! 9 years ago
Julian Simioni 4037c49c4b Store sanitised types from layers parameter 9 years ago
Julian Simioni b547111d52 Remove latitude restrictions 9 years ago
Severyn Kozak 762ef85f5c Fix longitude-sanitization tests. 9 years ago
Harish Krishna 96a21570be fixing layers related bug - adding a default_layers_set flag to clean obj. 9 years ago
Diana Shkolnikov 63ed198320 Details param not working as expected 10 years ago
Diana Shkolnikov 0b44ba68c3 forgot to add test to commit 10 years ago
Diana Shkolnikov 45ba29cc54 Add categories param to /reverse 10 years ago
Harish Krishna 7667a898dd param layers should be called layers consistently across the API 10 years ago
Harish Krishna af45b4743c oh so many more tests! 10 years ago
Harish Krishna c99c5f712a adding a parameter called details (defaults to false for all endpoint except reverse) + fixing tests 10 years ago
Harish Krishna 9502ab8854 fixing failing tests 10 years ago
Harish Krishna ec2507f155 tests: reverse sanitizers (latlon is required, size defaults to 1, supports layers) 10 years ago
Harish Krishna 5f30559680 testing inputs with comma 10 years ago
Harish Krishna 650e88d79f making geo bias optional - first pass with all tests passing 10 years ago
Harish Krishna a67f640acb adding address type to layers by default 10 years ago
Peter Johnson 9d10f0fa49 add osm address type 10 years ago
Peter Johnson 293465b90c add address alias and openaddresses type. change default layers to 'poi,admin'. add comments. update tests 10 years ago
Harish Krishna 3973039f19 min/max lat/lon to form bbox from the input params 10 years ago
Harish Krishna 8a7b41edc6 test bbox sanitization 10 years ago
Harish Krishna 69a13e9105 fixing all the js lint related issues (lintified) 10 years ago
Harish Krishna ed5a1923d3 grouping test cases when appropriate 10 years ago
Harish Krishna 018ee3b945 tests - adding get sanitizer tests, renaming sanitiser to suggest because that is what it is really. 10 years ago
Harish Krishna 6b29c5bbfe adding 'aliases' - 'poi' & 'admin' for the layers param. 10 years ago
Peter Johnson 03a60831b4 fix lat error 10 years ago
Harish Krishna 32275aca56 split sanitizers into reusable pieces. renaming sanitise to suggest. using suggest sanitizer for search. adding reverse sanitizer. updating tests.. 10 years ago