missinglink
cb35f37312
focus minimum set to 0km instead of 1km
9 years ago
Julian Simioni
0533e7d851
Merge pull request #562 from pelias/fix_dependencies
...
fix: Explicitly depend on packages' optional dependencies
9 years ago
Julian Simioni
a4c31b6f8d
fix: Explicitly depend on packages' optional dependencies
...
[istanbul](https://www.npmjs.com/package/istanbul ) and
[escodegen](https://www.npmjs.com/package/escodegen ) have optional
dependencies, which for some reason `npm ls` in npm version 3 fails to
handle properly. We don't need these packages, but installing them does
little harm so it seems to be the best way to make our precommit-hook
scripts pass for all users.
9 years ago
Julian Simioni
af7a66126c
Add LGTM config
9 years ago
Julian Simioni
593461bbda
Merge pull request #557 from pelias/greenkeeper-pelias-query-7.0.1
...
Update pelias-query to version 7.0.1 ๐
9 years ago
greenkeeperio-bot
e65072cfa4
chore(package): update pelias-query to version 7.0.1
...
https://greenkeeper.io/
9 years ago
Julian Simioni
38cabe5a2f
Merge pull request #555 from pelias/redirect_to_v1
...
Redirect to /v1 if no legacy proxy specified
9 years ago
Julian Simioni
b265cf9923
Merge pull request #553 from pelias/greenkeeper-express-http-proxy-0.7.0
...
Update express-http-proxy to version 0.7.0 ๐
9 years ago
Julian Simioni
c154325f3e
Redirect to /v1 if no legacy proxy specified
...
For when we have multiple active API versions, we have code to redirect
from one running API server to another. Right now, we've disabled the
beta/legacy API server and haven't released a V2 yet, so we currently
have no proxying configured.
Right now the default with no configuration is to simply return an
error. However that means that request to http://search.mapzen.com/
return that unfriendly error. We have a nice friendly /v1 page, so in
the case of no proxy being set up, it makes sense to redirect to that.
9 years ago
Julian Simioni
b38a432e2f
Merge pull request #554 from pelias/readme_header
...
Reorganize Readme header
9 years ago
Julian Simioni
c691df2f60
Reorganize Readme header
...
This moves things around to be a bit more organized:
* Puts our standard header with links to pelias/pelias, Mapzen Search,
etc first
* moves the badges together
* The link to the documentation was going to a silly page that just
linked to another page, so it's a direct link now.
* Adds a small description sentence
9 years ago
greenkeeperio-bot
183741709d
chore(package): update express-http-proxy to version 0.7.0
...
https://greenkeeper.io/
9 years ago
Julian Simioni
7c629d5974
Merge pull request #549 from pelias/lower_reverse_radius
...
Lower default reverse search radius, add a bigger radius for coarse reverse
9 years ago
Julian Simioni
c9d87f7b0c
Add a separate default distance for coarse reverse
9 years ago
Julian Simioni
4acbc2a001
Change default reverse radius to 1km
...
Its a little more work to support different unit types, 1km is still
fine.
9 years ago
Julian Simioni
16d0a8b539
Rename test to clarify layers matter
9 years ago
Julian Simioni
05baed7b51
Whitespace
9 years ago
Julian Simioni
bad7b13ab2
Merge pull request #548 from pelias/remove_unused_file
...
Remove unused sanitiser test
9 years ago
Julian Simioni
4069c99212
Remove unused sanitiser test
...
The sanitiser got removed at some point, but the tests remained.
9 years ago
Julian Simioni
5b15b0f30a
Merge pull request #542 from pelias/respect_privacy_headers
...
Respect privacy headers
9 years ago
Stephen K Hess
c8d2002122
Merge pull request #544 from pelias/greenkeeper-pelias-query-7.0.0
...
Update pelias-query to version 7.0.0 ๐
9 years ago
Diana Shkolnikov
f5f07dce40
Merge pull request #543 from pelias/source_id
...
Add source_id property
9 years ago
Julian Simioni
d7eacaf59e
Fix mistaken order of parameters
...
peliasAdmin was supposed to be a parameter to the multi match view, but
instead it was being sent to the score view and ignored.
Thanks to @trescube for catching this.
9 years ago
greenkeeperio-bot
ca0b121bde
chore(package): update pelias-query to version 7.0.0
...
https://greenkeeper.io/
9 years ago
Diana Shkolnikov
1435de906d
Add source_id property
9 years ago
Julian Simioni
5a3c9bbb76
Merge pull request #540 from pelias/remove_unused_engines
...
Remove unused engines
9 years ago
Julian Simioni
23ff51fd57
Add custom access_log handlers that remove user info
...
These handlers will remove sensitive query info from the logs when DNT
is enabled
9 years ago
Julian Simioni
57d1c8be1e
Return an object from access_log module
...
This allows adding more methods later.
9 years ago
Julian Simioni
ecb28bc3e9
Remove debug statements that print user parameters
9 years ago
Julian Simioni
9e12c650d0
Add logging helper module
...
This module has helper methods for logging. Currently it has methods to:
* detect if DNT is enabled
* remove sensitive information from input fields for logging
9 years ago
Julian Simioni
bfd340a0fc
Remove NPM engine specification
...
According to the NPM docs on [engine](https://docs.npmjs.com/files/package.json#engines ),
this specification was only ever advisory, and is now depricated. It
seems to cause NPM to pull in a very old version of NPM, which causes
warnings when installing dependencies.
9 years ago
Julian Simioni
5293e96929
Remove Elasticsearch from engines
...
According to the [docs](https://docs.npmjs.com/files/package.json#engines )
only node and NPM versions may be specified here.
9 years ago
Julian Simioni
8a2392b2af
Merge pull request #536 from pelias/greenkeeper-check-types-7.0.0
...
Update check-types to version 7.0.0 ๐
9 years ago
greenkeeperio-bot
b9cac7d629
chore(package): update check-types to version 7.0.0
...
https://greenkeeper.io/
9 years ago
Julian Simioni
e2e84ea1a4
Merge pull request #535 from pelias/greenkeeper-proxyquire-1.7.7
...
proxyquire@1.7.7
9 years ago
greenkeeperio-bot
d168698dd6
chore(package): update proxyquire to version 1.7.7
...
https://greenkeeper.io/
9 years ago
Peter Johnson a.k.a. insertcoffee
5888cddfcc
Merge pull request #533 from pelias/improved_error_handling
...
refactor elasticsearch error detection, improve test coverage
9 years ago
Peter Johnson
63d9329afd
add additional test case
9 years ago
Peter Johnson
eb73ec7390
better comment
9 years ago
Peter Johnson
0caca08787
improve error matching by using string prefix matching on known elasticsearch exception names
9 years ago
Peter Johnson
b15cfb3795
refactor elasticsearch error detection, improve test coverage
9 years ago
Julian Simioni
833d3a7109
Merge pull request #481 from pelias/multi_match_admin_parts
...
Use multi_match query for admin fields
9 years ago
Diana Shkolnikov
e4647eaeaf
Merge pull request #445 from vesameskanen/no-stringify-logging
...
Remove expensive JSON.stringify from api debug logging calls
9 years ago
Julian Simioni
373a08e79b
Set all admin boosts to 1
...
They seem to interfere with the new multi_match query. More tweaking in
the future is definitely warranted.
9 years ago
Julian Simioni
ab19a12e1c
Use multi_match query for admin fields
9 years ago
Julian Simioni
e04efed98b
Merge pull request #526 from pelias/missinglink
...
autocomplete milestone
9 years ago
missinglink
979aab1ac3
ensure that problematic single grams are removed from the query
9 years ago
missinglink
1c9af40f3c
remove query.tokens_complete and query.tokens_incomplete from geoJSON
9 years ago
missinglink
05240626fd
handle addressit case where parsed_text.street is produced and parsed_text.name is not
9 years ago
Peter Johnson a.k.a. insertcoffee
e6d9a0c034
Merge pull request #529 from pelias/missinglink_complete_incomplete_refactor
...
improve api-side tokenizer
9 years ago