Stephen Hess
|
d270ba71cb
|
added negative tests for req w/o results and req.results w/o data
|
9 years ago |
Stephen Hess
|
8be249b701
|
added helper variables for readability
|
9 years ago |
Stephen Hess
|
5849477929
|
adjusted 'exact' confidence to be within 1 meter
|
9 years ago |
Stephen Hess
|
0b5172a452
|
initial stab at confidence score calculation based on distance from point.lat and point.lon
|
9 years ago |
Diana Shkolnikov
|
8b35c56523
|
Merge pull request #269 from pelias/cleanup
Remove warning when no size param specified
|
9 years ago |
Diana Shkolnikov
|
5e50e6b449
|
Merge pull request #268 from pelias/attribution
Fix attribution link
|
9 years ago |
Diana Shkolnikov
|
f1fdc2bc26
|
Remove categories from response json
|
9 years ago |
Diana Shkolnikov
|
0348f36671
|
Remove warning when no size param specified
Added tests for _size sanitizer while in there.
|
9 years ago |
Diana Shkolnikov
|
70efbc5ad9
|
Merge branch 'attribution' of github.com:pelias/api into attribution
|
9 years ago |
Diana Shkolnikov
|
9433d995b1
|
Fix attribution link
|
9 years ago |
Diana Shkolnikov
|
73419342a6
|
Fix attribution link
|
9 years ago |
Diana Shkolnikov
|
538e1ec5cb
|
Merge pull request #266 from pelias/broken-link
Fix broken link to DOCS
|
9 years ago |
Peter Johnson a.k.a. insertcoffee
|
046df14aa4
|
Merge pull request #267 from pelias/expose_errors
expose error messages in geojson
|
9 years ago |
Peter Johnson
|
7c46aed4a7
|
expose error messages in geojson
|
9 years ago |
Peter Johnson a.k.a. insertcoffee
|
06e8fee8da
|
Merge pull request #265 from pelias/req_res
set response data/meta/body on $res instead of $req
|
9 years ago |
Diana Shkolnikov
|
c21494ef44
|
Fix broken link to DOCS
|
9 years ago |
Peter Johnson
|
6ab81ffca5
|
set response data/meta on instead of
|
9 years ago |
Julian Simioni
|
152b2a50f7
|
Merge branch '112-support-boundary-country-parameter'
Conflicts:
test/unit/sanitiser/reverse.js
test/unit/sanitiser/search.js
|
9 years ago |
Stephen Hess
|
6c85e5892e
|
converted warnings to errors
|
9 years ago |
Julian Simioni
|
07f854f565
|
Merge branch '245-cleanup-autocomplete-sanitisers'
|
9 years ago |
Julian Simioni
|
4e74c4db86
|
Add autocomplete sanitiser
This is similar to the search sanitiser but with a more limited scope.
It doesn't support layers, sorces, or bounding boxes.
|
9 years ago |
Diana Shkolnikov
|
5274bd64d4
|
Merge pull request #241 from pelias/private-param-235
Private param 235
|
9 years ago |
Peter Johnson a.k.a. insertcoffee
|
bf90d99ddb
|
Merge pull request #256 from pelias/fix_cors
fix CORS support by enabling OPTIONS endpoint
|
9 years ago |
Peter Johnson
|
3408e2caa5
|
fix CORS support by enabling OPTIONS endpoint
|
9 years ago |
Diana Shkolnikov
|
a3b0a090e2
|
Merge remote-tracking branch 'origin' into private-param-235
|
9 years ago |
Diana Shkolnikov
|
3ecd0435dc
|
Merge remote-tracking branch 'origin/master' into private-param-235
* merged master into branch
* removed `details`
* refactored `details` and `private` into a common _flag_bool sanitizer type
* cleaned up `private`
|
9 years ago |
Stephen Hess
|
ba22912507
|
implemented Diana's suggestions to use check-types and delete key rather than set to undefined
|
9 years ago |
Diana Shkolnikov
|
04fb595967
|
Merge pull request #252 from pelias/lodash
lodash-ify some array functions; remove 'yes' and 'y' from thruthy
|
9 years ago |
Julian Simioni
|
1dca5adaab
|
Merge branch '247-remove-geocoding-namespace-from-response'
|
9 years ago |
Stephen Hess
|
13635a2c16
|
added boundary.country to search and reverse queries (with test fixtures)
|
9 years ago |
Julian Simioni
|
509a6a7401
|
Remove geocoding block from properties in GeoJSON responses
All the attributes that were in this block are now put directly in the
GeoJSON properties object
|
9 years ago |
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
|
a1efb0c6d0
|
lodash-ify some array functions; remove 'yes' and 'y' from thruthy
|
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 |