Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pelias/api

HTTP API for Pelias Geocoder
https://github.com/pelias/api

Merge remote-tracking branch 'origin/master' into private-param-235

* merged master into branch
* removed `details`
* refactored `details` and `private` into a comm...

3ecd0435dcf5f43e0268442316e9fee01238b35b authored over 9 years ago by Diana Shkolnikov <[email protected]>
implemented Diana's suggestions to use check-types and delete key rather than set to undefined

ba22912507b186b15340176de40371f739b621ed authored over 9 years ago by Stephen Hess <[email protected]>
Merge pull request #252 from pelias/lodash

lodash-ify some array functions; remove 'yes' and 'y' from thruthy

04fb595967b4a8599daa1d51b73bb79f03c6d0a5 authored over 9 years ago by Diana Shkolnikov <[email protected]>
Merge branch '247-remove-geocoding-namespace-from-response'

1dca5adaab358ab71163a6364c215801f70a9ac4 authored over 9 years ago by Julian Simioni <[email protected]>
added boundary.country to search and reverse queries (with test fixtures)

13635a2c16f3b2e90c363be40759e07ad099491b authored over 9 years ago by Stephen Hess <[email protected]>
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

509a6a7401de604787147f80140215138a8e3896 authored over 9 years ago by Julian Simioni <[email protected]>
added fixture for boundary.country in query building

a4c43ee482860bf55252f470663d36f44a553a67 authored over 9 years ago by Stephen Hess <[email protected]>
modified sanitizer to read from flattened parameter structure

78c335d072149e0ec594723e1a74f2796abc8b00 authored over 9 years ago by Stephen Hess <[email protected]>
requirements updates

set boundary country to iso3 instead of iso2
set to undefined if boundary.country input is not a...

d07a50168228ae03ee49ec03f6ec03794bab8dd3 authored over 9 years ago by Stephen Hess <[email protected]>
added sanitizer for boundary country parameter

sets to undefined if input country not found as ISO2/3

66bf2bb46bf365e7ec6c06a22c7d14e3e6c8fcad authored over 9 years ago by Stephen Hess <[email protected]>
lodash-ify some array functions; remove 'yes' and 'y' from thruthy

a1efb0c6d0dbad2054a35065070d189dd8a57b88 authored over 9 years ago by Peter Johnson <[email protected]>
delete deprecated

18033535c1480d3a70b48e87f353902e16303247 authored over 9 years ago by Peter Johnson <[email protected]>
Merge pull request #250 from pelias/sources

Sources

dd7905d8633643b88c2df0f930d5c915c88186cc authored over 9 years ago by Peter Johnson a.k.a. insertcoffee <[email protected]>
merge with master

d1bb936472acce8927c6585f112b38540d8c8cdd authored over 9 years ago by Peter Johnson <[email protected]>
merge with master

e726636c3df47e6cccb60a85be53899851cb05ce authored over 9 years ago by Peter Johnson <[email protected]>
Merge branch 'master' into sources

5481cd2696139318f565ca0dc19385f9af72b2c2 authored over 9 years ago by Peter Johnson <[email protected]>
Merge pull request #251 from pelias/sanitizers

refactor sanitizers: first pass

6567047fe87705a4cf05ddf4b00ec83f212e08c7 authored over 9 years ago by Peter Johnson a.k.a. insertcoffee <[email protected]>
rename unclean->raw

10242a8682ddb1e8d4315ca0e2cbe1af55b2cf96 authored over 9 years ago by Peter Johnson <[email protected]>
Merge pull request #246 from pelias/status-endpoint

Add /status controller

60ddc0ad31e8a0675b400ce9206c8ac9c81d876a authored over 9 years ago by Peter Johnson a.k.a. insertcoffee <[email protected]>
improved error checking

e532c2a88a41fce7f0268e05bf24e999f871fb99 authored over 9 years ago by Peter Johnson <[email protected]>
documentation typo

052904e2e56df43709b084c4783bb60c040ea7c4 authored over 9 years ago by Peter Johnson <[email protected]>
refactor sanitizers: first pass

bf42290c7cdaba59b72f0227048ffa3e67b13e05 authored over 9 years ago by Peter Johnson <[email protected]>
Refactored layers and sources into a common targets module

c069933d5ba37ac97591e359c0b5528344cab884 authored over 9 years ago by Diana Shkolnikov <[email protected]>
Rename `source` to `sources`

... with a dash of refactoring thrown in for good measure

67e034f5f2b17066c75bb05b9cf351c85cf0f1ce authored over 9 years ago by Diana Shkolnikov <[email protected]>
Add /status controller

It's at the root level, and simply returns 200 with 'status: ok' as the
body.

