Stephen Hess
|
42097fafb2
|
treat undefined text-analyzer response as no house number available
|
7 years ago |
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
|
8 years ago |
Lily He
|
bf234f5539
|
flag_bool expects parameter opts.paramName
|
8 years ago |
Lily He
|
a5cf44bef4
|
clarify _text sanitizer test message
|
8 years ago |
Lily He
|
8e45af1e49
|
adapt defer_to_addressit to new sanitizer format
|
8 years ago |
Lily He
|
db56ce45c3
|
remove exporting sanitize for testing
|
8 years ago |
Lily He
|
9a88d5a28b
|
unmerge nearby sanitizers from reverse sanitizer_list
|
8 years ago |
Lily He
|
07c7e7d483
|
test reverse, nearby, place sanitizer wrappers w/ proxyquire
|
8 years ago |
Lily He
|
80a3a259ef
|
remove callback in sanitizeAll.runAllChecks for sync processing
|
8 years ago |
Lily He
|
a27ac0fc88
|
use strict for ecmascript 6 syntax, fix typos
|
8 years ago |
Lily He
|
b9de4b6788
|
additional test to verify runAllCheck works for sanitizeAll
|
8 years ago |
Lily He
|
279b70b7d7
|
typo: delete mentions of joi in sanitizers
|
8 years ago |
Lily He
|
670c673419
|
call runAllChecks for nearby, reverse, and place sanitizing
|
8 years ago |
Lily He
|
1f527be3e3
|
call runAllChecks for search, search_fallback, autocomplete & structured sanitizing
|
8 years ago |
Lily He
|
af906c05a8
|
sanitizeAll validates req.query parameters, export async runAllChecks function
|
8 years ago |
Lily He
|
a683e27a87
|
removed 'parsed_text' from list of expected params for _text
|
8 years ago |
Lily He
|
368c0aa4cb
|
added expected parameters list to _text_addressit
|
8 years ago |
Lily He
|
13a7b42de7
|
Standardize sanitizers to export setup function that returns sanitize and expected function
|
8 years ago |
Stephen Hess
|
2b70b41a01
|
move _text sanitizer
|
8 years ago |
Stephen Hess
|
85b831b161
|
removed iso2_to_iso3 and city_name_standardizer from wrapper
|
8 years ago |
Stephen Hess
|
5dc9737caa
|
removed text-analyzer call from _text sanitizer
|
8 years ago |
Stephen Hess
|
40ddc93bbf
|
added conditional fallback to addressit
|
8 years ago |
Stephen Hess
|
30cd30236a
|
don't call libpostal if sources=whosonfirst
|
8 years ago |
Stephen Hess
|
ac7f5c445c
|
moved libpostal lower in sanitizers to after sources
|
8 years ago |
Lily He
|
57b133ba42
|
check and set default for undefined boundary circle radius in reverse
|
8 years ago |
Lily He
|
5504240016
|
prevent overriding raw.focus.point.lat/lon
|
8 years ago |
Lily He
|
40ca17b886
|
passed down peliasConfig.api schema to sanitizers
|
8 years ago |
Lily He
|
2e2ae9b005
|
added location_bias sanitizer to autocomplete, search, and structured_geocoding
|
8 years ago |
Lily He
|
f67664c3e0
|
location bias feature - sets default focus.point
|
8 years ago |
Stephen Hess
|
d788d6a491
|
always set boundary.circle regardless of layers
|
8 years ago |
Stephen Hess
|
67360a4d0b
|
added geonames_deprecation to reverse sanitizing
|
8 years ago |
Stephen Hess
|
a247d7a1cd
|
limit /reverse boundary.circle.* for non-coarse
|
8 years ago |
Stephen Hess
|
234f9f9738
|
fixed bug where _geonames_warnings was throwing exception on undefined clean.parsed_text
refactored a bit for clarity
|
8 years ago |
Stephen Hess
|
8ebae9a2ae
|
added warnings/errors when sources includes geonames
|
8 years ago |
Diana Shkolnikov
|
fe38d2336d
|
feat: allow postalcode-only structured queries
|
8 years ago |
Diana Shkolnikov
|
a52691c61e
|
feat: search by postalcode
|
8 years ago |
Stephen Hess
|
f1e5edb4cf
|
added back logging statement for fallback queries
added unit tests to cover conditionals, simplified conditional
|
8 years ago |
Stephen Hess
|
992f2455d5
|
renamed `query` parameter to `venue`
|
8 years ago |
Stephen Hess
|
16fc3bee66
|
synthesize query value from parameter
|
8 years ago |
Stephen Hess
|
9e569bae17
|
renamed mt/st/ft sanitizer to something more generic
|
8 years ago |
Stephen Hess
|
8f6d820b43
|
streamlined standardizer
more accurate since it's smarter about where to replace periods
|
8 years ago |
Stephen Hess
|
35ab050341
|
transliterate mt/ft/saint/sainte into mount/fort/st/ste
respectively
|
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
|
75366f98c4
|
added text-analyzer call to parse supplied `address` field
|
8 years ago |
Stephen Hess
|
c1a618e4fb
|
standardize on non-US-influenced parameter names
switched from `city` and `state` to `locality` and `region`, respectively
|
8 years ago |
Stephen Hess
|
0c54f502af
|
added iso2->iso3 conversion to /search endpoint
|
8 years ago |
Stephen Hess
|
6f04f67d9b
|
consider postalcode-only input an error condition
|
8 years ago |
Stephen Hess
|
b18cb234b2
|
added sanitizer to convert country iso2->iso3
|
8 years ago |