9 Commits (11612cb77589a1cb8f5e012716cc25aabe70ac62)

Author SHA1 Message Date
Stephen Hess 30b7290990 added stub request_language sanitizer that just allows lang param 7 years ago
Lily He cafb7d9277 created new debug helper class and debug sanitizer 7 years ago
Lily He 1f527be3e3 call runAllChecks for search, search_fallback, autocomplete & structured sanitizing 7 years ago
Lily He 40ca17b886 passed down peliasConfig.api schema to sanitizers 7 years ago
Lily He 2e2ae9b005 added location_bias sanitizer to autocomplete, search, and structured_geocoding 7 years ago
Stephen Hess 9e569bae17 renamed mt/st/ft sanitizer to something more generic 8 years ago
Stephen Hess 35ab050341 transliterate mt/ft/saint/sainte into mount/fort/st/ste 8 years ago
Peter Johnson f087a5badc
improvements for handling non-scalar request params. fixes #744 8 years ago
Stephen Hess be2a336038 updated naming from component to structured 8 years ago
Stephen Hess b18cb234b2 added sanitizer to convert country iso2->iso3 8 years ago
Stephen Hess 08f4aa4b95 renamed files to be more indicative of what the function is 8 years ago
Stephen Hess d03a8c4586 added support for component geocoding 8 years ago
Stephen Hess 3763d0b503 renamed `sanitise` -> `sanitize` 8 years ago
Stephen Hess 85dab16869 refactored search sanitiser tests 8 years ago
Diana Shkolnikov 818711f509 Add categories sanitizer to search 8 years ago
Peter Johnson 7f18561595 remove focus.viewport API 8 years ago
Peter Johnson 5b8a9a31d2 wrap coordinates at poles 8 years ago
Stephen Hess bd3b8e7bbe switched to pelias-text-analyzer package since that responsibility has been moved to there 9 years ago
Peter Johnson 51279ce2cf quattroshapes deprecation warning and wof fallback 9 years ago
Julian Simioni e97d72d7b6 Send warning when sources=quattroshapes 9 years ago
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