Commit Graph
4185 Commits
Author SHA1 Message Date
Simon Martín 1bb716ef33 Merge branch 'master' into errorLogs 2017-12-12 16:15:30 +01:00
Mario de Frutos c7f5f310f0 Stubs next version 2017-12-12 13:46:54 +01:00
Mario de Frutos b32d056efe Updated NEWS.md 2017-12-12 13:22:57 +01:00
Mario de Frutos 65308ea2eb Updated NEWS.md 4.3.1 2017-12-12 13:21:27 +01:00
Mario de Frutos 8d16bf566d Force png tile generation for static maps (#808)
* Force png tile generation for static maps

If the user tries to generate a static map requesting JPG it will fail
because is going to try to generate the tiles using JPG as format which
is not supported by now, this bug was introduced in the version 4.0.1

So we now force, again, the tiles to be generated as PNG but we pass
the requested format, JPG, to windshaft to generate the final image as
the user reqests

* Added support to define image format in the image assertions

* Added test for JPEG static image generation

Also I've added support for:

- JPEG images
- Different tolerance based on the file type, it seems that due to
  different compression we need different tolerance for JPG images
2017-12-12 13:20:22 +01:00
Simon Martín 2db2546cca changing error log format 2017-12-12 11:04:06 +01:00
Simon Martín b3d7909849 removing default error log value 2017-12-12 11:03:52 +01:00
Simon Martín b035b5d384 Merge branch 'master' into errorLogs 2017-12-12 10:59:07 +01:00
Raul Marin f2fa650661 Stub for next release 2017-12-11 17:24:26 +01:00
Simon Martín 1c6c3962db Merge branch 'master' into errorLogs 2017-12-11 12:59:42 +01:00
Raul Marin aa57cdefb3 Release 4.3.0 4.3.0 2017-12-11 11:27:13 +01:00
Raul Marin 7c5b7641d8 Date histogram: Add missing GROUP BY column 2017-12-11 11:27:13 +01:00
Raul Marin eb4a49ec92 Update NEWs file with the changes 2017-12-11 11:27:13 +01:00
Raul Marin 88f02458db Timeseries tests: Make jshint happy 2017-12-11 11:27:13 +01:00
Raul Marin 1b405e42c2 Date histogram optimizations 2017-12-11 11:27:13 +01:00
Raul Marin bb5bfd10ee Timeseries tests: Make them work with any DB setup 2017-12-11 11:27:13 +01:00
Raul Marin 088a8b81a6 Timeseries tests: Set timestamps to the start of the aggregations
Also, increase the end of the range check so it includes some data
2017-12-11 11:27:13 +01:00
Raul Marin 243e982bd6 Optimize formulae queries 2017-12-11 11:27:13 +01:00
Raul Marin dfe01c836c Escape getQueryRowCount with $$ 2017-12-11 11:27:13 +01:00
Raul Marin fcbf5ffcc5 Move sql helper functions to query-utils.js 2017-12-11 11:27:13 +01:00
Raul Marin 90c9ad18e0 Optimize histogram queries 2017-12-11 11:27:13 +01:00
Daniel García Aubert 16a36a9d7a Stubs next version 2017-12-04 13:35:23 +01:00
Daniel García Aubert 893b886a1e Release 4.2.0 4.2.0 2017-12-04 13:34:02 +01:00
Daniel a60b335151 Merge pull request #803 from CartoDB/vr-aggregation
Allow to request MVT tiles without CartoCSS
2017-12-04 13:32:15 +01:00
Daniel García Aubert 9ee0e2c3d0 Merge branch 'master' into vr-aggregation 2017-12-04 13:26:53 +01:00
Daniel García Aubert 565cfb7fbe Update NEWS 2017-12-04 13:23:09 +01:00
Daniel García Aubert 0c8a31fad9 Remove duplicated code 2017-12-04 13:17:37 +01:00
Daniel García Aubert 169b95809a Upgrade windshaft to version 4.1.0 2017-12-04 13:06:45 +01:00
Simon Martín ed51513b5e adding error header acceptance test 2017-12-01 17:52:20 +01:00
Daniel García Aubert 23c0cb757d Fix tests according to the last changes in windshaft 2017-12-01 13:52:28 +01:00
Simon Martín ba3af551e3 update test file name 2017-11-30 15:04:38 +01:00
Simon Martín e0d4a9e596 change funcion name 2017-11-30 15:04:07 +01:00
Daniel García Aubert e18e86f565 jshint, jshint, jshint 2017-11-29 18:28:42 +01:00
Daniel García Aubert 496778c276 Separate suites 2017-11-29 18:17:51 +01:00
Mario de Frutos 0ba4975360 Bump next version 2017-11-29 18:02:46 +01:00
Daniel García Aubert e3d95fa654 Merge branch 'master' into vr-aggregation 2017-11-29 17:16:57 +01:00
Daniel García Aubert cded5afdcb Ahh! jshint.. my old friend 2017-11-29 16:56:28 +01:00
Daniel García Aubert 1b6de9961a Do not use polygons 2017-11-29 16:47:56 +01:00
Mario de Frutos a20e789302 Release 4.1.1 4.1.1 2017-11-29 16:34:48 +01:00
Mario de Frutos f41af41bd4 Update to turbo-carto 0.20.2 (#805) 2017-11-29 16:32:22 +01:00
Daniel García Aubert c9e0f330c0 Add test to check incompatible layers 2017-11-29 16:15:52 +01:00
Daniel García Aubert f9428682f9 Remove mocha filter 2017-11-29 14:38:06 +01:00
Daniel García Aubert 330f8f3cb5 Test invalid format for vector layergroup 2017-11-29 14:10:56 +01:00
Daniel García Aubert 8270699b8e Tests to fect mvt tiles without styles 2017-11-29 13:12:09 +01:00
Simon Martín 555d3f558c changing error log structure 2017-11-28 18:22:55 +01:00
Simon Martín 386d6bfea8 removing unneeded check 2017-11-28 18:19:28 +01:00
Ubuntu 51c19c0b2e Skip test 2017-11-28 16:49:55 +00:00
Simon Martín 479b8be639 ensuring errored JSONP write a error status code in log 2017-11-28 17:27:05 +01:00
Simon Martín a007fce913 ensuring vars 2017-11-28 16:02:12 +01:00
Simon Martín 100a2986b9 ensuring all properties in errors headers 2017-11-27 18:43:48 +01:00