Commit Graph

6155 Commits

Author SHA1 Message Date
Daniel García Aubert
5dac9d956c Add test 2019-09-16 11:18:50 +02:00
Daniel García Aubert
c19c723795 Add named map providers reporter to gather some stats 2019-09-13 20:01:03 +02:00
Daniel García Aubert
788cd9d6fb Be explicit while forwarding parametes 2019-09-13 18:15:11 +02:00
Daniel García Aubert
824d41ef0f Consitent quotes 2019-09-13 18:11:47 +02:00
Daniel García Aubert
329b5d9b9e Use ES6 class syntax 2019-09-13 18:07:50 +02:00
Daniel García Aubert
b55c2ec55c Use template string 2019-09-13 18:03:39 +02:00
Daniel García Aubert
d99e5a44f5 Use const instead of var 2019-09-13 18:00:13 +02:00
Daniel García Aubert
e8d5e42300 Use Object.assign() instead of _.defaults() 2019-09-13 17:58:23 +02:00
Daniel García Aubert
c0afd42fa2 Use template strings instead of dot module 2019-09-13 17:53:10 +02:00
Daniel García Aubert
1bb6a2ac0d Move invalidation closer to its definition 2019-09-13 17:42:56 +02:00
Daniel García Aubert
3d2f554be9 Use early return pattern 2019-09-13 16:53:53 +02:00
Daniel García Aubert
6229455d25 Remove mechanism to reset named map's provider as, in the end, it's reading from storage (redis) always so cache isn't doing its job. There is already a mechanism to invalidate cache entry when a template is modified (see template-maps emits on "update" and "delete", and listeners attached at server startup) 2019-09-12 20:34:18 +02:00
Daniel García Aubert
9d6726227a Add maxAge param to lru-cache to be able to refresh entries when staled 2019-09-12 18:02:13 +02:00
Daniel García Aubert
64b4efef17 Do not cache map template CRUD errors in Named Map provider 2019-09-12 17:23:19 +02:00
Daniel G. Aubert
0297e09c17
Merge pull request #1120 from CartoDB/improve-metadata-sample
Improve efficiency of query samples (esp. for FDW's)
2019-09-04 12:37:41 +02:00
Daniel García Aubert
8f6447b67e Update NEWS 2019-09-04 12:30:12 +02:00
Daniel García Aubert
7bf5deb4c1 Styling 2019-09-02 16:40:43 +02:00
Daniel García Aubert
2fbd9893bd Going green: do not fail when source is empty 2019-09-02 14:09:13 +02:00
Daniel García Aubert
5a01c1c5eb Going red: test to avoid error when the source table is empty 2019-09-02 13:38:28 +02:00
Daniel García Aubert
9a85b661b0 Remove safe limit 2019-08-23 18:04:19 +02:00
Daniel García Aubert
d4d981909b Remove unused code 2019-08-23 17:43:20 +02:00
Daniel García Aubert
16035131bc Rename method 2019-08-23 17:25:37 +02:00
Daniel García Aubert
b2adb8f058 Use substituteDummyTokens 2019-08-23 17:21:01 +02:00
Daniel García Aubert
780cb80c8c Move method 2019-08-23 17:16:35 +02:00
Daniel García Aubert
2a8a8f6e6a Export methods to get max, min, values od a column and sample based on a range 2019-08-23 17:10:46 +02:00
Daniel García Aubert
850bda9669 Use modified sample method 2019-08-23 17:09:53 +02:00
Daniel García Aubert
25e3395580 Modify sample metadata 2019-08-23 17:09:24 +02:00
Román Jiménez
71dba04d83
Merge pull request #1119 from CartoDB/fix-curl-docs-windows
Fix cURL docs for Windows users by using files
2019-08-23 11:08:15 +02:00
Román Jiménez
2a3312e779 Fix cURL docs for Windows users by using files 2019-08-22 18:12:27 +02:00
Daniel G. Aubert
c4484dcc54
Merge pull request #1115 from CartoDB/upgrade-windshaft-5.6.0
Update windshaft to version 5.6.0
2019-07-30 12:24:08 +02:00
Daniel García Aubert
61883b13ef Update windshaft to version 5.6.0 2019-07-30 12:00:28 +02:00
Daniel García Aubert
a220af4fad Please jshint 2019-07-29 19:20:38 +02:00
Daniel García Aubert
945c122dda Update windshaft devel branch 2019-07-29 19:14:27 +02:00
Daniel García Aubert
61b66e88d5 Update NEWS 2019-07-23 18:08:48 +02:00
Daniel G. Aubert
9dfd5f3012
Merge pull request #1114 from CartoDB/upgrade-windshaft-5.5.1
Upgrade windshaft to version 5.5.1
2019-07-23 15:22:28 +02:00
Daniel García Aubert
ff634e32db Upgrade windshaft to version 5.5.1 2019-07-23 13:47:56 +02:00
Daniel García Aubert
3b583ebd56 Update windshaft#master 2019-07-23 12:15:49 +02:00
Daniel García Aubert
1a9b410540 Update to master branch 2019-07-23 11:14:40 +02:00
Daniel García Aubert
d7a439477c Use https 2019-07-23 11:03:55 +02:00
Daniel García Aubert
c7f3da237c Upgrade windshaft to devel branch with fix 2019-07-23 09:13:09 +02:00
Daniel García Aubert
da144de57b Update windshaft devel branch 2019-07-22 17:14:31 +02:00
Raúl Marín
58d38682eb
Merge pull request #1113 from Algunenano/audit_dependencies
package-lock.json: Update js-yaml and lodash
2019-07-16 16:29:44 +02:00
Raul Marin
402579f7e2 package-lock.json: Update js-yaml and lodash 2019-07-16 16:11:03 +02:00
Raúl Marín
ebf373e680
Merge pull request #1111 from Algunenano/cartodbless
Render MVTs and aggregations without cartodb-postgresql
2019-07-16 16:06:40 +02:00
Raul Marin
ffe347cfdc package.json: Revert changes to match master 2019-07-16 13:44:13 +02:00
Raul Marin
b572b979a1 Style 2019-07-16 13:43:46 +02:00
Raul Marin
de49aa0bd4 Aggregation: Style improvements 2019-07-16 12:49:09 +02:00
Raul Marin
286daa9bec Simplify aggregation templates 2019-07-16 12:49:09 +02:00
Raul Marin
65beb6e460 Tweak the tests to accept Mapnik precision as valid 2019-07-16 12:49:09 +02:00
Raul Marin
63b6af2ac7 Query utils: Use webmercator utils, reuse code and always substitute tokens 2019-07-16 12:49:09 +02:00