43 Commits (d6abe09447234b8607add24bfc06cb96032fd6f4)

Author SHA1 Message Date
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
Harish Krishna 71499cd201 flipping default behavior - by default its details=true 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 5b34767e8e tests for sanitizer/search (tests optional geo basically in addition to the usual stuff - suggest/search sanitizer tests should eventually be merged) 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