Julian Simioni
|
97044f655b
|
Flatten structure of clean for /search focus.point.lat|lon
|
9 years ago |
Julian Simioni
|
4260442f59
|
Change boundary.circle params to flat string structure
|
9 years ago |
Julian Simioni
|
e5ed04858b
|
Test individual clean attribute intead of using deepEquals
|
9 years ago |
Julian Simioni
|
1bfa2fde40
|
Remove empty test of invalid lats
|
9 years ago |
Julian Simioni
|
a5ba251afe
|
Remove brittle test fixture from search sanitiser
Some of the tests were checking the entire clean object, when they only
cared about one tiny element. This made making changes really hard.
|
9 years ago |
Julian Simioni
|
66e1cab007
|
Whitespace
|
9 years ago |
Peter Johnson a.k.a. insertcoffee
|
aa361e68c4
|
Merge pull request #276 from pelias/ciao
fix ciao tests
|
9 years ago |
Peter Johnson
|
bfb63ec912
|
update ciao tests, update ciao itself
|
9 years ago |
Peter Johnson
|
719b32b304
|
fix ciao tests
|
9 years ago |
Peter Johnson a.k.a. insertcoffee
|
36324e7536
|
Merge pull request #270 from pelias/remove-categories
Remove categories from response json
|
9 years ago |
Stephen Hess
|
0cc4ac33e3
|
switched to lodash for is-number validation, removed range operation since ordering of conditionals makes them redundant
|
9 years ago |
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 |