5d7f7ee4c04d8be898eccc51d41feff38514ad85 authored over 9 years ago by Julian Simioni <[email protected]>
Add pids directory to gitignore

df40e34ad5a9e8d9cd5fe241fd664b792db6c7eb authored over 9 years ago by Julian Simioni <[email protected]>
Merge branch 'private-param-235' of github.com:pelias/api into private-param-235

2c973b38dc6a7f9a4f91d037f6914edb05545651 authored over 9 years ago by Peter Johnson <[email protected]>
Merge pull request #244 from pelias/distance

Distance

47157aa4ccfd67c4be04ec1adbbe04a069f987e3 authored over 9 years ago by Peter Johnson a.k.a. insertcoffee <[email protected]>
Merge branch 'master' of github.com:pelias/api into distance

9326215fa7013cf0281a67610a169c8e1ede1f6b authored over 9 years ago by Peter Johnson <[email protected]>
Merge pull request #242 from pelias/reverse

Update /reverse endpoint params and query as per API spec

d7aeeb604df3b02fa33c689249ee5fdf55e533bf authored over 9 years ago by Peter Johnson a.k.a. insertcoffee <[email protected]>
Compute distance for each result of reverse query

dd78f324ee9026f6651b2c90d4503f3dfbd7b35a authored over 9 years ago by Diana Shkolnikov <[email protected]>
Update /reverse endpoint params and query as per API spec

feb1b0a6cd7834565830d0bdc1bf497fe45a9e9c authored over 9 years ago by Diana Shkolnikov <[email protected]>
incorporated _private sanitizer into search endpoint

a2b1579b3e8662e300e54e4bee8581b5bbb687c0 authored over 9 years ago by Stephen Hess <[email protected]>
add _private sanitizer

c19d56697ea6e09a1e819ae052527519424dbf91 authored over 9 years ago by Stephen Hess <[email protected]>
extract truthy sanitizer to own file

55e31af23812be4ae1b3eb513e15b88cdfa148cb authored over 9 years ago by Stephen Hess <[email protected]>
refactored _details sanitizer

removed redundant variable
swapped conditionals for readability

728fa8ac46ccd01c9702d22c7cb686e6f4601cfc authored over 9 years ago by Stephen Hess <[email protected]>
refactored _details tests to only _details sanitizer

2f5a5b197206048de62db7278729faf3d600192e authored over 9 years ago by Stephen Hess <[email protected]>
whitespace

d2dc26f69f2bb5b82d57b397537685d3d6d9ff9b authored over 9 years ago by Stephen Hess <[email protected]>
moved details tests out to separate file

e52c9e4ab92140ee9c113cf9fa3f5af3f2470050 authored over 9 years ago by Stephen Hess <[email protected]>
Merge branch 'search_and_reverse_lat_lon'

aea10ea95fe659857a054fc001be0d348ba73dcb authored over 9 years ago by Julian Simioni <[email protected]>
Rename /search lat/lon to focus.point.lat/lon

3176a61596735ea4f665d86c70e5ff89a38a2bd4 authored over 9 years ago by Julian Simioni <[email protected]>
Whitespace

040871cbe41c3f0188a7e80662840e9fab9eed1a authored over 9 years ago by Julian Simioni <[email protected]>
Compare latitude values only, instead of full sanitiser output

6c1cfbb4ad5dabbae02a29095774715e488029d5 authored over 9 years ago by Julian Simioni <[email protected]>
Split geo sanitiser into geo_reverse and geo_search

Common functions are moved to geo_common. This is required to allow
separate behavior for search...

0d23792591de2ffd62c2446e4c077ee1825956e1 authored over 9 years ago by Julian Simioni <[email protected]>
Remove lat/lon params from tests that don't use it

This just removes clutter and possible confusion from our test cases.

5d69c8016b1b728e44ecd29b62a7d95e711b3070 authored over 9 years ago by Julian Simioni <[email protected]>
Rename /reverse lat/lon to point.lat/lon

96c58e865868ff1c5f2512ef99e2c8ed9cbc872c authored over 9 years ago by Julian Simioni <[email protected]>
Remove all references to non-existent zoom parameter

fd3b12cfa923b816ad2e7e866bcb41db69378d39 authored over 9 years ago by Julian Simioni <[email protected]>
refactor text parsing to seperate module

155337eb3f3895b9a9e9d00857c91bdae94f1593 authored over 9 years ago by Peter Johnson <[email protected]>
refactor: clean up sorting conditions

c0f20aabd34dadccee402a17377be1228b602a5d authored over 9 years ago by Peter Johnson <[email protected]>
move query defaults to API repo

