Commit Graph

5178 Commits

Author SHA1 Message Date
Raúl Marín
df089cb0a5
Merge pull request #958 from CartoDB/windshaft473
Windshaft 4.7.3
2018-05-16 12:30:59 +02:00
Daniel G. Aubert
d940ab36e1
Merge pull request #954 from CartoDB/controllers-goodies
Controllers goodies
2018-05-14 18:31:48 +02:00
Raul Marin
0f48d51062 Update yarn.lock 2018-05-14 15:01:04 +02:00
Raul Marin
1c5344ba6e Update Windshaft to 4.7.3 2018-05-14 14:54:29 +02:00
Daniel G. Aubert
0d4654122c
Merge pull request #956 from CartoDB/add-merge-params-options
Express Routers: Activate mergeParams option
2018-05-14 12:59:44 +02:00
Daniel García Aubert
63a9d58c67 Add regression test 2018-05-14 12:28:57 +02:00
Daniel García Aubert
5a397afd06 In order to extract common middlewares between routers and controlles we need to activate mergeParams options to preserve the req.params from the parent router 2018-05-14 11:50:48 +02:00
Daniel García Aubert
f4d60f963d Add comment 2018-05-11 16:37:02 +02:00
Daniel García Aubert
c6babc7dc4 Create .middlewares() method to build midlleware stack to perform request 2018-05-11 16:26:05 +02:00
Daniel García Aubert
3905ed796e Use ES6 class syntax 2018-05-11 16:24:28 +02:00
Daniel García Aubert
595d006d5b Rename function 2018-05-11 16:21:57 +02:00
Daniel García Aubert
3bcf6d7ca0 Place comment 2018-05-11 16:20:44 +02:00
Daniel García Aubert
68f5ee7bde Use ES6 class syntax 2018-05-11 16:18:52 +02:00
Daniel García Aubert
9db6e2161b Use ES6 class syntax 2018-05-11 16:15:33 +02:00
Daniel García Aubert
6eeb75a35e Use .middlewares() method to build middleware stack to process the request 2018-05-11 16:13:34 +02:00
Daniel García Aubert
1f717617b0 Add .middlewares() method to build middleware stack to be mounted 2018-05-11 16:07:25 +02:00
Daniel García Aubert
3d7231929c Create .middlewares() method to return the middlewares to process the request 2018-05-11 15:34:10 +02:00
Daniel García Aubert
242224396d Create .middlewares() method to compose controller actions 2018-05-11 14:05:41 +02:00
Daniel García Aubert
1cfeda8fe5 Create .middlewares() method to mount corresponding set of middlewares 2018-05-11 13:38:51 +02:00
Daniel García Aubert
33af2d37b3 Remove declared variables but not used 2018-05-11 13:30:25 +02:00
Daniel García Aubert
69505974fe Pass object instead of argument list 2018-05-11 13:29:50 +02:00
Daniel García Aubert
a77dd9a11f Create .middlewares() method to be mounted in dataview controller 2018-05-11 13:20:05 +02:00
Daniel García Aubert
1bc017eac9 Rename function 2018-05-11 12:42:17 +02:00
Daniel García Aubert
07dec2e641 Create .middlwares() to return a set of middlewares to be mounted 2018-05-11 12:38:52 +02:00
Daniel García Aubert
d86a839265 Blank line 2018-05-11 12:22:50 +02:00
Daniel García Aubert
72d8a26ede Use ES6 class 2018-05-11 12:14:27 +02:00
Daniel G. Aubert
e5ddd57d65
Merge pull request #927 from CartoDB/separate-app-and-controllers-creation
Separate app and controllers creation
2018-05-10 13:19:10 +02:00
Daniel García Aubert
db35ec682a Merge branch 'master' into separate-app-and-controllers-creation 2018-05-09 18:12:06 +02:00
Daniel G. Aubert
111889565a
Merge pull request #931 from CartoDB/separate-routers
Separate public API (create a router hierarchy) from monitoring endpoints
2018-05-09 17:57:50 +02:00
Daniel G. Aubert
c68ece96cd
Merge pull request #934 from CartoDB/improve-folder-structure
Improve folder structure
2018-05-09 17:26:13 +02:00
Daniel García Aubert
0741881959 Do not initialize status code to 404 when method is OPTIONS 2018-05-09 16:24:38 +02:00
Daniel García Aubert
976ee35a35 Use new routes configuration schema in ported test 2018-05-09 15:24:33 +02:00
Daniel García Aubert
c51e254287 Set 404 as defautl status code and set the proper status code fir the response at very same time that the response body 2018-05-09 15:00:18 +02:00
Daniel García Aubert
9feea66550 Use routes configuration to create and mount routes and controllers 2018-05-09 14:59:21 +02:00
Raúl Marín
39a1b0742f
Merge pull request #951 from Algunenano/revert_windshaft472
Revert windshaft472
2018-05-08 19:14:59 +02:00
Raul Marin
03bcf573c3 Revert "Update yarn.lock with the Windshaft 4.7.2"
This reverts commit fa647a915c.
2018-05-08 18:58:04 +02:00
Raul Marin
97d1b4fafa Revert "Update Windshaft to 4.7.2"
This reverts commit 2cf0b9d097.
2018-05-08 18:57:32 +02:00
Raúl Marín
d79d3fd4dc
Merge pull request #950 from CartoDB/windshaft472
Update to Windshaft 4.7.2
2018-05-08 18:05:24 +02:00
Raul Marin
fa647a915c Update yarn.lock with the Windshaft 4.7.2 2018-05-08 14:08:12 +02:00
Raul Marin
2cf0b9d097 Update Windshaft to 4.7.2 2018-05-08 14:04:19 +02:00
Daniel García Aubert
7ed819e84a Merge branch 'separate-routers' into improve-folder-structure 2018-05-07 18:29:53 +02:00
Daniel García Aubert
407a83e81d Merge branch 'separate-app-and-controllers-creation' into separate-routers 2018-05-07 18:29:00 +02:00
Daniel García Aubert
3c3731252d Respect default values with object.assign 2018-05-07 18:24:41 +02:00
Daniel García Aubert
8b64328087 Merge branch 'separate-routers' into improve-folder-structure 2018-05-07 17:28:20 +02:00
Daniel García Aubert
f1bb5b3d1d Merge branch 'separate-app-and-controllers-creation' into separate-routers 2018-05-07 17:27:32 +02:00
Daniel García Aubert
7aeab47df4 Merge branch 'master' into separate-app-and-controllers-creation 2018-05-07 17:27:00 +02:00
Simon Martín
efa765a9fc
Merge pull request #945 from CartoDB/docker-tests
Travis tests: xenial+pg10 and precise+pg9.5
2018-05-07 10:56:15 +02:00
Simon Martín
910f5693d8 updating news 2018-05-07 10:43:15 +02:00
Simon Martín
7c5ed7e8f8 using the correct docker account 2018-05-03 17:38:54 +02:00
Simon Martín
066626d928 simplify docker commands 2018-05-03 11:18:09 +02:00