381 Commits (ff4562edb6a80131a702b803b9ee5d7b98886eae)

Author SHA1 Message Date
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
Harish Krishna 86424b8bbe Rename `/search?input`, replacing it with '/search?text' parameter instead 9 years ago
Julian Simioni d9ede52e1b Remove extra input paremter from reverse unit tests 9 years ago
Julian Simioni dc6ed3d6a9 Remove unused suggest endpoint unit tests 9 years ago
Julian Simioni 103a52cff5 Calculate intersection of types requested by source and layers params 9 years ago
Julian Simioni b4e7793426 Fix reference to geoname 9 years ago
Julian Simioni 3383fa0321 Add source parameter sanitiser 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 258fa4390e Move cmd.type setting logic to types helper 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 1fae622c39 Remove layer configuration based on address parsing 9 years ago
Julian Simioni 82d3a6603c Store sanitised types from layers parameter 9 years ago
Julian Simioni e71fb7cfd4 Whitespace 9 years ago