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
missinglink
1752875f11
feat: fix attribution link
7 years ago
Stephen Hess
16e01b5049
remove unused require
7 years ago
Stephen Hess
759c0e0939
switched to lodash.extend over extend module
7 years ago
Lily He
cafb7d9277
created new debug helper class and debug sanitizer
7 years ago
Stephen Hess
5be06ac1fa
removed whitespace
8 years ago
Stephen Hess
9b82763924
removed extraneous parameter
8 years ago
Stephen Hess
248b1299c8
added post-processing step to generate labels
...
injects label generation function for easier unit testing
moved label generation code to separate package
8 years ago
Stephen Hess
c14a1311f7
extracted labelGenerator to be injectable
8 years ago
Diana Shkolnikov
24aadbe4a2
fix: increment geocodejson format version number in results
8 years ago
Diana Shkolnikov
cbf2d0ace5
fix broken ciao tests
8 years ago
Diana Shkolnikov
cc9c4148bb
Refactor geojsonify code and add ability to pass in clean query params
8 years ago
missinglink
1c9af40f3c
remove query.tokens_complete and query.tokens_incomplete from geoJSON
9 years ago
Diana Shkolnikov
9433d995b1
Fix attribution link
9 years ago
Diana Shkolnikov
73419342a6
Fix attribution link
9 years ago
Peter Johnson
7c46aed4a7
expose error messages in geojson
9 years ago
Peter Johnson
6ab81ffca5
set response data/meta on instead of
9 years ago
Diana Shkolnikov
f7044d2435
Add content for `attribution` static endpoint
...
Fixes #212
9 years ago
Diana Shkolnikov
1d8db6e5d1
Change type back to layer... oooops
9 years ago
Diana Shkolnikov
0f2ff935ec
Add checks for presence of results
9 years ago
Diana Shkolnikov
db0e063d8c
Refactor controllers to be simple midddleware
...
Refactor search and doc controllers to allow for post-processing middleware
to handle geojson and response sending. Allows for a much more flexible routing scheme.
9 years ago