Commit Graph
5485 Commits
Author SHA1 Message Date
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
Javier Goizueta cae4dd81c9 WIP: fix problems for aggregations & metadata 2018-05-10 19:12:47 +02:00
Simon Martín eba68c56ef handling pg_typeof undefined 2018-05-10 18:36:08 +02:00
Simon Martín 99516f5a75 fix tests and jshint happy 2018-05-10 18:35:52 +02:00
Simon Martín 37a2e89c81 testing expected result with pg_typeof undefined 2018-05-10 18:34:18 +02:00
Simon Martín ed837fbf22 improving tests raising the pg_typeof error 2018-05-10 17:25:02 +02:00
Simon Martín 913b29070f tests raising pg_typeof error 2018-05-10 15:59:38 +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
Javier Goizueta f7745928ab Fix tests
eliminate dependency on the order of PostgreSQL results
2018-05-09 15:42:41 +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
Javier Goizueta ee7bd5fb8a Fix tests 2018-05-09 12:42:42 +02:00
Javier Goizueta fff5b3d85a Revert debugging changes 2018-05-09 11:59:24 +02:00
Javier Goizueta d706d0eb22 More travis debugging through commits 2018-05-09 11:44:49 +02:00
Javier Goizueta 944ce80c1e Revert debugging change 2018-05-09 11:42:53 +02:00
Javier Goizueta d8ef8cb12f Debug travis test failures 2018-05-09 11:08:02 +02:00
Javier Goizueta eea7bed2f3 Slightly more elegant results of queries 2018-05-08 20:41:42 +02:00
Javier Goizueta 741bcd1a80 Metadata fixes 2018-05-08 20:07:20 +02:00
Javier Goizueta 9c9cfd015d Add test for optional layer metadata 2018-05-08 20:06:14 +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
Eneko Lakasta f60993b042 re-organize no api key token provided tests - explain tests 2018-05-08 14:41:16 +02:00
Eneko Lakasta 1005126a5f re-organize no api key token provided tests 2018-05-08 14:32:44 +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
Javier Goizueta 7d68a2967f Fix: callback expected errors in first argument 2018-05-08 13:08:26 +02:00
Javier Goizueta b96be69a5c Clarify example 2018-05-08 13:08:01 +02:00
Javier Goizueta 636cd8cd50 Fix:phase execution
phase (not only its tasks) must be executed after the tasks of previous phases
2018-05-08 12:56:06 +02:00
Eneko Lakasta 0536d0abcb add test to check that the fallback api key used if none is sent, is the default public 2018-05-08 11:32:45 +02:00
Javier Goizueta c647f852d6 Refactor metadata queries execution
Also fixed bug where sampling query generation needed results of count queries
2018-05-08 11:09:09 +02:00
Javier Goizueta ebab879aca Fix bugs & typos 2018-05-08 11:07:47 +02:00
Javier Goizueta 7561635b24 WIP:add layer metadata 2018-05-07 19:03: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