36185197aa983ba30ab47855f81704d09c3e10e0 authored over 9 years ago by Peter Johnson <[email protected]>
bump dep

a629f2e1b6f7ea2b5a3fbd5f3ebd65f0a7a5e36b authored over 9 years ago by Peter Johnson <[email protected]>
move stringify logic to tests, code clean up

d568c031a352894fb9c05746820df27665048d46 authored over 9 years ago by Peter Johnson <[email protected]>
remove debugging

0d00e19825c2d2a240b7d58b1ce1cbfb940505c0 authored over 9 years ago by Peter Johnson <[email protected]>
add autocomplete route, further query clean up

fa209c9b508f8e2a203d0fcc38744417c95d7a06 authored over 9 years ago by Peter Johnson <[email protected]>
bugfix

dfa851ec5cee53f911989d51285c9dabddd5e8ca authored over 9 years ago by Peter Johnson <[email protected]>
remove unused sort conditions

2f8169ac1095c9b942157f53255b4ac2e84bd260 authored over 9 years ago by Peter Johnson <[email protected]>
Merge branch 'master' of github.com:pelias/api into query

a670e9d9d1bd5fec565988df02338254d4d26198 authored over 9 years ago by Peter Johnson <[email protected]>
add (commented) missing query params

72432066c6c3ef6bde58126841c5c0c5299ffa8d authored over 9 years ago by Peter Johnson <[email protected]>
Merge pull request #229 from pelias/query

merge query changes

5004532c13cfc0e481724392898cabc3de712a7a authored over 9 years ago by Peter Johnson a.k.a. insertcoffee <[email protected]>
resolve merge conflict with master

7e7e7083c292c53221e52e6b4541a8a8a380029e authored over 9 years ago by Peter Johnson <[email protected]>
change param:input to param:text

22322eaa323928d2a9533b34e3e4d544b39de236 authored over 9 years ago by Peter Johnson <[email protected]>
merge conflicts from pulling: source_parameter

05bdf784e004e98520daba57f85edb00835e35fd authored over 9 years ago by Peter Johnson <[email protected]>
refactor reverse & tests

1f13bafab0ac8d935096a22dabc5484ca99855dc authored over 9 years ago by Peter Johnson <[email protected]>
Merge branch 'remove-token-based-layer-filter'

745bdcece01fa1be9311b4e02515f2a9e802b2be authored over 9 years ago by Julian Simioni <[email protected]>
Remove layers limiting on queries with few tokens

Primarily as a performance optimization, but also to attempt to return
more relevant results, on...

139cb22127689a74dcd20a2a4a26f9ca12e0bd00 authored over 9 years ago by Julian Simioni <[email protected]>
Merge branch 'input-text'

13d1a3861ebb6f66ac7ffbef4d8f83dec5da96a1 authored over 9 years ago by Julian Simioni <[email protected]>
Use text param in docs containing successful queries

8c420bb1cdc5f3905ddc318b6ff551dfb06c4ca9 authored over 9 years ago by Julian Simioni <[email protected]>
Remove extra input paremter from reverse unit tests

Not strictly required for this change, but I noticed there was an input
parameter to lots of uni...

d9ede52e1bec393ac090eef050638698c210ab65 authored over 9 years ago by Julian Simioni <[email protected]>
Update docs for search and suggest

39c5cb671d341a6ec0b6a11eab70caeae5c90c12 authored over 9 years ago by Julian Simioni <[email protected]>
Rename `/search?input`, replacing it with '/search?text' parameter instead

changing parameter name input to text
https://github.com/pelias/api/issues/172

Rebased by @oran...

86424b8bbedb6a7a6135faf0c70e9e72e1b0b72f authored over 9 years ago by Harish Krishna <[email protected]>
Use text parameter in ciao tests

cb2f1172e352ebbba33abff88a2ab638512d8ce0 authored over 9 years ago by Julian Simioni <[email protected]>
Remove unused suggest endpoint unit tests

dc6ed3d6a9e4c81349749bd0b8772bb351a5c126 authored over 9 years ago by Julian Simioni <[email protected]>
Merge branch 'source_parameter'

6e8a54d50017456612951dc0f7e12227a8be5f16 authored over 9 years ago by Julian Simioni <[email protected]>
Use hasOwnProperty instead of comparing against undefined

f6fea21782450f8f521e58de4b7216bd3b875fdc authored over 9 years ago by Julian Simioni <[email protected]>
Expose list of document types sent to Elasticsearch

6dbb4f8b08696ce95e696a5bae8743e0d78ba4c0 authored over 9 years ago by Julian Simioni <[email protected]>
Remove layer configuration based on address parsing

This code doesn't seem like it will be triggered very often (due to it
comapring space delimited...

