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
2c973b38dc
Merge branch 'private-param-235' of github.com:pelias/api into private-param-235
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
Stephen Hess
a2b1579b3e
incorporated _private sanitizer into search endpoint
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
728fa8ac46
refactored _details sanitizer
...
removed redundant variable
swapped conditionals for readability
9 years ago
Stephen Hess
2f5a5b1972
refactored _details tests to only _details sanitizer
9 years ago
Stephen Hess
d2dc26f69f
whitespace
9 years ago
Stephen Hess
e52c9e4ab9
moved details tests out to separate file
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
Julian Simioni
13d1a3861e
Merge branch 'input-text'
9 years ago
Julian Simioni
8c420bb1cd
Use text param in docs containing successful queries
9 years ago
Julian Simioni
cb2f1172e3
Use text parameter in ciao tests
9 years ago