Daniel García Aubert
|
a66c19c6c7
|
Do not bind context when unneeded
|
2018-03-06 20:05:55 +01:00 |
|
Daniel García Aubert
|
94d1667d70
|
Refactor affected tables
|
2018-03-06 20:01:43 +01:00 |
|
Daniel García Aubert
|
3399db1cff
|
Add comment
|
2018-03-06 18:58:09 +01:00 |
|
Daniel García Aubert
|
874ea99d19
|
Remove step
|
2018-03-06 18:43:23 +01:00 |
|
Daniel García Aubert
|
7022fb87b4
|
Extract header, affected-tables and response middlewares
|
2018-03-06 18:28:40 +01:00 |
|
Daniel García Aubert
|
7c1e2a6af0
|
Avoid nested steps
|
2018-03-06 17:08:39 +01:00 |
|
Daniel García Aubert
|
2f011c3266
|
Remove nested steps
|
2018-03-06 17:01:51 +01:00 |
|
Daniel García Aubert
|
4762aa0897
|
Remove step from sendResponse function
|
2018-03-06 16:55:27 +01:00 |
|
Daniel García Aubert
|
f30f83331f
|
Extract tile error middleware
|
2018-03-06 16:44:37 +01:00 |
|
Daniel García Aubert
|
3695e1e3e5
|
Place function closer to where is called
|
2018-03-06 16:21:46 +01:00 |
|
Daniel García Aubert
|
585b5929aa
|
Middlewarify tile and layer endpoints
|
2018-03-06 16:19:53 +01:00 |
|
Daniel García Aubert
|
9b40370794
|
Now that mapConfigProvider is linked to 'res.locals' do not pass the whole 'res.locals' to map-config-provider to avoid converting circular structure to JSON
|
2018-03-06 12:44:17 +01:00 |
|
Daniel García Aubert
|
95f3d58383
|
Make jshint happy
|
2018-03-05 19:33:46 +01:00 |
|
Daniel García Aubert
|
0f0cde1093
|
Middlewarify static-api (bbox/center) endpoints
|
2018-03-05 19:26:26 +01:00 |
|
Daniel García Aubert
|
ca56df5cfe
|
Middlewarify attributes endpoint
|
2018-03-05 18:28:52 +01:00 |
|
Daniel García Aubert
|
d8a4209768
|
Middlewarify analysis-node-status endpoint
|
2018-03-05 18:13:19 +01:00 |
|
Daniel García Aubert
|
40712a2e62
|
Middlewarify search dataview endpoint
|
2018-03-05 18:05:42 +01:00 |
|
Daniel García Aubert
|
acb9ce33b1
|
Pass dataview-backend as middleware option
|
2018-03-05 18:04:50 +01:00 |
|
Daniel García Aubert
|
5e43a7145a
|
Middlewarify dataview endpoint
|
2018-03-05 17:44:04 +01:00 |
|
Daniel García Aubert
|
5de8c4f9c3
|
Make explicit that forceFormat is optional
|
2018-03-05 11:19:17 +01:00 |
|
Daniel García Aubert
|
6331bebb30
|
Going green: be able to request defaul named tiles in vector format
|
2018-03-02 18:25:23 +01:00 |
|
Eneko Lakasta
|
cda2616a8a
|
get and check api key credentials from api key: username and token
|
2018-02-15 17:49:47 +01:00 |
|
Eneko Lakasta
|
18dbeea003
|
get apikey token from request in named maps admin middleware
|
2018-02-15 15:20:52 +01:00 |
|
Eneko Lakasta
|
5db0e9c8d8
|
add middleware for apikeyToken
|
2018-02-15 12:50:42 +01:00 |
|
Eneko Lakasta
|
4c76a921b1
|
use res.locals instead of req.params
|
2018-02-07 16:02:13 +01:00 |
|
Daniel García Aubert
|
da32d96607
|
Fix regression: default to all layers if layer filter is not provided
|
2018-01-16 17:57:22 +01:00 |
|
Daniel García Aubert
|
76da828168
|
Use error label as middleware argument
|
2018-01-16 17:55:09 +01:00 |
|
Daniel García Aubert
|
ce4050e3e3
|
Extrac method to get only user params
|
2018-01-15 18:09:54 +01:00 |
|
Daniel García Aubert
|
b82767c60d
|
Pass a copy of res.locals w/o new data boud to named-map-provider-cache
|
2018-01-15 17:40:34 +01:00 |
|
Daniel
|
fc82ca7490
|
Merge pull request #834 from CartoDB/middlewarify-named-maps-controller
Middlewarify named maps controller
|
2018-01-09 11:40:59 +01:00 |
|
Daniel García Aubert
|
183c8291bc
|
Use arrow functions when it applies
|
2018-01-09 11:20:20 +01:00 |
|
Daniel García Aubert
|
d908ffdbca
|
Don't use arrow functions when there is no needed
|
2018-01-09 11:17:07 +01:00 |
|
Raul Ochoa
|
2cda43dc8d
|
Promote https urls over http
|
2018-01-03 22:18:59 +00:00 |
|
Raul Ochoa
|
f7f513a61a
|
Add urlTemplate URLs to metadata
This is useful when using client libraries like leaflet.
|
2018-01-03 20:53:03 +00:00 |
|
Raul Ochoa
|
f297374449
|
Merge pull request #837 from CartoDB/tilejson
Return tilejson in metadata
|
2018-01-03 20:13:44 +01:00 |
|
Raul Ochoa
|
060b93c314
|
Rename middleware fn name
|
2018-01-03 18:44:10 +00:00 |
|
Raul Ochoa
|
bf40b240d3
|
Return tilejson in metadata
It returns tilejson for each individual layer and also for all vector and raster layers.
|
2018-01-03 16:54:45 +01:00 |
|
Daniel García Aubert
|
1ba240d099
|
Rename middleware function
|
2018-01-03 13:15:11 +01:00 |
|
Daniel García Aubert
|
49c97e2cf2
|
Use default argument
|
2018-01-02 10:56:45 +01:00 |
|
Daniel García Aubert
|
41e65a9633
|
Remove max cyclomatic complexity
|
2018-01-01 18:06:56 +01:00 |
|
Daniel García Aubert
|
feae766e62
|
Create middleware to fetch named map template
|
2018-01-01 16:54:35 +01:00 |
|
Daniel García Aubert
|
e3bdeec8ca
|
Simplify middleware
|
2018-01-01 16:21:22 +01:00 |
|
Daniel García Aubert
|
80c4207c74
|
Remove underscore dependencie
|
2017-12-30 18:18:37 +01:00 |
|
Daniel García Aubert
|
80e4306fbc
|
Remove step and assert dependencies
|
2017-12-30 18:03:26 +01:00 |
|
Daniel García Aubert
|
543d257a20
|
Move sendResponse to a middleware
|
2017-12-30 17:18:12 +01:00 |
|
Daniel García Aubert
|
8a023e3d2f
|
Keep error label
|
2017-12-30 16:08:46 +01:00 |
|
Daniel García Aubert
|
f13b45862d
|
Move incrementMapViews to a middlewares
|
2017-12-30 16:04:24 +01:00 |
|
Daniel García Aubert
|
731fe4c00f
|
Move getStaticImageOptions and getImage to a middlewares
|
2017-12-30 15:21:20 +01:00 |
|
Daniel García Aubert
|
500cbb959f
|
Move method to a middleware
|
2017-12-30 14:13:23 +01:00 |
|
Daniel García Aubert
|
108a319143
|
Do not use step
|
2017-12-29 19:33:49 +01:00 |
|