Raul Ochoa
69eaa72819
String comparison and regex to match errors instead of indexOf
2017-08-10 16:06:10 +02:00
Daniel García Aubert
14f85abd39
Merge branch 'master' into response-time-limit
2017-08-09 18:48:38 +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
0594407b38
Change error message
2017-08-01 15:03:09 +02:00
Daniel García Aubert
44fc34b1ce
Improve timeout error message
2017-07-31 20:07:31 +02:00
Daniel García Aubert
1fdc0621e7
Categorize timeout errors
2017-07-31 19:36:07 +02:00
Daniel García Aubert
5974413d5c
Use 429 to indicate timeout errors
2017-07-31 19:08:29 +02:00
Daniel García Aubert
49d2f513c6
Fix typo
2017-07-31 18:51:23 +02:00
Daniel García Aubert
f2e043b063
Do not expose database error info
2017-07-31 17:56:58 +02:00
Daniel García Aubert
eccc3597aa
Respond with 204 when vector tile is empty
2017-07-17 19:44:18 +02:00
Carlos Matallín
70b4d5b7fd
replace timezone => offset
2017-07-14 18:30:36 +02:00
Daniel García Aubert
29a6658e3d
Migrate dataviews endpoints to use the allow-query-params
2017-06-08 19:22:33 +02:00
Daniel García Aubert
c1fac13d6b
Be able to accept timezone parameter
2017-06-02 12:45:34 +02:00
Daniel García Aubert
1d66e49910
WIP implemented date histogram
2017-06-01 20:07:46 +02:00
Mario de Frutos
440953b1cd
If we have the stats FF disbabled return empty array instead of null
...
But we keep checking for elements in the returned object because
we don't want to include the stats property if the FF is disabled
2017-05-30 10:47:47 +02:00
Mario de Frutos
c9e6e921cb
Merge branch 'master' into 664-layergroup-stats
2017-05-18 13:45:38 +02:00
Mario de Frutos
ed56094be2
PR changes
2017-05-18 11:51:12 +02:00
Daniel García Aubert
4602fb3ecf
Send stats for png32 tiles
2017-05-17 12:16:16 +02:00
Daniel García Aubert
c59996303d
Send stats for mvt tiles
2017-05-17 12:04:11 +02:00
Daniel García Aubert
e13ae8d5af
Do not make optional layer param in URL template
2017-05-17 11:40:18 +02:00
Mario de Frutos
5969c99e8a
Removed not used parameters for layer stats
2017-05-12 16:42:10 +02:00
Mario de Frutos
daf19c5e27
Stats backend only provides stats not metadata
2017-05-10 17:17:01 +02:00
Mario de Frutos
7d5b6b0820
Lint changes and yarn.lock
2017-05-09 18:24:24 +02:00
Mario de Frutos
15c68711aa
Create stats backend to decouple stats logic from map controller
2017-05-09 12:31:16 +02:00
Mario de Frutos
568d6b5458
Include the layers metadata into the layergroup object
2017-05-09 11:59:11 +02:00
Mario de Frutos
525c0f2afa
Added rendererCache as dependency for map controller
2017-05-09 11:58:48 +02:00
Mario de Frutos
3f6c8fa51c
Use windshaft-stats to get layer stats
2017-05-08 18:42:40 +02:00
Daniel García Aubert
c9af38ecd0
Fix issue when 'grid.json' format is not captured properly due to a weird behaviour in regex
2017-04-28 19:21:51 +02:00
Mario de Frutos
9707881bf9
Include check for surrogate-key header and renamed the test file
2017-04-07 15:59:58 +02:00
Mario de Frutos
fa6493ae44
Affected tables are now included in X-Cache-Channel
2017-04-07 15:59:58 +02:00
Raul Ochoa
c325df1414
Merge pull request #655 from CartoDB/static-maps-layers-filter
...
Static maps layers filter
2017-04-03 12:07:38 +02:00
Raul Ochoa
cad02bfad7
Remove all conditional branches to call req.profiler
...
req.profiler is created in a middleware for all requests.
2017-03-30 20:31:53 +02:00
Raul Ochoa
94299f0452
Configure extra allowed params per endpoint via middleware
...
Instead of making all params available in all endpoints, we control
what endpoints allow what extra params.
Dataviews endpoints should be migrated to this.
2017-03-30 20:12:55 +02:00
Raul Ochoa
6468822295
Remove layer param before creating a better solution
2017-03-30 20:08:45 +02:00
Raul Ochoa
777ae31426
Merge branch 'master' into static-maps-layers-filter
2017-03-30 19:33:59 +02:00
Raul Ochoa
2da834784f
Generate URLs for resources based on CDN + template rules
2017-03-22 18:58:37 +01:00
Raul Ochoa
8694c120bc
Allow to overwrite layers filter in static maps images
2017-03-15 11:00:10 +01:00
Raul Ochoa
8a1c7f5b52
Close timer for response preparation
...
Timer for affectedTables is taking everything from response timing,
adding a tag to represent all the response preparation.
That way affectedTables only represents the time for retrieving the
affected tables themselves.
2017-02-22 18:38:25 +01:00
Raul Ochoa
1f975e15c1
Default to empty object for cdn URLs
2016-11-22 17:01:34 +01:00
Raul Ochoa
6c69ba54db
Use actual CDN url for HTTP and HTTPS
2016-11-22 16:44:06 +01:00
Raul Ochoa
49f9904d00
Allow to set resource URL templates with substitution tokens
2016-11-22 16:41:31 +01:00
Daniel García Aubert
9faac9f9fe
Retrieve error with context if map validation fails
2016-11-01 11:00:58 +01:00
Raul Ochoa
263294a3f5
Add metadata only for existing layers in turbocarto context
2016-09-20 16:19:22 +02:00
Raul Ochoa
f9df30f70b
Append turbo-carto metadata per layer
2016-09-20 16:09:21 +02:00
Daniel García Aubert
908070ecd7
Fix jshint issue
2016-09-01 16:53:10 +02:00
Daniel García Aubert
7c6a58cd30
Made explicit to recreate named-map-provider
2016-09-01 16:42:06 +02:00
Daniel García Aubert
b0990a1132
Removed template-maps backend from named-maps controller
2016-09-01 16:31:30 +02:00
Daniel García Aubert
e0d304b033
Applied approach similar to static image options
2016-09-01 12:37:04 +02:00
Daniel García Aubert
1bed8623a2
Overwrites rendererparams instead of layergroup in mapconfig
2016-08-31 20:40:55 +02:00
Daniel García Aubert
30c4b00f33
New approach: decorates named_map_provider to return the with visible layers
2016-08-31 19:40:00 +02:00