Julian Simioni
435cfd2c4a
Fix linter error
...
This snuck in in https://github.com/pelias/api/pull/1165
7 years ago
Julian Simioni
dd6f360c70
fix: Merge pull request #1165 from tiranno/pelias/pelias#670
...
Fix for Pelias/Pelias#670
7 years ago
Tyler Pedelose
be82c05c92
Moved includes check from lodash to native array in is_request_sources_includes_whosonfirst
7 years ago
Tyler Pedelose
85df33cdaa
Made is_request_sources_undefined more direct
7 years ago
Tyler Pedelose
df3e78ecdd
Uncomment predicate imports
7 years ago
Tyler Pedelose
52a66e1bc0
Added new predicates to aid placeholderGeodisambiguationShouldExecute
7 years ago
Tyler Pedelose
a0893cfb70
Removed extra comments
7 years ago
Tyler Pedelose
68c067ee8c
Fix for Pelias/Pelias#670
7 years ago
Julian Simioni
d139b3e08d
Merge pull request #1170 from pelias/trim_text
...
trim whitespace and quotation marks from a range of natural languages
7 years ago
Peter Johnson
d38d4b1fa8
feat(text_sanitizer): trim whitespace and quotation marks from a range of natural languages
7 years ago
Julian Simioni
8f2f55c9a3
fix: Merge pull request #1162 from pelias/remove_focus_selected_layers
...
Remove focus_selected_layers query view
7 years ago
Julian Simioni
561f07950b
Remove focus_selected_layers query view
...
This query extends the standard focus query view with hardcoded layers
for which the query applies. The intent was to apply the focus scoring
only to non-admin areas, but the list of layers was already out of date,
as it was missing streets.
The query is fundamentally problematic with custom layers as well.
7 years ago
Julian Simioni
713b236a87
Fix Docker image build
7 years ago
Julian Simioni
b16dbea396
Merge pull request #1160 from pelias/build-greenkeeper-branches
...
Build Docker images on Greenkeeper branches
7 years ago
Julian Simioni
dfb36a82c6
Build greenkeeper branches
7 years ago
Julian Simioni
368cde349e
Merge pull request #1159 from pelias/greenkeeper/tap-dot-2.0.0
...
Update tap-dot to the latest version π
7 years ago
greenkeeper[bot]
d7726abb30
chore(package): update tap-dot to version 2.0.0
7 years ago
Julian Simioni
cd394769c3
feat(attribution): Merge pull request #1157 from pelias/attribution-page
...
Update licenses on attribution page
7 years ago
Julian Simioni
b81a7f8d34
Add a link to the OSM Geocoding Guidelines
7 years ago
Julian Simioni
ef85313f09
Attempt to properly describe OA licenses
7 years ago
Julian Simioni
7fe87bcf24
Update WOF license info link
7 years ago
Julian Simioni
4768fd3837
Update Geonames license
...
They use CC-BY-4.0 now
7 years ago
Julian Simioni
64421449a4
Merge pull request #1156 from pelias/carat-ranges
...
Use carat ranges for all Pelias Dependencies
7 years ago
Julian Simioni
369638ee4d
Use carat ranges for all Pelias Dependencies
...
The overhead of having to merge a Greenkeeper PR for every single change to
every single repository (which leads to cascading PRs), is too much.
Connects https://github.com/pelias/pelias/issues/366
7 years ago
Julian Simioni
104b91f60e
Merge pull request #1120 from pelias/greenkeeper/retry-0.12.0
...
Update retry to the latest version π
7 years ago
greenkeeper[bot]
370dda42cc
fix(package): update retry to version 0.12.0
7 years ago
Julian Simioni
c823be20dd
Merge pull request #1141 from pelias/greenkeeper/elasticsearch-15.0.0
...
Update elasticsearch to the latest version π
7 years ago
greenkeeper[bot]
13d0a5b179
fix(package): update elasticsearch to version 15.0.0
7 years ago
Julian Simioni
98ed496cb7
Merge pull request #1154 from pelias/greenkeeper/pelias-logger-0.4.2
...
Update pelias-logger to the latest version π
7 years ago
greenkeeper[bot]
f4cf1411ab
fix(package): update pelias-logger to version 0.4.2
7 years ago
Julian Simioni
1105e472af
Merge pull request #1155 from pelias/greenkeeper/pelias-model-5.5.2
...
fix(package): update pelias-model to version 5.5.2
7 years ago
greenkeeper[bot]
03f5b65e33
fix(package): update pelias-model to version 5.5.2
...
Closes #1116
7 years ago
Julian Simioni
e8896abbf9
Merge pull request #1145 from pelias/greenkeeper/pelias-sorting-1.2.0
...
Update pelias-sorting to the latest version π
7 years ago
greenkeeper[bot]
bc61c1fe50
fix(package): update pelias-sorting to version 1.2.0
7 years ago
Julian Simioni
70b558b935
Merge pull request #1153 from pelias/greenkeeper/pelias-config-3.0.2
...
Update pelias-config to the latest version π
7 years ago
greenkeeper[bot]
be29fd9d27
fix(package): update pelias-config to version 3.0.2
7 years ago
Julian Simioni
0321536ebb
Merge pull request #1150 from pelias/interpolation_sorting
...
fix(interpolation): Ensure proper sorting of streets with interpolated addresses
7 years ago
Julian Simioni
10241047a6
fix(interpolation): Ensure proper sorting of streets with interpolated addresses
...
In cases where several conditions are met, it is possible for results to
be returned from the API that are not sorted as they were intended.
These conditions are:
* over 10 results total were returned from Elasticsearch
* the interpolation middleware was called
* not all street results end up with possible interpolated address
matches, and some of those streets come before other interpolated
address records, necessitating a re-sorting of the results in the
interpolation middleware
In these cases, the ordering of streets as defined by Elasticsearch,
such as by linguistic match or distance from a focus point, will no
longer be respected in the results.
This is because Node.js's `Array.prototype.sort` uses an
[*un*stable QuickSort for arrays of size 11 or greater](https://github.com/nodejs/node/blob/master/deps/v8/src/js/array.js#L670 ).
The solution is to switch to a sorting algorithm that is always stable.
This ensures that whatever ordering was specified in the Elasticsearch
queries is observed, without any of that logic having to be duplicated,
and then possibly conflict.
Stable sorting is provided by the [stable](http://npmjs.com/stable ) NPM
package.
7 years ago
Julian Simioni
783ff7529a
Merge pull request #1148 from pelias/greenkeeper/pelias-mock-logger-1.3.0
...
Update pelias-mock-logger to the latest version π
7 years ago
greenkeeper[bot]
84cac12fa9
chore(package): update pelias-mock-logger to version 1.3.0
7 years ago
Julian Simioni
42ad1b4f8e
Merge pull request #1147 from pelias/greenkeeper/pelias-microservice-wrapper-1.4.0
...
Update pelias-microservice-wrapper to the latest version π
7 years ago
greenkeeper[bot]
5f565583f0
fix(package): update pelias-microservice-wrapper to version 1.4.0
7 years ago
Julian Simioni
594ec34b7e
Merge pull request #1152 from pelias/greenkeeper/pelias-logger-0.4.1
...
fix(package): update pelias-logger to version 0.4.1
7 years ago
greenkeeper[bot]
152897714e
fix(package): update pelias-logger to version 0.4.1
...
Closes #1144
7 years ago
Julian Simioni
cdbfb5ce2d
Merge pull request #1151 from pelias/greenkeeper/pelias-config-3.0.1
...
fix(package): update pelias-config to version 3.0.1
7 years ago
greenkeeper[bot]
1fbb81a1a4
fix(package): update pelias-config to version 3.0.1
...
Closes #1136
7 years ago
Julian Simioni
dc2662659b
Merge pull request #1149 from pelias/attribution
...
Fix attribution URL settings
7 years ago
Julian Simioni
bb860b815d
fix(attribution): Use correct path for attribution endpoint
7 years ago
Julian Simioni
7122317f2a
feat(attribution): allow overriding attribution URL
...
This url is used to show attribution information for Pelias data sources
It was often not detected correctly if, for example, the API is proxied
behind a load balancer.
7 years ago
Peter Johnson
e15aa52f63
feat(type_mapping): rename function to avoid confusion with elasticsearch API
7 years ago