Daniel García Aubert
|
9cfaf6eefc
|
Draft: be able to inject middlewares from configuration
|
2019-09-30 19:18:36 +02:00 |
|
Raúl Marín
|
b93caa7410
|
Merge pull request #1123 from Algunenano/query_tables_update
Query tables update
|
2019-09-18 11:26:51 +02:00 |
|
Daniel García Aubert
|
68a9b4ccae
|
Typo
|
2019-09-16 13:09:23 +02:00 |
|
Daniel García Aubert
|
f6c205baf9
|
Typo
|
2019-09-16 13:08:10 +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 |
|
Raul Marin
|
a673e6d138
|
Update dependencies
|
2019-09-13 16:32:37 +02:00 |
|
Raul Marin
|
f9b6e92745
|
Stop throwing up warnings during testing
Yeah, I test with different repos and branches. Big deal. Shut up.
|
2019-09-13 16:26:46 +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 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
|
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 |
|
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 |
|
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
|
63b6af2ac7
|
Query utils: Use webmercator utils, reuse code and always substitute tokens
|
2019-07-16 12:49:09 +02:00 |
|
Raul Marin
|
46600bf4fc
|
Please jshint
|
2019-07-16 12:48:58 +02:00 |
|
Raul Marin
|
aed456bf32
|
Cluster: Use new webmercator utilities
|
2019-07-16 12:48:58 +02:00 |
|
Raul Marin
|
d3e807583a
|
Use proper mode
|
2019-07-16 12:48:58 +02:00 |
|
Raul Marin
|
262f957218
|
Aggregation: Improve speeeeeeed
|
2019-07-16 12:48:58 +02:00 |
|
Raul Marin
|
8454eef6e9
|
Aggregation: Extract the query to get the grid data
|
2019-07-16 12:48:58 +02:00 |
|
Raul Marin
|
5e24f650af
|
Rework how aggregations are calculated
Pending fixing Mapnik tiles (pg-mvt work ok)
|
2019-07-16 12:48:12 +02:00 |
|
Raul Marin
|
a3e8f45552
|
WIP to change how aggregations are calculated
|
2019-07-16 12:48:12 +02:00 |
|
Raul Marin
|
cd8624ae2d
|
Improve subquery naming
|
2019-07-16 12:48:12 +02:00 |
|
Raul Marin
|
7b731a24d1
|
Overviews Adapter: Do not check overviews if using MVT pure style or aggregations
|
2019-07-16 12:48:12 +02:00 |
|
Daniel García Aubert
|
619cad9c35
|
Typo
|
2019-07-09 15:44:34 +02:00 |
|
Daniel García Aubert
|
a84184852e
|
Going green: skip analyses table while computing max-age directive
|
2019-07-08 18:05:30 +02:00 |
|
Daniel García Aubert
|
4def4b0341
|
Improve condition
|
2019-07-04 16:41:30 +02:00 |
|
Daniel García Aubert
|
ec0c0eb810
|
Improve readability
|
2019-07-04 16:24:17 +02:00 |
|
Daniel García Aubert
|
a894194b6b
|
Add more specific tests
|
2019-07-04 15:58:39 +02:00 |
|
Daniel García Aubert
|
a374deaf30
|
Please linter
|
2019-07-03 17:16:09 +02:00 |
|
Daniel García Aubert
|
bc29587c55
|
Set directive 'max-age' to 5 min when there are affacted tables where we can't know when were updated for the last time, e.g: non cartodified tables or foreing tables without cartodb support
|
2019-07-03 17:15:14 +02:00 |
|