Daniel García Aubert
|
df999e040c
|
Merge branch 'spread-prepare-context-middleware' into unify-middlewares
|
2018-03-20 11:06:31 +01:00 |
|
Daniel García Aubert
|
2e13bc42a1
|
Merge branch 'master' into spread-prepare-context-middleware
|
2018-03-20 11:01:13 +01:00 |
|
Daniel García Aubert
|
9211fa065b
|
Extract sendResponse middleware
|
2018-03-19 19:48:14 +01:00 |
|
Simon Martín
|
a830eb4ea0
|
Merge branch 'master' into rateLimits
|
2018-03-19 11:25:13 +01:00 |
|
Daniel García Aubert
|
91a7dc8cf0
|
Use const
|
2018-03-16 17:31:40 +01:00 |
|
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
|
30dab7df9f
|
Extract authorize middeware form prepareContext
|
2018-03-15 18:48:29 +01:00 |
|
Daniel García Aubert
|
afff06c7e6
|
Extract db-conn-setup middleware for prepare-context
|
2018-03-15 15:33:20 +01:00 |
|
Simon Martín
|
4e8cf136c8
|
rate limit middleware before auth
|
2018-03-14 18:06:06 +01:00 |
|
Simon Martín
|
48a7d28aa6
|
rate limit analysis catalog endpoint
|
2018-03-14 17:46:19 +01:00 |
|
Daniel García Aubert
|
88ae2d473a
|
Typo
|
2018-03-13 11:43:08 +01:00 |
|
Daniel García Aubert
|
337b47685c
|
Remove controler context from middlewares
|
2018-03-13 11:42:25 +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
|
e131df601c
|
Use ES6 template string for route definition
|
2017-11-19 14:05:20 +01:00 |
|
Daniel García Aubert
|
bee04e2553
|
Usr ES6 string templates
|
2017-11-19 12:51:35 +01:00 |
|
Daniel García Aubert
|
37111f396d
|
Unify get catalog and tables middlewares
|
2017-11-19 12:37:09 +01:00 |
|
Daniel García Aubert
|
4df46fe5ea
|
Move creation of PG client to a middleware
|
2017-11-17 19:20:42 +01:00 |
|
Daniel García Aubert
|
b1b2054f0a
|
Split metadata function into two middlewares
|
2017-11-17 19:14:31 +01:00 |
|
Daniel García Aubert
|
c1f2b96bfc
|
Remove step from catalog middleware
|
2017-11-17 18:32:46 +01:00 |
|
Daniel García Aubert
|
804c6645fa
|
Make catalog method a regular middleware factory
|
2017-11-17 18:28:37 +01:00 |
|
Daniel García Aubert
|
5d6ccc07fd
|
Move functionality that prepares catalog to be used as response
|
2017-11-17 18:25:13 +01:00 |
|
Daniel García Aubert
|
a585ba5480
|
Use early retutn node pattern
|
2017-11-17 18:07:19 +01:00 |
|
Daniel García Aubert
|
d5c552a03a
|
Move functionality that sets cache control header to a middleware
|
2017-11-14 13:53:42 +01:00 |
|
Daniel García Aubert
|
a5347c27e3
|
Move sendResponse method to a middleware
|
2017-11-14 13:49:12 +01:00 |
|
Daniel García Aubert
|
27521964c7
|
Remove schema from analyses catalog query perfoming that query in the same way that we do for pooling the node status in analyses backend
|
2017-11-14 12:01:21 +01:00 |
|
Daniel García Aubert
|
bdf4827300
|
Fix bad call to next middleware callback
|
2017-11-14 11:28:06 +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 |
|
Simon Martín
|
b4d03c074a
|
not move db params to res.locals.db
|
2017-09-29 11:07:11 +02:00 |
|
Simon Martín
|
f824fc5243
|
base and analyses controller
|
2017-09-28 12:02:34 +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
|
b236112069
|
Split prepare context middleware and fix unit test
|
2017-09-25 13:40:22 +02:00 |
|
Daniel García Aubert
|
3bab081438
|
Rename req2params by prepareContext
|
2017-09-22 17:56:47 +02:00 |
|
Daniel García Aubert
|
ee8619c470
|
Use express router to group controllers' enpoints and reuse common middleware for analysis controller
|
2017-09-22 16:28:52 +02:00 |
|
Daniel García Aubert
|
df5ec0f4d9
|
Use req2params middleware for analysis catalog endpoint
|
2017-09-22 00:42:17 +02:00 |
|
Daniel García Aubert
|
429f070372
|
Pass node's response object to req2params
|
2017-09-21 12:22:33 +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
|
3af340d384
|
Add controller to list user analyses
|
2016-07-12 16:08:48 +02:00 |
|