6 Commits (5fffcee4ba9afd560c0b35d54b1548fd467a06c2)

Author SHA1 Message Date
Lily He 07c7e7d483 test reverse, nearby, place sanitizer wrappers w/ proxyquire 7 years ago
Lily He 670c673419 call runAllChecks for nearby, reverse, and place sanitizing 7 years ago
Lily He 57b133ba42 check and set default for undefined boundary circle radius in reverse 7 years ago
Stephen Hess 67360a4d0b added geonames_deprecation to reverse sanitizing 8 years ago
Peter Johnson f087a5badc
improvements for handling non-scalar request params. fixes #744 8 years ago
Stephen Hess 3763d0b503 renamed `sanitise` -> `sanitize` 8 years ago
Diana Shkolnikov c38b67aeb4 Add nearby sanitizer and revert reverse to not have categories 8 years ago
Diana Shkolnikov 68c6b15e0f Add categories sanitizer to reverse 8 years ago
Peter Johnson 5b8a9a31d2 wrap coordinates at poles 8 years ago
Peter Johnson 51279ce2cf quattroshapes deprecation warning and wof fallback 9 years ago
Julian Simioni e97d72d7b6 Send warning when sources=quattroshapes 9 years ago
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