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
Julian Simioni
e6e9c1c574
Do not apply local naming conventions to records with no admin info
...
There's no way to decide what to do, and without handling this case the
API will return an error.
9 years ago
missinglink
9a5d425cc8
Merge branch 'master' of github.com:pelias/api into missinglink
9 years ago
Julian Simioni
3e334788af
Merge pull request #486 from pelias/greenkeeper-elasticsearch-11.0.0
...
Update elasticsearch to version 11.0.0 🚀
9 years ago
greenkeeperio-bot
96af007044
chore(package): update elasticsearch to version 11.0.0
...
http://greenkeeper.io/
9 years ago
Stephen Hess
0870e30366
Refactored the label generation code to be simpler
...
Labels are now, outside US/CA/UK, just name+city+country.
Deduping now only occurs on the first 2 parts of the labels which fixes the "Luxembourg, Luxembourg" issue.
9 years ago
Diana Shkolnikov
78aedc3526
Merge branch 'master' of github.com:pelias/api into pelias-api-218
9 years ago
Diana Shkolnikov
368ac483ec
Merge pull request #492 from pelias/borough_support
...
Add borough to geojson output and USA.local labels
9 years ago
Julian Simioni
39502df284
Add borough to geojson output and USA.local labels
9 years ago
Diana Shkolnikov
277153d6ea
Merge pull request #488 from pelias/normalize-parent-ids
...
Convert parent WOF ids to valid Pelias ids to be used by /place
9 years ago
Diana Shkolnikov
8a15234e56
Fix failing test
9 years ago
Diana Shkolnikov
774253beb3
Merge branch 'normalize-parent-ids' of github.com:pelias/api into normalize-parent-ids
9 years ago
Diana Shkolnikov
147c849b58
change admin property names to <place_type>_gid from <place_type>_id
9 years ago
Diana Shkolnikov
82e39fd81f
parent block properties should not be changed, only top level ones
9 years ago
Diana Shkolnikov
201f4d4fb3
Convert parent WOF ids to valid Pelias ids to be used by /place
9 years ago
Diana Shkolnikov
bfc333a203
Merge pull request #482 from pelias/bbox-reformat
...
Change properties.bounding_box to bbox at top level
9 years ago
Diana Shkolnikov
3862dd233e
change admin property names to <place_type>_gid from <place_type>_id
9 years ago
Diana Shkolnikov
10cd693e02
parent block properties should not be changed, only top level ones
9 years ago
Diana Shkolnikov
928597e029
Fix admin parts parsing without spaces after delimeters
9 years ago
missinglink
3a789b4a93
increase autocomplete 'phrase:slop' setting from 2->3
9 years ago
Diana Shkolnikov
7231e229d4
Convert parent WOF ids to valid Pelias ids to be used by /place
9 years ago
Julian Simioni
fb5326084b
Merge pull request #487 from pelias/greenkeeper-tap-dot-1.0.5
...
Update tap-dot to version 1.0.5 🚀
9 years ago
greenkeeperio-bot
0868494778
chore(package): update tap-dot to version 1.0.5
...
http://greenkeeper.io/
9 years ago
Diana Shkolnikov
7ebb653c22
Change properties.bounding_box to bbox at top level
9 years ago
missinglink
f7c64cbae0
merge master
9 years ago
Julian Simioni
178eb0e669
Merge pull request #476 from pelias/quattroshapes_deprecation
...
quattroshapes deprecation warning and wof fallback
9 years ago
Julian Simioni
abbd314ee8
Change deprication message to present tense
9 years ago
Peter Johnson
51279ce2cf
quattroshapes deprecation warning and wof fallback
9 years ago
Peter Johnson
6d4e6897fa
resolve merge conflict
9 years ago
Peter Johnson
aa3e764e49
update analyzers to work with https://github.com/pelias/schema/pull/109
9 years ago
Julian Simioni
fc71e9bfd5
Merge pull request #469 from pelias/reverse_api
...
bugfix: enable support for ?sources= filtering on /reverse
9 years ago
Peter Johnson
63301afeac
wow this is easy to get wrong, added a unit test
9 years ago
Peter Johnson
7d71e32104
bugfix: enable support for ?sources= filtering on /reverse
9 years ago
Julian Simioni
7a33bdd4ea
Merge branch 'staging'
9 years ago
Peter Johnson
0abda099a6
bugfixes and more tests
9 years ago
Peter Johnson
00b123adfb
enable ?source=s and ?layers params for autocomplete
9 years ago
Peter Johnson
8431763a12
fix handling of ?size= param for autocomplete
9 years ago
Peter Johnson
63558eb15d
add ciao dummy data script and README on how to use it
9 years ago
Julian Simioni
136f970b71
Merge pull request #467 from pelias/warn_quattroshapes2
...
Fix typo
9 years ago
Julian Simioni
d5b818ea84
Fix typo
9 years ago
Julian Simioni
364391fc1c
Merge pull request #465 from pelias/warn_quattroshapes
...
[staging] Emit a warning about the WOF transition when sources=qs used
9 years ago
Julian Simioni
26d49ac7a7
Update ciao tests
9 years ago
Julian Simioni
e97d72d7b6
Send warning when sources=quattroshapes
9 years ago
Stephen K Hess
966b6a590e
Merge pull request #461 from pelias/modify-region-specific-label-generation
...
Modify region specific label generation
9 years ago
Stephen Hess
5b934b27c3
removed debug
9 years ago
Stephen Hess
c746bd8d36
added `macroregion` to default and GBR schemas (with tests!)
9 years ago
Stephen Hess
fd0718a699
updated labelGeneration special case so that region-specific logic only applies to US/CA
9 years ago
Stephen Hess
1204727f74
added `macrocounty` and `macroregion` to properties to pull from parent
9 years ago
Diana Shkolnikov
5919901b7a
Merge pull request #444 from vesameskanen/fix-dedupe
...
Fix dedupe
9 years ago
Stephen Hess
77f396d5cb
exposed `macrocounty` and `macroregion` fields in geojsonify
9 years ago