Lily He
|
07c7e7d483
|
test reverse, nearby, place sanitizer wrappers w/ proxyquire
|
7 years ago |
Lily He
|
80a3a259ef
|
remove callback in sanitizeAll.runAllChecks for sync processing
|
7 years ago |
Lily He
|
a27ac0fc88
|
use strict for ecmascript 6 syntax, fix typos
|
7 years ago |
Lily He
|
b9de4b6788
|
additional test to verify runAllCheck works for sanitizeAll
|
7 years ago |
Lily He
|
279b70b7d7
|
typo: delete mentions of joi in sanitizers
|
7 years ago |
Lily He
|
670c673419
|
call runAllChecks for nearby, reverse, and place sanitizing
|
7 years ago |
Lily He
|
1f527be3e3
|
call runAllChecks for search, search_fallback, autocomplete & structured sanitizing
|
7 years ago |
Lily He
|
af906c05a8
|
sanitizeAll validates req.query parameters, export async runAllChecks function
|
7 years ago |
Lily He
|
a683e27a87
|
removed 'parsed_text' from list of expected params for _text
|
7 years ago |
Lily He
|
368c0aa4cb
|
added expected parameters list to _text_addressit
|
7 years ago |
Lily He
|
13a7b42de7
|
Standardize sanitizers to export setup function that returns sanitize and expected function
|
7 years ago |
Stephen Hess
|
447d0f74b9
|
don't serialize input:layers when passing to query
|
7 years ago |
Stephen Hess
|
321ba0d458
|
fixed test
|
7 years ago |
Stephen Hess
|
257ee8161f
|
removed unused predicate
|
7 years ago |
Stephen Hess
|
2b70b41a01
|
move _text sanitizer
|
7 years ago |
Stephen Hess
|
a39d760bb1
|
added libpostal controller test
|
7 years ago |
Stephen Hess
|
85b831b161
|
removed iso2_to_iso3 and city_name_standardizer from wrapper
|
7 years ago |
Stephen Hess
|
5dc9737caa
|
removed text-analyzer call from _text sanitizer
|
7 years ago |
Stephen Hess
|
5b9275d7fd
|
added libpostal controller
|
7 years ago |
Stephen Hess
|
b9e86dbaaa
|
add new predicates to test driver
|
7 years ago |
Stephen Hess
|
44896d7569
|
add predicate that checks for sources=['whosonfirst']
|
7 years ago |
Stephen Hess
|
59fb445e68
|
add predicate that detects non-admin layers parameter values
|
7 years ago |
Stephen Hess
|
ce4c23f4a5
|
add predicate that looks for a parameter in req.clean
|
7 years ago |
Stephen Hess
|
40ddc93bbf
|
added conditional fallback to addressit
|
7 years ago |
Stephen Hess
|
442c2b5c9b
|
add ability to skip filters in placeholder
|
7 years ago |
Stephen Hess
|
3257ea6b9b
|
fixed tests for model 4.9.0 changes
|
7 years ago |
Stephen Hess
|
1fef7ac41c
|
removed unreachable paths in query/search
|
7 years ago |
Stephen Hess
|
99a1868c47
|
removed population/popularity functions from search using ids
|
7 years ago |
Stephen Hess
|
1d5151dd49
|
updated meta.type to 'fallback'
|
7 years ago |
Stephen Hess
|
9ae838903a
|
converted to 'any' property for brevity
|
7 years ago |
Stephen Hess
|
30cd30236a
|
don't call libpostal if sources=whosonfirst
|
7 years ago |
Stephen Hess
|
ac7f5c445c
|
moved libpostal lower in sanitizers to after sources
|
7 years ago |
Stephen Hess
|
5bcfbe76bc
|
set search_using_ids query_type to 'original'
|
7 years ago |
Stephen Hess
|
adff256583
|
set query_type for placeholder to enable confidencescores
|
7 years ago |
Stephen Hess
|
98b6829e31
|
exclude venue, address, and street from layers filter
|
7 years ago |
Stephen Hess
|
ea3572539f
|
combined non-county layers into one
|
7 years ago |
Stephen Hess
|
74419bddc1
|
added support for focus-only function
|
7 years ago |
Stephen Hess
|
147d76f9d7
|
added controller for searching with ids
|
7 years ago |
Stephen Hess
|
386897c2c4
|
added query for address search with ids
|
7 years ago |
Stephen Hess
|
2363e9d739
|
added concatenation query building for placeholder
|
7 years ago |
Stephen Hess
|
e158c21685
|
added has_parsed_text_property predicate
|
7 years ago |
Stephen Hess
|
775fd1f568
|
updated code+tests to findById name array output format
|
7 years ago |
Lily He
|
57b133ba42
|
check and set default for undefined boundary circle radius in reverse
|
7 years ago |
Lily He
|
f019f0ab5e
|
deletd legacy routes and legacyURL code
|
7 years ago |
Lily He
|
5504240016
|
prevent overriding raw.focus.point.lat/lon
|
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 |
Lily He
|
f67664c3e0
|
location bias feature - sets default focus.point
|
7 years ago |
Julian Simioni
|
35c7c86492
|
Update fixtures for Elasticsearch 5 queries
These queries use [bool](https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-filtered-query.html)
queries instead of the deprecated `filtered` queries, and also set
`minimum_should_match` to 1, which was apparently implied previously.
Connects https://github.com/pelias/api/issues/762
Connects https://github.com/pelias/api/pull/844
Connects https://github.com/pelias/api/pull/855
Connects https://github.com/pelias/pelias/issues/461
|
7 years ago |
Stephen Hess
|
4271f574ab
|
updated tests for pelias-model 4.9.0 changes
|
7 years ago |