53 Commits (6ab44e0aa21a544e3a091a2b42668aea1f3e3ccc)

Author SHA1 Message Date
Diana Shkolnikov af8044ef29 Fix all unit tests 9 years ago
Julian Simioni ef78b2e0fd Filter source and layer by new fields 9 years ago
Julian Simioni 59b70f7c7e Rename helper/query_parser to helper/text_parser 9 years ago
Julian Simioni 06b44e5355 Disallow specifying both focus.point and focus.viewport 9 years ago
Julian Simioni 9dcc296a70 Add focus.viewport rect sanitizer to search 9 years ago
Julian Simioni 36925ca874 Remove bbox sanitizer functionality tests from search sanitizer tests 9 years ago
Julian Simioni db8f98a51f Remove completed @todo 9 years ago
Julian Simioni 415029e02b Use groups sanitiser in sanitize_rect and sanitize_point 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 97044f655b Flatten structure of clean for /search focus.point.lat|lon 9 years ago
Julian Simioni 1bfa2fde40 Remove empty test of invalid lats 9 years ago
Julian Simioni a5ba251afe Remove brittle test fixture from search sanitiser 9 years ago
Julian Simioni 66e1cab007 Whitespace 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 d07a501682 requirements updates 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
Peter Johnson bf42290c7c refactor sanitizers: first pass 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
Stephen Hess a2b1579b3e incorporated _private sanitizer into search endpoint 9 years ago
Stephen Hess e52c9e4ab9 moved details tests out to separate file 9 years ago
Julian Simioni 3176a61596 Rename /search lat/lon to focus.point.lat/lon 9 years ago
Julian Simioni 6c1cfbb4ad Compare latitude values only, instead of full sanitiser output 9 years ago
Julian Simioni 5d69c8016b Remove lat/lon params from tests that don't use it 9 years ago
Julian Simioni fd3b12cfa9 Remove all references to non-existent zoom parameter 9 years ago
Julian Simioni 040871cbe4 Whitespace 9 years ago
Peter Johnson 22322eaa32 change param:input to param:text 9 years ago
Harish Krishna 86424b8bbe Rename `/search?input`, replacing it with '/search?text' parameter instead 9 years ago
Julian Simioni 6f92189519 Remove default_layers_set flag! 9 years ago
Julian Simioni 7a6ac8541b Separate concerns of address parser 9 years ago
Julian Simioni bc8eabe4e6 Remove loops and many global checks from sanitiser tests 9 years ago
Julian Simioni 82d3a6603c Store sanitised types from layers parameter 9 years ago
Julian Simioni 3ff1752434 Remove default_layers_set flag! 9 years ago
Julian Simioni b9152dbe29 Separate concerns of address parser 9 years ago
Julian Simioni d35544cdf4 Remove loops and many global checks from sanitiser tests 9 years ago
Julian Simioni 4037c49c4b Store sanitised types from layers parameter 9 years ago
Julian Simioni b547111d52 Remove latitude restrictions 9 years ago
Julian Simioni 396f27dcba Mark previously invalid lat/lon test values as valid 9 years ago
Severyn Kozak 9b77b4434f Add more test-cases for invalid bbox values. 9 years ago
Severyn Kozak 762ef85f5c Fix longitude-sanitization tests. 9 years ago
Harish Krishna e00c5aa2ad Testing search sanitisers 9 years ago
Harish Krishna 95c0e7461d TESTS! 9 years ago
Harish Krishna 050c11ec0b just using a forked version of addressIt that focuses on US addresses (for now), modifying search queries and ignoring tests for now 10 years ago
Diana Shkolnikov 63ed198320 Details param not working as expected 10 years ago
Diana Shkolnikov 6ae1a4f7df fix comments and tests 10 years ago
Diana Shkolnikov 8ac17d0cb2 Fix bbox parsing 10 years ago
Harish Krishna 7667a898dd param layers should be called layers consistently across the API 10 years ago