70 Commits (79883594b8611391fba187997d9e2069c38860a6)

Author SHA1 Message Date
Julian Simioni 616dd606a7 Add sources and layers sanitiser 9 years ago
Julian Simioni ef78b2e0fd Filter source and layer by new fields 9 years ago
Stephen Hess 3e8d1bfd9b broke country-specific label tests out to own file for easier testing 9 years ago
Diana Shkolnikov 54187dde67 Add dedupe middleware 9 years ago
Peter Johnson 49d37eafed one config per query 9 years ago
Peter Johnson 4e43310288 german street/number naming convention 9 years ago
Julian Simioni b188a2046c Fix mismatching name of types preference parameter 9 years ago
Julian Simioni 59b70f7c7e Rename helper/query_parser to helper/text_parser 9 years ago
Julian Simioni aa08fb9772 Add optional and required group parameter sanitizers 9 years ago
Julian Simioni f3ba5411cd Sort test file names 9 years ago
Peter Johnson 3a54a8b32f fix label issues 9 years ago
Peter Johnson 2b9c3d79aa rename outputGenerator -> labelGenerator 9 years ago
Diana Shkolnikov ce32802368 Hotfix for confidence exception 9 years ago
Julian Simioni 68c9661c70 Remove all mappings other than helper/type_mapping 9 years ago
Julian Simioni 4df0f98b14 Add type list, and raw mappings to/from source/layer and type 9 years ago
Stephen Hess 947797f41e added warning if any of boundary.circle.lat/lon/radius are supplied + tests 9 years ago
Stephen Hess e90f70ce3d added sanitizer that verifies that all parameters are single scalar values 9 years ago
Julian Simioni 03387722fb Move _ids sanitiser tests to separate file 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 0348f36671 Remove warning when no size param specified 9 years ago
Julian Simioni 4e74c4db86 Add autocomplete sanitiser 9 years ago
Stephen Hess 66bf2bb46b added sanitizer for boundary country parameter 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 c19d56697e add _private sanitizer 9 years ago
Stephen Hess 55e31af238 extract truthy sanitizer to own file 9 years ago
Stephen Hess e52c9e4ab9 moved details tests out to separate file 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 fa209c9b50 add autocomplete route, further query clean up 9 years ago
Peter Johnson 2f8169ac10 remove unused sort conditions 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 258fa4390e Move cmd.type setting logic to types helper 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 1573f3a3fa Move cmd.type setting logic to types helper 9 years ago
Diana Shkolnikov db0e063d8c Refactor controllers to be simple midddleware 9 years ago
Julian Simioni 167547a6c1 Rename doc endpoint to place 9 years ago
Julian Simioni 4e74e9b681 Whitespace 9 years ago
Diana Shkolnikov ab436d5dfb Search query builder not checking all available admin values 10 years ago
Harish Krishna 95c0e7461d TESTS! 10 years ago
Harish Krishna e5f783567f remove all things that involved suggester including query mixer 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 ec2507f155 tests: reverse sanitizers (latlon is required, size defaults to 1, supports layers) 10 years ago
Harish Krishna 6c802dfa1d testing sort part of the query 10 years ago
Harish Krishna 68aabd7647 tests 10 years ago
Harish Krishna fc7f6cb768 removing suggest_nearby, replacing suggest with suggest_multiple, commenting out a couple of tests for right now. 10 years ago