Daniel García Aubert
|
313fc75ec8
|
Rename middleware
|
2018-03-16 16:28:50 +01:00 |
|
Daniel García Aubert
|
639a69a639
|
Reorder middlewares to optimize workflow
|
2018-03-16 16:12:36 +01:00 |
|
Daniel García Aubert
|
071a5a4bdf
|
Rename base paths
|
2018-03-16 13:04:42 +01:00 |
|
Daniel García Aubert
|
7ff7b0c2d1
|
Extract rest of the middlewares from prepare contex
|
2018-03-15 19:38:11 +01:00 |
|
Daniel García Aubert
|
a34658c97f
|
Use objects instead of param list
|
2018-03-14 17:31:37 +01:00 |
|
Daniel García Aubert
|
8d37e00869
|
Use objects instead of parameter list
|
2018-03-14 17:25:58 +01:00 |
|
Daniel García Aubert
|
421e611356
|
Use objects instead of a list of parameters
|
2018-03-14 17:22:47 +01:00 |
|
Daniel García Aubert
|
2cc4161239
|
Missing semicolon
|
2018-03-13 15:02:44 +01:00 |
|
Daniel García Aubert
|
fc8f3fdf27
|
Create send response middleware
|
2018-03-13 13:31:49 +01:00 |
|
Daniel García Aubert
|
24b76208ac
|
Improve naming
|
2018-03-13 13:21:40 +01:00 |
|
Daniel García Aubert
|
0de272b195
|
Extract middlewares form controller's context
|
2018-03-13 13:12:18 +01:00 |
|
Daniel García Aubert
|
2c762813ba
|
Follow middleware pattern, return a function as the actual middleware
|
2018-03-01 15:52:48 +01:00 |
|
Daniel García Aubert
|
b0c924ca03
|
Follow middleware pattern, should return a function as the actual middleware
|
2018-03-01 15:42:03 +01:00 |
|
Daniel García Aubert
|
f6f59023b4
|
Ungroup middlewares
|
2018-02-28 19:46:46 +01:00 |
|
Daniel García Aubert
|
42deb7abbe
|
Rename middleware
|
2018-02-28 19:20:51 +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 |
|
Daniel García Aubert
|
1ba240d099
|
Rename middleware function
|
2018-01-03 13:15:11 +01:00 |
|
Daniel García Aubert
|
dfef7ff3c0
|
Use spread assignment
|
2017-12-29 18:45:45 +01:00 |
|
Daniel García Aubert
|
adb9e55fb2
|
Avoid snake_case notation
|
2017-12-29 16:30:42 +01:00 |
|
Daniel García Aubert
|
5d3726de44
|
Use original variable name
|
2017-12-29 16:24:38 +01:00 |
|
Daniel García Aubert
|
f186e4736b
|
Use template string
|
2017-12-29 16:19:00 +01:00 |
|
Daniel García Aubert
|
a00c2b1eef
|
Now main middlewares return a named function with the right context bound
|
2017-12-29 16:15:48 +01:00 |
|
Daniel García Aubert
|
64d601179d
|
Use const instead of var
|
2017-12-29 15:22:17 +01:00 |
|
Daniel García Aubert
|
cf2b73e473
|
Move to up intermediate middlewares
|
2017-12-29 15:19:52 +01:00 |
|
Daniel García Aubert
|
70932c23df
|
Remove step and assert dependencies
|
2017-12-29 15:17:29 +01:00 |
|
Daniel García Aubert
|
519d49bd10
|
Remove finish function and respond in the main middleware
|
2017-12-29 15:04:44 +01:00 |
|
Daniel García Aubert
|
bf814c4442
|
keep error label
|
2017-12-29 13:05:01 +01:00 |
|
Daniel García Aubert
|
f136993c50
|
Use checkContentType middleware
|
2017-12-29 12:44:56 +01:00 |
|
Daniel García Aubert
|
ba008ab518
|
Remove unused function
|
2017-12-29 12:36:56 +01:00 |
|
Daniel García Aubert
|
e4ed6ee1cc
|
Use authorizedByAPIKey middleware
|
2017-12-29 12:34:50 +01:00 |
|
Daniel García Aubert
|
fda7661dad
|
Create authorizedByAPIKey middleware
|
2017-12-29 12:23:52 +01:00 |
|
Daniel García Aubert
|
b6c405bf68
|
Remove send method in base controller and remove BaseController class
|
2017-10-30 19:28:40 +01:00 |
|
Simon Martín
|
06138a82a8
|
Merge branch 'middlewarify' into res-locals
|
2017-10-05 17:53:15 +02:00 |
|
Daniel García Aubert
|
b93c09959c
|
Back to use just one router
|
2017-10-05 12:12:21 +02:00 |
|
Simon Martín
|
21720267cf
|
from req.context to res.locals
|
2017-10-03 17:47:57 +02:00 |
|
Daniel García Aubert
|
4899c7ffef
|
Inject prepare context middleware to controllers
|
2017-09-25 19:40:27 +02:00 |
|
Daniel García Aubert
|
0bdeee64a7
|
Use express router to group controllers' enpoints and reuse common middleware for named maps admin controller
|
2017-09-22 16:45:34 +02:00 |
|
Daniel García Aubert
|
daeae5d95c
|
Implement error-middleware to handle errors at top level
|
2017-09-21 11:46:42 +02:00 |
|
Raul Ochoa
|
cad02bfad7
|
Remove all conditional branches to call req.profiler
req.profiler is created in a middleware for all requests.
|
2017-03-30 20:31:53 +02:00 |
|
Daniel García Aubert
|
178345ab12
|
Fixed typo
|
2016-03-14 11:18:32 +01:00 |
|
Daniel García Aubert
|
052b58ab90
|
Moved turbo-cartocss integration from named maps admin to named map provider
|
2016-03-11 18:28:14 +01:00 |
|
Daniel García Aubert
|
cc5443152b
|
Now turbo-cartocss is also parsed in template modification.
|
2016-03-11 11:06:51 +01:00 |
|
Daniel García Aubert
|
dab4b6d56b
|
Implemented integration of turbo-cartocss for named maps
|
2016-03-10 20:45:00 +01:00 |
|
Raul Ochoa
|
3181bcc63e
|
Remove app dependency from controllers
|
2015-09-30 18:00:54 +02:00 |
|
Raul Ochoa
|
9cd67f06c1
|
User extraction from request middleware
Used only where potentially a user is required.
It doesn't make sense to extract a user for request that don't need
a user in the context.
|
2015-09-30 17:17:01 +02:00 |
|
Raul Ochoa
|
d93abe8e7d
|
Change to delete
|
2015-09-17 02:05:47 +02:00 |
|
Raul Ochoa
|
a4ba21f9db
|
Call send with correct params
|
2015-09-17 02:05:25 +02:00 |
|
Raul Ochoa
|
38e422e84c
|
Moves sendError and sendResponse to Base controller
Test for findStatusCode moved to controller
|
2015-09-16 21:54:56 +02:00 |
|