Stephen Hess
a4c43ee482
added fixture for boundary.country in query building
9 years ago
Stephen Hess
78c335d072
modified sanitizer to read from flattened parameter structure
9 years ago
Stephen Hess
d07a501682
requirements updates
...
set boundary country to iso3 instead of iso2
set to undefined if boundary.country input is not a string
9 years ago
Stephen Hess
66bf2bb46b
added sanitizer for boundary country parameter
...
sets to undefined if input country not found as ISO2/3
9 years ago
Peter Johnson
18033535c1
delete deprecated
9 years ago
Peter Johnson a.k.a. insertcoffee
dd7905d863
Merge pull request #250 from pelias/sources
...
Sources
9 years ago
Peter Johnson
d1bb936472
merge with master
9 years ago
Peter Johnson
e726636c3d
merge with master
9 years ago
Peter Johnson
5481cd2696
Merge branch 'master' into sources
9 years ago
Peter Johnson a.k.a. insertcoffee
6567047fe8
Merge pull request #251 from pelias/sanitizers
...
refactor sanitizers: first pass
9 years ago
Peter Johnson
10242a8682
rename unclean->raw
9 years ago
Peter Johnson a.k.a. insertcoffee
60ddc0ad31
Merge pull request #246 from pelias/status-endpoint
...
Add /status controller
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`
...
... with a dash of refactoring thrown in for good measure
9 years ago
Julian Simioni
5d7f7ee4c0
Add /status controller
...
It's at the root level, and simply returns 200 with 'status: ok' as the
body.
9 years ago
Julian Simioni
df40e34ad5
Add pids directory to gitignore
9 years ago
Peter Johnson a.k.a. insertcoffee
47157aa4cc
Merge pull request #244 from pelias/distance
...
Distance
9 years ago
Peter Johnson
9326215fa7
Merge branch 'master' of github.com:pelias/api into distance
9 years ago
Peter Johnson a.k.a. insertcoffee
d7aeeb604d
Merge pull request #242 from pelias/reverse
...
Update /reverse endpoint params and query as per API spec
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
Julian Simioni
aea10ea95f
Merge branch 'search_and_reverse_lat_lon'
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
6c1cfbb4ad
Compare latitude values only, instead of full sanitiser output
9 years ago
Julian Simioni
0d23792591
Split geo sanitiser into geo_reverse and geo_search
...
Common functions are moved to geo_common. This is required to allow
separate behavior for search and reverse.
9 years ago
Julian Simioni
5d69c8016b
Remove lat/lon params from tests that don't use it
...
This just removes clutter and possible confusion from our test cases.
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
155337eb3f
refactor text parsing to seperate module
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
a629f2e1b6
bump dep
9 years ago
Peter Johnson
d568c031a3
move stringify logic to tests, code clean up
9 years ago
Peter Johnson
0d00e19825
remove debugging
9 years ago
Peter Johnson
fa209c9b50
add autocomplete route, further query clean up
9 years ago
Peter Johnson
dfa851ec5c
bugfix
9 years ago
Peter Johnson
2f8169ac10
remove unused sort conditions
9 years ago
Peter Johnson
a670e9d9d1
Merge branch 'master' of github.com:pelias/api into query
9 years ago
Peter Johnson
72432066c6
add (commented) missing query params
9 years ago
Peter Johnson a.k.a. insertcoffee
5004532c13
Merge pull request #229 from pelias/query
...
merge query changes
9 years ago
Peter Johnson
7e7e7083c2
resolve merge conflict with master
9 years ago
Peter Johnson
22322eaa32
change param:input to param:text
9 years ago
Peter Johnson
05bdf784e0
merge conflicts from pulling: source_parameter
9 years ago
Peter Johnson
1f13bafab0
refactor reverse & tests
9 years ago
Julian Simioni
745bdcece0
Merge branch 'remove-token-based-layer-filter'
9 years ago
Julian Simioni
139cb22127
Remove layers limiting on queries with few tokens
...
Primarily as a performance optimization, but also to attempt to return
more relevant results, only admin and POI layers were queried when the
text input consisted of only one or two tokens, and there weren't any
numbers. However as shown in #194 that is a bit too optimistic, mostly
in contries other than the USA.
Fixes #194
9 years ago