Commit Graph
16 Commits
Author SHA1 Message Date
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