Julian Simioni
b547111d52
Remove latitude restrictions
9 years ago
Julian Simioni
396f27dcba
Mark previously invalid lat/lon test values as valid
...
These examples should all now pass with the lat/lon wrapping.
9 years ago
Severyn Kozak
762ef85f5c
Fix longitude-sanitization tests.
...
test/unit/sanitiser/(search, suggest, reverse).js
-Update/fix all of the tests that started failing as a result of
the removal of longitude sanitization in 90a7683
.
9 years ago
Harish Krishna
35105015b2
tests suggest sanitiser
9 years ago
Harish Krishna
050c11ec0b
just using a forked version of addressIt that focuses on US addresses (for now), modifying search queries and ignoring tests for now
10 years ago
Diana Shkolnikov
6ae1a4f7df
fix comments and tests
10 years ago
Diana Shkolnikov
8ac17d0cb2
Fix bbox parsing
10 years ago
Harish Krishna
7667a898dd
param layers should be called layers consistently across the API
10 years ago
Harish Krishna
71499cd201
flipping default behavior - by default its details=true
10 years ago
Harish Krishna
af45b4743c
oh so many more tests!
10 years ago
Harish Krishna
c99c5f712a
adding a parameter called details (defaults to false for all endpoint except reverse) + fixing tests
10 years ago
Harish Krishna
5094ecb25e
adding 'locality', 'local_admin' to the list of layers (part of admin alias) plus tests
10 years ago
Harish Krishna
5f30559680
testing inputs with comma
10 years ago
Harish Krishna
650e88d79f
making geo bias optional - first pass with all tests passing
10 years ago
Harish Krishna
a67f640acb
adding address type to layers by default
10 years ago
Peter Johnson
9d10f0fa49
add osm address type
10 years ago
Peter Johnson
293465b90c
add address alias and openaddresses type. change default layers to 'poi,admin'. add comments. update tests
10 years ago
Harish Krishna
3973039f19
min/max lat/lon to form bbox from the input params
10 years ago
Harish Krishna
8a7b41edc6
test bbox sanitization
10 years ago
Harish Krishna
69a13e9105
fixing all the js lint related issues (lintified)
10 years ago
Harish Krishna
ed5a1923d3
grouping test cases when appropriate
10 years ago
Harish Krishna
018ee3b945
tests - adding get sanitizer tests, renaming sanitiser to suggest because that is what it is really.
10 years ago
Harish Krishna
6b29c5bbfe
adding 'aliases' - 'poi' & 'admin' for the layers param.
10 years ago
Peter Johnson
03a60831b4
fix lat error
10 years ago
Harish Krishna
32275aca56
split sanitizers into reusable pieces. renaming sanitise to suggest. using suggest sanitizer for search. adding reverse sanitizer. updating tests..
10 years ago