180 Commits (5cc432ae50d4b3e57438f77b5ecf8c7de067eaa3)

Author SHA1 Message Date
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 18033535c1 delete deprecated 9 years ago
Peter Johnson e726636c3d merge with master 9 years ago
Peter Johnson 10242a8682 rename unclean->raw 9 years ago
Peter Johnson e532c2a88a improved error checking 9 years ago
Peter Johnson 052904e2e5 documentation typo 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 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 728fa8ac46 refactored _details sanitizer 9 years ago
Stephen Hess d2dc26f69f whitespace 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 0d23792591 Split geo sanitiser into geo_reverse and geo_search 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 ade4ce8b17 Add types middleware 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 7a6ac8541b Separate concerns of address parser 9 years ago
Julian Simioni 9b94a0e4ef Fix inconsistently named imported module 9 years ago
Julian Simioni 82d3a6603c Store sanitised types from layers parameter 9 years ago
Julian Simioni e71fb7cfd4 Whitespace 9 years ago
Julian Simioni 6f0ad678eb Add types middleware 9 years ago
Julian Simioni 3479325fa8 Add source parameter sanitiser 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 b9152dbe29 Separate concerns of address parser 9 years ago
Julian Simioni 4704583178 Fix inconsistently named imported module 9 years ago
Julian Simioni 4037c49c4b Store sanitised types from layers parameter 9 years ago
Julian Simioni fb0cf514e9 Whitespace 9 years ago
Diana Shkolnikov db0e063d8c Refactor controllers to be simple midddleware 9 years ago
Julian Simioni b547111d52 Remove latitude restrictions 9 years ago
Julian Simioni 17ba5da6d5 Replace array iteration boilerplate with .map 9 years ago
Julian Simioni b68bae2555 Remove latitude limits 9 years ago
Severyn Kozak 78bea9d814 sanitiser/_geo.js: don't pass base to parseFloat(). 9 years ago
Severyn Kozak 8868039835 Verify that bbox longitude is not NaN. 9 years ago
Severyn Kozak d000868800 Remove checks for longitude validity. 9 years ago
Julian Simioni 2fce64f75a Move files 9 years ago
Julian Simioni 4e74e9b681 Whitespace 9 years ago
Harish Krishna 495c3251a4 moving all query parsing logic into its own helper. Tests to come 9 years ago
Harish Krishna a8c090252a if the query has a number - search addresses 9 years ago