Peter Johnson
7749be549e
add ciao tests for language
8 years ago
Peter Johnson
3a7e8c5229
fix ciao tests for postalcode layer added
8 years ago
Peter Johnson
f087a5badc
improvements for handling non-scalar request params. fixes #744
8 years ago
Julian Simioni
5f70110027
Add autocomplete boundary.rect ciao test
8 years ago
Julian Simioni
3ae60fb3f8
Update ciao test parsed_text expectations for libpostal
8 years ago
Diana Shkolnikov
30e42e2b80
cleanup variable name and add ciao test
8 years ago
Diana Shkolnikov
4a7dee235a
add ciao test for confidence and match_type properties
8 years ago
Peter Johnson
a20c84fa83
update ciao tests to reflect updated error messages
8 years ago
Patrick Mezard
50475c616b
test/ciao: reverse learnt to handle circle at some point
...
So fix the test pretending it does not.
8 years ago
Patrick Mezard
0f0cfd16d9
test/ciao: fix inverted negative latitudes in tests
...
See https://github.com/elastic/elasticsearch/issues/18458
8 years ago
Patrick Mezard
e53fcbc9d7
test/ciao: update valid layers list in reference output
8 years ago
Stephen Hess
2c40827701
added `layer=borough` support for *all 5 boroughs* in data
9 years ago
Stephen Hess
c99fa9f0ef
added support for `macroregion`
9 years ago
Stephen Hess
8a54dbeef0
switched from `macrocountry` to `macrocounty`
9 years ago
Julian Simioni
abbd314ee8
Change deprication message to present tense
9 years ago
Peter Johnson
51279ce2cf
quattroshapes deprecation warning and wof fallback
9 years ago
Peter Johnson
7d71e32104
bugfix: enable support for ?sources= filtering on /reverse
9 years ago
Peter Johnson
00b123adfb
enable ?source=s and ?layers params for autocomplete
9 years ago
Peter Johnson
8431763a12
fix handling of ?size= param for autocomplete
9 years ago
Julian Simioni
d5b818ea84
Fix typo
9 years ago
Julian Simioni
26d49ac7a7
Update ciao tests
9 years ago
Diana Shkolnikov
b3939efb21
Fix ciao tests
9 years ago
Julian Simioni
ab9dbdf7f0
Update ciao tests
9 years ago
Julian Simioni
435104842d
Fix failing Ciao tests
...
They were expecting certain parts of the response to not be there when
an error is returned, but that's overspecifying the result in my
opinion.
9 years ago
Diana Shkolnikov
500835a4c1
Update addressit module to not strip 0s from zipcodes
9 years ago
Peter Johnson
c609ae3ccf
http friendly status codes. resolves #321
9 years ago
Peter Johnson
51858781a9
fix ciao tests
9 years ago
Julian Simioni
ab006054f8
Fix low hanging fruit in ciao tests
...
Quite a few of our tests simply had old error messages as expectations,
or expected output in an array that was correct but in the wrong order.
Those are all fixed.
9 years ago
Peter Johnson
a209024143
remove cache control headers
9 years ago
Julian Simioni
fef92bd34b
Remove the geoname _type from all layers except venue
...
We can't distinguish between geonames of different layers due to an
ambiguity in our Elasticsearch schema that we unfortunately won't be
able to fix for a few weeks.
So, while it's technically true that there are countries, cities, etc
contained in the geonames dataset, it's still better for now to remove
geonames from these layers. We have good coverage of most coarse layers
from quattroshapes alone, so the impact isn't too bad.
9 years ago
Julian Simioni
2811569bcd
Switch to source:layer:id ids format in /place
9 years ago
Stephen Hess
a21a4476d1
added ciao tests
9 years ago
Peter Johnson
348d2e70e2
more conformance
9 years ago
Julian Simioni
16450087ee
Use simpler, clearer error on invalid ids length
9 years ago
Julian Simioni
1b6c61c92e
Leave clean.ids undefined on error
9 years ago
Julian Simioni
c687102374
Rename /place id parameter to ids
9 years ago
Peter Johnson
82ab899ecc
progress commit
9 years ago
Peter Johnson
bfb63ec912
update ciao tests, update ciao itself
9 years ago
Peter Johnson
719b32b304
fix ciao tests
9 years ago
Julian Simioni
cb2f1172e3
Use text parameter in ciao tests
9 years ago
Julian Simioni
63d0447b25
Update ciao tests for /v1
9 years ago
Julian Simioni
167547a6c1
Rename doc endpoint to place
9 years ago
Julian Simioni
2fce64f75a
Move files
9 years ago
Julian Simioni
4e74e9b681
Whitespace
9 years ago
Peter Johnson
21d6585314
update sanitizer middleware
10 years ago
Harish Krishna
a91cb23ea4
adding a new file DOCS.md (same as https://github.com/pelias/api/wiki/API-Endpoints ), modifying controller/index.js to return text/html instead of application/json by default. Using markdown module to convert MD to HTML. Fixing tests (removed test/jsonp.coffee)
10 years ago
Harish Krishna
49a63f1861
Documentation and some ciao tests
10 years ago
Peter Johnson
88aa48ec01
formatting
10 years ago
Peter Johnson
6ddbe86ac5
perform mget during suggest. requires suggester output to be a gid
10 years ago
Harish Krishna
81b3668b30
get to doc
10 years ago