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 |
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 |