1fae622c39d90799440786157ba410d2c3e3bf7f authored over 9 years ago by Julian Simioni <[email protected]>
Remove loops and many global checks from sanitiser tests

Modifying these sanitiser tests became extremely hard because almost all
of them were looping ov...

bc8eabe4e61096888f3ec980085a2ddc8313b29e authored over 9 years ago by Julian Simioni <[email protected]>
Remove seemingly unhelpful comment

0adc2821d2a1e7427da1bb696b6ea45e73dcc308 authored over 9 years ago by Julian Simioni <[email protected]>
Whitespace

e71fb7cfd416c3332a4af1dd69d9ef3282b5883f authored over 9 years ago by Julian Simioni <[email protected]>
Add source parameter sanitiser

3383fa0321f44713aecc4a45acf21a46cec6d6b1 authored over 9 years ago by Julian Simioni <[email protected]>
Add sources -> types mapping file

426189e87fac3c45f39e631dfa6cd3f1dc714d0d authored over 9 years ago by Julian Simioni <[email protected]>
Fix reference to geoname

This is just in a unit test, so it technically passes, but geonames is
not a valid layer option ...

b4e7793426a4b7285ed3c6f80b2ffb785137cdfe authored over 9 years ago by Julian Simioni <[email protected]>
Add comments to type helper

d45b09b0b31ba41529d2ed0a8564c503ff0a0d35 authored over 9 years ago by Julian Simioni <[email protected]>
Remove default_layers_set flag!

After refactoring, this flag is no longer needed, as all areas of the
code that care about layer...

6f92189519eff20b86f9f0938e8ada436597323a authored over 9 years ago by Julian Simioni <[email protected]>
Separate concerns of address parser

The address parser currently does two things:
1.) make some intelligent guesses as to possible a...

7a6ac8541bbd1f0acf7bb5c91b5de340d61b4230 authored over 9 years ago by Julian Simioni <[email protected]>
Calculate intersection of types requested by source and layers params

103a52cff5cc257dc6689d4872eb26bba4269aa7 authored over 9 years ago by Julian Simioni <[email protected]>
Fix inconsistently named imported module

9b94a0e4ef665a2190ea4d007df8a0583bc4f832 authored over 9 years ago by Julian Simioni <[email protected]>
Store sanitised types from layers parameter

This moves the list of types created by sanitising the layer API
parameter from clean.layers to ...

82d3a6603c2339a366d1b09fe8e6d82f8cac4b3f authored over 9 years ago by Julian Simioni <[email protected]>
Rename query/indidces to query/types

It didn't really contain a list of indices.

2ebc9352955e628890f96bbb089c76f314e9e9e2 authored over 9 years ago by Julian Simioni <[email protected]>
Move cmd.type setting logic to types helper

258fa4390e3c7bc9f5ab3b80d10c751afe60c77b authored over 9 years ago by Julian Simioni <[email protected]>
Add types middleware

This middleware looks at the list of types that will be sent to
Elasticsearch, if it's an empty ...

ade4ce8b17acc996393d5e1e56b791ff3dafb4c3 authored over 9 years ago by Julian Simioni <[email protected]>
add npm dependency

dd715392545d81245785a8a5be3df9db71cc8f58 authored over 9 years ago by Peter Johnson <[email protected]>
refactor leftovers for clarity

34cd25a023d6133fcdff731725b8b201c14eaf13 authored over 9 years ago by Peter Johnson <[email protected]>
refactor search

6f817938bce0e675961738082d36f611236968b7 authored over 9 years ago by Peter Johnson <[email protected]>
fix tests, clean by moving fixtures to fixtures dir

f5e182c63b41cb62d56b6a38d4cb06175abb91fa authored over 9 years ago by Peter Johnson <[email protected]>
Merge pull request #220 from pelias/confidence

Compute confidence scores for query results

69273a31286c1829f3f594a2a49b8f5cffc237f3 authored over 9 years ago by Diana Shkolnikov <[email protected]>
Change magic number for deal breakers to 0.5

66710f0c88c94d0d793f1ceb930d4de0b576c806 authored over 9 years ago by Diana Shkolnikov <[email protected]>
Merge pull request #223 from pelias/license

Add content for `attribution` static endpoint

f7f1ecc088fdd46728aa1920e8c7adb683cd0636 authored over 9 years ago by Diana Shkolnikov <[email protected]>
Fix unit test

2eccfc5c9a3a474b3df6bef3543194901f15e43b authored over 9 years ago by Diana Shkolnikov <[email protected]>
Add content for `attribution` static endpoint

Fixes #212

f7044d2435b5baa343176661a6cdd8238aff152c authored over 9 years ago by Diana Shkolnikov <[email protected]>