Julian Simioni
d98973c21f
Handle fatal errors in unit tests
...
Due to the way our unit tests are run, a fatal error in the API code
that causes the node process to quit with an error will not be picked up
by `tap-dot`, and the unit tests will still return a passing status
code. This is due to the way status codes from pipes are handled by
default.
Fortunately, there is an ["unofficial bash strict mode"](http://redsymbol.net/articles/unofficial-bash-strict-mode/ )
that helps fix this sort of thing, and by running our unit tests with a
few tweaks we can ensure that any failure in the unit tests is captured.
9 years ago
greenkeeperio-bot
96af007044
chore(package): update elasticsearch to version 11.0.0
...
http://greenkeeper.io/
9 years ago
Diana Shkolnikov
201f4d4fb3
Convert parent WOF ids to valid Pelias ids to be used by /place
9 years ago
Diana Shkolnikov
7231e229d4
Convert parent WOF ids to valid Pelias ids to be used by /place
9 years ago
greenkeeperio-bot
0868494778
chore(package): update tap-dot to version 1.0.5
...
http://greenkeeper.io/
9 years ago
Diana Shkolnikov
582fd50902
Update pelias-query package version
9 years ago
Peter Johnson
a4f6e70d25
upgrade to pelias-query@6.1.0
9 years ago
Julian Simioni
ab427229f4
Use the official elasticsearch
...
This replaces the pelias-esclient library which has not been maintained
for a long time.
9 years ago
missinglink
cd16ff92b1
add common.diff() function for test debugging
9 years ago
Julian Simioni
aebaf52f61
Remove pelias-schema from dependencies
9 years ago
Diana Shkolnikov
4dc1da27a5
Upgrade pelias-query to 6.0.0
9 years ago
Julian Simioni
8fdb522f11
Upgrade to pelias-query 5.1.0
9 years ago
greenkeeperio-bot
0c3e4de0ad
chore(package): update pelias-schema to version 3.0.0
...
http://greenkeeper.io/
9 years ago
greenkeeperio-bot
46afbc09fd
chore(package): update morgan to version 1.7.0
...
http://greenkeeper.io/
9 years ago
greenkeeperio-bot
358cee5407
chore(package): update lodash to version 4.5.0
...
http://greenkeeper.io/
9 years ago
Julian Simioni
4c924605f8
Keep stats-lite at version 1 to avoid using ES6 features
...
Once we are using Node 4+, we can upgrade. See
ttps://www.npmjs.com/package/stats-lite
9 years ago
greenkeeperio-bot
b95e175bb5
chore(package): update dependencies
...
http://greenkeeper.io/
9 years ago
Julian Simioni
e8fb26ea85
Add precommit-hook sections to package.json
9 years ago
Julian Simioni
e50bce47c7
Upgrade precommit-hook to 3.0.0
...
It just handles linting better.
9 years ago
Julian Simioni
92aaf960c3
Upgrade tap-dot to 1.0.4
9 years ago
Julian Simioni
d31fae3bd2
Use patched branch of tap-dot
...
Our test printer has a bug where a zero-test suite will pass. Usually,
and definitely for this repo, the only way a test suite will not have
any tests is if there was an error in the test program before it even
ran any tests ([example](https://travis-ci.org/pelias/api/jobs/110970031 )).
Until my PR or something similar is merged into tap-dot, we should use
this branch.
9 years ago
greenkeeperio-bot
00b76c6e81
chore(package): update geojson to version 0.3.0
...
http://greenkeeper.io/
9 years ago
Julian Simioni
0f121c5ffe
Move doc generation commands to script file
...
They were getting too large already, and I want to add more.
9 years ago
Julian Simioni
0146050620
Ignore failures removing docs directory
...
If the docs files aren't there, it's expected that removing them would
fail, and the task should continue.
9 years ago
Diana Shkolnikov
ed2d8bea72
Update package.json
9 years ago
Diana Shkolnikov
804a520839
Fix github link
9 years ago
Diana Shkolnikov
500835a4c1
Update addressit module to not strip 0s from zipcodes
9 years ago
Julian Simioni
098c3c74ab
Use tap-dot when running tests
9 years ago
Julian Simioni
b1f615479c
Replace tap-spec module with tap-dot
9 years ago
Peter Johnson
2ce249ad30
adjust balance between population/popularity and focus
9 years ago
Peter Johnson
cb679888ff
better population and popularity boosting
9 years ago
Peter Johnson
b5b3c41ba1
remove microtime module
9 years ago
Peter Johnson
80f419846d
admin boost for sqrt(popularity), autocomplete focus not restricted to phrase matches
9 years ago
Diana Shkolnikov
3476831b6b
Lock down the pelias-query version
...
Allowing for even the smallest changes to pelias-query is problematic.
9 years ago
Peter Johnson
bfb63ec912
update ciao tests, update ciao itself
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
e726636c3d
merge with master
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
dd78f324ee
Compute distance for each result of reverse query
9 years ago
Peter Johnson
c0f20aabd3
refactor: clean up sorting conditions
9 years ago
Peter Johnson
a629f2e1b6
bump dep
9 years ago
Peter Johnson
fa209c9b50
add autocomplete route, further query clean up
9 years ago
Peter Johnson
dd71539254
add npm dependency
9 years ago
Diana Shkolnikov
562338635c
Confidence score calculation
...
Fixes pelias/pelias#120
9 years ago
Diana Shkolnikov
1d8db6e5d1
Change type back to layer... oooops
9 years ago
Julian Simioni
826ad3b569
Move to simpler routing model
9 years ago
Julian Simioni
fc6ed1c7f3
Add semver middleware
...
This uses the http-proxy module to send requests to another API instance
based on the version string contained in the request.
9 years ago
Diana Shkolnikov
ab436d5dfb
Search query builder not checking all available admin values
...
Fixes #187
10 years ago
Peter Johnson
e3efeb66d1
change dependency to git url until PR merged upstream, test travis against 0.10,0.12
10 years ago