355 Commits (cc2cd01e1e3fbfe8745d89c2bb53f86651448bb1)

Author SHA1 Message Date
Julian Simioni 97044f655b Flatten structure of clean for /search focus.point.lat|lon 9 years ago
Julian Simioni 4260442f59 Change boundary.circle params to flat string structure 9 years ago
Julian Simioni e5ed04858b Test individual clean attribute intead of using deepEquals 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
Peter Johnson bfb63ec912 update ciao tests, update ciao itself 9 years ago
Peter Johnson 719b32b304 fix ciao tests 9 years ago
Stephen Hess d270ba71cb added negative tests for req w/o results and req.results w/o data 9 years ago
Stephen Hess 5849477929 adjusted 'exact' confidence to be within 1 meter 9 years ago
Stephen Hess 0b5172a452 initial stab at confidence score calculation based on distance from point.lat and point.lon 9 years ago
Diana Shkolnikov f1fdc2bc26 Remove categories from response json 9 years ago
Diana Shkolnikov 0348f36671 Remove warning when no size param specified 9 years ago
Peter Johnson 7c46aed4a7 expose error messages in geojson 9 years ago
Peter Johnson 6ab81ffca5 set response data/meta on instead of 9 years ago
Stephen Hess 6c85e5892e converted warnings to errors 9 years ago
Julian Simioni 4e74c4db86 Add autocomplete sanitiser 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
Julian Simioni 509a6a7401 Remove geocoding block from properties in GeoJSON responses 9 years ago
Stephen Hess a4c43ee482 added fixture for boundary.country in query building 9 years ago
Stephen Hess 78c335d072 modified sanitizer to read from flattened parameter structure 9 years ago
Stephen Hess d07a501682 requirements updates 9 years ago
Stephen Hess 66bf2bb46b added sanitizer for boundary country parameter 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 67e034f5f2 Rename `source` to `sources` 9 years ago
Diana Shkolnikov dd78f324ee Compute distance for each result of reverse query 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 c19d56697e add _private sanitizer 9 years ago
Stephen Hess 55e31af238 extract truthy sanitizer to own file 9 years ago
Stephen Hess 2f5a5b1972 refactored _details tests to only _details sanitizer 9 years ago
Stephen Hess e52c9e4ab9 moved details tests out to separate file 9 years ago
Julian Simioni 96c58e8658 Rename /reverse lat/lon to point.lat/lon 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 c0f20aabd3 refactor: clean up sorting conditions 9 years ago
Peter Johnson 36185197aa move query defaults to API repo 9 years ago
Peter Johnson d568c031a3 move stringify logic to tests, code clean up 9 years ago
Peter Johnson fa209c9b50 add autocomplete route, further query clean up 9 years ago
Peter Johnson 2f8169ac10 remove unused sort conditions 9 years ago
Peter Johnson 22322eaa32 change param:input to param:text 9 years ago
Peter Johnson 1f13bafab0 refactor reverse & tests 9 years ago
Julian Simioni 139cb22127 Remove layers limiting on queries with few tokens 9 years ago