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
Daniel García Aubert
1a78b8a75a
Merge branch 'master' into middlewarify-analyses-controller
2017-11-23 11:47:57 +01:00
Raul Marin
6aaa5f99e2
Test: PARALLEL compatibility (OSX)
2017-11-14 16:18:22 +01:00
Daniel García Aubert
520e84e46b
Add acceptance test for analyses controller
2017-11-14 13:46:47 +01:00
Raul Marin
172b3ece71
Test: Strip PARALLEL labels for PostgreSQL releases before 9.6
2017-11-13 14:59:13 +01:00
Daniel García Aubert
743bb0723b
Add query param to define the number of categories to be ranked
2017-11-07 16:14:47 +01:00
David Manzanares
d30f710534
Merge remote-tracking branch 'origin/master' into mvt-path-conf
2017-10-10 17:53:28 +02:00
Simon Martín
8380d291d0
Merge branch 'master' into middlewarify
2017-10-10 14:59:50 +02:00
Raul Ochoa
a797e13eb3
Make all calls to finish to match (err, res) signature
2017-10-09 15:51:42 +00:00
David Manzanares
58be2b8fc5
Merge remote-tracking branch 'origin/improve-test-client' into mvt-path-conf
2017-10-06 16:08:13 +02:00
David Manzanares
78671aa499
remove redundant format support
2017-10-06 16:07:47 +02:00
Raul Ochoa
b9c511ee60
Remove unused file
2017-10-06 15:27:48 +02:00
Raul Ochoa
64fe070ab2
Put layergroupId handling close
2017-10-06 15:27:03 +02:00
Raul Ochoa
5d750f3b98
Several jshint fixes
2017-10-06 15:24:58 +02:00
Raul Ochoa
664892bba9
Complexity already fixed
2017-10-06 15:15:43 +02:00
Raul Ochoa
38c50e0bec
Fix jshint hint
2017-10-06 15:15:33 +02:00
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
David Manzanares
54b7ee85c2
Geojson tests adapted to MVT
2017-10-05 14:38:43 +02:00
Raul Ochoa
78404b1308
Merge remote-tracking branch 'origin/master' into layergroup-token-param
2017-09-22 11:12:42 +00: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
Daniel García Aubert
14f85abd39
Merge branch 'master' into response-time-limit
2017-08-09 18:48:38 +02:00
Raul Ochoa
e9d925334c
Move layergroup-token to models
...
We will share it between tests and a middleware to parse the token.
2017-08-04 17:51:10 +02:00
Daniel
a696bdc723
Merge pull request #706 from CartoDB/705-special-numeric-values
...
Support special numeric values for json responses
2017-08-03 15:21:29 +02:00
Daniel García Aubert
90ded34af7
Do not fail if layergroup is undefined
2017-08-03 12:22:30 +02:00
Daniel García Aubert
1bc5c04489
Remove unused method
2017-08-02 13:15:40 +02:00
Daniel García Aubert
b2b68ffd5c
Merge branch 'master' into 691-date-histogram
2017-08-01 16:07:27 +02:00
Daniel García Aubert
91b3e373b7
Add helper method to fetch static images
2017-08-01 11:46:48 +02:00
Daniel García Aubert
227c2b336b
Uncomment database timeout configuration
2017-07-31 18:25:34 +02:00
Daniel García Aubert
ac7509b01a
Expose function to clean up database connections
2017-07-31 18:24:42 +02:00
Daniel García Aubert
9b5482489e
Fix content-type defaults
2017-07-31 18:23:17 +02:00
Daniel García Aubert
f079c24554
Use parsed body variable
2017-07-31 18:22:13 +02:00
Daniel García Aubert
04da57fe0c
Do not create layergroup if it is already provided
2017-07-31 18:14:32 +02:00
Daniel García Aubert
aa6d01f151
Add timeout test for attributes
2017-07-31 18:12:33 +02:00
Daniel García Aubert
435d902e45
Expose function to clean all database connections in the pool
2017-07-31 18:10:14 +02:00
Daniel García Aubert
cca570e832
Uncomment DB and role configuration
2017-07-28 13:23:13 +02:00
Daniel García Aubert
815eac5a48
Add hook to refresh all connections in the pool
2017-07-28 13:22:16 +02:00
Daniel García Aubert
33e77a42f2
Separate user timeout suites between render and database
2017-07-27 18:50:27 +02:00
Daniel García Aubert
9e491e7e9a
Fix tests names
2017-07-27 16:29:36 +02:00
Daniel García Aubert
522fc79d71
Do not remove redis' keys if layergroup was not created
2017-07-27 12:46:38 +02:00
Daniel García Aubert
768d06c582
Assert layer params is defined but mapnik layers
2017-07-26 18:35:40 +02:00
Daniel García Aubert
526e850f26
Add method to set statements timeout for user's role and database
2017-07-25 19:15:43 +02:00
Daniel García Aubert
e9bc0732c0
Use switch statement instead of if ... else if ... else ...
2017-07-19 12:33:57 +02:00
Daniel García Aubert
8907082a85
Parse body relying on content-type header
2017-07-19 12:24:37 +02:00
Daniel García Aubert
87eb5407a8
WIP: implement timeout limit for raster
2017-07-18 20:50:31 +02:00
Daniel García Aubert
40dc94e010
Merge branch 'master' into response-time-limit
2017-07-18 11:25:23 +02:00
Daniel García Aubert
ff13996255
Add test to check that mvt returns 200 when tile has data
2017-07-18 10:44:27 +02:00