Commit Graph
1648 Commits
Author SHA1 Message Date
Raul Ochoa 6c0e6210d6 Split response validation 2017-10-06 15:15:16 +02:00
Raul Ochoa f350206990 Strict check 2017-10-06 12:54:37 +00:00
Raul Ochoa c8d2c9ea37 Do NOT throw error when not being in step context 2017-10-06 12:41:50 +00:00
Daniel García Aubert c70b8cb5bf Set X-Served-By-DB-Host header in db-conn-setup middleware 2017-10-05 18:05:46 +02:00
Simon Martín 06138a82a8 Merge branch 'middlewarify' into res-locals 2017-10-05 17:53:15 +02:00
Daniel García Aubert 678fbb1c8f Remove bad argument to middleware callback 2017-10-05 17:28:41 +02:00
David Manzanares 34d9e5a4eb Fix MVT test 2017-10-05 16:08:05 +02:00
David Manzanares 54b7ee85c2 Geojson tests adapted to MVT 2017-10-05 14:38:43 +02:00
Simon Martín 5abe25c316 undo style/format changes 2017-10-05 11:35:49 +02:00
Simon Martín 1c3f2b93e3 prepareRequest and prepareResponse in prepare-context.test 2017-10-03 17:58:16 +02:00
Simon Martín 21720267cf from req.context to res.locals 2017-10-03 17:47:57 +02:00
Raul Ochoa 2b1f12e9d5 Allow to instantiate maps with analyses filters
This decouples filters from dataviews. They are more verbose now.

Misses validation of filters.
2017-10-02 19:16:44 +02:00
Simon Martín c894414192 going green 2017-10-02 12:28:29 +02:00
Simon Martín aa62529041 updating preprare-context test to allow the new res.locals usage 2017-10-02 12:09:19 +02:00
Simon Martín f9d87bc40f res.locals fixing controllers 2017-10-02 12:07:35 +02:00
Raul Ochoa 78b75c7a88 Removes list dataview type 2017-09-28 10:47:44 +00:00
Simon 178b9e8563 moving layergroup-token middleware to middlewarify style 2017-09-27 16:32:49 +02:00
Simon ac474cb253 Merge branch 'middlewarify' into layergroup-token-param 2017-09-27 16:31:08 +02:00
Daniel García Aubert e0e67df91c Merge branch 'master' into middlewarify 2017-09-25 20:04:33 +02:00
Raul Ochoa b943b09532 Merge pull request #736 from CartoDB/static-named-maps-override-bbox
Static named maps override bbox
2017-09-25 14:10: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 85d4c81e58 Remove legacy hack 2017-09-22 18:15:48 +02:00
Daniel García Aubert ff19a8a2fe Rename test 2017-09-22 17:59:51 +02:00
Daniel García Aubert 3bab081438 Rename req2params by prepareContext 2017-09-22 17:56:47 +02:00
Raul Ochoa 3134f40eac Remove advanced use cases that no longer make sense 2017-09-22 15:42:52 +00:00
Raul Ochoa 5cc31cabe2 Fix and enable some old tests related to analyses use cases 2017-09-22 15:41:58 +00:00
Simon c09899913f finishing integration of lzma middleware 2017-09-22 16:46:39 +02:00
Simon 9d81321d78 Merge branch 'master' into middlewarify 2017-09-22 16:26:56 +02:00
Simon Martín ca63c2ef1a Merge pull request #721 from CartoDB/lzma-middleware
Implement LZMA query param inflating as middleware
2017-09-22 16:16:36 +02:00
Raul Ochoa 2eb1c0f3e0 Remove unused import 2017-09-22 12:59:14 +00:00
Raul Ochoa 22b7828725 Layergroup Token parsing as middleware
Reuses LayergroupToken model from tests.
2017-09-22 12:05:40 +00:00
Raul Ochoa 78404b1308 Merge remote-tracking branch 'origin/master' into layergroup-token-param 2017-09-22 11:12:42 +00:00
Raul Ochoa 45698207d9 Merge remote-tracking branch 'origin/master' into static-named-maps-override-bbox 2017-09-22 11:08:12 +00:00
Daniel García Aubert 9bd862ffaf Remove req2params from BaseController and update related test to use the middleware 2017-09-22 01:08:46 +02:00
Daniel García Aubert 3a8b99a14e Use req2params middleware for tile and layer endpoint 2017-09-21 22:53:31 +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
Ivan Malagon bd8d147a7d Fix out of range bug in date histograms 2017-09-06 16:21:01 +02:00
Raul Ochoa e1990fc2f9 Use the correct fixture image 2017-08-29 13:29:39 +00:00
Raul Ochoa fc0dbaaab1 Going red: Bounding box parameter ignored in static named maps 2017-08-29 13:04:20 +00:00
Raul Ochoa 1c6a76af72 Merge pull request #726 from CartoDB/725-polygon-count
725 fix polygon count
2017-08-16 15:33:19 +02:00
Simon 175d070f09 using const instead of let and var and adding assert.ifError 2017-08-16 10:07:27 +02:00
Daniel García Aubert d0f5ebd7ab Restore statsClient after performing test 2017-08-11 17:55:55 +02:00
Simon 92d33bf7fd linter details for polygons count test 2017-08-10 18:20:15 +02:00
Simon fab7832dee added ascii art for polygons count test 2017-08-10 18:16:53 +02:00
Simon e678957a8f move polygon count test to widgets regression testfile, and check the only returned polygon is the expected one 2017-08-10 18:09:18 +02:00
Daniel García Aubert 01a22a45bb Move setUserDatabaseTimeoutLimit from class method to a instance method 2017-08-10 17:09:05 +02:00
Raul Ochoa 9524433437 Use instance server 2017-08-10 16:24:40 +02:00
Raul Ochoa 14d5ee4178 Remove user param 2017-08-10 16:22:45 +02:00
Simon 44c5eb051d formatting the query of polygon count test 2017-08-10 11:05:36 +02:00