Daniel García Aubert
891bc818b2
Release 3.5.0
2017-04-10 12:20:44 +02:00
Daniel
ebe25d6f20
Merge pull request #638 from CartoDB/629_fix_cache_invalidation
...
Fix cache invalidation problem with affected tables
2017-04-10 11:55:57 +02:00
Daniel García Aubert
92ec17218b
Upgrade camshaft to 0.53.0
2017-04-10 11:36:17 +02:00
Mario de Frutos
e8a0f6b7b6
Point to camshaft branch to test properly
2017-04-07 16:00:29 +02:00
Mario de Frutos
125c39967c
Make the cache headers tests idempotent
2017-04-07 15:59:58 +02:00
Mario de Frutos
4132bc755d
Add cdb_invalidate_varnish function fixture to tests
2017-04-07 15:59:58 +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
Mario de Frutos
0c387cf6d9
Add more tests for x-cache-channel but with analysis
2017-04-07 15:59:58 +02:00
Mario de Frutos
5e4d1d5c1c
Get affected tables and add it to the layergroup
2017-04-07 15:59:58 +02:00
Raul Ochoa
4d82fd65f6
Merge pull request #659 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.52.0
2017-04-07 14:41:14 +02:00
Raul Ochoa
6d3644f13b
Upgrades camshaft to 0.52.0
2017-04-07 13:29:30 +02:00
Raul Ochoa
7a5aa7ba35
Stubs next version
2017-04-03 16:22:15 +02:00
Raul Ochoa
9c9609eb2b
Release 3.4.0
2017-04-03 16:21:29 +02:00
Raul Ochoa
418d3c074f
Merge pull request #657 from CartoDB/upgrade-camshaft
...
Upgrade camshaft to 0.51.0
2017-04-03 16:15:48 +02:00
Raul Ochoa
6bbda3d41e
Upgrade camshaft to 0.51.0
2017-04-03 15:53:39 +02:00
Raul Ochoa
25669bb3f2
Stubs next version
2017-04-03 13:07:53 +02:00
Raul Ochoa
508d495a23
Release 3.3.0
2017-04-03 13:07:05 +02:00
Raul Ochoa
06427dc009
Bump version and add news
2017-04-03 13:06:37 +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
07447160e3
Merge pull request #654 from CartoDB/non-conditional-profiler
...
Remove all conditional branches to call req.profiler
2017-04-03 11:58:38 +02:00
Raul Ochoa
ededc73fd7
Throw on invalid params argument
2017-03-31 18:39:29 +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
ae5d82c41d
Add test to go red
2017-03-30 20:12:20 +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
1ca56fb81c
Update news
2017-03-30 17:52:25 +02:00
Raul Ochoa
5d74e1eafe
Stubs next version
2017-03-30 14:33:41 +02:00
Raul Ochoa
f3fdd7ff25
Release 3.2.0
2017-03-30 14:32:48 +02:00
Raul Ochoa
fbbe69dac0
Merge pull request #652 from CartoDB/upgrade-windshaft
...
Update windshaft to 3.1.0
2017-03-30 14:32:21 +02:00
Raul Ochoa
ac54179f14
Update windshaft to 3.1.0
2017-03-30 14:12:31 +02:00
Raul Ochoa
50d296e46c
Merge pull request #650 from CartoDB/upgrade-grainstore-1.6.2
...
Upgrade dependencies: grainstore@1.6.2
2017-03-29 16:16:50 +02:00
Raul Ochoa
616ba6500c
Merge pull request #649 from CartoDB/gc
...
Active GC interval
2017-03-29 16:11:48 +02:00
Daniel García Aubert
d9968f2c91
Upgrade dependencies: grainstore@1.6.2
2017-03-29 16:02:37 +02:00
Raul Ochoa
8ca9c5bcf7
Active GC interval
...
Interval timer is configurable, disabling by using <=0 value.
2017-03-29 15:56:30 +02:00
csobier
a7b0618f91
Merge pull request #643 from CartoDB/docs-fix-broken-hyperlinks
...
fixed docs example links, Andy changed his user name so links broke. …
2017-03-24 09:44:50 -04:00
csobier
e9896e34e1
found and fixed a typo
2017-03-24 09:33:15 -04:00
csobier
28bd03765a
fixed docs example links, Andy changed his user name so links broke. I fixed.
2017-03-24 09:04:31 -04:00
Daniel García Aubert
24a86ae8df
Stubs next version
2017-03-23 11:04:12 +01:00
Daniel García Aubert
f5c349e105
Release 3.1.1
2017-03-23 11:02:04 +01:00
Raul Ochoa
e8d2e28dba
Merge pull request #642 from CartoDB/resources-urls-crc-hash
...
Use crc32 instead of md5 for computing subdomain candidate
2017-03-23 01:21:50 +01:00
Raul Ochoa
e0c2423ace
Remove unused import
2017-03-23 01:14:56 +01:00
Raul Ochoa
5e429ba71f
Use crc32 instead of md5 for computing subdomain candidate
2017-03-23 01:03:45 +01:00
Daniel García Aubert
64dfdba94d
Release 3.1.0
2017-03-22 19:20:24 +01:00
Daniel
3866413504
Merge pull request #641 from CartoDB/resource-urls
...
Generate URLs for resources based on CDN + template rules
2017-03-22 19:15:08 +01:00
Raul Ochoa
2da834784f
Generate URLs for resources based on CDN + template rules
2017-03-22 18:58:37 +01:00
Daniel García Aubert
d6181da32b
Stubs next version
2017-03-22 13:53:48 +01:00
Daniel García Aubert
8287b94a25
Release 3.0.2
2017-03-22 13:20:59 +01:00
Daniel García Aubert
bc633301fe
Update HOWTO_RELEASE
2017-03-22 13:11:12 +01:00
Daniel García Aubert
ed94fb4a66
Define yarn version of clients that must be used
2017-03-22 13:10:06 +01:00
Daniel García Aubert
fc27086052
Remove script to generate shrinkwrap
2017-03-22 13:08:12 +01:00
Daniel García Aubert
de1d1961e3
Upgrade yarn.lock depdendencies: depth > 1
2017-03-22 12:55:22 +01:00
Daniel García Aubert
a90a9383b4
Stubs next version
2017-03-21 19:45:25 +01:00
Daniel García Aubert
fd244287d5
Release 3.0.1
2017-03-21 19:43:46 +01:00
Daniel
fafe9e7e8a
Merge pull request #640 from CartoDB/upgrade-windshaft-3.0.1
...
Bump windshaft version to 3.0.1
2017-03-21 19:35:54 +01:00
Daniel García Aubert
db37513206
Bump windshaft version to 3.0.1
2017-03-21 19:15:41 +01:00
Daniel García Aubert
c023088a3f
Stubs next version
2017-03-21 15:44:33 +01:00
Daniel García Aubert
59f6217c4f
Release 3.0.0
2017-03-21 15:34:47 +01:00
Daniel
0e43fbbb34
Merge pull request #635 from CartoDB/node-v6
...
Support Node v6 LTS and upgrade to Mapnik v3.x
2017-03-21 15:30:59 +01:00
Daniel García Aubert
1720f22247
Improve doc: 'yarn install' command is deprecated, use 'yarn' instead
2017-03-21 14:58:09 +01:00
Daniel García Aubert
3f791d25b5
Add a note about moving from npm to yarn
2017-03-17 17:58:33 +01:00
Daniel García Aubert
acd3047500
Update NEWS
2017-03-17 17:49:19 +01:00
Daniel García Aubert
7b3a4aa2a8
Update README.md
2017-03-17 17:41:20 +01:00
Daniel García Aubert
4bfaeeb44b
Update INSTALL.md
2017-03-17 17:37:35 +01:00
Daniel García Aubert
a094ae7197
Update NEWS
2017-03-17 17:30:58 +01:00
Daniel García Aubert
ef0362d118
Fix windshaft version to 3.0.0 to avoid warning message while starting the service
2017-03-17 17:21:09 +01:00
Daniel García Aubert
5a5763684d
Don't provide a npm's shrinkwrap anymore
2017-03-17 17:17:17 +01:00
Daniel García Aubert
6e575300e3
Update yarn.lock
2017-03-17 17:13:49 +01:00
Daniel García Aubert
8109fc4d46
Merge branch 'master' into node-v6
2017-03-17 17:06:58 +01:00
Daniel García Aubert
e0519e7851
Stubs next version
2017-03-17 17:06:39 +01:00
Daniel García Aubert
6334df5f5f
Merge branch 'master' into node-v6
2017-03-17 17:03:53 +01:00
Daniel García Aubert
38294d29f5
Release 2.89.0
2017-03-17 16:45:18 +01:00
Daniel
5b131cc8a7
Merge pull request #639 from CartoDB/upgrade-windshaft-to-2.8.0
...
Upgrade windshaft to 2.8.0
2017-03-17 16:37:07 +01:00
Daniel García Aubert
5dee654132
Upgrade windshaft to 2.8.0
2017-03-17 16:26:26 +01:00
Daniel García Aubert
d902476780
Fix assertions, now MapCofig.getLayer() return {} if layer not found
2017-03-17 11:06:40 +00:00
Ubuntu
bc5dabef3c
Revert "Fix assertions, now MapCofig.getLayer() return {} if layer not found"
...
This reverts commit c839a0b0a3 .
2017-03-17 11:04:50 +00:00
Daniel García Aubert
024f1e4851
Fix assertions, now MapCofig.getLayer() return {} if layer not found
2017-03-17 10:45:59 +00:00
Raul Ochoa
5f87417d9e
Merge pull request #637 from CartoDB/histogram-type-discovery
...
Histogram column type discovery query uses non-filtered query
2017-03-17 11:03:15 +01:00
Raul Ochoa
fa94550261
Include changes for overviews implementation
2017-03-16 19:15:34 +01:00
Daniel García Aubert
11efbf034e
Drop support for Node 0.10
2017-03-16 17:18:44 +01:00
Daniel García Aubert
c839a0b0a3
Fix assertions, now MapCofig.getLayer() return {} if layer not found
2017-03-16 16:44:41 +01:00
Daniel García Aubert
420b657db8
Upgrade windshaft to 3.0.0
2017-03-16 16:42:43 +01:00
Raul Ochoa
2656a26272
Merge pull request #622 from strk/typo
...
Trip epoch is over...
2017-03-16 16:26:53 +01:00
Raul Ochoa
8694c120bc
Allow to overwrite layers filter in static maps images
2017-03-15 11:00:10 +01:00
Raul Ochoa
992b2b6ba7
Histogram column type discovery query uses non-filtered query
...
Pass all queries to the dataview and use the no filters one for
discovering what is the column type associated to the histogram dataview.
2017-03-13 18:40:29 +01:00
Raul Ochoa
924f009390
Test for #606 : function avg(timestamp with time zone) does not exist
2017-03-13 18:36:43 +01:00
Raul Ochoa
48a1244fa0
Stubs next version
2017-03-10 11:06:47 +01:00
Raul Ochoa
8789a959e5
Release 2.88.4
2017-03-10 11:06:06 +01:00
Raul Ochoa
5765ac59cc
Merge pull request #636 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.50.3
2017-03-10 11:05:30 +01:00
Raul Ochoa
3b9bf96431
Upgrades camshaft to 0.50.3
2017-03-10 10:58:07 +01:00
Daniel García Aubert
a5fe5e7052
Update shrinkwrap
2017-03-08 10:56:01 +01:00
Daniel García Aubert
0f96b5a4a5
Update yarn.lock
2017-03-08 10:24:04 +01:00
Daniel García Aubert
25babeae56
Merge branch 'node-v6-yarn' into node-v6
2017-03-07 18:01:16 +01:00
Raul Ochoa
1951e79962
Make assertions compatible
2017-03-07 13:27:13 +01:00
Daniel García Aubert
1e0e31cc1c
Merge branch 'node-v6' of github.com:CartoDB/Windshaft-cartodb into node-v6
2017-03-07 13:02:18 +01:00
Daniel García Aubert
8d35f72fcb
Back to use current assertions as grainstore implements a fallback mechanism when translates styles
2017-03-07 12:59:52 +01:00
Daniel García Aubert
5f3e515131
Back test to use '=~' operator which is now supported by carto@0.15.1-cdb-3 in windshaft
2017-03-07 12:58:06 +01:00
Raul Ochoa
49236fce86
Upgrade locked deps
2017-03-02 11:38:09 +01:00
Raul Ochoa
9d2dde7a5a
Merge branch 'node-v6' into node-v6-yarn
2017-03-02 11:07:52 +01:00
Raul Ochoa
c3e703237c
Merge remote-tracking branch 'origin/master' into node-v6
2017-03-02 11:07:43 +01:00
Mario de Frutos
8868066445
Stubs next version
2017-03-02 11:00:53 +01:00
Mario de Frutos
b446c31cbc
Other category now uses the selected aggregated function ( #633 )
...
* Other category in category widget uses selected aggregation function
Fixes https://github.com/CartoDB/Windshaft-cartodb/issues/628
2017-03-02 10:48:20 +01:00
Raul Ochoa
2d6e7070a6
Stubs next version
2017-02-23 18:12:54 +01:00
Raul Ochoa
473e0cb902
Release 2.88.2
2017-02-23 18:12:14 +01:00
Raul Ochoa
1a8fca0534
Formatting
2017-02-23 18:11:39 +01:00
Raul Ochoa
e24bc12fc9
Merge pull request #632 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.50.2
2017-02-23 18:10:22 +01:00
Raul Ochoa
e77c9141ed
Upgrades camshaft to 0.50.2
2017-02-23 18:00:55 +01:00
Raul Ochoa
321157b17b
Make target to generate shrinkwrap file applying prune
...
It removes dev dependencies from the local node_modules
and avoid getting those into shrinkwrap file.
2017-02-23 17:57:52 +01:00
Raul Ochoa
6ac6574b4c
clean target to completely delete node_modules dir
2017-02-23 17:57:44 +01:00
Raul Ochoa
70ff0a9b8f
Update freezed deps
2017-02-22 19:17:00 +01:00
Raul Ochoa
15bdb57a22
Merge remote-tracking branch 'origin/node-v6' into node-v6-yarn
2017-02-22 19:02:55 +01:00
Raul Ochoa
bb54e5520c
Merge remote-tracking branch 'origin/master' into node-v6
2017-02-22 19:02:27 +01:00
Raul Ochoa
933d486a57
Merge pull request #630 from CartoDB/close-response-timer
...
Close timer for response preparation
2017-02-22 18:46:56 +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
Rafa de la Torre
822954be5d
Stub next version
2017-02-21 11:06:54 +01:00
Rafa de la Torre
57dc17518c
Release 2.88.1
2017-02-21 11:01:15 +01:00
Mario de Frutos
3df8d4844e
Stubs next version
2017-02-21 08:17:09 +01:00
Mario de Frutos
5a0443618f
Merge pull request #626 from CartoDB/camshaft_v050
...
Camshaft 0.50.0
2017-02-21 08:08:34 +01:00
Raul Ochoa
8a76cd506f
Fix issue with global Promise object
2017-02-20 18:46:48 +01:00
Mario de Frutos
50d05eae47
Version 2.88.0
...
Update camshaft version to 0.50.0
2017-02-20 18:46:47 +01:00
Raul Ochoa
ca41b3b600
Merge pull request #627 from CartoDB/change_release
...
We don't announce release deploy in google groups anymore
2017-02-20 10:31:39 +01:00
Mario de Frutos
43a17ddc7d
We don't announce release deploy in google groups anymore
2017-02-17 18:01:59 +01:00
Mario de Frutos
dfa347f860
Update camshaft dependency to 0.50
2017-02-17 16:29:34 +01:00
Raul Ochoa
6033027812
Merge branch 'node-v6-shrinkwrap' into node-v6-yarn
2017-02-17 13:42:32 +01:00
Raul Ochoa
9ee6f7fbb8
Regenerate npm-shrinkwrap.json with npm@2.x
2017-02-17 13:41:58 +01:00
Raul Ochoa
60c0754800
Make assertions compatible
2017-02-17 13:36:15 +01:00
Raul Ochoa
a9251c5e71
Fix issue with global Promise object
2017-02-17 13:35:41 +01:00
Raul Ochoa
7daeddc946
Use yarn
2017-02-17 11:27:01 +01:00
Raul Ochoa
dbdb00070e
Remove artificial node-zipfile dep
2017-02-17 11:26:46 +01:00
Raul Ochoa
e5c3c282ef
Log Node.js version on startup
2017-02-10 10:03:06 +01:00
Raul Ochoa
caba79b5e2
Make target to generate shrinkwrap file applying prune
...
It removes dev dependencies from the local node_modules
and avoid getting those into shrinkwrap file.
2017-02-07 20:03:47 +01:00
Raul Ochoa
d359ea7fa6
clean target to completely delete node_modules dir
2017-02-07 19:55:37 +01:00
Raul Ochoa
c0abbe570f
Add npm-shrinkwrap.json file
2017-02-07 18:56:45 +01:00
Raul Ochoa
229a2c0c3c
Remove npm-shrinkwrap.json until we solve the issue associated to it
2017-02-07 18:50:57 +01:00
Daniel García Aubert
3f185c9c69
revert: disable cache for ci builds
2017-02-07 15:28:21 +01:00
Daniel García Aubert
f86f72ab27
disable cache for ci builds
2017-02-07 15:19:05 +01:00
Daniel García Aubert
74af17cc65
Add ubuntu toolchain for builds
2017-02-07 12:12:17 +01:00
Daniel García Aubert
aaa3e34c7f
Use gcc 4.9 for build in travis
2017-02-07 11:55:21 +01:00
Daniel García Aubert
a053f198f5
Generate shrinkwrap
2017-02-07 11:45:48 +01:00
Daniel García Aubert
852ba68895
Upgrade redis in dev-dependency
2017-02-07 11:44:53 +01:00
Daniel García Aubert
1b22d176d6
Merge branch 'master' into node-v6
2017-02-06 19:03:16 +01:00
Daniel García Aubert
0ccbedf551
Use updated branch of windshaft
2017-02-06 18:25:32 +01:00
Raul Ochoa
28f1179336
Stubs next version
2017-02-02 16:44:41 +01:00
Raul Ochoa
de4d9e285e
Release 2.87.5
2017-02-02 16:43:43 +01:00
Raul Ochoa
e0faaac822
Update news
2017-02-02 16:43:04 +01:00
Raul Ochoa
c84f27dd3f
Merge pull request #623 from CartoDB/fix-dataviews-override-params-casting
...
Cast all dataview overrides values to Number
2017-02-02 16:42:48 +01:00
Raul Ochoa
12279d5c00
Cast dataview override values to Number or throw error
...
We were letting params expected as Numbers to be passed as any type
when they were not Numbers.
2017-02-02 16:20:16 +01:00
Raul Ochoa
281588abd2
Add test to validate bins param is casted as Number
2017-02-02 16:12:49 +01:00
Sandro Santilli
7e206b84aa
Fix typo
2017-01-31 13:16:36 +01:00
Mario de Frutos
f69f999694
Fixed contributing link
2017-01-25 10:43:24 +01:00
Daniel García Aubert
c0c062592f
Stubs next version
2017-01-20 11:40:00 +01:00
Daniel García Aubert
06885e2ba3
Release 2.87.4
2017-01-20 11:32:11 +01:00
Daniel
89a268d087
Merge pull request #617 from CartoDB/497-null-category
...
Be able to not compute NULL categories and null values
2017-01-20 11:26:12 +01:00
Daniel García Aubert
34424e713c
Test on Node v6
2017-01-19 12:42:53 +01:00
Daniel García Aubert
89f381439f
Pass test
2017-01-19 12:24:04 +01:00
Daniel García Aubert
6a80be9df3
Update windshaft dependency
2017-01-19 12:23:43 +01:00
Daniel García Aubert
fde1923acb
Removed invalid selector
2017-01-19 11:31:55 +01:00
Daniel García Aubert
d486e1d34f
Use released version of camshaft that supports node v6
2017-01-18 14:43:02 +01:00
csobier
3648b8b0b1
removed "default" from descriptions
...
As per a customer Support inquiry, I removed "default" from the Static Maps Limits section, as it was confusing to the user that it implied
2017-01-17 11:21:23 -05:00
Daniel García Aubert
83301238d2
Port changes to overviews
2017-01-17 17:10:08 +01:00
Daniel García Aubert
a4a1fb930a
Be able to not compute NULL categories and null values wheter aggregation operation is not 'count'
2017-01-17 17:09:17 +01:00
Daniel García Aubert
6555353e0e
Improve test to handle NULL values in category and aggregation columns using any operation
2017-01-16 19:23:08 +01:00
Daniel García Aubert
f5f0601e53
Add test to check if NULL category count values properly
2017-01-16 17:00:28 +01:00
Raul Ochoa
2598595e42
Merge pull request #614 from CartoDB/zipfile-cartodb
...
Use zipfile from cartodb
2016-12-23 14:47:40 +01:00
Raul Ochoa
49b78a85c9
Use zipfile from cartodb
...
Adding it as dependency in combination with loose definition in
millstone makes it to use the top level defined dependency.
2016-12-22 19:12:30 +01:00
Daniel García Aubert
35b12ebd6c
Test unused directive just for mapnik 2.3.x
2016-12-19 17:29:24 +01:00
Javier Goizueta
0918c8e68c
Stub next version
2016-12-19 17:20:18 +01:00
Javier Goizueta
1603a07de1
Release 2.87.3
2016-12-19 17:13:12 +01:00
Javier Goizueta
0a37aa4ba1
Merge pull request #604 from CartoDB/fix-overviews-dataviews
...
Fixes for dataviews using overviews
2016-12-19 16:55:13 +01:00
Javier Goizueta
b721a80fcc
Merge branch 'master' into fix-overviews-dataviews
2016-12-19 16:45:28 +01:00
Rafa de la Torre
01365d035e
Stub version 2.87.3
2016-12-19 16:38:27 +01:00
Rafa de la Torre
a4f059e20f
Merge pull request #605 from CartoDB/update-camshaft-0.48.5
...
Update camshaft to 0.48.5
2016-12-19 16:33:27 +01:00
Daniel García Aubert
eb758bbf36
Use a valid port from env
2016-12-19 16:19:41 +01:00
Daniel García Aubert
bc2441e66a
Use a valid port
2016-12-19 16:17:41 +01:00
Daniel García Aubert
7c1792bbd2
Test regression and unused directives only for mapnik ~2.3.x
2016-12-19 16:16:50 +01:00
Daniel García Aubert
2fdbc3e61c
Fix error message in assertion
2016-12-19 16:15:07 +01:00
Daniel García Aubert
2ace705122
Fix error message in assertion
2016-12-19 16:13:55 +01:00
Daniel García Aubert
4b817062d8
Bump version of dependencies to be Node v6 compatible
2016-12-19 16:12:57 +01:00
Rafa de la Torre
79c35118d7
Update camshaft to 0.48.5
...
Use exception safe Dataservices API functions. See
https://github.com/CartoDB/dataservices-api/issues/314 and
https://github.com/CartoDB/camshaft/issues/242
2016-12-19 15:52:25 +01:00
Javier Goizueta
6a4f5d52ec
Don't use overviews for date histograms
2016-12-16 17:51:36 +01:00
Javier Goizueta
ccaae2dd66
Remove spurious parameter from overviews dataviews functions
...
In the overviews-specialized dataview classes the sql-generating
functions had an unneeded parameter filters.
In some cases, since this parameter was not being paaased from
the base dataviews class it was masking the override parameter.
2016-12-16 17:37:05 +01:00
Raul Ochoa
d335e64f88
Stubs next version
2016-12-13 14:16:49 +01:00
Raul Ochoa
177d7ed07a
Release 2.87.1
2016-12-13 14:15:50 +01:00
Raul Ochoa
85a1e15b58
Merge pull request #603 from CartoDB/upgrade-deps
...
Upgrade windshaft and request deps
2016-12-13 14:15:04 +01:00
Raul Ochoa
432b58a078
Upgrade windshaft and request deps
2016-12-13 14:10:42 +01:00
xavijam
75e3c5daef
Ready for next release
2016-12-13 10:43:16 +01:00
Raul Ochoa
deb71c27b0
Merge pull request #601 from CartoDB/update-turbocarto
...
Update turbocarto package version
2016-12-12 18:56:54 +01:00
Raul Ochoa
8f5e1de6d8
Merge branch 'master' into update-turbocarto
2016-12-12 18:51:04 +01:00
Raul Ochoa
4836d62d7a
Merge pull request #602 from CartoDB/travis-improvements
...
Travis improvements
2016-12-12 18:50:39 +01:00
Raul Ochoa
d27b0617b2
Remove comments
2016-12-12 18:44:25 +01:00
Raul Ochoa
28a2c29a39
Attempt to use postgis 2.3
2016-12-12 18:39:57 +01:00
Raul Ochoa
fcb6478407
Attempt to use postgis 2.2
2016-12-12 18:33:19 +01:00
Raul Ochoa
6d72afe40e
Test sudoless travis
2016-12-12 17:30:14 +01:00
Raul Ochoa
e775266c64
Remove notifications
2016-12-12 17:29:32 +01:00
xavijam
12f25b38c0
Updated news
2016-12-12 17:03:56 +01:00
xavijam
c67a1107cb
Package version updated with turbo-carto cahnges
2016-12-12 17:02:31 +01:00
xavijam
34bfb0d62c
Updated news
2016-12-12 17:02:15 +01:00
Javier Goizueta
ede45cad1f
Stub next version
2016-12-02 15:25:52 +01:00
Javier Goizueta
75fe4c8aed
Release 2.86.1
2016-12-02 15:19:29 +01:00
Javier Goizueta
12e272a7e5
Merge pull request #599 from CartoDB/597-overviews-sql_wrap
...
Queries with sql_wrap should not be rewritten
2016-12-02 15:07:59 +01:00
Javier Goizueta
cfcba4e578
Wueries with sql_wrap should not be rewritten
2016-12-02 14:00:21 +01:00
Raul Ochoa
37ab898426
Stubs next version
2016-12-02 10:43:00 +01:00
Raul Ochoa
68865ea929
Release 2.86.0
2016-12-02 10:41:23 +01:00
Raul Ochoa
86674faa22
Update news and bump version
2016-12-02 10:41:02 +01:00
Raul Ochoa
f07947ce45
Merge pull request #597 from CartoDB/upgrade-windshaft
...
Upgrade windshaft
2016-12-02 10:32:44 +01:00
Raul Ochoa
6a50f59e25
Regenerate npm-shrinkwrap.json
2016-12-01 17:13:32 +01:00
Raul Ochoa
bfacd56800
Allow to use workers for transforming cartocss into mapnik XML
2016-12-01 17:02:40 +01:00
Raul Ochoa
45dea8b0c1
Stubs next version
2016-11-30 11:09:18 +01:00
Raul Ochoa
2f7f8cf2d8
Release 2.85.1
2016-11-30 11:07:29 +01:00
Raul Ochoa
31611b6a28
Upgrades camshaft to 0.48.4
2016-11-30 10:59:44 +01:00
Raul Ochoa
d1cd4b0c2b
Stubs next version
2016-11-24 16:15:47 +01:00
Raul Ochoa
c8ba1c3e7c
Release 2.85.0
2016-11-24 16:14:48 +01:00
Raul Ochoa
fbc8fe4c2d
Update news and bump version
2016-11-24 16:11:08 +01:00
Raul Ochoa
54ec9b48db
Ignore vscode settings dir
2016-11-24 15:41:09 +01:00
Raul Ochoa
488698d5e2
Merge pull request #594 from CartoDB/resources-url-templates
...
Allow to set resource URL templates with substitution tokens
2016-11-24 15:37:23 +01:00
Raul Ochoa
58c407aabb
Alternative development example configuration for user in path instead of host
2016-11-24 12:57:45 +01:00
Raul Ochoa
fe750f23bc
Closer to reality production example configuration
2016-11-24 12:56:38 +01:00
Raul Ochoa
87a01a5cfd
Example configuration with just HTTP
2016-11-24 12:56:02 +01:00
Javier Goizueta
74dd669bb0
Stub next version
2016-11-23 15:29:50 +01:00
Javier Goizueta
36a50389f5
Release 2.84.2
2016-11-23 15:09:24 +01:00
Javier Goizueta
4f2d7434c7
Merge pull request #596 from CartoDB/upgrade-camshaft-to-0.48.3
...
Upgrade Camshaft version to 0.48.3
2016-11-23 15:05:43 +01:00
Javier Goizueta
b0a0848476
Upgrade Camshaft version to 0.48.3
2016-11-23 13:17:16 +01:00
Javier Goizueta
9fcd897e54
Stub next version
2016-11-23 11:57:05 +01:00
Javier Goizueta
daa8fff21e
Release 2.84.1
2016-11-23 11:53:37 +01:00
Javier Goizueta
785229ddea
Merge pull request #595 from CartoDB/upgrade-camshaft-to-0.48.2
...
Upgrade camshaft version to 0.48.2
2016-11-23 11:50:45 +01:00
Javier Goizueta
8bb11bf1d4
Upgrade camshaft version to 0.48.2
2016-11-23 11:36:38 +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
Raul Ochoa
7afd0dfa4e
Remove prototype reference
2016-11-22 13:38:56 +01:00
Raul Ochoa
b1b6a437a7
Merge pull request #593 from CartoDB/592-doc-preview-layers
...
Fix DOC for named map and preview layers
2016-11-22 12:52:24 +01:00
Daniel García Aubert
e4d5006591
Merge branch 'master' into 592-doc-preview-layers
2016-11-22 11:06:18 +01:00
Daniel García Aubert
627b3771d3
Fix doc for layer preview
2016-11-22 11:04:38 +01:00
Raul Ochoa
f4758e84e8
Stubs next version
2016-11-11 16:17:20 +01:00
Raul Ochoa
8dfe2098ed
Release 2.84.0
2016-11-11 16:16:21 +01:00
Raul Ochoa
c56a4ee036
Update news and bump version
2016-11-11 16:15:59 +01:00
Raul Ochoa
c32623b821
Stubs next version
2016-11-11 16:15:08 +01:00
Raul Ochoa
3cd0a947f7
Merge pull request #586 from CartoDB/docs-switch-to-builder
...
switched gui tool from editor to builder
2016-11-11 12:52:38 +01:00
Raul Ochoa
8eea1cf4e7
Merge pull request #590 from CartoDB/analyses-limits-configuration
...
Analyses limit configuration allows to set other limits than timeout
2016-11-11 12:52:21 +01:00
Javier Goizueta
b5fccd5bbe
Merge pull request #589 from CartoDB/upgrade-camshaft-to-0.48.1
...
Release 2.83.1
2016-11-10 18:48:14 +01:00
Raul Ochoa
e74ce9dfd8
Analyses limit configuration allows to set other limits than timeout
...
Configuration is now defined as a dictionary instead of just timeouts
per analysis type
2016-11-10 18:41:59 +01:00
Javier Goizueta
3743365a83
Release 2.83.1
...
Upgrade camshaft to 0.48.1
2016-11-10 18:16:42 +01:00
Javier Goizueta
8aeb2173d1
Release 2.83.0
2016-11-10 13:02:39 +01:00
Javier Goizueta
9a2b17d952
Merge pull request #588 from CartoDB/upgrade-camshaft-to-0.48.0
...
Upgrade camshaft to 0.48.0
2016-11-10 12:47:18 +01:00
Javier Goizueta
6f54cce01a
Upgrade camshaft to 0.48.0
...
Upgrade camshaft to have analysis limits checking
2016-11-10 12:23:15 +01:00
Daniel García Aubert
6901b2049e
Release 2.82.0
2016-11-08 18:48:01 +01:00
Daniel García Aubert
d0dcc027df
Upgrade camshaft to version 0.47.0
2016-11-08 18:44:58 +01:00
Daniel García Aubert
b693005118
Stubs next version
2016-11-05 14:41:15 +01:00
Daniel García Aubert
ab4a0e836f
Release 2.81.1
2016-11-05 14:36:49 +01:00
Daniel
abe02db6c6
Merge pull request #585 from CartoDB/fix-map-validator-basemap
...
Fix issues related to rollout
2016-11-05 14:35:06 +01:00
Daniel García Aubert
a2cd5dd32d
Upgrade camshaft and windshaft
2016-11-05 14:12:03 +01:00
Daniel García Aubert
49b46a6096
Use address column in styles
2016-11-05 11:43:39 +01:00
csobier
94f420ca3f
switched gui tool from editor to builder
2016-11-02 09:34:55 -04:00
Daniel García Aubert
5e530105df
Stubs next version
2016-11-02 14:30:11 +01:00
Daniel García Aubert
2f82d34c4b
Release 2.81.0
2016-11-02 10:36:19 +01:00
Daniel García Aubert
81fd01d0ac
Upgrade camshaft to 0.46.2
2016-11-01 14:49:13 +01:00
Daniel García Aubert
9faac9f9fe
Retrieve error with context if map validation fails
2016-11-01 11:00:58 +01:00
Daniel García Aubert
d04787a60c
Fix test
2016-10-31 22:48:09 +01:00
Daniel García Aubert
f5dbf94b52
Stubs next version
2016-10-26 14:47:59 +02:00
Daniel García Aubert
5bec2d9b15
Release 2.80.2
2016-10-26 14:34:24 +02:00
Daniel García Aubert
fe64f0c63c
Update NEWS
2016-10-26 14:30:56 +02:00
Daniel García Aubert
c20fd9691a
Fix order in categories query to make it compatible with lenyends
2016-10-26 13:16:24 +02:00
Daniel García Aubert
eb323fbff9
Merge branch 'master' of github.com:CartoDB/Windshaft-cartodb
2016-10-25 16:28:34 +02:00
Daniel García Aubert
211f6b9a74
Stubs next version
2016-10-25 16:27:53 +02:00
Daniel García Aubert
b6c003ec63
Stubs next version
2016-10-25 16:15:03 +02:00
Daniel García Aubert
93d4bf2a72
Release 2.80.1
2016-10-25 16:02:32 +02:00
Daniel García Aubert
c6cb573383
Since crankshaft is installed by default in template-postgis we have to remove it before running test
2016-10-25 15:55:24 +02:00
Daniel García Aubert
f4ce671ea4
Upgrade camshaft version to 0.46.1
2016-10-25 14:54:52 +02:00
Raul Ochoa
147f7cbabb
Stubs next version
2016-10-20 15:24:37 +02:00
Raul Ochoa
b05d5a141e
Release 2.80.0
2016-10-20 15:23:17 +02:00
Raul Ochoa
d34e0306f8
Update news
2016-10-20 15:22:16 +02:00
Raul Ochoa
bd9f48dd24
Merge pull request #579 from CartoDB/upgrade-camshaft-to-0.46.0
...
Upgrade camshaft to 0.46.0
2016-10-20 15:20:14 +02:00
Javier Goizueta
9805990d79
Update npm-shrinkwrap
2016-10-20 15:11:53 +02:00
Raul Ochoa
dbbe60967c
Bump version and update news
2016-10-20 15:04:46 +02:00
Raul Ochoa
0ef91c1904
Merge pull request #580 from CartoDB/analyses-config-limits
...
Default analyses limits can be defined in configuration
2016-10-20 15:02:44 +02:00
Raul Ochoa
376573459c
Default analyses limits can be defined in configuration
2016-10-20 14:03:42 +02:00
Javier Goizueta
9c6d7c0ff9
Upgrade camshaft to 0.46.0
...
This version of camshaft requires a CDB_CheckAnalysisQuota function
to check analysis cache quota.
2016-10-20 12:56:18 +02:00
Raul Ochoa
30a95b7da3
Stubs next version
2016-10-11 16:56:22 +02:00
Raul Ochoa
e6a60aef9a
Release 2.79.0
2016-10-11 16:55:15 +02:00
Raul Ochoa
5c2024581f
Bump version
2016-10-11 16:55:03 +02:00
Raul Ochoa
f7ea2bb51e
Merge pull request #578 from CartoDB/upgrade-turbo-carto
...
Upgrades turbo-carto to 0.18.0
2016-10-11 16:53:39 +02:00
Raul Ochoa
3e4da8ab57
Upgrades turbo-carto to 0.18.0
2016-10-11 16:41:26 +02:00
Raul Ochoa
7352a28908
Fix variable assigning to itself
2016-10-11 16:01:43 +02:00
Raul Ochoa
d1928ee578
Merge pull request #577 from CartoDB/analysis-limits-configuration
...
Retrieve analysis limits and pass them into camshaft
2016-10-11 16:00:07 +02:00
Raul Ochoa
cd978d7384
Retrieve analysis limits and pass them into camshaft
2016-10-11 15:46:11 +02:00
Raul Ochoa
cde0d8f5e2
Stubs next version
2016-09-30 18:26:33 +02:00
Raul Ochoa
7bacfcc2e4
Release 2.78.1
2016-09-30 18:25:00 +02:00
Raul Ochoa
241fe36103
Upgrades camshaft to 0.44.2
2016-09-30 18:24:44 +02:00
Raul Ochoa
441714a656
Stubs next version
2016-09-29 11:36:06 +02:00
Raul Ochoa
bd3fdb7f16
Release 2.78.0
2016-09-29 11:35:03 +02:00
Raul Ochoa
775af6feee
Merge pull request #575 from CartoDB/cartocss-meta
...
Add metadata about processed turbo-carto rules
2016-09-28 19:44:52 +02:00
Raul Ochoa
adf5c17e0d
Use context from adapters as provider context
2016-09-28 19:22:03 +02:00
Raul Ochoa
beb2d96a32
Upgrades turbo-carto to 0.17.1
2016-09-28 19:21:43 +02:00
Raul Ochoa
2a4ae88bc0
Merge remote-tracking branch 'origin/master' into cartocss-meta
2016-09-28 17:06:36 +02:00
Raul Ochoa
b76098ba45
Upgrades turbo-carto to 0.17.0
2016-09-28 16:57:04 +02:00
Raul Ochoa
c095027f8e
Regenerate npm-shrinkwrap.json
2016-09-28 14:45:33 +02:00
Raul Ochoa
9d1db19907
Regenerate npm-shrinkwrap.json for turbo-carto dep
2016-09-28 11:39:58 +02:00
Daniel García Aubert
260e321537
Stub next version
2016-09-28 11:04:03 +02:00
Daniel García Aubert
073603b527
Release 2.77.1
2016-09-28 10:55:50 +02:00
Daniel García Aubert
17b259cf31
Upgrade camshaft to version 0.44.1
2016-09-28 10:54:27 +02:00
Daniel García Aubert
8f0f0026e9
Stubs next version
2016-09-27 12:28:44 +02:00
Daniel García Aubert
59dae2b545
Release 2.77.0
2016-09-26 19:11:12 +02:00
Daniel García Aubert
4670f69ead
Upgrade camshaft to version 0.44.0
2016-09-26 19:05:16 +02:00
Daniel
16fbd25a34
Merge pull request #576 from CartoDB/conf-analysis-logger
...
Pass logger configuration to analysis backend and create a stream
2016-09-26 18:14:52 +02:00
Daniel García Aubert
2d75985cb3
Recreate stream on SIGHUP event
2016-09-26 17:39:27 +02:00
Daniel García Aubert
f963fb321e
Set default config of analysis logger for test env
2016-09-23 17:35:46 +02:00
Daniel García Aubert
10feea0d48
Pass logger configuration to analysis backend and create a stream based on config
2016-09-23 17:11:04 +02:00
Raul Ochoa
b6b9b0ac36
Regenerate npm-shrinkwrap
2016-09-21 17:13:59 +02:00
Raul Ochoa
5551e85853
Update news and bump version
2016-09-21 16:06:43 +02:00
Raul Ochoa
1f0fa5031b
Rely on turbo-carto metadata branch
2016-09-20 16:19:46 +02: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
Raul Ochoa
61d31ec054
Handle metadata from turbo-carto
2016-09-20 16:08:53 +02:00
Raul Ochoa
c8917bfc4c
Return stats in callback
2016-09-20 16:00:33 +02:00
Raul Ochoa
36b69a05e5
Compute some stats in queries
2016-09-20 16:00:06 +02:00
Raul Ochoa
c8d2f66467
Stubs next version
2016-09-15 12:14:12 +02:00
Raul Ochoa
7416bb0e56
Release 2.76.0
2016-09-15 12:13:36 +02:00
Raul Ochoa
9182d0132d
Merge pull request #574 from CartoDB/travis-addon
...
Travis' pg 9.5 addon
2016-09-15 11:17:51 +02:00
Raul Ochoa
9be9357ade
Add libpango
2016-09-15 01:57:49 +02:00
Raul Ochoa
7f414f8adf
Attempt to use travis' pg 9.5 addon
2016-09-15 01:51:36 +02:00
Raul Ochoa
3af9549939
Merge pull request #573 from CartoDB/external-config
...
Allow to use `--config /path/to/config.js` to specify configuration file
2016-09-15 01:49:43 +02:00
Raul Ochoa
41f248d731
Use logError
2016-09-15 01:35:38 +02:00
Raul Ochoa
18a517b7bf
Allow to use --config /path/to/config.js to specify configuration file
2016-09-15 01:25:33 +02:00
Raul Ochoa
5150204389
Travis' Node.js 0.10 already uses npm 2.x
2016-09-14 21:22:40 +02:00
Raul Ochoa
3b16e7729d
Merge pull request #572 from CartoDB/logs-conf
...
Allow to use absolute paths for log files
2016-09-14 21:04:19 +02:00
Raul Ochoa
76d27c9fce
Allow to use absolute paths for log files
...
Fixes #570
2016-09-14 20:15:38 +02:00
Raul Ochoa
4ce6e41000
Stubs next version
2016-09-14 20:06:05 +02:00
Daniel García Aubert
33260cdbd9
Release 2.75.0
2016-09-14 09:48:20 +02:00
Raul Ochoa
85d81ba7fd
Upgrades camshaft to 0.42.2
2016-09-09 13:40:31 +02:00
Raul Ochoa
7e8a3ca21f
Stubs next version
2016-09-07 17:01:39 +02:00
Raul Ochoa
e9e4dc1f5c
Release 2.74.1
2016-09-07 17:00:23 +02:00
Raul Ochoa
17c30e165a
Upgrades camshaft to 0.42.1
...
Test fixture updated as it no longers generate bounds based on
table estimated bounds
2016-09-07 16:43:18 +02:00
Daniel García Aubert
c45c6ceb15
Stubs next version
2016-09-06 19:10:58 +02:00
Daniel García Aubert
d73c2c465f
Release 2.74.0
2016-09-06 19:03:50 +02:00
Daniel
d4fc53939b
Merge pull request #568 from CartoDB/567-show-hide-named-maps
...
Show & hide support in named maps
2016-09-06 18:53:23 +02:00
Daniel García Aubert
4becb65bec
Stubs next version
2016-09-06 16:33:21 +02:00
Daniel García Aubert
f64e16c790
Release 2.73.1
2016-09-06 16:27:12 +02:00
Daniel García Aubert
1772011627
Add missinng column in fixture table cdb_analysis_catalog
2016-09-06 16:19:06 +02:00
Raul Ochoa
5b8f785e2b
Regenerate npm-shrinkwrap.json
2016-09-06 16:01:05 +02:00
Daniel García Aubert
a0e3b77006
Release 2.73.0
2016-09-06 15:51:03 +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
c6988cdb88
Improved and implemented new test for layer visibility suite
2016-09-01 12:37:56 +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
e4a9f2d64c
Added template map as dependency of named maps controller
2016-09-01 12:35:35 +02:00
Daniel García Aubert
0236fe3ca9
Implemented new scenario
2016-08-31 20:41:07 +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
df7d957914
Implemented acceptance test for layer visibility in previews
2016-08-31 19:41:23 +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
Daniel García Aubert
ab27886460
Renamed option by for name maps template
2016-08-31 19:37:48 +02:00
Daniel García Aubert
31e18d04d7
Undo unneeded optimization
2016-08-31 13:57:28 +02:00
Daniel García Aubert
8155484510
Improved test visibility layer with layerId
2016-08-29 10:46:55 +02:00
Daniel García Aubert
b61f1d2b53
Attached layer_visibility property to the named template
2016-08-26 17:30:03 +02:00
Daniel García Aubert
2e274b936a
Improved test to check all possible values of visibility in named maps templates
2016-08-26 15:07:06 +02:00
Daniel García Aubert
bf3e311b57
Avoid unnecessary complexity
2016-08-26 14:46:23 +02:00
Daniel García Aubert
6a7613de6b
Improved layergroup instantiation to filter non visible layers
2016-08-26 14:42:33 +02:00
Daniel García Aubert
ee46549e04
First approach
2016-08-25 20:04:23 +02:00
Raul Ochoa
377f3d4aff
Removes constraint on filtered mapnik layers
2016-08-25 18:34:19 +02:00
Daniel García Aubert
752d47d71e
Stubs next version
2016-08-23 11:25:39 +02:00
Daniel García Aubert
367157b80c
Release 2.72.0
2016-08-23 11:19:48 +02:00
Daniel García Aubert
53542f1cd6
Stubs next version
2016-08-17 15:15:18 +02:00
Daniel García Aubert
7a8f156abf
Release 2.71.0
2016-08-17 15:12:42 +02:00
Daniel García Aubert
c60cc57a0d
Upgrades Windshaft to version 2.5.0
2016-08-17 15:07:29 +02:00
Raul Ochoa
8de6ec9a21
Stubs next version
2016-08-16 12:25:12 +02:00
Raul Ochoa
44b6f4be7e
Release 2.70.0
2016-08-16 12:24:23 +02:00
Raul Ochoa
280be1751c
Merge pull request #565 from CartoDB/update-camshaft
...
Upgrade camshaft to 0.40.0
2016-08-16 12:19:25 +02:00
Raul Ochoa
701a73a2c5
Upgrade camshaft to 0.40.0
2016-08-16 11:33:32 +02:00
Raul Ochoa
b578eada07
Stubs next version
2016-08-12 10:34:33 +02:00
Raul Ochoa
8100f155dc
Release 2.69.1
2016-08-12 10:33:10 +02:00
Raul Ochoa
9f1a014004
Upgrades windshaft to 2.4.2
2016-08-12 10:24:06 +02:00
Raul Ochoa
e35e0e157c
Stubs next version
2016-08-11 12:06:33 +02:00
Raul Ochoa
3aff328af3
Release 2.69.0
2016-08-11 12:05:56 +02:00
Raul Ochoa
ffb086045a
Bump version
2016-08-11 12:05:37 +02:00
Raul Ochoa
c0786dfa6f
Merge pull request #564 from CartoDB/fix-travis
...
Avoid 'No such file or directory'
2016-08-10 12:59:29 +02:00
Raul Ochoa
ddc33fa52b
Avoid 'No such file or directory'
2016-08-10 10:30:04 +02:00
Raul Ochoa
9f2d6a5d41
Merge pull request #563 from CartoDB/upgrade-camshaft
...
Upgrade camshaft to 0.39.0
2016-08-09 17:01:09 +02:00
Raul Ochoa
64e884a092
force-yes for postgresql-plpython-9.5
2016-08-09 15:45:21 +02:00
Raul Ochoa
17ec174683
Use --force-yes
2016-08-09 15:41:17 +02:00
Raul Ochoa
3666cbee94
Upgrade camshaft to 0.39.0
2016-08-09 15:29:54 +02:00
Raul Ochoa
25de018f7d
Add comment about row_limit config parameter
2016-08-01 12:59:38 +02:00
Raul Ochoa
6597851b48
Stubs next version
2016-07-21 21:04:39 +02:00
Raul Ochoa
0399131968
Release 2.68.0
2016-07-21 21:03:10 +02:00
Raul Ochoa
86836e7f89
Upgrades turbo-carto to 0.16.0
2016-07-21 21:02:06 +02:00
Daniel García Aubert
df346b11d3
Release 2.67.1
2016-07-21 16:05:12 +02:00
Daniel García Aubert
27f74b3fe2
Stubs next version
2016-07-21 10:41:42 +02:00
Daniel García Aubert
87dec64ad1
Release 2.67.0
2016-07-21 10:34:10 +02:00
Daniel García Aubert
54c787162a
Update NEWS
2016-07-21 10:27:46 +02:00
Daniel García Aubert
6e92e699dc
Upgrades camshaft version to 0.38.0
2016-07-21 10:25:53 +02:00
Raul Ochoa
7950f43db3
Stubs next version
2016-07-20 19:38:09 +02:00
Raul Ochoa
d300677315
Release 2.66.2
2016-07-20 19:26:27 +02:00
Raul Ochoa
bd4d29dd14
Upgrades turbo-carto to 0.15.1
2016-07-20 19:25:53 +02:00
Raul Ochoa
18a84433f4
Merge pull request #562 from CartoDB/git-for-log4js-dep
...
Use git for log4js dependency
2016-07-20 19:21:02 +02:00
Raul Ochoa
768ebf0ef2
Use git for log4js dependency
2016-07-20 18:34:57 +02:00
Raul Ochoa
1c20cb5478
Stubs next version
2016-07-20 11:20:12 +02:00
Raul Ochoa
279587ea11
Release 2.66.1
2016-07-20 11:16:23 +02:00
Raul Ochoa
25df193390
Merge pull request #560 from CartoDB/upgrade-turbo-carto
...
Upgrades turbo-carto to 0.15.0
2016-07-19 20:03:30 +02:00
Raul Ochoa
9ce81693bd
Merge remote-tracking branch 'origin/master' into upgrade-turbo-carto
...
Conflicts:
npm-shrinkwrap.json
2016-07-19 19:46:19 +02:00
Raul Ochoa
16765e092f
Upgrades turbo-carto to 0.15.0
2016-07-19 19:28:53 +02:00
Daniel García Aubert
237e1257c4
Stubs next version
2016-07-18 13:34:14 +02:00
Daniel García Aubert
665859b17d
Release 2.66.0
2016-07-18 13:31:55 +02:00
Raul Ochoa
b5a6d6974c
Do not cast type in category ramp
2016-07-18 11:58:19 +02:00
Raul Ochoa
26bab029f4
Prepare for new turbo-carto versio
2016-07-18 11:57:27 +02:00
Raul Ochoa
ed7bb07b03
Output actual error message
2016-07-18 11:13:37 +02:00
Raul Ochoa
c87277ad01
Adjust to fail in specific scenario
2016-07-18 11:13:01 +02:00
Raul Ochoa
62be259a90
Rename turbo-cartocss -> turbo-carto
2016-07-18 10:29:13 +02:00
Daniel García Aubert
80798f984b
Stubs next version
2016-07-15 12:15:47 +02:00
Daniel García Aubert
e32409880c
Release 2.65.0
2016-07-15 12:07:37 +02:00
Daniel García Aubert
7b6eb2940e
Upgrades camshaft version to 0.37.0
2016-07-15 12:01:29 +02:00
Raul Ochoa
87ad8df22f
Merge pull request #557 from CartoDB/upgrade-cartodb-redis
...
Upgrades cartodb-redis to 0.13.1
2016-07-13 16:19:19 +02:00
Raul Ochoa
9fe20036a1
Upgrades cartodb-redis to 0.13.1
...
Which removes strftime dependency
Closes #285
2016-07-13 16:05:16 +02:00
Raul Ochoa
2b0d8d43bd
Merge pull request #555 from CartoDB/analyses-controller
...
Add controller to list user analyses
2016-07-12 16:53:43 +02:00
Raul Ochoa
3af340d384
Add controller to list user analyses
2016-07-12 16:08:48 +02:00
Daniel García Aubert
20c1ad8d87
Stubs next version
2016-07-12 11:27:09 +02:00
Daniel García Aubert
8c351c7c46
Release 2.64.0
2016-07-12 11:23:40 +02:00
Daniel
6647e986d9
Merge pull request #554 from CartoDB/546-add-node-id-to-analyis-errors
...
add node id to analyis errors
2016-07-12 10:40:00 +02:00
Daniel García Aubert
77f691520c
Merge branch 'master' into 546-add-node-id-to-analyis-errors
2016-07-11 16:06:58 +02:00
Daniel García Aubert
dfaa6ec024
Fixes #546 , added node_id property to analysis errors
2016-07-11 15:48:26 +02:00
Raul Ochoa
41c574f5df
Stubs next version
2016-07-11 10:50:49 +02:00
Raul Ochoa
10e901dcaa
Release 2.63.0
2016-07-11 10:50:01 +02:00
Raul Ochoa
1d3626b4e1
Bump version
2016-07-11 10:49:45 +02:00
Raul Ochoa
bc419a51d6
Merge pull request #553 from CartoDB/node-error-on-create
...
Return last error message for failed nodes on map creation
2016-07-11 10:48:10 +02:00
Raul Ochoa
d0980a2872
Return last error message for failed nodes on map creation
2016-07-11 10:42:46 +02:00
Raul Ochoa
74719e48d9
Upgrades camshaft to 0.35.0
2016-07-11 10:42:14 +02:00
Raul Ochoa
d7c6b45438
Merge pull request #552 from CartoDB/upgrade-lzma
...
Upgrades lzma to 2.3.2
2016-07-08 16:20:07 +02:00
Raul Ochoa
551cfd87ee
Upgrades lzma to 2.3.2
2016-07-08 13:52:07 +02:00
Carlos Matallín
ba29873a8e
Merge pull request #548 from CartoDB/docs-781
...
rebranding
2016-07-07 18:49:39 +02:00
Daniel García Aubert
d9e2bb4537
Stubs next version
2016-07-07 18:35:16 +02:00
Daniel García Aubert
16d7b15d67
Release 2.62.0
2016-07-07 18:19:39 +02:00
Daniel García Aubert
b9da97fedd
Upgrades camshaft to version 0.34.0
2016-07-07 18:13:19 +02:00
Raul Ochoa
bdf3b0393a
Stubs next version
2016-07-07 00:39:49 +02:00
Raul Ochoa
a18f701466
Release 2.61.2
2016-07-07 00:38:58 +02:00
Raul Ochoa
71c7d8a90c
Limit analysis creation concurrency
2016-07-07 00:36:59 +02:00
Raul Ochoa
99e766d952
Upgrades camshaft to 0.33.3
2016-07-07 00:36:39 +02:00
Raul Ochoa
fc78a0ed36
Stubs next version
2016-07-06 22:59:51 +02:00
Raul Ochoa
d4d398f583
Release 2.61.1
2016-07-06 22:59:06 +02:00
Raul Ochoa
be766ec803
Merge pull request #547 from CartoDB/mapconfig-dataviews
...
Use mapconfig to to store/retrieve dataviews queries
2016-07-06 22:58:11 +02:00
Raul Ochoa
57bb8dbbe3
Use mapconfig to to store/retrieve dataviews queries
2016-07-06 22:31:08 +02:00
Raul Ochoa
c539d4fbbd
Change camshaft naming from filters
2016-07-06 21:11:39 +02:00
Raul Ochoa
a7dddcebe8
Stubs next version
2016-07-06 18:12:11 +02:00
Raul Ochoa
a9275845ff
Release 2.61.0
2016-07-06 18:11:31 +02:00
Raul Ochoa
e5bf9efdb9
Upgrades camshaft to 0.33.2
2016-07-06 18:11:01 +02:00
Raul Ochoa
85073345ec
Merge pull request #545 from CartoDB/turbo-carto-multiple-errors
...
Turbo carto multiple errors
2016-07-06 12:56:12 +02:00
Raul Ochoa
80d5b29902
More clear turbo-carto error messages: no context in message
2016-07-06 12:34:09 +02:00
Raul Ochoa
f55b748d20
Upgrade turbo-carto to 0.14.0
2016-07-06 12:33:08 +02:00
Raul Ochoa
870468ddf7
Merge pull request #543 from CartoDB/turbo-carto-multiple-errors
...
Return multiple turbo-carto errors
2016-07-06 00:43:00 +02:00
Raul Ochoa
b3107916ce
Return multiple turbo-carto errors
...
Closes #541
2016-07-06 00:32:30 +02:00
Raul Ochoa
9cf856ab78
Merge pull request #542 from CartoDB/upgrade-turbo-carto
...
Upgrades turbo-carto to 0.13.0
2016-07-05 19:59:06 +02:00
Raul Ochoa
bbd047a940
Upgrades turbo-carto to 0.13.0
2016-07-05 19:53:13 +02:00
Daniel García Aubert
d3dfb0a7ff
Stubs next version
2016-07-05 19:24:26 +02:00
Daniel García Aubert
5a8f9db79c
Release 2.60.0
2016-07-05 18:39:20 +02:00
Daniel García Aubert
fbe20386b6
Upgrades camshaft version to 0.32.0
2016-07-05 18:31:47 +02:00
Raul Ochoa
6245b40015
Stubs next version
2016-07-05 15:51:36 +02:00
Raul Ochoa
3e959d8dc0
Release 2.59.1
2016-07-05 15:50:57 +02:00
Raul Ochoa
564df920d1
Upgrades camshaft to 0.31.0
2016-07-05 15:50:31 +02:00
Raul Ochoa
7e2c467a4f
Stubs next version
2016-07-05 15:25:38 +02:00
Raul Ochoa
3a42305408
Release 2.59.0
2016-07-05 15:25:00 +02:00
Raul Ochoa
09616777e6
Merge pull request #540 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.30.0
2016-07-05 15:24:05 +02:00
Raul Ochoa
c2a5569b8c
Upgrades camshaft to 0.30.0
2016-07-05 14:59:09 +02:00
Raul Ochoa
38bea2108b
Stubs next version
2016-07-05 12:16:35 +02:00
Raul Ochoa
ab0777b45f
Release 2.58.0
2016-07-05 12:15:55 +02:00
Raul Ochoa
962f94387b
Fix release date
2016-07-05 12:15:41 +02:00
Raul Ochoa
de5600b4fd
Bump version
2016-07-05 12:15:09 +02:00
Raul Ochoa
188a202f02
Merge pull request #538 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.29.2
2016-07-05 12:14:20 +02:00
Raul Ochoa
19f39b87f5
Merge branch 'master' into upgrade-camshaft
...
Conflicts:
NEWS.md
2016-07-05 11:42:57 +02:00
Raul Ochoa
c759f314f9
Merge pull request #539 from CartoDB/nodes-metadata-fix
...
Return full list of nodes in response metadata
2016-07-05 11:42:13 +02:00
Raul Ochoa
6c98f14c64
Return full list of nodes in response metadata
2016-07-05 11:26:52 +02:00
Raul Ochoa
f2348e1b24
Upgrades camshaft to 0.29.2
2016-07-05 11:25:24 +02:00
Raul Ochoa
4b5a10fe61
Upgrades camshaft to 0.29.1
2016-07-05 10:26:48 +02:00
Raul Ochoa
163fa58b5a
Merge pull request #537 from CartoDB/analysis-failed-status-error-message
...
Include error message in node status endpoint
2016-07-05 10:22:43 +02:00
csobier
2bb03225cb
updated all api examples with rebranded account url- confirmed by luis
2016-07-04 17:30:16 -04:00
Raul Ochoa
b3bbb6af01
Include error message in node status endpoint
2016-07-04 18:40:11 +02:00
Raul Ochoa
28d711e1f4
Stubs next version
2016-07-04 17:54:39 +02:00
Raul Ochoa
410fdb8343
Release 2.57.0
2016-07-04 17:53:58 +02:00
Raul Ochoa
21c2f3bdd1
Merge pull request #536 from CartoDB/upgrade-camshaft
...
Upgrade camshaft to 0.28.1
2016-07-04 17:53:20 +02:00
Raul Ochoa
baae080318
Merge remote-tracking branch 'origin/master' into upgrade-camshaft
...
Conflicts:
NEWS.md
package.json
2016-07-04 17:04:54 +02:00
Raul Ochoa
81c0796056
Upgrades camshaft to 0.28.1
2016-07-04 17:03:56 +02:00
Daniel García Aubert
6ea5c5f414
Stubs next version
2016-07-04 16:29:30 +02:00
Daniel García Aubert
7e37705843
Release 2.56.0
2016-07-04 16:08:38 +02:00
Daniel García Aubert
425b5e6b4a
Upgrades camshaft version to 0.27.0
2016-07-04 15:56:04 +02:00
Raul Ochoa
8942c72fb2
Stubs next version
2016-07-04 10:28:44 +02:00
Raul Ochoa
e9359fdd73
Release 2.55.0
2016-07-04 10:28:07 +02:00
Raul Ochoa
5c4308abc1
Merge pull request #534 from CartoDB/turbo-carto-valid-ramps
...
Skip null values for quantification methods
2016-07-04 02:30:23 +02:00
Raul Ochoa
61576b671b
Update news
2016-07-04 02:23:48 +02:00
Raul Ochoa
1e4d6bb942
Merge remote-tracking branch 'origin/master' into turbo-carto-valid-ramps
2016-07-04 02:22:41 +02:00
Raul Ochoa
ff6c0addb4
Merge pull request #533 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.26.0
2016-07-04 02:22:24 +02:00
Raul Ochoa
98cd524c07
Skip null values for quantification methods generating null values
2016-07-04 02:15:54 +02:00
Raul Ochoa
746d57ff42
Red: expose issues with some quantification method when query returns empty
2016-07-04 02:11:52 +02:00
Raul Ochoa
7319822419
Upgrades camshaft to 0.26.0
2016-07-04 02:07:12 +02:00
Raul Ochoa
58bcde3818
Merge pull request #532 from CartoDB/upgrade-camshaft
...
Upgrade camshaft to 0.25.0
2016-07-03 11:51:56 +02:00
Raul Ochoa
b57d08f38e
Output nodes for test
2016-07-03 11:45:10 +02:00
Raul Ochoa
739a8cef32
Regenerate npm-shrinkwrap.json for 0.25.0
2016-07-03 11:27:04 +02:00
Raul Ochoa
8a6e31e025
Merge remote-tracking branch 'origin/master' into upgrade-camshaft
2016-07-03 10:59:12 +02:00
Raul Ochoa
616aac9771
Upgrade camshaft to 0.25.0
...
Use new configuration with user for nodes.
2016-07-03 10:49:45 +02:00
Raul Ochoa
23a1b7484e
Merge pull request #531 from CartoDB/pg-9.5
...
Use postgresql 9.5 in travis
2016-07-02 20:05:55 +02:00
Raul Ochoa
9624ee1c76
Attempt to use postgresql 9.5
2016-07-02 19:54:34 +02:00
Raul Ochoa
4c557be2c2
Update to use latest cdb_analysis_catalog
...
It avoids to execute queries that are extension specifics
2016-07-02 19:50:59 +02:00
Raul Ochoa
7577ee8015
Stubs next version
2016-07-01 20:17:11 +02:00
Daniel García Aubert
8c73914da4
Release 2.54.0
2016-06-30 15:00:21 +02:00
Raul Ochoa
604ba300aa
Bump version
2016-06-30 13:33:54 +02:00
Raul Ochoa
876166ab74
Update news
2016-06-30 13:33:25 +02:00
Raul Ochoa
1bf8fda770
Merge pull request #530 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.23.0
2016-06-30 13:31:01 +02:00
Raul Ochoa
cd32218cea
Upgrades camshaft to 0.23.0
2016-06-30 13:14:30 +02:00
Daniel
0fd0974738
Merge pull request #525 from CartoDB/fix-error-context
...
Fix error context, replaced `turbo-carto` error type by `layer` type
2016-06-29 19:15:44 +02:00
Daniel García Aubert
ed7f95a1a7
Merge branch 'master' into fix-error-context
2016-06-29 19:02:54 +02:00
Daniel García Aubert
a36c1c52ae
Fixs typo
2016-06-29 17:19:01 +02:00
Daniel García Aubert
226d948c4d
Upgrades windshaft to version 2.4.0
2016-06-29 17:08:55 +02:00
Raul Ochoa
84c67f977e
Stubs next version
2016-06-29 16:50:19 +02:00
Raul Ochoa
c09cda84a3
Release 2.53.5
2016-06-29 16:49:34 +02:00
Raul Ochoa
bd36ea1829
news style
2016-06-29 16:49:13 +02:00
Raul Ochoa
01a47925e0
Merge pull request #529 from CartoDB/528-invalid-error-regression
...
Fixes invalid error on node not found from dataview
2016-06-29 16:47:16 +02:00
Raul Ochoa
dd8a70eb95
Uses node list so identical nodes are not de-duplicated and can be used with different ids
...
Fixes #528
2016-06-29 16:10:26 +02:00
Raul Ochoa
013bdba4ff
Add regression test wheren node id can't be found and it should
2016-06-29 16:08:38 +02:00
Raul Ochoa
c1acc54d55
Add constants for cartocss symbolizers
2016-06-29 16:07:42 +02:00
Raul Ochoa
5f3fb6e5f7
Adds fake CDB_KMeans function
2016-06-29 16:07:01 +02:00
Daniel García Aubert
e3fac9c161
Updated NEWS
2016-06-29 16:03:52 +02:00
Daniel García Aubert
accab9e78a
Gets layerId from the layer that raises the error
2016-06-29 12:21:15 +02:00
Raul Ochoa
cb53d140e3
Stubs next version
2016-06-28 19:48:47 +02:00
Raul Ochoa
72986d1946
Release 2.53.4
2016-06-28 19:47:59 +02:00
Raul Ochoa
2195c55518
Upgrades camshaft to 0.22.4
2016-06-28 19:44:55 +02:00
Raul Ochoa
c418ba1908
Stubs next version
2016-06-28 14:39:02 +02:00
Raul Ochoa
934356e5cc
Release 2.53.3
2016-06-28 14:38:25 +02:00
Raul Ochoa
c40235a910
Upgrades camshaft to 0.22.3
2016-06-28 14:37:21 +02:00
Raul Ochoa
cd8338196e
Stubs next version
2016-06-28 13:08:08 +02:00
Raul Ochoa
2143e87401
Release 2.53.2
2016-06-28 13:07:19 +02:00
Raul Ochoa
f0a536ee1e
Upgrades camshaft to 0.22.2
2016-06-28 13:06:46 +02:00
Raul Ochoa
dde4b63c6b
Stubs next version
2016-06-28 00:25:29 +02:00
Raul Ochoa
0e7bcc4b56
Release 2.53.1
2016-06-28 00:24:40 +02:00
Raul Ochoa
e4816b4322
Merge pull request #527 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.22.1
2016-06-28 00:21:33 +02:00
Raul Ochoa
af4f29c538
Upgrades camshaft to 0.22.1
2016-06-28 00:17:33 +02:00
Daniel García Aubert
016adb64ef
Fix error context, replaced turbo-carto error type by layer type. Context is no longer used, custom property for each type will be used instead.
2016-06-26 18:43:04 +02:00
Raul Ochoa
7cedccedcd
Stubs next version
2016-06-24 14:59:23 +02:00
Raul Ochoa
a9c12d4534
Release 2.53.0
2016-06-24 14:58:44 +02:00
Raul Ochoa
77f71b1978
Merge pull request #523 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.22.0
2016-06-24 14:56:05 +02:00
Raul Ochoa
1c029fbc7b
Upgrades camshaft to 0.22.0
2016-06-24 14:51:44 +02:00
Raul Ochoa
2bc0d8d145
Stubs next version
2016-06-23 19:09:16 +02:00
Raul Ochoa
4c2af88f92
Release 2.52.0
2016-06-23 19:08:36 +02:00
Raul Ochoa
ddd5d2a0b0
Bump version
2016-06-23 19:08:10 +02:00
Raul Ochoa
d5cb59dc84
Merge pull request #521 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.21.0
2016-06-23 19:06:25 +02:00
Raul Ochoa
f21581630a
Upgrades camshaft to 0.21.0
2016-06-23 19:01:59 +02:00
Raul Ochoa
3fef37d06b
Stubs next version
2016-06-22 17:23:04 +02:00
Raul Ochoa
a8b93896ed
Release 2.51.0
2016-06-22 17:22:20 +02:00
Raul Ochoa
6c1e9bf0ca
Bump version
2016-06-22 17:21:58 +02:00
Raul Ochoa
1d8947d404
Merge pull request #520 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.20.0
2016-06-22 15:13:17 +02:00
Raul Ochoa
834377b342
Upgrades camshaft to 0.20.0
2016-06-22 15:03:26 +02:00
Daniel García Aubert
c2e0eb05e5
Updated NEWS. #519
2016-06-21 18:43:27 +02:00
Daniel
256032ca4a
Merge pull request #519 from CartoDB/fix-error-with-context
...
Now errors with context have the same schema.
2016-06-21 18:41:46 +02:00
Daniel García Aubert
d80f2b9566
Now errors with context have the same schema.
2016-06-21 18:26:10 +02:00
Raul Ochoa
9e2f0371ba
Merge pull request #518 from CartoDB/better-analyses-errors
...
Improve error messages for missing analyses for layers and dataviews
2016-06-21 17:34:44 +02:00
Raul Ochoa
a2e74a3e1b
Improve error messages for missing analyses for layers and dataviews
2016-06-21 17:25:28 +02:00
Raul Ochoa
f04a5a1ab9
Merge pull request #517 from CartoDB/turbo-carto-datasource-improvements
...
Split turbo-carto adapter substitutions tokens query
2016-06-21 15:48:07 +02:00
Raul Ochoa
7114311b75
Split turbo-carto adapter substitutions tokens query
2016-06-21 15:05:44 +02:00
Daniel García Aubert
1e9e092dc3
Stubs next version
2016-06-21 14:52:27 +02:00
Daniel García Aubert
98b3a5ba23
Release 2.50.0
2016-06-21 14:41:52 +02:00
Daniel García Aubert
200966e806
Merge branch 'upgrade-camshaft-0.19.0'
2016-06-21 14:34:28 +02:00
Daniel García Aubert
407430b81e
Updated shrinkwrap
2016-06-21 14:20:54 +02:00
Raul Ochoa
c4b1fc039c
Merge pull request #516 from CartoDB/turbo-carto-datasource-improvements
...
Pixel size query for turbo-carto adapter using radians and degrees
2016-06-21 14:12:41 +02:00
Raul Ochoa
d00379af6b
Pixel size query for turbo-carto adapter using radians and degrees instead of meters
2016-06-21 14:01:43 +02:00
Raul Ochoa
7cee0f3ee3
Merge pull request #515 from CartoDB/turbo-carto-datasource-improvements
...
Use psql client instead of pg query runner to use proper params
2016-06-21 13:24:36 +02:00
Daniel García Aubert
2588346f1b
Bumped camshaft version to 0.19.0
2016-06-21 13:19:01 +02:00
Raul Ochoa
863128013d
Use psql client instead of pg query runner to use proper params
2016-06-21 12:08:40 +02:00
Raul Ochoa
51eb8eb67f
Upgrades camshaft to 0.18.0
2016-06-20 17:09:55 +02:00
Raul Ochoa
28e01fd8ac
Bump version
2016-06-20 16:47:38 +02:00
Raul Ochoa
726e153ad5
Merge pull request #514 from CartoDB/dataview-aggregation-operations
...
Add support for min, max, and avg operations in aggregation dataview
2016-06-20 16:40:55 +02:00
Raul Ochoa
e8df09c85b
Add support for min, max, and avg operations in aggregation dataview
2016-06-20 16:26:24 +02:00
Raul Ochoa
2b4fb2971d
Stubs next version
2016-06-20 13:44:24 +02:00
Raul Ochoa
933b36cca0
Release 2.49.1
2016-06-20 13:35:59 +02:00
Raul Ochoa
37a7cfb6ba
Update news
2016-06-20 13:35:38 +02:00
Raul Ochoa
8a1cda159c
Merge pull request #512 from CartoDB/turbo-carto-datasource-fixes
...
Use an empty array as default value for falsy ramps
2016-06-20 13:33:02 +02:00
Raul Ochoa
403dcbebcd
Use an empty array as default value for falsy ramps
...
Fixes #507
2016-06-20 13:27:39 +02:00
Raul Ochoa
373ad69306
Merge branch 'master' into turbo-carto-datasource-fixes
2016-06-20 13:27:02 +02:00
Raul Ochoa
b2029e09f5
Add CDB_OverviewsSupport sql from extension to fix CDB_Overviews calls
2016-06-20 13:26:30 +02:00
Raul Ochoa
4f37d2d0c2
Empty results should keep working, going red
2016-06-20 13:09:01 +02:00
Raul Ochoa
a5b07bc2a8
Upgrades turbo-carto to 0.12.1
2016-06-20 13:07:51 +02:00
Raul Ochoa
1544a5622d
Merge pull request #511 from CartoDB/dataview-the_geom-query
...
Dataview the geom query
2016-06-17 17:08:48 +02:00
Raul Ochoa
d49a877771
Fix reversed own filter option
2016-06-17 16:26:45 +02:00
Raul Ochoa
0f4747743c
Merge branch 'master' into dataview-the_geom-query
2016-06-17 15:55:07 +02:00
Raul Ochoa
368e4522e7
Merge pull request #510 from CartoDB/updated-at-from-analyses-result
...
Pick last update time for layergroupid from analyses results
2016-06-17 15:44:11 +02:00
Raul Ochoa
cb1d1bb115
Pick last update time for layergroupid from analyses results
2016-06-17 14:46:22 +02:00
Raul Ochoa
612cc3dd41
Use the_geom for intermediate dataviews
2016-06-16 17:27:00 +02:00
Raul Ochoa
bff082e577
Stubs next version
2016-06-15 19:27:48 +02:00
Raul Ochoa
ea41750a14
Release 2.49.0
2016-06-15 19:26:25 +02:00
Raul Ochoa
458376a665
Merge pull request #506 from CartoDB/upgrade-camshaft
...
Upgrade camshaft to 0.17.1
2016-06-15 19:24:48 +02:00
Raul Ochoa
f0284907c4
Upgrade camshaft to 0.17.1
2016-06-15 19:13:37 +02:00
Raul Ochoa
ad0385ccf7
Merge pull request #505 from CartoDB/upgrade-camshaft
...
Upgrade camshaft to 0.17.0
2016-06-15 16:58:23 +02:00
Raul Ochoa
4350fc3c65
Upgrade camshaft to 0.17.0
2016-06-15 16:48:00 +02:00
Raul Ochoa
fc3422b9e5
Merge pull request #503 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.16.0
2016-06-15 11:13:50 +02:00
Raul Ochoa
9703c19fb4
Upgrades camshaft to 0.16.0
2016-06-15 11:01:11 +02:00
Daniel García Aubert
d36f2fb354
Stubs next version
2016-06-14 17:50:40 +02:00
Daniel García Aubert
c837785314
Release 2.48.0
2016-06-14 17:48:07 +02:00
Daniel
33014a9f45
Merge pull request #500 from CartoDB/478-error-context
...
Adds more error information when either analysis or turbo-carto is not well formed
2016-06-14 15:56:00 +02:00
Daniel García Aubert
c16d0b8605
Fixed broken tests
2016-06-14 10:50:50 +02:00
Daniel García Aubert
c88e4c5173
Merge branch 'master' into 478-error-context
2016-06-14 10:43:00 +02:00
Daniel García Aubert
0540696c3e
Avoid to expose internal naming
2016-06-14 10:27:35 +02:00
Raul Ochoa
5f59a97a02
Merge pull request #502 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.15.1
2016-06-14 01:41:41 +02:00
Raul Ochoa
d3b815c3c7
Upgrades camshaft to 0.15.1
2016-06-14 01:36:15 +02:00
Raul Ochoa
d2a8dcbede
Merge pull request #501 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.15.0
2016-06-13 22:14:47 +02:00
Daniel García Aubert
4854e879a6
Updated npm-shrinkwrap
2016-06-13 19:49:20 +02:00
Daniel García Aubert
ddc99cebff
Upgrades turbo-carto to 0.12.0
2016-06-13 18:40:14 +02:00
Raul Ochoa
47470d4f2b
Upgrades camshaft to 0.15.0
2016-06-13 18:04:48 +02:00
Daniel García Aubert
d9297d54de
made error_with_context non optional and adapted test's assertion
2016-06-13 16:14:01 +02:00
Daniel García Aubert
2d821f957e
Merge branch 'master' into 478-error-context
2016-06-13 12:29:00 +02:00
Daniel García Aubert
c0ce6e7a8a
WIP fixes 478, adds more error information when either analysis or turbo-carto is not well formed.
2016-06-13 12:20:56 +02:00
Raul Ochoa
3f620c6cdd
Stubs next version
2016-06-13 10:47:15 +02:00
Raul Ochoa
9160d8018d
Release 2.47.1
2016-06-13 10:43:45 +02:00
Raul Ochoa
51307bcc69
Upgrades camshaft to 0.14.1
2016-06-10 18:38:49 +02:00
Raul Ochoa
d29651ee80
Stubs next version
2016-06-10 14:41:08 +02:00
Raul Ochoa
18640077aa
Release 2.47.0
2016-06-10 14:40:28 +02:00
Raul Ochoa
59563c893b
Merge pull request #499 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.14.0
2016-06-10 14:19:39 +02:00
Raul Ochoa
90fd1786e1
Upgrades camshaft to 0.14.0
2016-06-10 14:05:23 +02:00
Raul Ochoa
4a11115dd0
Improve errors for dataviews validation
2016-06-09 18:13:54 +02:00
Raul Ochoa
baf3e774c5
Stubs next version
2016-06-09 10:33:35 +02:00
Raul Ochoa
ac296411d5
Release 2.46.0
2016-06-09 10:15:26 +02:00
Raul Ochoa
09cea4d6d4
Merge pull request #498 from CartoDB/upgrade-windshaft
...
Upgrades windshaft to 2.3.0
2016-06-08 19:45:53 +02:00
Raul Ochoa
382ff2416f
Upgrades windshaft to 2.3.0
2016-06-08 19:14:48 +02:00
Raul Ochoa
27036379dd
Merge pull request #494 from CartoDB/upgrade-windshaft
...
Upgrades windshaft to 2.2.0
2016-06-07 19:34:35 +02:00
Raul Ochoa
f4e6e140e0
Upgrades windshaft to 2.2.0
2016-06-07 19:26:41 +02:00
Raul Ochoa
b4e5cb88d9
Merge pull request #491 from CartoDB/issue-375
...
Sort start and end override params to correct bins width
2016-06-06 17:22:28 +02:00
Raul Ochoa
3269fef845
Sort start and end override params
...
Fixes #375
2016-06-06 17:10:52 +02:00
Raul Ochoa
e797719b41
Append url params for widgets
2016-06-06 17:10:36 +02:00
Raul Ochoa
284a8f2465
Deduplicate and skip falsy column names for geojson queries
...
Although Windshaft is already removing duplicates and skipping falsy
columns it's better to provide it with good input.
Closes #476
2016-06-06 15:58:16 +02:00
Raul Ochoa
54ea656da2
Merge pull request #490 from CartoDB/geojson-substitution-tokens
...
Upgrades windshaft to 2.1.0
2016-06-06 15:36:38 +02:00
Raul Ochoa
b4aaadf40b
Upgrades windshaft to 2.1.0
...
Adds support for substitution tokens in geojson tiles
Fixes #484 .
2016-06-06 15:29:58 +02:00
Raul Ochoa
74d2e3ef75
Merge pull request #489 from CartoDB/warn-about-deps
...
Warn on application start about non-matching dependencies
2016-06-06 12:11:38 +02:00
Raul Ochoa
b10e4c11d9
Warn on application start about non-matching dependencies
2016-06-06 12:07:43 +02:00
Raul Ochoa
075e141a9c
Merge pull request #488 from CartoDB/upgrade-deps
...
Upgrades turbo-carto and camshaft deps
2016-06-06 12:04:56 +02:00
Raul Ochoa
04acf895f0
Upgrades turbo-carto and camshaft deps
2016-06-06 11:59:56 +02:00
Raul Ochoa
21608bf2e2
Merge pull request #487 from CartoDB/dataviews-adapter-fixes
...
Dataviews adapter working with non sql, non source layers
2016-06-06 11:56:31 +02:00
Raul Ochoa
653beb1952
Dataviews/widgets adapter working with non sql, non source, and non widgets layers
...
Ref #480
2016-06-06 11:46:27 +02:00
Raul Ochoa
050d33ff14
Use the_geom_webmercator; srid=3857 for the bounding box filter
2016-06-02 20:39:15 +02:00
Raul Ochoa
1ae86e039b
Dataviews adapter: skip layers not containing SQL or widgets
2016-06-02 20:17:39 +02:00
Raul Ochoa
f75cadf6ba
Dataviews adapter should work when there is a mix of layers with and without widgets
2016-06-02 19:51:16 +02:00
csobier
9acb980b82
more reverted code applied
2016-06-02 13:22:07 -04:00
Raul Ochoa
93d0fe9176
Stubs next version
2016-06-02 16:21:40 +02:00
Raul Ochoa
6a15cd0566
Release 2.45.0
2016-06-02 16:19:39 +02:00
Raul Ochoa
614fe3f703
Update news and bump version
2016-06-02 14:45:00 +02:00
Raul Ochoa
82d4bb3046
Merge pull request #485 from CartoDB/mapconfig-dataviews-adapter
...
Mapconfig dataviews adapter
2016-06-02 14:42:22 +02:00
Raul Ochoa
f49c13b1b3
Do not apply twice metadata in anonymous maps
2016-06-02 14:28:32 +02:00
Raul Ochoa
828b817aca
Append widgets metadata from mapconfig
2016-06-02 14:14:11 +02:00
Raul Ochoa
7f26f01743
Upgrade windshaft to 2.0.1
2016-06-02 13:38:05 +02:00
Raul Ochoa
50da63fc63
Upgrades windshaft to 2.0.0
2016-06-02 13:02:50 +02:00
Raul Ochoa
f8f6508449
Merge branch 'master' into mapconfig-dataviews-adapter
...
Conflicts:
NEWS.md
npm-shrinkwrap.json
2016-06-02 10:57:43 +02:00
Raul Ochoa
7256eb0935
Upgrade camshaft to 0.12.1
2016-06-02 10:54:23 +02:00
Raul Ochoa
cb08b42e54
Merge pull request #486 from CartoDB/upgrade-turbo-carto
...
Upgrades turbo-carto to 0.10.1
2016-06-01 19:43:58 +02:00
Raul Ochoa
9e7caeff94
Upgrades turbo-carto to 0.10.1
2016-06-01 19:32:17 +02:00
Raul Ochoa
e72a1d73be
Geojson + column selection tests
2016-06-01 19:06:01 +02:00
Raul Ochoa
aaacad81e7
Add bbox unit tests
2016-06-01 19:05:46 +02:00
Raul Ochoa
55ee5b3b01
Ported histogram tests from windshaft
2016-06-01 15:03:18 +02:00
Raul Ochoa
94bf2748be
Ignore errors coming from overviews adapter
2016-06-01 15:03:02 +02:00
Raul Ochoa
9a4aa7c1fa
Add params to url if present in override option
2016-06-01 15:00:30 +02:00
Raul Ochoa
3e71365a95
Update camshaft to 0.12.0
2016-06-01 15:00:00 +02:00
Raul Ochoa
018ffcea7c
List widget tests ported from windshaft
2016-06-01 11:51:31 +02:00
Raul Ochoa
e24ba9f495
Ported formula widget tests from windshaft
2016-06-01 11:48:37 +02:00
Raul Ochoa
0e2e069503
Remove empty line
2016-06-01 11:48:28 +02:00
Raul Ochoa
c4bbff3802
Tests for aggregation dataview ported from windshaft
2016-06-01 11:44:24 +02:00
Raul Ochoa
290054ef5d
Add widget search support in test client
2016-06-01 11:43:19 +02:00
Raul Ochoa
4c25828540
Fix sql signature in agg, formula, and list dataviews
2016-06-01 11:42:24 +02:00
Javier Goizueta
5eda4888ed
Stub next version
2016-06-01 10:51:36 +02:00
Javier Goizueta
7c322d9411
Release 2.44.1
2016-06-01 10:47:46 +02:00
Javier Goizueta
bd35d4e78a
Merge pull request #468 from CartoDB/466-overviews-dataviews
...
Implement overviews support for all dataview types
2016-06-01 10:35:07 +02:00
csobier
7d623faf4b
reverted rebranded coe, as instructed. Legacy cartodb code appears instead. Also applied ALL CAPS for rebranded name, as instructed
2016-05-31 13:40:41 -04:00
Raul Ochoa
6eb711e70b
Merge remote-tracking branch 'origin/master' into mapconfig-dataviews-adapter
2016-05-31 18:51:13 +02:00
Raul Ochoa
81ff0152c0
Merge pull request #481 from CartoDB/plpython-query-statements
...
Use plpython version of CDB_QueryStatements
2016-05-31 18:50:39 +02:00
Raul Ochoa
8a07f9f57e
Create plpythonu extension
2016-05-31 18:45:43 +02:00
Raul Ochoa
ca367d0fe7
Use plpython version of CDB_QueryStatements
2016-05-31 18:39:03 +02:00
Raul Ochoa
cd7adbd792
Return a dataview/widget from response body
2016-05-31 18:20:16 +02:00
Raul Ochoa
5b76ec9f68
Merge remote-tracking branch 'origin/master' into mapconfig-dataviews-adapter
2016-05-31 17:14:28 +02:00
Raul Ochoa
bb21270aab
Merge pull request #479 from CartoDB/improve-prepare_db
...
Improve prepare db
2016-05-31 17:14:11 +02:00
Raul Ochoa
22f3a54fbf
Option to skip sql files download
2016-05-31 16:57:28 +02:00
Raul Ochoa
6644711969
Use a variable instead of a tmp file
2016-05-31 16:46:57 +02:00
Raul Ochoa
989df4a8a4
curl over all remote files at the same time
2016-05-31 16:42:42 +02:00
Javier Goizueta
d5423c88ea
Replace use of the name widget by dataview for consistency
2016-05-31 15:30:38 +02:00
Javier Goizueta
5838b7a455
Remove debugging messages
2016-05-31 15:19:33 +02:00
Raul Ochoa
86e8cedfab
All remote sql files together
2016-05-31 15:17:41 +02:00
Raul Ochoa
93c31c5433
Stubs next version
2016-05-31 10:35:25 +02:00
Raul Ochoa
4ca8fddd50
Release 2.44.0
2016-05-31 10:29:15 +02:00
Raul Ochoa
8cc46fd2a3
Correct versions for updated packages
2016-05-31 10:08:06 +02:00
Raul Ochoa
b2d8f53a5c
Merge branch 'master' into mapconfig-dataviews-adapter
2016-05-31 09:41:22 +02:00
Raul Ochoa
8e8e59addc
Merge pull request #477 from CartoDB/update-camshaft
...
Upgrades camshaft to 0.11.0
2016-05-30 21:29:00 +02:00
Raul Ochoa
63e52878a1
Upgrades camshaft to 0.11.0
2016-05-30 19:23:56 +02:00
Javier Goizueta
ef276bd51e
Merge branch 'master' into 466-overviews-dataviews
2016-05-30 17:26:06 +02:00
Javier Goizueta
7ac3784f32
Increase the ratio used to select an overview level from a bounding box
...
This value would ideally be adjusted to prevent the grid size of the
overview used being greater that one pixel. So, this should be the
larger dimension of the map window in pixels.
2016-05-30 17:21:56 +02:00
Raul Ochoa
e12133e24b
Merge remote-tracking branch 'origin/master' into mapconfig-dataviews-adapter
2016-05-27 15:35:29 +02:00
Raul Ochoa
be01781373
Merge pull request #475 from CartoDB/update-camshaft
...
Upgrades camshaft to 0.10.0
2016-05-27 15:33:16 +02:00
Raul Ochoa
65523768f9
Upgrades camshaft to 0.10.0
2016-05-27 15:26:52 +02:00
Raul Ochoa
f602ea88e2
Convert widgets from layers into dataviews
...
It also converts filters so full dataviews backend is reusable, that removes
widgets backend dependency.
2016-05-26 19:32:58 +02:00
csobier
0f2401b0cc
docs 781 applied to windshaft-api docs
2016-05-26 10:22:52 -04:00
Raul Ochoa
da6870cf1e
Adds new adapter to transform widgets into dataviews
2016-05-26 11:57:55 +02:00
Raul Ochoa
06e420aa70
Merge pull request #473 from CartoDB/analyses-mapconfig-extensions
...
Tests for generic MapConfig adapter
2016-05-26 11:45:17 +02:00
Raul Ochoa
c667e64d7f
Simplify test as we just validate val value
2016-05-26 11:36:03 +02:00
Raul Ochoa
5c3dd8b09d
validate execution order
2016-05-26 11:30:28 +02:00
Raul Ochoa
f7c528277b
Add tests for generic MapConfig adapter
2016-05-26 11:23:19 +02:00
Raul Ochoa
2ff33b5010
Generic MapConfig adapter can receive an arbitrary number of adapters
2016-05-26 11:02:43 +02:00
Raul Ochoa
d2f4e3ee74
Merge pull request #472 from CartoDB/analyses-mapconfig-extensions
...
Analyses mapconfig extensions
2016-05-25 18:51:09 +02:00
Raul Ochoa
730486b27b
Initial description of dataviews mapconfig extension
2016-05-25 18:36:59 +02:00
Raul Ochoa
c4b4a93a0d
Add map config extension for analyses
2016-05-25 17:53:09 +02:00
Raul Ochoa
f34213a147
Reorder public/private functions
2016-05-25 17:24:28 +02:00
Raul Ochoa
862f8b4ce6
Merge pull request #471 from CartoDB/mapconfig-fix-adapters-order
...
Order of adapters: named maps should expand named layers as first step
2016-05-25 13:50:34 +02:00
Raul Ochoa
5a2afa9b89
Order of adapters: named maps should expand named layers as first step
2016-05-24 19:16:38 +02:00
Raul Ochoa
4759d178d3
No vars for adapters
2016-05-24 18:43:09 +02:00
Raul Ochoa
777fb78abc
Merge pull request #469 from CartoDB/mapconfig-reorg
...
Unify getMapConfig signature in adapters
2016-05-24 18:32:47 +02:00
Raul Ochoa
faa24caf5b
Use generic map config adapter
2016-05-23 23:35:42 +02:00
Raul Ochoa
5e6529363b
Remove unused var
2016-05-23 23:29:41 +02:00
Raul Ochoa
a785ebef65
Use generic map config adapter
2016-05-23 23:29:06 +02:00
Raul Ochoa
4137de5adf
Remove class members
2016-05-23 22:01:08 +02:00
Raul Ochoa
f012e6092f
Remove unused var
2016-05-23 21:58:42 +02:00
Raul Ochoa
9ce4929d87
Use generic adapter in named maps
2016-05-23 21:56:38 +02:00
Raul Ochoa
8efe844474
Use generic adapter
2016-05-23 21:37:06 +02:00
Raul Ochoa
02cb80daa1
Use context for datasource 2/2
2016-05-23 19:14:03 +02:00
Raul Ochoa
e9d1951d48
Use context for datasource 1/2
2016-05-23 19:09:57 +02:00
Raul Ochoa
a11cc28dc7
Use context for analyses results
2016-05-23 18:59:23 +02:00
Raul Ochoa
a8fdd6726e
Fix style
2016-05-23 18:36:03 +02:00
Raul Ochoa
7ad8a99373
Unify getMapConfig signature for overviews adapter
2016-05-23 18:35:16 +02:00
Javier Goizueta
c0a24108ba
Implement overviews histogram dataviews
2016-05-23 18:11:10 +02:00
Javier Goizueta
ae9b8a0380
Remove comment
2016-05-23 18:10:46 +02:00
Raul Ochoa
31a0b01a27
Rename param
2016-05-23 18:08:42 +02:00
Raul Ochoa
efcb73e0d1
Named layers adapter with getMapConfig signature
2016-05-23 18:03:45 +02:00
Javier Goizueta
f008c74419
Specific aggregation dataview implementation for overviews
2016-05-23 17:42:26 +02:00
Javier Goizueta
4a646d4700
Refactor overviews formula dataview
2016-05-23 17:20:04 +02:00
Javier Goizueta
657b262d92
Override all dataview types for overviews
...
All are using now the default behaviour defined in the base
class.
2016-05-23 17:06:52 +02:00
Javier Goizueta
988412fc07
Define default overviews dataview behaviour in base class
2016-05-23 16:53:28 +02:00
Raul Ochoa
70750d2c43
Unify getMapConfig signature
2016-05-23 16:50:26 +02:00
Raul Ochoa
9c1db98f67
Unifiy getMapConfig signature
2016-05-23 16:44:14 +02:00
Raul Ochoa
12c44fda6f
Unify getMapConfig interface
2016-05-23 16:20:42 +02:00
Raul Ochoa
a42756ba24
Merge pull request #467 from CartoDB/mapconfig-reorg
...
Adapter.getMapConfig interface
2016-05-23 15:59:55 +02:00
Raul Ochoa
6ccdb6cefd
Overviews adapter with getMapConfig interface
2016-05-23 15:52:31 +02:00
Raul Ochoa
9f6ce64a31
Named maps adapter with getMapConfig interface
2016-05-23 15:39:11 +02:00
Raul Ochoa
3e35604df0
turbo-carto adapter with getMapConfig interface
2016-05-23 15:18:20 +02:00
Raul Ochoa
01a69ef15c
Merge remote-tracking branch 'origin/master' into mapconfig-reorg
2016-05-23 15:14:25 +02:00
Raul Ochoa
5adbc98c2b
Merge pull request #461 from CartoDB/turbo-carto-tokens
...
SubstitutionTokens based on origin data
2016-05-23 15:13:39 +02:00
Raul Ochoa
fb045f1836
Merge branch 'master' into turbo-carto-tokens
2016-05-23 15:06:55 +02:00
Raul Ochoa
ee49b8b2a2
Turbo-carto adapter into adapters package
2016-05-23 14:18:58 +02:00
Javier Goizueta
5ba72b4894
Create base class for overviews dataviews
2016-05-23 14:18:45 +02:00
Raul Ochoa
6975db6ecf
Merge pull request #465 from CartoDB/mapconfig-reorg
...
Mapconfig providers and adapters re-org
2016-05-23 14:12:47 +02:00
Raul Ochoa
8134aca14d
Named map provider into providers package
2016-05-23 13:32:28 +02:00
Raul Ochoa
215bbbd29c
Store provider into providers package
2016-05-23 13:29:34 +02:00
Raul Ochoa
c4b6f65404
Create map provider into providers package
2016-05-23 13:28:11 +02:00
Raul Ochoa
69f40e6f6a
Removed duplicated declaration
2016-05-23 13:26:34 +02:00
Raul Ochoa
20725900b6
Overviews adapter into adapters package
2016-05-23 13:25:11 +02:00
Raul Ochoa
ab984729f5
Named layers adapter into adapters package
2016-05-23 13:16:34 +02:00
Raul Ochoa
8553326c1b
Merge remote-tracking branch 'origin/master' into mapconfig-reorg
2016-05-23 13:11:14 +02:00
Raul Ochoa
9f8551058d
Analysis adapter into adapter package
2016-05-23 13:10:52 +02:00
Raul Ochoa
5895871fad
Make tests running before checkstyle/lint
2016-05-23 13:03:56 +02:00
Raul Ochoa
c372d69e98
LayergroupToken only makes sense at testing environment
2016-05-23 13:01:23 +02:00
Javier Goizueta
bacaee138a
Merge pull request #463 from CartoDB/camshaft-getfilters
...
Use Camshaft's API to get node filters
2016-05-19 19:19:02 +02:00
Javier Goizueta
3add61ec57
Use Camshaft's API to get node filters
2016-05-19 18:32:49 +02:00
Raul Ochoa
02ae50eef0
Merge pull request #462 from CartoDB/turbo-carto-category
...
Adds turbo-carto category quantification with exact strategy
2016-05-19 17:11:39 +02:00
Raul Ochoa
b308259e6f
Merge branch 'master' into turbo-carto-category
...
Conflicts:
lib/cartodb/utils/style/postgres-datasource.js
2016-05-19 16:58:31 +02:00
Raul Ochoa
14a0afc7c0
Merge branch 'master' into turbo-carto-tokens
2016-05-19 16:56:00 +02:00
Raul Ochoa
d74daf39c7
Upgrades turbo-carto to 0.10.0
2016-05-19 16:54:56 +02:00
Raul Ochoa
eb091caf4a
Merge pull request #460 from CartoDB/turbo-carto-invalid-method
...
Fail on turbo-carto invalid quantification methods
2016-05-19 16:11:05 +02:00
Raul Ochoa
424cc6d93b
Fail on turbo-carto invalid quantification methods
2016-05-19 15:54:58 +02:00
Raul Ochoa
3bacfecc49
Merge branch 'master' into turbo-carto-category
2016-05-19 13:43:35 +02:00
Raul Ochoa
64dd033c94
Merge branch 'master' into turbo-carto-tokens
2016-05-19 13:39:36 +02:00
Raul Ochoa
caec04f63b
Merge pull request #459 from CartoDB/sql-wrap-adapter
...
Adds support for sql wrap in all layers
2016-05-19 13:38:59 +02:00
Raul Ochoa
2e79781711
Adds support for sql wrap in all layers
...
Previously it was only working for analyses ones.
2016-05-19 13:34:29 +02:00
Javier Goizueta
289ffbbedc
Release 2.43.1
2016-05-19 12:33:41 +02:00
Javier Goizueta
e0f0751b28
Merge pull request #458 from CartoDB/457-bbox-queryrewrite
...
Fix dataview bbox bug when no query rewrite data exists
2016-05-19 12:29:17 +02:00
Raul Ochoa
f30be00eb9
Remove console
2016-05-19 12:14:46 +02:00
Raul Ochoa
ee94b8a587
Very raw implementation of SubstitutionTokens based on origin data
2016-05-19 12:13:49 +02:00
Raul Ochoa
fd3f928d81
Fix test table
2016-05-19 12:13:37 +02:00
Raul Ochoa
ba08745c23
Adds hasTokens method to SubstitutionTokens
2016-05-19 12:10:19 +02:00
Raul Ochoa
573932efba
Simplify condition and use positive naming for parsing cartocss
2016-05-19 11:48:57 +02:00
Raul Ochoa
31344a1c75
Adds test case with analysis
2016-05-19 11:42:28 +02:00
Raul Ochoa
c7f37047b0
Save original query from analysis before wrapping it
2016-05-19 11:41:06 +02:00
Javier Goizueta
2a06405a58
Move definition to the scope where it's needed
2016-05-18 18:21:17 +02:00
Javier Goizueta
9206b1a1b5
Fix dataviews/overviews tests and add some new cases
2016-05-18 18:16:32 +02:00
Javier Goizueta
5989ab344d
Add test to detect problem #457
2016-05-18 18:02:08 +02:00
Javier Goizueta
a1e024e228
Fix dataview problem for bbox with no query rewrite data
...
Fixes #457
2016-05-18 17:49:09 +02:00
Javier Goizueta
8628d3b671
Stub next version
2016-05-18 16:15:27 +02:00
Javier Goizueta
7ce4104d2f
Release version 2.43.0
2016-05-18 16:11:30 +02:00
Javier Goizueta
a26a5d6f5a
Merge pull request #449 from CartoDB/overviews-widgets-2
...
Use overviews for widgets (dataviews, filtered queries)
2016-05-18 16:08:17 +02:00
Javier Goizueta
e98a5aeff0
Small code clean-up
2016-05-18 15:48:30 +02:00
Javier Goizueta
4c375780c7
replace underscore functions by standard (ES5) equivalents
...
Note: _.find(a,...) is not replaced by a.find(...)
because it is not available for all the collections
we need it for.
2016-05-18 15:43:20 +02:00
Javier Goizueta
48415fb1f3
Merge branch 'master' into overviews-widgets-2
2016-05-18 13:58:55 +02:00
Javier Goizueta
8da7cf73c1
Remove comment
2016-05-18 13:55:09 +02:00
Javier Goizueta
ba30f460ee
Remove comment
...
Overviews will not be used for dataview search
2016-05-18 13:42:58 +02:00
Javier Goizueta
e1aa0bc7ae
Use JSON format for EXPLAIN
2016-05-18 13:09:55 +02:00
Javier Goizueta
3987e83b7a
Add tests for query rewriter with filters
2016-05-18 12:34:51 +02:00
Javier Goizueta
858d976637
Add tests for query rewriter using specific zoom level
2016-05-18 11:53:30 +02:00
Javier Goizueta
48d2978997
Test filters query rewrite data
2016-05-18 11:45:14 +02:00
Javier Goizueta
1872fbd021
Add test cases for dataview formulae
...
Check the overriden (sum,avg,count) and non-overriden (min, max) cases.
2016-05-18 10:48:13 +02:00
Javier Goizueta
bbb1b4a7b9
Add tests missing file
2016-05-18 08:11:52 +02:00
Javier Goizueta
aa0ddaae95
Remove comment
2016-05-18 08:07:48 +02:00
Javier Goizueta
cb3706e5cf
Update Query Rewriter comments
2016-05-18 08:04:11 +02:00
Javier Goizueta
3d8f6576aa
Implement category and range filters
2016-05-18 07:48:11 +02:00
Javier Goizueta
24f7bc6596
Add tests for dataviews with overviews
2016-05-18 07:47:30 +02:00
Raul Ochoa
a1934c87d5
Adds turbo-carto category quantification with exact strategy
2016-05-17 19:45:37 +02:00
Javier Goizueta
7a6b1ec871
Fix tests for MapConfigOverviewsAdaptar changes
2016-05-17 16:01:10 +02:00
Raul Ochoa
cfdac1bcb0
Stubs next version
2016-05-17 15:46:21 +02:00
Javier Goizueta
42ef40282b
💄 shorten long lines
2016-05-17 15:46:13 +02:00
Raul Ochoa
25da6e779c
Release 2.42.2
2016-05-17 15:45:21 +02:00
Javier Goizueta
7f7204df6c
Add filter stats information to query rewriter data
2016-05-17 15:41:31 +02:00
Javier Goizueta
3c6d930434
Fix bug
2016-05-17 15:39:32 +02:00
Raul Ochoa
b5540fc63a
Regenerate npm-shrinkwrap.json after a fresh npm --no-shrinkwrap
2016-05-17 15:24:55 +02:00
Raul Ochoa
f6f58a71b3
Merge remote-tracking branch 'origin/turbo-carto-substitution-tokens'
...
Conflicts:
NEWS.md
2016-05-17 15:15:07 +02:00
Francisco Dans
3a7361a009
stubs next version
2016-05-17 15:05:16 +02:00
Raul Ochoa
420f4aacc9
Update news
2016-05-17 15:04:15 +02:00
Francisco Dans
163c10b66e
upgrades turbo-carto
2016-05-17 15:03:48 +02:00
Raul Ochoa
8fb35571fe
Adds support for mapnik substitution token at turbo-carto level
...
Goes green and fixes #455
2016-05-17 15:00:18 +02:00
Raul Ochoa
91f39abc69
Going red for #455
2016-05-17 14:59:21 +02:00
Javier Goizueta
df63fbbd04
Refactor filter application into own model
...
This also avoids storing an object in the overviews query rewriter
for the bbox filter (a plain data structure is used instead).
2016-05-17 13:55:00 +02:00
Raul Ochoa
5b96576227
Stubs next version
2016-05-16 20:08:39 +02:00
Raul Ochoa
9f18e2d27d
Release 2.42.0
2016-05-16 19:58:22 +02:00
Raul Ochoa
1ac6ead4b2
Update news
2016-05-16 19:57:51 +02:00
Javier Goizueta
9d82e8c27c
Use bounding box of dataviews to select overviews level
2016-05-13 20:47:36 +02:00
Javier Goizueta
224eb392ba
Add overviews-dependent dataviews behaviour
...
Now QueryRewriter is used in dataview objects they can decide
whether overviews are applicable, have the oportunity to
adapt queries for overviews, etc.
This is done by having overviews-related behaviour in models/dataview/overviews
and falling back to the regular models/dataview.
2016-05-13 18:46:58 +02:00
Raul Ochoa
8f51418d84
Merge pull request #453 from CartoDB/issue-450
...
Fix named maps with analysis
2016-05-13 17:13:29 +02:00
Raul Ochoa
c12e5f7a27
Fix named maps with analysis
...
Named map provider was missing analysis backend dependency
Fixes #450
2016-05-13 16:57:27 +02:00
Raul Ochoa
1c2354dc49
Merge pull request #452 from CartoDB/turbo-carto-split-strategy
...
Use split strategy for head/tails turbo-carto quantification
2016-05-13 13:20:12 +02:00
Raul Ochoa
2e26e2e126
Use split strategy for head/tails turbo-carto quantification
2016-05-13 12:57:43 +02:00
Raul Ochoa
94639f7e0c
Merge pull request #451 from CartoDB/turbo-carto-errors
...
Improve turbo-carto related errors
2016-05-13 12:54:17 +02:00
Raul Ochoa
f3957b4fce
Fix test expectations for turbo-carto errors
2016-05-13 12:42:18 +02:00
Raul Ochoa
61765d20e1
Fail on turbo-carto specific errors
...
This will try to fallback on postcss errors so it still targets
carto parser in those cases.
Closes #434
2016-05-13 12:10:05 +02:00
Raul Ochoa
503636f9fb
Upgrade to turbo-carto 0.9.0
2016-05-13 12:09:11 +02:00
Raul Ochoa
4abadec9c4
Use the more suitable getLayergroup to validate regression
2016-05-13 00:49:09 +02:00
Javier Goizueta
b574489950
Refactor to reduce cyclomatic complexity
2016-05-12 18:47:24 +02:00
Javier Goizueta
85788f42a6
Adapt QueryRewriter to new requirements
2016-05-12 18:30:10 +02:00
Javier Goizueta
5fb7f07498
Prevent problems with missing layers in mapconfig
2016-05-12 18:29:30 +02:00
Javier Goizueta
fd44b62f26
Fix tests for new MapConfigOverviewsAdapter interface
2016-05-12 17:52:39 +02:00
Javier Goizueta
3300c095ed
Merge branch 'master' into overviews-widgets-2
2016-05-12 17:37:24 +02:00
Javier Goizueta
55cf0a8447
Fix typo
2016-05-12 16:43:09 +02:00
Javier Goizueta
64a87690ee
💄 Fix line lengths, etc.
2016-05-12 16:20:34 +02:00
Javier Goizueta
3890014250
Fix QueryRewriter use
...
QueryRewriter should be passed the query that would be used otherwise.
If QR cannot handle it, it will be returned unmodified.
So QR must be used when a query has been prepared and the result
of QR should be used to replace it.
2016-05-12 10:25:09 +02:00
Raul Ochoa
7c2924ae14
Merge pull request #448 from CartoDB/upgrade-turbo-carto
...
Upgrades turbo-carto to 0.8.0
2016-05-11 20:09:41 +02:00
Raul Ochoa
bfdaf67a9b
Upgrades turbo-carto to 0.8.0
2016-05-11 19:57:05 +02:00
Javier Goizueta
65612f0109
Add filters information at map instantion time to the query rewriter data
2016-05-11 19:24:13 +02:00
Raul Ochoa
e0ade85565
Stubs next version
2016-05-11 18:53:17 +02:00
Raul Ochoa
c5afc0dc94
Release 2.41.1
2016-05-11 18:51:05 +02:00
Raul Ochoa
a7e00c5856
Merge pull request #447 from CartoDB/upgrade-camshaft
...
Upgrades camshaft to 0.8.0
2016-05-11 18:50:14 +02:00
Raul Ochoa
2482accb42
Upgrades camshaft to 0.8.0
2016-05-11 18:39:07 +02:00
Raul Ochoa
3e4f71d873
Nicer error message when missing sql from layer options
...
Fixes #446
2016-05-11 18:24:47 +02:00
Javier Goizueta
fa19f90a6a
Apply overviews query rewriter to dataviews
...
This requires the QueryRewriter to handle a filters parametes in
its data (with Camshaft filter definitions) and a final
options parameters with a bounding_box parameter.
2016-05-11 18:18:22 +02:00
Raul Ochoa
bbadd46766
Stubs next version
2016-05-11 16:47:33 +02:00
Raul Ochoa
b1f618a98e
Release 2.41.0
2016-05-11 16:46:57 +02:00
Raul Ochoa
cdf3fe3a25
Bumps version
2016-05-11 16:45:36 +02:00
Raul Ochoa
1440841ac8
Merge pull request #445 from CartoDB/upgrade-camshaft
...
Upgrade camshaft to 0.7.0
2016-05-11 16:44:07 +02:00
Raul Ochoa
fc57fd2638
Upgrade camshaft to 0.7.0
2016-05-11 16:25:42 +02:00
Raul Ochoa
776cb8d47a
Stubs next version
2016-05-10 17:26:27 +02:00
Raul Ochoa
c36f52415e
Release 2.40.0
2016-05-10 17:23:50 +02:00
Raul Ochoa
2ee2c5bb55
Update news and bump version
2016-05-10 17:22:51 +02:00
Raul Ochoa
dccb557cd7
Merge pull request #444 from CartoDB/optimize-source-type-query-usage
...
Use original query from source nodes
2016-05-10 17:19:04 +02:00
Raul Ochoa
4570d17ce1
Use original query from source nodes
...
Doing a st_transform doesn't make sense as we already should have
the_geom_webmercator column available
2016-05-10 17:09:36 +02:00
Raul Ochoa
b3b3abcdb8
Merge pull request #443 from CartoDB/override-static-previews-params
...
Allow override zoom+center or bbox for static named maps previews
2016-05-09 22:53:35 +02:00
Raul Ochoa
6639664b3f
Allow override zoom+center or bbox for static named maps previews
2016-05-09 21:13:13 +02:00
Raul Ochoa
b99db7cb69
Merge pull request #441 from CartoDB/sql-wrap
...
Analysis layers can have a sql_wrap option to wrap node queries
2016-05-09 14:09:16 +02:00
Raul Ochoa
3e94e3288f
Use sql as replacement variable
2016-05-06 17:09:41 +02:00
Raul Ochoa
1115f9fba2
Merge pull request #442 from CartoDB/remove-repeated-config
...
Added config parameter for ST_RemoveRepeatedPoints
2016-05-06 17:01:23 +02:00
Daniel García Aubert
24dde1e4d0
Added config parameter to windshaft in order to use postgres' function ST_RemoveRepeatedPoints (set false by the default)
...
Conflicts:
lib/cartodb/server_options.js
2016-05-06 16:50:25 +02:00
Raul Ochoa
7d4caf6974
Analysis layers can have a sql_wrap option to wrap node queries
2016-05-06 16:37:52 +02:00
Raul Ochoa
e4ba68850c
Stubs next version
2016-05-05 18:36:50 +02:00
csobier
e2154f6561
Merge pull request #435 from CartoDB/docs-add-named-map-torque-link
...
link to named map with a torque layer block page
2016-05-05 12:35:41 -04:00
Raul Ochoa
778860c81f
Release 2.39.0
2016-05-05 18:09:44 +02:00
Raul Ochoa
ee3c56efba
Update news
2016-05-05 18:09:15 +02:00
Raul Ochoa
5dc328724a
Merge pull request #440 from CartoDB/node-status-cache-control-header
...
Use a more aggressive cache control header for node status endpoint
2016-05-05 18:07:16 +02:00
Raul Ochoa
c77ea49594
Use a more aggressive cache control header for node status endpoint
2016-05-05 17:52:37 +02:00
Raul Ochoa
73aa159b98
Upgrade istanbul
2016-05-05 16:06:52 +02:00
Raul Ochoa
b7d7cffb67
Reformat package.json with npm cli tool
2016-05-05 16:05:46 +02:00
Raul Ochoa
eba8db292c
Merge pull request #439 from CartoDB/avoid-profiler-dots
...
Upgrades step-profiler to 0.3.0 to avoid dots in json keys
2016-05-05 15:41:30 +02:00
Raul Ochoa
d5391ef15b
Merge remote-tracking branch 'origin/master' into avoid-profiler-dots
...
Conflicts:
NEWS.md
2016-05-05 15:30:12 +02:00
Francisco Dans
685cbb1eec
updates news
2016-05-05 14:34:19 +02:00
Francisco Dans
5842a239fd
shrinkwrap
2016-05-05 14:32:57 +02:00
Francisco Dans
285363aa40
bumps current version and turbocarto's
2016-05-05 14:32:11 +02:00
Raul Ochoa
92e130d8de
Upgrades step-profiler to 0.3.0 to avoid dots in json keys
...
Closes #438
2016-05-05 13:45:25 +02:00
Francisco Dans
f674f90eba
Merge branch 'master' of github.com:CartoDB/Windshaft-cartodb
2016-05-05 12:28:01 +02:00
Francisco Dans
0542b65cbb
shrinkwrap changes for 2.38.0
2016-05-05 12:26:12 +02:00
Francisco Dans
60fa94781e
adds upgrade to NEWS
2016-05-05 12:25:12 +02:00
Raul Ochoa
38d57533c2
Discourage console usage, global.logger should be used when required
2016-05-05 12:18:22 +02:00
Raul Ochoa
e3d6da06a7
Remove console usage
2016-05-05 12:17:51 +02:00
Raul Ochoa
3af05bb734
Remove console usage
2016-05-05 12:17:33 +02:00
Francisco Dans
ffd58cc7ca
bumps minor
2016-05-05 12:07:26 +02:00
Francisco Dans
e103c52d27
upgrades turbo carto
2016-05-05 12:04:14 +02:00
csobier
46a4defab7
added torque layer in named maps as a new section under the cartodb.js heading
2016-05-04 12:53:23 -04:00
Daniel García Aubert
00a71af95d
Stubs next version
2016-05-03 17:58:47 +02:00
Daniel García Aubert
2fb8036740
Release 2.37.0
2016-05-03 17:53:08 +02:00
Daniel García Aubert
6902a8c9b3
Upgraded camashaft version to 0.6.0
2016-05-03 17:46:38 +02:00
csobier
fd8be0352f
link to named map with a torque layer block page
2016-05-03 11:38:57 -04:00
Raul Ochoa
c19a345f6c
Stubs next version
2016-04-29 12:54:47 +02:00
Raul Ochoa
bdc3ecff5a
Release 2.36.1
2016-04-29 12:53:58 +02:00
Raul Ochoa
6c4ec29e18
Add test to validate new behaviour in camshaft 0.5.1
2016-04-29 12:51:48 +02:00
Raul Ochoa
412712e62e
Upgrades camshaft to 0.5.1
2016-04-29 12:51:39 +02:00
Raul Ochoa
0edcb30f75
Stubs next version
2016-04-28 18:46:49 +02:00
Raul Ochoa
c0f49b3acb
Release 2.36.0
2016-04-28 18:45:51 +02:00
Raul Ochoa
b926244085
Upgrades windshaft to 1.19.0
2016-04-28 17:30:57 +02:00
Raul Ochoa
d21136b475
Stubs next version
2016-04-27 18:44:47 +02:00
Raul Ochoa
8788aaaf25
Release 2.35.0
2016-04-27 18:43:50 +02:00
Raul Ochoa
120e800089
Bump version and update news
2016-04-27 18:42:56 +02:00
Raul Ochoa
92dc4b148c
Merge pull request #432 from CartoDB/dataviews-columns
...
Append dataviews related columns to layers
2016-04-27 18:40:33 +02:00
Raul Ochoa
755dfe6822
Append dataviews related columns to layers
2016-04-27 18:30:05 +02:00
Daniel García Aubert
b787ee1033
Stubs next version
2016-04-27 15:12:13 +02:00
Daniel García Aubert
9ee3612da0
Release 2.34.1
2016-04-27 15:09:13 +02:00
Daniel García Aubert
fe0b0a9c50
Upgraded windshaft to 1.17.3
2016-04-27 15:05:45 +02:00
Raul Ochoa
dea19f20dd
Stubs next version
2016-04-27 10:24:16 +02:00
Raul Ochoa
f9f70cc6e7
Release 2.34.0
2016-04-27 10:23:24 +02:00
Raul Ochoa
23ef1157cb
Merge pull request #431 from CartoDB/dataviews-filters
...
Dataviews filters
2016-04-26 19:21:43 +02:00
Raul Ochoa
8ca4d537ce
Update news
2016-04-26 19:18:04 +02:00
Raul Ochoa
98d5731555
Add test to validate latest windshaft uses dataviews filters
...
Windshaft is transforming dataview filters into widget filters
2016-04-26 19:13:30 +02:00
Raul Ochoa
5da8929a5d
Upgrade windshaft
2016-04-26 19:13:10 +02:00
Raul Ochoa
e198bafac1
Merge pull request #429 from CartoDB/upgrade-turbo-carto
...
Starts using turbo-carto dependency
2016-04-26 16:56:11 +02:00
Raul Ochoa
dd731399dc
Starts using turbo-carto dependency
2016-04-26 16:28:05 +02:00
csobier
66fd899ffb
Merge pull request #426 from CartoDB/docs-801-misplaced-text
...
removed dup text from static api section
2016-04-24 14:16:40 -04:00
csobier
bca8a33417
removed dup text from static api section
2016-04-24 13:59:38 -04:00
Raul Ochoa
a11c8d882e
Each error-case will have different expectations
2016-04-21 17:27:20 +02:00
Raul Ochoa
c5bed48d61
Handle missing analyses nodes for layers pointing to them
...
Fixes #422
2016-04-21 17:24:52 +02:00
Raul Ochoa
98b7d12796
Merge pull request #424 from CartoDB/analysis-named-metadata
...
Analysis named maps metadata
2016-04-21 17:10:36 +02:00
Raul Ochoa
93dd8a2213
Add analyses metadata for named maps excluding queries
2016-04-21 17:03:41 +02:00
Raul Ochoa
4e4a223f24
Better naming for analysis mapconfig adapter
2016-04-21 16:25:59 +02:00
Raul Ochoa
4a73f3874d
Better naming
2016-04-21 16:18:17 +02:00
Raul Ochoa
bc845b2e8d
Validate dataviews format before instantiating
2016-04-21 16:16:00 +02:00
Raul Ochoa
83eceb349c
Merge pull request #423 from CartoDB/multierror-support
...
Adds support to return multiple errors in BaseController.sendError
2016-04-21 16:15:28 +02:00
Raul Ochoa
bb518f0744
Update news
2016-04-21 16:09:57 +02:00
Raul Ochoa
08ad961123
Adds support to return multiple errors in BaseController.sendError
2016-04-21 16:05:48 +02:00
Raul Ochoa
146d494cae
Adds dataview example in named map
2016-04-21 15:35:45 +02:00
Javier Goizueta
bb40ecf7c2
Stub next version
2016-04-20 18:30:42 +02:00
Javier Goizueta
7de9f64f2a
Release 2.33.1
2016-04-20 18:27:06 +02:00
Javier Goizueta
0bb6178d49
Merge pull request #421 from CartoDB/420-overviews-schema
...
Support unneeded schema names in overviews queries
2016-04-20 18:16:16 +02:00
Javier Goizueta
084b3e94a6
Remove unneeded variable
2016-04-20 18:01:34 +02:00
Javier Goizueta
a0445b5cdd
💄 Fix indentation
...
2 spaces were used instead of 4 in some places
2016-04-20 17:47:43 +02:00
Javier Goizueta
1d4ddd373b
Remove unneeded callback from synchronous tests
2016-04-20 17:27:52 +02:00
Raul Ochoa
92795963ae
Stubs next version
2016-04-20 17:26:30 +02:00
Raul Ochoa
e634ad6f7d
Release 2.33.0
2016-04-20 17:24:17 +02:00
Javier Goizueta
ecbae52abe
Refactor: use reduce for collecting overviews metadata
2016-04-20 17:24:16 +02:00
Raul Ochoa
e1c5af8602
Bump version and update news
2016-04-20 17:15:17 +02:00
Raul Ochoa
6704a94f36
Merge pull request #418 from CartoDB/analysis-layers
...
Analysis layers
2016-04-20 17:13:14 +02:00
Raul Ochoa
a35403cd91
Add option to modify host header template for camshaft batch client
2016-04-20 16:36:29 +02:00
Raul Ochoa
41ead9664b
Upgrade camshaft to 0.5.0
2016-04-20 16:34:48 +02:00
Raul Ochoa
e04a9a2579
Append dataviews filters after checking if mapconfig must be adapted
2016-04-20 15:40:14 +02:00
Raul Ochoa
d70af7c9c1
Fix tests with typo in s/radio/radius/
2016-04-20 15:33:17 +02:00
Raul Ochoa
d910f5ef3e
Update camshaft to use 0.4.0 fixed version
2016-04-20 15:33:04 +02:00
Javier Goizueta
57cba3d511
Fix comment
2016-04-20 14:30:13 +02:00
Javier Goizueta
7902b276ad
Support unneeded schema names in overviews queries
...
Fixes #420
Keep table schema of overviews base tables and use it
to support queries that use the schema name when not
strictly needed.
2016-04-19 22:50:05 +02:00
Raul Ochoa
f932862ce4
Improve configuration for batch queries
2016-04-18 15:13:00 +02:00
Raul Ochoa
ab55b083b4
Style
2016-04-18 14:48:14 +02:00
Raul Ochoa
263b3e3682
Rename file
2016-04-18 14:47:35 +02:00
Raul Ochoa
5baad96924
remove commented out code
2016-04-18 14:43:29 +02:00
Raul Ochoa
68b19c65fe
newline at end of file
2016-04-18 14:40:34 +02:00
Raul Ochoa
3a81302699
Merge branch 'master' into analysis-layers
...
Conflicts:
package.json
2016-04-18 14:36:43 +02:00
Raul Ochoa
6b942ecf0b
Merge pull request #417 from CartoDB/update-cartodb-psql
...
Upgrades cartodb-psql to 0.6.1 version
2016-04-18 14:33:59 +02:00
Raul Ochoa
1ed0c73525
Upgrades cartodb-psql to 0.6.1 version.
2016-04-18 14:30:20 +02:00
Raul Ochoa
7175b2b05e
Merge branch 'master' into analysis-layers
2016-04-18 14:09:57 +02:00
Raul Ochoa
61137610c7
Merge pull request #416 from CartoDB/update-windshaft
...
Upgrades windshaft to 1.17.1
2016-04-18 13:53:57 +02:00
Raul Ochoa
b53031972e
Upgrades windshaft to 1.17.1
2016-04-18 13:18:54 +02:00
Raul Ochoa
da602eeda0
Use inline execution in camshaft instead of a database service stub
2016-04-14 17:25:08 +02:00
Raul Ochoa
a26025b259
Add analysis backend so it's possible to inject configuration
2016-04-14 17:09:07 +02:00
Raul Ochoa
25a61c8479
Remove console log
2016-04-14 17:08:23 +02:00
Raul Ochoa
e73b64bfed
Merge branch 'master' into analysis-layers
2016-04-14 13:40:51 +02:00
Raul Ochoa
b5b8085444
Reformat for better indentation
2016-04-14 13:40:02 +02:00
Raul Ochoa
388f08a277
Remove unneeded comma
2016-04-14 13:39:19 +02:00
Raul Ochoa
aa36236ed2
Rename analysis to analysis status backend, making room for analysis backend
2016-04-14 13:25:56 +02:00
Raul Ochoa
a9ca453b17
Remove some JSON.stringify
2016-04-14 13:20:22 +02:00
Raul Ochoa
9ab4eb5801
Change error expectation
2016-04-14 12:56:20 +02:00
Raul Ochoa
26149e7755
cdb_analysis_catalog is already retrieved from camshaft
2016-04-14 11:53:48 +02:00
Raul Ochoa
2d4fd62acf
Do not create triggers for tests
2016-04-14 11:44:17 +02:00
Raul Ochoa
e037c8c1b2
Do not use layer index as analysis node is are unique
2016-04-14 11:08:39 +02:00
Raul Ochoa
09687b3811
Proper endpoint to check node status from analysis
2016-04-14 10:59:51 +02:00
Raul Ochoa
28400f4544
Better naming
2016-04-13 19:15:06 +02:00
Raul Ochoa
7a87b8ebef
Use node id instead of param id for endpoint
...
It will be easier to retrieve node status with that id
2016-04-13 18:04:49 +02:00
Raul Ochoa
9ff661480b
Do not append root as it is already included in sorted nodes
2016-04-13 18:02:28 +02:00
Raul Ochoa
ca564bfaad
Add fake analysis node status endpoint
2016-04-11 18:49:56 +02:00
Raul Ochoa
dd36877a20
Add per node status
2016-04-11 18:49:43 +02:00
Raul Ochoa
1d860fd202
Remove top level url for analysis
2016-04-11 18:49:22 +02:00
Raul Ochoa
e9111ec3bb
Update routes document
2016-04-08 11:13:40 +02:00
Raul Ochoa
0981ccd0c4
Add metadata information about analyses
2016-04-07 17:58:12 +02:00
Raul Ochoa
077c4ab907
Adds analysis MapConfig adapter to named maps
2016-04-07 16:18:48 +02:00
Raul Ochoa
efacafaa0d
Merge remote-tracking branch 'origin/master' into analysis-layers
2016-04-07 15:04:25 +02:00
Raul Ochoa
1c250bf243
Remove dependency
2016-04-07 14:30:49 +02:00
Daniel García Aubert
c974b91c6b
Stubs next version
2016-04-06 19:32:16 +02:00
Daniel García Aubert
6aebe26cc9
Release 2.32.0
2016-04-06 19:29:07 +02:00
Daniel García Aubert
f93794717e
Upgrades windshaft to 1.17.0
2016-04-06 19:26:55 +02:00
Raul Ochoa
0ebf482936
Merge pull request #410 from CartoDB/named-dynamic-styling
...
Overrided cartocss in the instantiation of named maps
2016-04-06 18:09:11 +02:00
Daniel García Aubert
b5b8083acd
Overrided cartocss in the instantiation of named maps
2016-04-06 17:43:25 +02:00
Raul Ochoa
ab6bae6a7f
Merge branch 'master' into analysis-layers
2016-04-04 16:24:31 +02:00
Javier Goizueta
219658761f
Stub next version
2016-04-04 14:34:35 +02:00
Javier Goizueta
e3a68a6b4d
Release 2.31.2
...
This fixes a couple of overviews-related bugs
2016-04-04 14:31:57 +02:00
Javier Goizueta
01218c6ea1
Merge pull request #409 from CartoDB/405-wrapped-overviews-queries
...
Support overviews for named layer wrapped queries
2016-04-04 14:18:57 +02:00
Javier Goizueta
83d27a8e29
Merge pull request #407 from CartoDB/400-named-layer-overviews
...
Fix overviews integration for named layers
2016-04-04 14:18:34 +02:00
Javier Goizueta
fa2e884605
Support overviews for named layer wrapped queries
...
Fix #405
2016-04-01 15:40:44 +02:00
Javier Goizueta
f4554f41d2
Add tests for named maps overviews
2016-03-31 18:36:50 +02:00
Javier Goizueta
b97a67b844
Fix overviews integration for named layers
...
Fixes #400
2016-03-31 18:33:41 +02:00
csobier
3b13fad5e7
Merge pull request #403 from CartoDB/docs-592-consistent-placeholder-examples
...
added tip about placeholder format and errors
2016-03-28 07:12:59 -04:00
Raul Ochoa
4d39d30f6e
Merge branch 'master' into analysis-layers
...
Conflicts:
npm-shrinkwrap.json
2016-03-23 16:09:28 +01:00
Raul Ochoa
9a8964bd39
Stubs next version
2016-03-23 15:14:52 +01:00
Raul Ochoa
aae251b178
Release 2.31.1
2016-03-23 15:09:38 +01:00
Raul Ochoa
2db7a3d110
Merge pull request #404 from CartoDB/upgrade-windshaft
...
Upgrade windshaft to 1.16.1
2016-03-23 15:08:23 +01:00
Raul Ochoa
5fe96a618d
Upgrade windshaft to 1.16.1
2016-03-23 15:01:30 +01:00
Raul Ochoa
499178319d
Add search endpoint/backend for dataviews
2016-03-23 12:14:17 +01:00
Raul Ochoa
7b7e9ffe59
Upgrade cartodb-psql module to get some bufixes
2016-03-23 12:13:26 +01:00
csobier
43d1e5c613
changed documentation variable to username throughout, and other clean-up
2016-03-22 11:23:04 -04:00
csobier
8547cb836f
consistent placeholder examples with brackets
2016-03-22 09:19:50 -04:00
Raul Ochoa
2bd3e46a4d
Build dataviews with factory to generalise them
2016-03-22 13:10:42 +01:00
Raul Ochoa
e44b5eaccd
Fix test
2016-03-22 13:10:37 +01:00
Raul Ochoa
26512f6485
Remove unused function
2016-03-22 12:22:48 +01:00
Raul Ochoa
90b92f0180
Adds support for category filters
2016-03-22 12:22:04 +01:00
Raul Ochoa
ebe25761d2
Extract variable
2016-03-22 10:52:02 +01:00
Raul Ochoa
f928147559
Fix bbox template
2016-03-21 18:16:54 +01:00
Raul Ochoa
d5c5c7bdbb
Do not remove analysis, camshaft takes care of source root nodes now
2016-03-21 18:02:19 +01:00
Raul Ochoa
ff147ca3bf
Add dataviews to layergroup metadata
2016-03-18 18:09:17 +01:00
Raul Ochoa
f745e915d3
Own filter test for dataviews
2016-03-18 17:49:20 +01:00
Raul Ochoa
1e239658d8
Just remove analysis if there are analysis
2016-03-18 17:34:40 +01:00
Raul Ochoa
52f35d74b9
Allow a higher jshint maxcomplexity
2016-03-18 17:31:28 +01:00
Raul Ochoa
57e6e49749
Another workaround to not delete analyses if there are dataviews
2016-03-18 17:28:36 +01:00
Raul Ochoa
b3bbb9d97a
Initial checkin for dataviews
...
It only supports histograms.
2016-03-18 17:22:02 +01:00
Raul Ochoa
697749b204
Add timer helper
2016-03-18 17:21:43 +01:00
Raul Ochoa
a769545e39
Rely on camshaft.reference for now
2016-03-18 17:16:51 +01:00
Raul Ochoa
df40302fd0
Add camshaft-reference
2016-03-18 13:04:00 +01:00
csobier
85e5a89298
added tip about placeholder format and errors
2016-03-17 17:42:57 -04:00
Raul Ochoa
5bd30b6b5f
Analysis layers adapter skips analysis if there is only source nodes
2016-03-17 12:50:42 +01:00
Raul Ochoa
ed84ed8475
Test client detect png request based on regex
2016-03-17 12:45:05 +01:00
Raul Ochoa
a444b80c96
Fix typo
2016-03-17 12:44:51 +01:00
Daniel García Aubert
fc94f3ad94
Fixed stub next version
2016-03-16 18:07:28 +01:00
Daniel García Aubert
d43b766448
Merge branch 'master' of github.com:CartoDB/Windshaft-cartodb
2016-03-16 17:40:49 +01:00
Daniel García Aubert
6ceca348cb
Stubs next version
2016-03-16 17:40:30 +01:00
Daniel García Aubert
bff6f056d0
Stubs next version
2016-03-16 17:33:26 +01:00
Daniel García Aubert
366a66b331
Release 2.31.0
2016-03-16 17:30:58 +01:00
Raul Ochoa
43c56af0fc
Merge remote-tracking branch 'origin/master' into analysis-layers
...
Conflicts:
npm-shrinkwrap.json
2016-03-16 16:13:44 +01:00
Daniel García Aubert
c0370c5703
Stubs next version
2016-03-15 17:45:50 +01:00
Daniel García Aubert
8d5551343b
Release 2.30.0
2016-03-15 17:40:26 +01:00
Daniel García Aubert
4089e8537a
Upgraded windshaft to version 1.15.0
2016-03-15 17:35:13 +01:00
csobier
cf06c6e974
Merge pull request #401 from CartoDB/docs-685-named-map-tiles-and-cleanup
...
moved fetch tiles section up one heading level
2016-03-15 09:16:40 -04:00
csobier
2ebab4c89e
moved fetch tiles section up one heading level
2016-03-15 09:08:28 -04:00
csobier
8023fbae24
Merge pull request #379 from CartoDB/docs-685-named-map-tiles-and-cleanup
...
Docs 685 named map tiles and cleanup
2016-03-15 08:50:20 -04:00
csobier
35cb652c6c
edited token placeholder for consistency
2016-03-14 13:01:10 -04:00
csobier
c6085779a4
use the layergroupid, not SRID, as the mapnik token
2016-03-14 12:25:59 -04:00
csobier
86232eb239
clarified mapnik description and removed unnecessary content, as instructed by Carla
2016-03-14 11:51:07 -04:00
Raul Ochoa
6db48a24b8
Adds test for analysis with no api key
2016-03-14 16:42:51 +01:00
csobier
5cc3e914fa
added missing bracket, removed note about API key
2016-03-14 11:34:52 -04:00
Raul Ochoa
1da937d639
Add commented code to generate image output for validation
2016-03-14 16:19:55 +01:00
Raul Ochoa
4924bcc298
Validate image from analysis
2016-03-14 16:16:27 +01:00
Raul Ochoa
a05f3d6ee9
Add cdb_analysis_catalog table and first test using source:id
2016-03-14 16:06:25 +01:00
Daniel García Aubert
d52d3d909f
Fixed double-check error in turbo-cartocss preprocesing.
2016-03-14 15:25:56 +01:00
Raul Ochoa
eec44dd62d
Merge branch 'master' into analysis-layers
...
Conflicts:
npm-shrinkwrap.json
test/support/test-client.js
2016-03-14 15:13:19 +01:00
Daniel García Aubert
e7da9a151b
Stubs next version
2016-03-14 14:47:02 +01:00
Daniel García Aubert
f75ba9d2c3
Release 2.29.0
2016-03-14 14:42:40 +01:00
Daniel García Aubert
be61d41f5e
Stubs next version
2016-03-14 12:12:56 +01:00
Daniel García Aubert
f619a97f1a
Release 2.28.0
2016-03-14 12:06:33 +01:00
Raul Ochoa
3f41f19ab9
Rename adapter
2016-03-14 11:50:52 +01:00
Daniel
e47449e357
Merge pull request #399 from CartoDB/move-turbo-cartocss
...
Move turbo cartocss
2016-03-14 11:35:06 +01:00
Daniel García Aubert
178345ab12
Fixed typo
2016-03-14 11:18:32 +01:00
Daniel García Aubert
a8340fef68
Bump image tolerance in turbo-cartocss test
2016-03-11 18:33:52 +01:00
Daniel García Aubert
052b58ab90
Moved turbo-cartocss integration from named maps admin to named map provider
2016-03-11 18:28:14 +01:00
Daniel García Aubert
cc5443152b
Now turbo-cartocss is also parsed in template modification.
2016-03-11 11:06:51 +01:00
Daniel García Aubert
d937d8970d
Fixed broken test in turbo-cartocss for named maps
2016-03-10 21:25:01 +01:00
Daniel García Aubert
dab4b6d56b
Implemented integration of turbo-cartocss for named maps
2016-03-10 20:45:00 +01:00
Raul Ochoa
1535820d4f
Regenerate npm-shrinkwrap.json
2016-03-10 11:32:43 +01:00
Raul Ochoa
b2378939c5
Merge branch 'master' of github.com:CartoDB/Windshaft-cartodb into analysis-layers
2016-03-10 11:14:10 +01:00
Daniel García Aubert
46b212b2cd
Merge branch 'move-turbo-cartocss' of github.com:CartoDB/Windshaft-cartodb into move-turbo-cartocss
2016-03-09 20:14:06 +01:00
Daniel García Aubert
f47842c96d
Integrated turbo-cartocss adapter for named maps
2016-03-09 20:12:51 +01:00
Raul Ochoa
050f90a07b
Regenerate npm-shrinkwrap.json
2016-03-09 18:11:34 +01:00
Raul Ochoa
c1642dfa73
Merge branch 'master' into move-turbo-cartocss
...
Conflicts:
lib/cartodb/controllers/map.js
2016-03-09 18:08:46 +01:00
Raul Ochoa
bbfcc640d1
Style
2016-03-09 18:08:06 +01:00
Raul Ochoa
e9b8c512c9
Re-indent
2016-03-09 18:07:11 +01:00
Raul Ochoa
15b54a2918
Re-indent
2016-03-09 18:05:17 +01:00
Alejandro Martínez
cf8ce42049
Release 2.27.0
2016-03-09 17:57:18 +01:00
Raul Ochoa
7fa8d1e0c9
Analyses are now an array and layers consume from their nodes
...
Layers now can define a `source: {id: 'a0'}` option to point to an
analysis node that will be used as the query for that layer.
2016-03-09 17:39:20 +01:00
Daniel García Aubert
eefa9f4222
Merge branch 'master' into move-turbo-cartocss
2016-03-09 12:03:29 +01:00
Daniel García Aubert
a0073da4b3
Added regression test for turbo-cartocss' integration
2016-03-09 11:48:07 +01:00
Daniel García Aubert
c6fbb08c8f
Regenerated npm-shrinkwrap
2016-03-09 10:36:57 +01:00
Daniel García Aubert
affa254b9d
Moved and adapted acceptance test for turbo-cartocss integration
2016-03-08 20:06:43 +01:00
Raul Ochoa
d5fbcfcecb
Merge branch 'master' into analysis-layers
...
Conflicts:
npm-shrinkwrap.json
2016-03-08 16:06:01 +01:00
Raul Ochoa
ecd33e5561
TestClient with method to retrieve tiles
2016-03-08 15:56:08 +01:00
Raul Ochoa
9d77aea6be
Regenerate npm-shrinkwrap.json
2016-03-08 15:23:56 +01:00
Raul Ochoa
20609bc37e
Merge pull request #397 from CartoDB/remove-deprecated-tools
...
Remove deprecated tools directory
2016-03-08 15:14:06 +01:00
Raul Ochoa
b56d110f50
Remove deprecated tools directory
2016-03-08 15:07:37 +01:00
Daniel García Aubert
3e0c19a669
Fixed typo
2016-03-08 14:41:10 +01:00
Daniel García Aubert
ab6004f21e
Integrated turbo-cartocss for anonymous maps
2016-03-08 14:34:57 +01:00
Alejandro Martínez
34863765ed
Freeze cartodb-query-tables version
2016-03-08 10:05:49 +00:00
csobier
32223baaef
removed internal code, displayed somexyz examples
2016-03-07 10:53:51 -05:00
Raul Ochoa
3cb007d147
Merge pull request #388 from CartoDB/new_querytables_library
...
Use new querytables library
2016-03-07 16:42:25 +01:00
csobier
2f038f006b
applied consistent terminology and applied rest of Carla's edits
2016-03-07 09:08:38 -05:00
Raul Ochoa
634a4c2a01
Debug option for internal nodes: it allows to display and customize cartocss
2016-03-04 16:20:23 +01:00
Raul Ochoa
f504807812
Regenerate npm-shrinkwrap.json
2016-03-04 12:12:12 +01:00
Raul Ochoa
c7bdabfc65
Merge branch 'new_querytables_library' into analysis-layers
2016-03-04 12:08:57 +01:00
Raul Ochoa
16a7c4fa3d
Merge branch 'master' into new_querytables_library
...
Conflicts:
test/support/prepare_db.sh
test/support/sql/CDB_QueryStatements.sql
2016-03-04 00:39:14 +01:00
Raul Ochoa
3979cda8c2
Change comment about regex
2016-03-04 00:11:06 +01:00
Raul Ochoa
250d52f72c
Merge pull request #395 from CartoDB/no-plpythonu-pg-dependency
...
No plpythonu pg dependency
2016-03-03 23:58:18 +01:00
Raul Ochoa
26e5b4f404
Do not install postgresql-plpython-9.3 in travis, so no more sudo:true
2016-03-03 20:51:53 +01:00
Raul Ochoa
f19c1a34ec
Implement CDB_QueryStatements as SQL language function
...
Do not relies on cartodb-postgresql extension which relies on
plpythonu language. That avoid installing it in travis-ci.
2016-03-03 20:48:37 +01:00
Raul Ochoa
94c7bc41be
Merge branch 'master' into new_querytables_library
2016-03-03 19:30:51 +01:00
Raul Ochoa
df0597f12a
Rename suite
2016-03-03 19:29:42 +01:00
Raul Ochoa
52cb224225
Add integration test with QueryTables module
...
This tests should be better placed at cartodb-query-tables repo but
it's easier to do it here. Lazy dev.
2016-03-03 19:27:44 +01:00
Raul Ochoa
baf87e90d7
Just callback as result is handled internally
2016-03-03 19:25:32 +01:00
Javier Goizueta
6c3fde70e8
Stub next version
2016-03-03 19:05:06 +01:00
Raul Ochoa
d9f6df9815
Remove nested step call
2016-03-03 19:01:58 +01:00
Javier Goizueta
b2539f52b8
Release 2.26.3
2016-03-03 19:01:40 +01:00
Raul Ochoa
7c154dd405
Add notes about why we keep feeding the layergroupAffectedTables cache
2016-03-03 19:01:21 +01:00
Javier Goizueta
47dfdf964e
Merge pull request #390 from CartoDB/overviews-optimization
...
Optimize overviews queries
2016-03-03 18:59:24 +01:00
Raul Ochoa
10a602a4f3
Merge remote-tracking branch 'origin/master' into analysis-layers
2016-03-03 17:52:05 +01:00
Raul Ochoa
e3a5c52ebf
Merge branch 'master' into analysis-layers
2016-03-03 17:51:46 +01:00
Raul Ochoa
66aea5e10f
Merge pull request #393 from CartoDB/travis-pg-93
...
Back to pg 9.3 and postgresql-plpython-9.3 using sudo=true build
2016-03-03 17:39:28 +01:00
Raul Ochoa
e0d18e3c20
Back to pg 9.3 and postgresql-plpython-9.3 using sudo=true build
2016-03-03 17:20:22 +01:00
Raul Ochoa
4b79d06ae3
Back to pg 9.3 and postgresql-plpython-9.3 using sudo=true build
2016-03-03 16:20:20 +01:00
Raul Ochoa
f9c0e29db0
Dataviews separated from analysis
...
They are just another consumer of the analysis as layers are.
2016-03-03 12:07:05 +01:00
Raul Ochoa
e53d823b5a
Fix total population column name for widget
2016-03-03 12:04:03 +01:00
Raul Ochoa
31dede5d06
Notes to make clear the total-population analysis
2016-03-03 12:01:49 +01:00
Raul Ochoa
69142964c6
fix trade-area params
2016-03-03 11:54:50 +01:00
Raul Ochoa
2eac808e18
Change analysis name so it's easier to understand
2016-03-03 11:45:37 +01:00
Javier Goizueta
4e40a61795
Change form of overviews queries so they can be optimized
...
The PostgreSQL planner wasn't applying the spatial filtering of
tile bounds to the queries efficiently.
2016-03-02 19:25:08 +01:00
Raul Ochoa
011b60eeab
Change ids
2016-03-02 13:27:53 +01:00
Raul Ochoa
16654c016a
Style
2016-03-02 13:27:45 +01:00
Raul Ochoa
9b9e6b13b7
Fix query table
2016-03-02 13:27:28 +01:00
Raul Ochoa
3b11525cfb
Add analysis use cases that we need to support
2016-03-02 12:43:14 +01:00
Raul Ochoa
6823fd8b03
Better datasets for analysis
2016-03-02 12:43:00 +01:00
Raul Ochoa
ce032fcc96
Improve styling in analysis layers
2016-03-02 12:42:42 +01:00
Raul Ochoa
a44477dddc
TestClient with method to retrieve tiles
2016-03-02 12:40:53 +01:00
Javier Goizueta
2a789b5a5b
Merge pull request #386 from CartoDB/384-overviews-error-message
...
Change error messages when getting overviews metadata fails
2016-02-26 19:10:09 +01:00
Raul Ochoa
3709d1f1d5
Merge branch 'master' into analysis-layers
2016-02-25 11:46:41 +01:00
Raul Ochoa
1789993467
Stubs next version
2016-02-25 11:43:36 +01:00
Raul Ochoa
604b50ffb5
Release 2.26.2
2016-02-25 11:42:53 +01:00
Raul Ochoa
2818413c5a
Update windshaft to 1.13.2
2016-02-25 11:42:28 +01:00
Raul Ochoa
e958f925d3
Merge branch 'master' into analysis-layers
2016-02-24 17:28:03 +01:00
Raul Ochoa
06164af17f
Stubs next version
2016-02-24 17:23:15 +01:00
Raul Ochoa
6131c4a66a
Release 2.26.1
2016-02-24 17:22:04 +01:00
Raul Ochoa
465dde7a51
Merge pull request #389 from CartoDB/upgrade-windshaft
...
Upgrade windshaft to 1.13.1
2016-02-24 17:20:58 +01:00
Raul Ochoa
7894acf830
Upgrade windshaft to 1.13.1
2016-02-24 17:16:30 +01:00
Raul Ochoa
d923b343fc
Merge branch 'master' into analysis-layers
2016-02-24 10:56:19 +01:00
Raul Ochoa
86c6f6040d
Stubs next version
2016-02-24 10:51:12 +01:00
Raul Ochoa
b79b2d4e7e
Release 2.26.0
2016-02-24 10:49:45 +01:00
Raul Ochoa
b9d2e297b6
Merge branch 'master' of github.com:CartoDB/Windshaft-cartodb into analysis-layers
2016-02-24 10:35:28 +01:00
Raul Ochoa
f2778a3292
Merge pull request #387 from CartoDB/upgrade-windshaft
...
Upgrade windshaft and regenerate npm-shrinkwrap.json
2016-02-24 02:25:49 +01:00
Raul Ochoa
f6f9f203d2
Update news and bump version
2016-02-24 02:21:37 +01:00
Raul Ochoa
f6c519a9e7
Upgrade windshaft to 1.13.0
2016-02-24 02:18:55 +01:00
Alejandro Martínez
0036056c07
Reopen PR
2016-02-23 19:31:38 +01:00
Alejandro Martínez
dcf156ba21
Merge remote-tracking branch 'origin/master' into new_querytables_library
2016-02-23 19:20:10 +01:00
Javier Goizueta
f0a1e7a0e0
Simplify error passing
2016-02-23 18:15:14 +01:00
Raul Ochoa
b931178e59
Upgrade windshaft and regenerate npm-shrinkwrap.json
2016-02-23 17:06:34 +01:00
Javier Goizueta
21f3c8a387
Change error messages when getting overviews metadata fails
...
Remove the detail that the error occurred trying to get overviews
metadata from the error message. This should be less confusing
to the user.
2016-02-23 11:45:26 +01:00
Alejandro Martínez
e491c0b825
Rename node-cartodb-query-tables to cartodb-query-tables
2016-02-22 19:11:54 +01:00
Raul Ochoa
2ac2974414
Stubs next version
2016-02-22 18:02:29 +01:00
Raul Ochoa
ce8c21261f
Release 2.25.2
2016-02-22 18:00:58 +01:00
Raul Ochoa
dd8340b400
Do not leak redis connections
...
Reuse redis client in afterEach and quit client in function
2016-02-22 17:51:53 +01:00
csobier
14f58e12bb
moved response info from template.json section to the related Response section, and left the name description as part of the template.json description
2016-02-22 11:41:06 -05:00
Raul Ochoa
b93d33e065
Merge pull request #385 from CartoDB/test-no-imagemagick
...
Tests without imagemagick dep
2016-02-22 16:51:54 +01:00
Raul Ochoa
4c06c9ade4
Remove imagemagick reference from install instructions
2016-02-22 16:43:43 +01:00
Raul Ochoa
2393a611a8
dry
2016-02-22 16:41:55 +01:00
Raul Ochoa
495fdaf8ec
Rename assert.imageEqualsFile
2016-02-22 16:36:06 +01:00
Raul Ochoa
da680ec2a8
Code re-org
2016-02-22 16:08:16 +01:00
Raul Ochoa
3cadf7f2a2
Make imagesAreSimilar private
2016-02-22 16:07:26 +01:00
Raul Ochoa
7c7bec6f31
Remove imagemagick reference
2016-02-22 16:05:12 +01:00
Raul Ochoa
0683f638ce
Do not take optional name hint
2016-02-22 16:04:31 +01:00
Raul Ochoa
ae9daed43f
Better naming for imageBuffersAreSimilar
2016-02-22 16:02:15 +01:00
Raul Ochoa
5301e748de
Do not create intermediate files when there is no need
2016-02-22 16:00:30 +01:00
Raul Ochoa
37ae6b4fa0
Rely on mapnik.Image instead of compare from imagemagick
2016-02-22 15:38:29 +01:00
Raul Ochoa
6695e1128c
Merge pull request #382 from CartoDB/widgets-urls-in-namedmaps
...
Widgets urls in namedmaps
2016-02-22 15:37:30 +01:00
Alejandro Martínez
37fcfe69c7
Merge remote-tracking branch 'origin/master' into new_querytables_library
2016-02-22 15:35:36 +01:00
Raul Ochoa
fb146f164c
Use before/after to not alter global configuration
2016-02-22 15:31:01 +01:00
Alejandro Martínez
850f1cb7f4
Remove stray spaces
2016-02-22 15:28:14 +01:00
Alejandro Martínez
e67f7b0d0e
Drop old QueryTablesApi
2016-02-22 15:26:06 +01:00
Alejandro Martínez
ba8e3d419e
Fix package.json
2016-02-22 15:09:09 +01:00
Raul Ochoa
877425267e
Correct URLs for widgets in named maps
...
Fixes #381
2016-02-22 15:06:39 +01:00
csobier
adefa8b819
applied Carla's edits to date
2016-02-22 09:01:04 -05:00
Raul Ochoa
36b7377662
URLs for widgets are broken in named maps
2016-02-22 15:00:06 +01:00
Alejandro Martínez
2d6ee93448
Delete query_tables_api.js, wrap shrinkwrap
2016-02-22 13:40:20 +00:00
Raul Ochoa
f78c6fbc63
Stubs next version
2016-02-22 13:08:43 +01:00
Raul Ochoa
62e8868e4b
Release 2.25.1
2016-02-22 12:58:51 +01:00
Raul Ochoa
aed0e03f7d
Merge pull request #380 from CartoDB/upgrade-windshaft
...
Upgrade windshaft to 1.11.1
2016-02-22 12:55:29 +01:00
Raul Ochoa
3b67efeab1
Update news
2016-02-22 12:51:09 +01:00
Raul Ochoa
dcfa38e29c
Upgrade windshaft to 1.11.1
2016-02-22 12:46:51 +01:00
Alejandro Martínez
cf06ff86c2
Use node-cartodb-query-tables library
2016-02-22 11:40:25 +01:00
Raul Ochoa
1c567ec455
Add tests with named maps + private dataset + widgets
2016-02-19 17:48:55 +01:00
Raul Ochoa
842fa4dfd2
Create populated places private table for named maps + widgets
2016-02-19 17:48:19 +01:00
csobier
cfa2714dbb
added fetch tile in for Maps API
2016-02-19 11:45:06 -05:00
Raul Ochoa
30f8234bd0
Use analysis configuration as per new camshaft api
2016-02-19 17:13:28 +01:00
Raul Ochoa
ae8e3f2ef8
Merge branch 'master' into analysis-layers
2016-02-19 15:45:56 +01:00
csobier
4d6b4b1755
added xyz tile info-first draft
2016-02-18 16:58:28 -05:00
csobier
0994571895
clean-up portion of Named Maps doc-WIP
2016-02-18 13:15:28 -05:00
Raul Ochoa
3161939de9
Stubs next version
2016-02-18 15:15:09 +01:00
Raul Ochoa
4d8b341b6f
Release 2.25.0
2016-02-18 15:14:18 +01:00
Raul Ochoa
b7fff960a2
Ignore CDB_ sql files downloaded for tests
2016-02-18 14:52:08 +01:00
Raul Ochoa
b6273cfef3
Merge pull request #377 from CartoDB/upgrade-windshaft
...
Upgrade windshaft
2016-02-18 14:49:18 +01:00
Raul Ochoa
b3f62e1631
Update news and bump version
2016-02-18 14:27:44 +01:00
Raul Ochoa
65e539d4c8
Upgrade windshaft
2016-02-18 13:49:10 +01:00
Raul Ochoa
6d91172630
Remove console.log
2016-02-18 13:43:39 +01:00
Alejandro Martínez
e1732076fc
Merge branch 'new_querytables' of github.com:CartoDB/Windshaft-cartodb into new_querytables
2016-02-17 15:37:06 +01:00
Alejandro Martínez
587f66c23d
Sort cache channels and keys alphabetically
2016-02-17 15:36:26 +01:00
Raul Ochoa
3d0c0f34ad
Use a set to compare surrogate keys, avoiding key order errors
2016-02-17 12:18:57 +01:00
Raul Ochoa
8d4ebc171b
Use a set to compare surrogate keys, avoiding key order errors
2016-02-17 12:15:43 +01:00
Raul Ochoa
4d3c21f1bc
Merge remote-tracking branch 'origin/new_querytables' into analysis-layers
2016-02-17 11:48:09 +01:00
Raul Ochoa
6ece30fa2c
Ignore CDB_ sql files downloaded for tests
2016-02-17 11:47:27 +01:00
Raul Ochoa
dfcb3b6dc1
Merge branch 'new_querytables' into analysis-layers
2016-02-17 11:31:55 +01:00
Raul Ochoa
87b4a37f3f
Move camshaft dep to avoid future conflicts while updating windshaft
2016-02-17 11:29:40 +01:00
Raul Ochoa
4db2c715a0
Merge branch 'master' into analysis-layers
...
Conflicts:
npm-shrinkwrap.json
package.json
2016-02-17 11:29:11 +01:00
csobier
76653a4417
Merge pull request #368 from CartoDB/docs-setParam-torque-note
...
add note regarding setParams and torque
2016-02-16 10:36:40 -05:00
Raul Ochoa
cd81a59418
Adds some notes about how to npm link windshaft for development
2016-02-15 16:53:31 +01:00
Alejandro Martínez
19596245b8
Fix long line
2016-02-15 16:21:13 +01:00
Alejandro Martínez
0e83420e24
Fix long line
2016-02-15 16:15:43 +01:00
Alejandro Martínez
119846b56b
Fix specs
2016-02-15 16:04:13 +01:00
Raul Ochoa
121c146ef9
Stubs next version
2016-02-15 14:47:36 +01:00
Raul Ochoa
3ab94c7c91
Release 2.24.0
2016-02-15 14:46:43 +01:00
Raul Ochoa
a44ed65a0b
Merge pull request #376 from CartoDB/upgrade-windshaft
...
Upgrade windshaft to 1.10.0
2016-02-15 13:29:02 +01:00
Raul Ochoa
d0f84b2440
windshaft@1.10.1
2016-02-15 13:22:35 +01:00
Alejandro Martínez
33ba629c6d
Add publicuser creation to Travis config
2016-02-15 13:00:21 +01:00
Alejandro Martínez
9e7b288f44
Merge remote-tracking branch 'origin/master' into new_querytables
2016-02-15 11:47:29 +00:00
Raul Ochoa
fe5c6faff1
Upgrade windshaft to 1.10.0
2016-02-15 12:16:56 +01:00
Raul Ochoa
2f51ad9c3f
Regenerate npm-shrinkwrap.json to include camshaft dep
2016-02-12 18:49:01 +01:00
Raul Ochoa
ed1f753690
Fix style
2016-02-12 18:45:46 +01:00
Raul Ochoa
bcf3ce71ef
Adds experimental adapter to use queries based on camshaft analysis
2016-02-12 18:38:06 +01:00
Alejandro Martínez
a656285001
Run tests against master cartodb-postgresql
2016-02-12 17:25:57 +01:00
Raul Ochoa
39cb463fbd
Fix jsdoc
2016-02-12 16:13:40 +01:00
Raul Ochoa
354c982ea0
Fix jsdoc
2016-02-12 16:12:02 +01:00
Raul Ochoa
f71d38fb79
Stubs next version
2016-02-12 16:06:20 +01:00
Alejandro Martínez
b7ff554209
Use new _Updated_At function and new names
2016-02-11 11:45:09 +01:00
Javier Goizueta
ba0cf1eddf
Release 2.23.0
2016-02-10 13:07:12 +01:00
Javier Goizueta
b381e8bad7
Release 2.23.0
2016-02-10 13:05:15 +01:00
Javier Goizueta
700335062e
Merge pull request #365 from CartoDB/overviews-work
...
Version 2.23.0 with overviews support
2016-02-10 12:58:17 +01:00
Javier Goizueta
cd2bc319d8
Fix: bad error message
2016-02-10 12:27:39 +01:00
Javier Goizueta
4f8534afb3
Fix: accept empty layers in the MapConfigOverviewsAdapter
2016-02-10 12:16:37 +01:00
Javier Goizueta
c5b7d400f5
Merge branch 'master' into overviews-work
2016-02-10 11:56:54 +01:00
Raul Ochoa
ef58d7bcbd
Add test for empty layers mapconfig
2016-02-10 11:49:56 +01:00
Alejandro Martínez
95ab99be4d
Use new CDB_QueryTablesUpdatedAt function
2016-02-09 19:06:34 +01:00
Javier Goizueta
bbb8841f5a
Upgrade Windshaft to 1.9.0
...
This version supports the current (provisional) QueryRewriter interface
2016-02-09 17:31:10 +01:00
Javier Goizueta
5b50e784cd
Merge branch 'master' into overviews-work
2016-02-09 17:14:08 +01:00
Daniel García Aubert
f0af107ffa
Stubs next version
2016-02-08 18:36:00 +01:00
Daniel García Aubert
0606fca484
Release 2.22.0
2016-02-08 18:31:28 +01:00
Daniel García Aubert
e6812ef6c1
Upgrade Windshaft version to 1.8.3
2016-02-08 18:26:26 +01:00
Daniel García Aubert
260e5ec25f
tubs next version
2016-02-05 15:09:32 +01:00
Daniel García Aubert
097f68f98c
Merge branch 'master' of github.com:CartoDB/Windshaft-cartodb
2016-02-05 15:05:15 +01:00
Daniel García Aubert
45d72b2bc6
Release 2.21.1
2016-02-05 15:03:34 +01:00
Raul Ochoa
82d4c20586
Merge pull request #371 from CartoDB/widgets-tests
...
Widgets tests
2016-02-05 14:58:07 +01:00
Raul Ochoa
03e3f7f13c
Merge pull request #370 from CartoDB/fix-geojson-config
...
Fixed default geojson config
2016-02-05 14:53:43 +01:00
Raul Ochoa
b571b39b38
Aggregations in their own file
2016-02-05 13:32:38 +01:00
Raul Ochoa
f42d20f2c3
Histograms in their own file
2016-02-05 13:24:39 +01:00
Raul Ochoa
74cb876771
Move list to own file
2016-02-05 13:01:34 +01:00
Raul Ochoa
d78e01b7a4
Extract getWidget to TestClient
2016-02-05 12:59:33 +01:00
Raul Ochoa
73478ed0e9
Rename widgets tests file
2016-02-05 12:36:25 +01:00
Daniel García Aubert
887d71a9ad
Fixed default geojson config
2016-02-05 12:35:03 +01:00
Javier Goizueta
56095926e0
Remove CartCSS handling from QueryRewriter
...
QueryRewriter doesn't require a style method anymore
2016-02-05 08:23:02 +01:00
Daniel García Aubert
13c3fbae70
Stubs next version
2016-02-04 19:35:23 +01:00
Daniel García Aubert
0b6845235a
Release 2.21.0
2016-02-04 19:31:57 +01:00
Raul Ochoa
d2558197d2
Merge pull request #369 from CartoDB/geojson-renderer
...
Geojson renderer
2016-02-04 19:26:41 +01:00
Raul Ochoa
d005521aa4
Upgrade windshaft version
2016-02-04 19:06:54 +01:00
Daniel García Aubert
336aaa3840
Updated travis config in order to use npm@2
2016-02-04 17:24:02 +01:00
Daniel García Aubert
edbdd95f79
Upgrades npm version to 2.14.16
2016-02-04 17:09:30 +01:00
Daniel García Aubert
bb5a8fd0bf
Merge branch 'geojson-renderer' of github.com:CartoDB/Windshaft-cartodb into geojson-renderer
2016-02-04 17:02:14 +01:00
Daniel García Aubert
3284e709c3
Regenerate npm-shrinkwrap
2016-02-04 17:00:44 +01:00
Raul Ochoa
d33ae29211
Revert "Fixed missing map key for named layers"
...
This reverts commit a4041524a3 .
2016-02-04 16:26:32 +01:00
Daniel García Aubert
da51a173d7
Upgrades windshaft to 1.8.1
2016-02-04 15:46:13 +01:00
Raul Ochoa
425ec83209
Use a valid SPDX license expression
2016-02-04 15:22:08 +01:00
Daniel García Aubert
971b77451d
Merge branch 'geojson-renderer' of github.com:CartoDB/Windshaft-cartodb into geojson-renderer
2016-02-04 12:46:52 +01:00
Daniel García Aubert
6407101709
Upgrade to Windshaft 1.8.0
2016-02-04 12:40:53 +01:00
Javier Goizueta
0a218da835
Implement an Overviews query rewriter
...
Use the Windshaft query-rewriter interface to adapt queries so
they use available overview tables.
This requires a version of Windshaft that implements the query-rewriter
interface (package.json/npm-shrinkwap.json have yet to be updated)
2016-02-04 10:26:31 +01:00
Daniel
89033d2cd4
Merge pull request #367 from CartoDB/metadata-refactor
...
Added property 'enableLayerMetadata' to config files
2016-02-03 15:37:05 +01:00
Javier Goizueta
870688309a
Fix syntax
2016-02-02 19:29:10 +01:00
Javier Goizueta
a5070162c2
Merge branch 'overviews-work' of github.com:CartoDB/Windshaft-cartodb into overviews-work
2016-02-02 19:24:49 +01:00
Javier Goizueta
8348f74513
Provide OverviewsHandler configuration to Windshaft
...
A parameter has been added to Windshaft Mapnik renderer configuration
to define how queries will be adapted to use overviews.
Here we're using the default OverviewHandler providen in Windshaft,
with a parameter to define how the zoom level is determined.
2016-02-02 19:23:07 +01:00
csobier
e1babd05c1
add note regarding setParams and torque
2016-02-02 13:14:00 -05:00
Daniel García Aubert
08d43a8620
Added property 'enableLayerMetadata' to config files
2016-02-02 16:34:58 +01:00
Daniel García Aubert
8601a67e97
Improved assertions for multilayer tests
2016-02-01 18:39:34 +01:00
Daniel García Aubert
640500a0e3
Updated config to use Windshaft's geojson renderer
2016-02-01 17:12:50 +01:00
Daniel García Aubert
6ee1f1a8bf
Fixed bad assertion in multilayer tests
2016-02-01 16:31:03 +01:00
Daniel García Aubert
a4041524a3
Fixed missing map key for named layers
2016-02-01 16:29:36 +01:00
Carlos Matallín
c3b17df3e7
Merge pull request #366 from CartoDB/docs-minor-clarification-added
...
Docs minor clarification added
2016-02-01 14:47:20 +01:00
csobier
5e77c50102
changed relative links to absolute links
2016-01-29 16:46:42 -05:00
csobier
1620cbc8df
modified title
2016-01-29 12:11:21 -05:00
csobier
912b8f6ff4
fixed title of named maps
2016-01-29 12:07:47 -05:00
csobier
486a55ed7f
edited intro text and fixed typo
2016-01-29 11:52:17 -05:00
csobier
af50af325d
added links to new mapconfig, updated named map intro, and added cartodbjs named map examples
2016-01-29 11:46:03 -05:00
Daniel García Aubert
feef31d1bf
Merge branch 'geojson-renderer' of github.com:CartoDB/Windshaft-cartodb into geojson-renderer
2016-01-29 15:36:47 +01:00
Raul Ochoa
f5b12d81ed
Fix indent
2016-01-28 19:49:16 +01:00
Raul Ochoa
81200b72b4
Merge branch 'master' into overviews-work
...
Conflicts:
test/acceptance/multilayer.js
2016-01-28 19:48:11 +01:00
Raul Ochoa
d6ecb8c793
Remove trailing whitespace
2016-01-28 19:44:25 +01:00
Javier Goizueta
5038ae6b1b
Fix data for overviews integration tests
2016-01-27 17:40:12 +01:00
Javier Goizueta
37a4aaeeb4
Refactor findStatusCode for legibility
...
...disregarding jshint opinion
2016-01-27 17:39:24 +01:00
Javier Goizueta
6dbb0cb1c1
Emulate new overview table naming schme in the tests
2016-01-26 15:08:55 +01:00
Javier Goizueta
3b6abb5c9f
Refactor construction of OverviewsApi
2016-01-26 11:49:41 +01:00
Javier Goizueta
ef9e9f8c78
Adapt to changes in CDB_Overviews SQL function
...
Now data for multiple tables is obtained in one call, simplifying the
use of this function. Also base table is returned as an oid, so we
now have the overview base table names with schema only when needed.
2016-01-26 11:38:21 +01:00
Javier Goizueta
2a819e559b
Remove commented code
2016-01-22 11:15:25 +01:00
Javier Goizueta
8d691b2048
Refactor OverviewsApi
...
Separate metadata processing into collecting each layer's information (map)
and then organizing metadata per tables/zoom levels (reduce).
2016-01-22 11:03:01 +01:00
Javier Goizueta
1f6d5cfd6d
Fix signature of CDB_Overviews
2016-01-21 18:39:31 +01:00
Javier Goizueta
81cb75f821
Refactor statusFromErrorMessage
...
...to make jshint happy
2016-01-21 18:24:49 +01:00
Javier Goizueta
8592136683
Change status code assigned to some errors
...
Errors without an explicit status code with the error message
containing 'does not exist' were assigned codes 404 or 403.
Now if the error message is 'function X does not exist'
(originated in SQL) the error code assigned is 400.
2016-01-21 18:02:21 +01:00
Javier Goizueta
18246418a0
Adapt test to new behaviour
...
Now an error occurs before craeeteLayergroup when checking affected
tables for overviews information. This prevents the creation of the
map configuration, so the corresponding redis keys need not be deleted.
The error message changes also because now the error originates in
a different function call, QueryTablesApi.prototype.getAffectedTablesInQuery
vs getAffectedTablesAndLastUpdatedTime.
2016-01-21 17:49:51 +01:00
Javier Goizueta
a6e3b07439
Reformat long lines
2016-01-21 17:42:52 +01:00
Javier Goizueta
c8033700c3
Fix equality operator use
2016-01-21 17:40:57 +01:00
Javier Goizueta
77f529d519
Add acceptance test for overviews
2016-01-21 17:36:25 +01:00
Javier Goizueta
6532024330
Add tests for MapConfigOverviewsAdapter
2016-01-21 15:44:22 +01:00
Javier Goizueta
62cc53228c
OverviewApi: skip tables with no overlays in result
2016-01-21 13:35:56 +01:00
Javier Goizueta
532654eea8
Add tests for the OverviewsApi
2016-01-21 13:33:45 +01:00
Javier Goizueta
87bffb9657
Fix: overviews entry should be inside options
2016-01-21 12:06:01 +01:00
Javier Goizueta
094c9076be
Fix: only mapnik layers can have overviews
2016-01-21 12:04:40 +01:00
Javier Goizueta
cc0385d614
Fix class name
2016-01-21 12:03:50 +01:00
Javier Goizueta
ed9b3e1230
Bring in code commented out for tests
2016-01-21 10:58:50 +01:00
Javier Goizueta
ffd89edaa7
Add overviews metadata to MapController instantiateTemplate
...
As in MapController create.
2016-01-20 18:36:06 +01:00
Javier Goizueta
5543fcb736
Fix: handle error properly when augmented layers with overviews
2016-01-20 18:09:00 +01:00
Javier Goizueta
7c897a40bf
Fix bug in tests
...
The invalid SQL in this test (missing comma) was unnoticed because
the test was provoking a failed before the SQL was parsed, but new
features may cause the SQL to be evaluated (to get affected tables)
before the CartoCSS validity is checked.
2016-01-20 18:07:35 +01:00
Javier Goizueta
528574c550
Add dummy CDB_Overviews SQL function for tests
2016-01-20 17:10:12 +01:00
Javier Goizueta
b9f8812c98
Update comments
2016-01-20 17:09:15 +01:00
Javier Goizueta
09568050d6
Fix for changes in pgQueryRunner
2016-01-20 13:13:02 +01:00
Javier Goizueta
3dad225568
Fix bug
2016-01-20 13:12:45 +01:00
Javier Goizueta
4ca8ecf64c
Refactor/fix potential problems
2016-01-20 12:44:00 +01:00
Javier Goizueta
2f2f6114e8
Refactor coding style
...
Hide the fact that we define functions in a loop from jshint!
2016-01-20 12:42:43 +01:00
Raul Ochoa
e4e7d6c840
Stubs next version
2016-01-20 12:26:16 +01:00
Raul Ochoa
d266d9a590
Release 2.20.0
2016-01-20 12:25:12 +01:00
Raul Ochoa
1e8525162a
Bump version
2016-01-20 12:22:56 +01:00
Raul Ochoa
5fed5afe1f
Update news
2016-01-20 12:22:24 +01:00
Javier Goizueta
8a49e46626
Accept minor jshint suggestions
2016-01-20 11:51:46 +01:00
Javier Goizueta
9feae66173
Bugfixes
2016-01-20 11:49:17 +01:00
Raul Ochoa
f8e4deb4b9
Merge pull request #364 from CartoDB/upgrade-windshaft
...
Upgrade windshaft to 1.7.0
2016-01-20 11:45:03 +01:00
Raul Ochoa
9c2fe9eac4
Upgrade windshaft to 1.7.0
2016-01-20 11:39:53 +01:00
Javier Goizueta
6aa9515fd1
Merge branch 'master' into overviews-work
2016-01-20 10:19:27 +01:00
Javier Goizueta
54854f0984
Avoid wrapper-functions to capture looping variable values
...
Use async-queue defer additional parameters
2016-01-20 10:07:19 +01:00
Javier Goizueta
89590d32df
Sketch of vector overviews support
2016-01-19 19:31:43 +01:00
Raul Ochoa
d53a293f28
Merge pull request #363 from CartoDB/fix-statsd-key
...
Change redis pool name to report with a valid statsd key
2016-01-19 13:26:48 +01:00
Raul Ochoa
1dea84f9bf
Change redis pool name to report with a valid statsd key
2016-01-19 13:00:02 +01:00
Raul Ochoa
e72bd77265
Merge branch 'master' into geojson-renderer
...
Conflicts:
npm-shrinkwrap.json
package.json
2016-01-18 14:52:01 +01:00
Raul Ochoa
8b50097a12
Merge pull request #361 from CartoDB/mapconfig-extension
...
Mapconfig widgets extension
2016-01-18 14:39:35 +01:00
Raul Ochoa
fbc1bccb48
Merge branch 'master' into mapconfig-extension
...
Conflicts:
npm-shrinkwrap.json
2016-01-18 14:32:33 +01:00
Raul Ochoa
b5b881e662
Regenerate npm-shrinkwrap.json
2016-01-18 14:24:23 +01:00
Raul Ochoa
30e479094f
Fix tests for windshaft master
2016-01-18 14:08:01 +01:00
Raul Ochoa
2b3244440f
Merge remote-tracking branch 'origin/master' into mapconfig-extension
2016-01-15 18:31:30 +01:00
Raul Ochoa
ba4db870e4
Merge pull request #362 from CartoDB/prepare-tests-for-next-windshaft
...
Prepare tests for next windshaft
2016-01-15 18:30:50 +01:00
Raul Ochoa
d3f5b03f13
Validate current torque metadata keys
2016-01-15 17:25:09 +01:00
Raul Ochoa
e00661aa34
Remove substitution tokens in attributes service test
2016-01-15 17:17:20 +01:00
Raul Ochoa
3afb7a0eb3
Adds some notes about unsupported endpoints
2016-01-15 17:02:09 +01:00
Raul Ochoa
1eb69ae3d1
Remove make target to update windshaft
2016-01-15 16:02:02 +01:00
Raul Ochoa
5eeaa0272c
Use master branch from windshaft and regenerate npm-shrinkwrap.json
2016-01-15 16:01:01 +01:00
Raul Ochoa
3e601cc2e6
Use geojson renderer branch from windshaft
2016-01-15 15:53:40 +01:00
Raul Ochoa
3e9f2a1319
Merge branch 'master' into mapconfig-extension
2016-01-14 18:45:30 +01:00
Raul Ochoa
45acdd9f39
fix json, 2nd attempt
2016-01-14 18:16:31 +01:00
Raul Ochoa
62b1df970a
fix json
2016-01-14 18:16:12 +01:00
Raul Ochoa
1aac4316ab
Merge pull request #360 from CartoDB/travis-container-based
...
Travis container based
2016-01-13 20:40:00 +01:00
Raul Ochoa
97d3bed1d2
test with pg 9.4
2016-01-13 20:33:12 +01:00
Raul Ochoa
19216eaa88
Use create language instead of extension
2016-01-13 20:21:54 +01:00
Raul Ochoa
3780aed1b7
Check with no postgresql-plpython-9.3 at all
2016-01-13 20:14:04 +01:00
Raul Ochoa
04a2d1d33c
Remove postgresql-plpython-9.3
2016-01-13 20:11:24 +01:00
Raul Ochoa
18278da4bb
Create language instead of extension
2016-01-13 19:36:01 +01:00
Raul Ochoa
553c64bd8b
Create extension for plpython
2016-01-13 19:32:50 +01:00
Raul Ochoa
74abee2700
Use apt addon instead of apt-get install
2016-01-13 19:23:30 +01:00
Raul Ochoa
8ea159e0a1
Remove sudo calls
2016-01-13 19:14:58 +01:00
Raul Ochoa
353919239d
Attempt to use travis' container based builds
2016-01-13 18:59:33 +01:00
Raul Ochoa
9e74e8633a
Merge pull request #359 from CartoDB/query-runner-improvements
...
Query runner improvements
2016-01-13 18:56:26 +01:00
Raul Ochoa
98611be544
Merge pull request #351 from CartoDB/install_instructions
...
Install instructions
2016-01-12 16:39:58 +01:00
Raul Ochoa
3b7ff2285c
Merge pull request #356 from CartoDB/http-409-status-on-template-limit-reached
...
Send 409 error code when maximum number of templates limit is reached
2016-01-12 16:14:37 +01:00
Raul Ochoa
8203c878f4
Send 409 error code when maximum number of templates limit is reached
...
Closes #346
2016-01-12 15:53:16 +01:00
Javier Goizueta
216e7b7f1d
Use attributes-substitution-tokens of Windshaft
...
Intended for installation in a staging server
2016-01-08 12:07:51 +01:00
Carlos Matallín
4f4480dc9b
Merge pull request #339 from CartoDB/newdocs
...
docs: split Map-API.md in different files
2016-01-07 15:38:31 +01:00
Carlos Matallín
16e1abe376
replicate #355
2016-01-07 15:33:16 +01:00
Carlos Matallín
2d0ebc821f
Merge pull request #355 from CartoDB/353-named-maps-limit
...
added limit amount regarding named maps
2016-01-07 10:41:22 +01:00
csobier
67e921017c
added limit amount regarding named maps
2016-01-06 08:44:53 -05:00
Paul Norman
7ed96ef0bb
Add a list of packages and postgres instructions
2015-12-30 23:37:12 -08:00
Paul Norman
6f7bbe4ff5
Move install instructions to their own file
2015-12-30 17:29:19 -08:00
Raul Ochoa
74898e4261
Integration tests for QueryTablesApi
...
Again this is more about how it would be possible to use it isolated.
2015-12-30 17:48:24 +01:00
Raul Ochoa
c664d5392c
Adds some tests about how to use PgQueryRunner isolated
2015-12-30 17:48:00 +01:00
Raul Ochoa
76cbc2f863
Improve PgQueryRunner public run method
...
Last param is callback function, receiving err + result, no need to
keep passing two functions, the query handler and the final callback.
It should be easier to understand now as query handler was in a position
where it had to know about receiving a callback, that was exposing an
implementation detail of PgQueryRunner.
2015-12-30 17:44:49 +01:00
Raul Ochoa
69fdaca41f
Merge pull request #350 from CartoDB/fix-tests
...
Do not test `all` layers in blend suite
2015-12-30 16:04:58 +01:00
Raul Ochoa
5ac327272f
Do not test all layers. Test is also present in windshaft suite.
2015-12-30 15:52:52 +01:00
Raul Ochoa
53a2d52523
Merge pull request #349 from CartoDB/pnorman-patch-1
...
Fix readme typo
2015-12-29 12:55:06 +01:00
Paul Norman
cd847adfb3
Fix readme typo
...
[no ci]
2015-12-28 11:53:54 -08:00
Raul Ochoa
e65dc2d790
Merge branch 'master' into mapconfig-extension
2015-12-22 12:59:39 +01:00
Raul Ochoa
e0d8f5afac
Tests for named maps + torque layers with params instantiation
2015-12-21 20:01:44 +01:00
Raul Ochoa
7d2f543284
Allow column_type query string param
2015-12-02 18:50:11 +01:00
Raul Ochoa
ad566d8ff0
Merge branch 'master' into mapconfig-extension
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-11-24 13:36:39 +01:00
Raul Ochoa
67ba517a0e
Stubs next version
2015-11-23 16:08:32 +01:00
Raul Ochoa
9a01c8b26e
Release 2.19.1
2015-11-23 16:07:37 +01:00
Raul Ochoa
b40fd29228
Merge pull request #344 from CartoDB/upgrade-windshaft
...
Upgrade windshaft
2015-11-23 16:03:16 +01:00
Raul Ochoa
152440e611
Upgrade windshaft to 1.6.1
...
Regenerates npm-shrinkwrap.json, including bump in torque.js@2.11 .4
2015-11-23 15:51:57 +01:00
Raul Ochoa
ea2a94be88
Fix news formatting
2015-11-23 15:51:00 +01:00
Raul Ochoa
0a38549c55
Regenerate npm-shrinkwrap.json
2015-11-23 11:00:55 +01:00
Raul Ochoa
e3b25f3080
Dependencies installation example
2015-11-19 12:50:34 +01:00
Raul Ochoa
1de4753daa
fix tests
2015-11-16 18:34:36 +01:00
Raul Ochoa
d9614cc1c5
Add search endpoint
2015-11-16 13:15:01 +01:00
Raul Ochoa
37ff13493c
Use mapconfig-extension from windshaft
2015-11-16 12:23:05 +01:00
Raul Ochoa
9264f4a668
Re-adds npm-shrinkwrap.json
2015-11-16 12:13:54 +01:00
Raul Ochoa
e254379244
Use windshaft's histogram branch
2015-11-13 10:35:52 +01:00
Raul Ochoa
4c851a0d09
Remove npm-shrinkwrap.json to ease development
2015-11-13 10:35:30 +01:00
Raul Ochoa
a84dd7cd29
Add more url params
2015-11-12 19:45:49 +01:00
Raul Ochoa
86abc392a1
Merge branch 'master' into mapconfig-extension
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-11-12 11:38:42 +01:00
Raul Ochoa
9e00cb3309
Stubs next version
2015-11-12 11:30:58 +01:00
Raul Ochoa
6d55544d70
Release 2.19.0
2015-11-12 11:29:50 +01:00
Raul Ochoa
d8e38e7e81
Merge pull request #343 from CartoDB/upgrade-mapnik
...
Upgrade windshaft/mapnik
2015-11-11 16:34:10 +01:00
Raul Ochoa
3dbcf5f293
Upgrade windshaft/mapnik
2015-11-11 16:28:21 +01:00
Raul Ochoa
7d230cc15d
Widgets returning two results
2015-11-04 17:21:33 +01:00
Raul Ochoa
2320b0b852
Reference Windshaft's notes on Installing Mapnik
2015-11-03 16:56:37 +01:00
Raul Ochoa
837f99f31c
Restrict npm supported versions to >=1.2.1 <2.0.0
2015-11-03 16:55:42 +01:00
Raul Ochoa
663703abae
Merge branch 'master' into mapconfig-extension
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-11-02 11:13:34 +01:00
Raul Ochoa
5844c031c9
Stubs next version
2015-11-02 10:55:57 +01:00
Raul Ochoa
c9e95ccc9d
Release 2.18.0
2015-11-02 10:38:50 +01:00
Raul Ochoa
98b14de02e
Merge pull request #342 from CartoDB/upgrade-mapnik
...
Upgrade mapnik
2015-11-02 10:31:49 +01:00
Carlos Matallín
4bc8c57729
docs: remove code-title
2015-10-30 11:25:42 +01:00
Raul Ochoa
479861e612
Update news
2015-10-29 18:31:15 +01:00
Raul Ochoa
a746445b88
Upgrade windshaft to 1.5.0
2015-10-29 18:30:02 +01:00
Raul Ochoa
2c4cb6d42e
Adds some tests for per widget bbox filters
2015-10-29 17:18:14 +01:00
Carlos Matallín
b2cd421e2e
docs: rearrange overview
2015-10-29 16:59:51 +01:00
Raul Ochoa
8a81828a3d
Enable bbox query string param
2015-10-29 16:25:56 +01:00
Raul Ochoa
8e568d0f20
Adapt tests to new widgets format
2015-10-29 13:19:49 +01:00
Raul Ochoa
3b9759d5e4
Merge branch 'master' into mapconfig-extension
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-10-28 19:41:44 +01:00
Raul Ochoa
a20a1f692b
Stubs next version
2015-10-28 19:27:53 +01:00
Raul Ochoa
628b1921b4
Release 2.17.0
2015-10-28 19:27:03 +01:00
Raul Ochoa
fd8131201d
Merge pull request #341 from CartoDB/upgrade-mapnik
...
Upgrades windshaft to 1.4.0
2015-10-28 19:26:11 +01:00
Raul Ochoa
ee39450864
Regenerate npm-shrinkwrap.json
2015-10-28 19:21:22 +01:00
Raul Ochoa
34e866007e
Use windshaft 1.4.0
2015-10-28 19:15:26 +01:00
Carlos Matallín
277c0ee818
docs: fixes
2015-10-28 17:38:46 +01:00
Carlos Matallín
a3c7b3fc35
docs: fixes
2015-10-28 17:31:20 +01:00
Carlos Matallín
034b492788
docs: static maps
2015-10-28 17:02:16 +01:00
Carlos Matallín
cd00680c80
docs: static maps
2015-10-28 17:00:22 +01:00
Carlos Matallín
cc0ebf70a7
docs: static maps
2015-10-28 16:55:11 +01:00
Carlos Matallín
8087f838ef
docs: named maps
2015-10-28 16:46:50 +01:00
Raul Ochoa
3fa4f8573e
Upgrades windshaft to 1.3.0
2015-10-28 16:31:11 +01:00
Carlos Matallín
3eda1750cc
docs: named maps
2015-10-28 16:26:33 +01:00
Carlos Matallín
2c35e27095
docs: anonymous_maps
2015-10-28 16:07:04 +01:00
Carlos Matallín
90487819bf
docs: anonymous_maps
2015-10-28 16:02:23 +01:00
Carlos Matallín
50a943c131
docs: quickstart
2015-10-28 15:53:39 +01:00
Carlos Matallín
36b91180e4
docs: quickstart
2015-10-28 15:51:31 +01:00
Carlos Matallín
df44a84bfc
Merge branch 'master' into newdocs
2015-10-28 15:31:35 +01:00
Raul Ochoa
e5afdb1e04
Adds test combining two widgets + filters
2015-10-28 12:21:43 +01:00
Raul Ochoa
cf2774c852
Fix test description
2015-10-28 12:06:06 +01:00
Raul Ochoa
36369068e1
Use match instead of full url
2015-10-27 19:11:29 +01:00
Raul Ochoa
af0812e990
Fix jshint
2015-10-27 19:08:46 +01:00
Raul Ochoa
0285f015e2
Pass filters within params
2015-10-27 13:26:11 +01:00
Raul Ochoa
473b20596a
Adds helper function to retrieve widgets
2015-10-27 13:26:11 +01:00
Raul Ochoa
fda405f35d
Unify widgets tests
2015-10-27 13:20:15 +01:00
Raul Ochoa
4047cb82b9
Merge pull request #340 from CartoDB/fix-widget-urls
...
Adds trailing slash to API endpoint in widget URLs
2015-10-26 17:52:55 +01:00
Pablo Alonso Garcia
7b57d22444
Added trailing slash to API endpoint in widget URLs
2015-10-26 17:50:50 +01:00
Raul Ochoa
50e63bf83d
Merge branch 'master' into mapconfig-extension
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-10-26 17:06:13 +01:00
Raul Ochoa
8a9e257cdb
Adds target to Makefile to just remove and re-install windshaft dep
2015-10-26 16:51:21 +01:00
Raul Ochoa
3a05d8c2e8
Widgets inside layer options
2015-10-26 16:40:39 +01:00
Raul Ochoa
8b222914c5
Add URL to widgets with their endpoints
2015-10-26 14:35:51 +01:00
Raul Ochoa
6d9182aba8
Rename widgets endpoint to honour its name
2015-10-26 13:42:06 +01:00
Raul Ochoa
f9d3e419a0
Renames list -> histogram
2015-10-26 11:12:26 +01:00
Raul Ochoa
4b0ecb1251
Adds histogram support, a bit of code duplication
2015-10-26 11:10:59 +01:00
Raul Ochoa
36a6af3266
Replaces List with Widget backend and changes list access to be layer based
2015-10-26 10:23:56 +01:00
Raul Ochoa
2f592e6f62
Stubs next version
2015-10-22 16:28:49 +02:00
Raul Ochoa
860d4bb475
Release 2.16.0
2015-10-22 16:27:52 +02:00
Raul Ochoa
c7b5fb9187
Be more clear about how to upgrade shrinkwrap file
2015-10-22 16:26:37 +02:00
Carlos Matallín
5e0c9377f2
newdocs: fix titles
2015-10-22 15:02:01 +02:00
Carlos Matallín
8db1ad6f19
newdocs: split files
2015-10-22 13:28:08 +02:00
Raul Ochoa
f513db837d
Merge pull request #338 from CartoDB/upgrade-windshaft
...
Upgrades windshaft to 1.2.0
2015-10-21 18:56:45 +02:00
Raul Ochoa
d7181ec6c2
Upgrades windshaft to 1.2.0
2015-10-21 18:38:19 +02:00
Raul Ochoa
7761f56d36
Stubs next version
2015-10-21 13:58:26 +02:00
Raul Ochoa
f136b9f6e7
Release 2.15.1
2015-10-21 13:56:53 +02:00
Raul Ochoa
12175f10a6
Upgrades windshaft to 1.1.1
2015-10-21 13:55:36 +02:00
Raul Ochoa
52dbe14af2
Merge branch 'master' into mapconfig-extension
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-10-13 16:06:04 +02:00
Raul Ochoa
01bd09040e
Stubs next version
2015-10-13 12:44:29 +02:00
Raul Ochoa
ab38e7069a
Release 2.15.0
2015-10-13 12:36:25 +02:00
Raul Ochoa
9449642773
Remove soft-purge option when purging fastly
2015-10-09 16:37:17 +02:00
Raul Ochoa
1f489a4537
Fix broken test due fastly-purge upgrade
2015-10-09 16:02:11 +02:00
Raul Ochoa
6effcfb62e
Upgrades windshaft to 1.1.0 and fastly-purge to 1.0.1
2015-10-09 15:50:39 +02:00
Raul Ochoa
9bc95a6071
List endpoint for layergroups
2015-10-06 19:47:44 +02:00
Raul Ochoa
b80e80bd61
Do not pass MapStore as it is no longer needed in Attributes backend
2015-10-06 19:46:52 +02:00
Raul Ochoa
59fb1dea54
Start using mapconfig-extension branch from windshaft
2015-10-06 18:55:27 +02:00
Raul Ochoa
2cc4cc5deb
Stubs next version
2015-09-30 19:26:33 +02:00
Raul Ochoa
4c5630ac43
Release 2.14.1
2015-09-30 18:52:08 +02:00
Raul Ochoa
3181bcc63e
Remove app dependency from controllers
2015-09-30 18:00:54 +02:00
Raul Ochoa
bf9cb33d63
Fix tests after upgrading windshaft, which includes a fix for layergroupid
2015-09-30 17:55:17 +02:00
Raul Ochoa
e7aa6bbdf9
Upgrade windshaft
2015-09-30 17:44:40 +02:00
Raul Ochoa
550b73ce23
Update news
2015-09-30 17:41:37 +02:00
Raul Ochoa
ffaa756637
Merge pull request #337 from CartoDB/safe-user-extraction
...
Safe user extraction
2015-09-30 17:25:12 +02:00
Raul Ochoa
9cd67f06c1
User extraction from request middleware
...
Used only where potentially a user is required.
It doesn't make sense to extract a user for request that don't need
a user in the context.
2015-09-30 17:17:01 +02:00
Raul Ochoa
79375616d5
Default host to empty string when header is not found
...
A String object is required to not fail on `.match` interface.
2015-09-30 16:31:56 +02:00
Raul Ochoa
ba6b8fbff1
Stubs next version
2015-09-30 11:28:38 +02:00
Raul Ochoa
6c37901824
Release 2.14.0
2015-09-30 11:26:03 +02:00
Raul Ochoa
0cf8661432
Be more specific about windshaft version upgrade
2015-09-30 11:25:07 +02:00
Raul Ochoa
ff561157ac
Use Windshaft from registry
2015-09-30 11:21:25 +02:00
Raul Ochoa
a7cf9fd74f
Regenerate npm-shrinkwrap.json
2015-09-30 11:04:40 +02:00
Raul Ochoa
788d24a455
Merge pull request #335 from CartoDB/standalone-server
...
Standalone server using Windshaft as library
2015-09-30 01:13:16 +02:00
Raul Ochoa
f9e3870941
Update news with all changes related to use Windshaft as library
2015-09-30 00:59:42 +02:00
Raul Ochoa
3a92fdd0f3
Remove sql api related configuration from configure script
2015-09-29 20:00:39 +02:00
Raul Ochoa
6a38defac5
Use Windshaft master branch
2015-09-29 19:42:13 +02:00
Raul Ochoa
3dfa7a8427
Name functions
2015-09-29 19:39:08 +02:00
Raul Ochoa
8dca835a8e
Regenerate npm-shrinkwrap.json
2015-09-29 12:58:48 +02:00
Raul Ochoa
f2278d47a5
Increment map views on static preview images
2015-09-29 12:21:11 +02:00
Raul Ochoa
de3f195187
Merge pull request #333 from CartoDB/remove-outdated-docs
...
Remove outdated docs
2015-09-28 22:15:13 +02:00
Raul Ochoa
f33c3ce21a
rmdirRecursiveSync DRY
2015-09-25 19:56:28 +02:00
Raul Ochoa
67ba424a19
Check style
2015-09-25 19:47:09 +02:00
Raul Ochoa
3376a08eb8
Remove unneeded resources server
2015-09-25 19:45:05 +02:00
Raul Ochoa
1ae15fe209
Remove unneeded resources server
2015-09-25 19:44:11 +02:00
Raul Ochoa
3c2820a5e1
Remove unneeded resources server
2015-09-25 19:43:20 +02:00
Raul Ochoa
8da6088f10
Remove outdated benchmark client
2015-09-25 19:39:49 +02:00
Raul Ochoa
8961a266b3
Remove redis key with test helper
2015-09-25 19:37:53 +02:00
Raul Ochoa
db8ab80bef
Remove redis client
2015-09-25 19:32:30 +02:00
Raul Ochoa
36efc359f7
Remove redis client
2015-09-25 19:30:01 +02:00
Raul Ochoa
4f4dab143e
Make tests to fail if unexpected keys are found in redis
...
Make test fail if they try to remove unexistent redis key
2015-09-25 19:23:33 +02:00
Raul Ochoa
af1e31fb29
Remove console
2015-09-25 19:22:34 +02:00
Raul Ochoa
1f757a7378
check style
2015-09-25 19:21:20 +02:00
Raul Ochoa
6028172018
Delegates redis keys deletion to test client[A
2015-09-25 19:18:28 +02:00
Raul Ochoa
2d374160a1
Delegates redis keys deletion to test client
2015-09-25 19:18:03 +02:00
Raul Ochoa
587fbfb4ff
Delegates redis keys deletion to test client
2015-09-25 19:17:33 +02:00
Raul Ochoa
84820a87c8
Ask for specific redis key removal
2015-09-25 19:16:57 +02:00
Raul Ochoa
937d417e80
Delegates redis keys deletion to test client
2015-09-25 19:14:42 +02:00
Raul Ochoa
5b76cfd4dd
Delegates redis keys deletion to test client
2015-09-25 19:13:46 +02:00
Raul Ochoa
957ed22b95
Delegates redis keys deletion to test client
2015-09-25 19:13:13 +02:00
Raul Ochoa
ebbe89cfb8
Ask for specific redis key removal
2015-09-25 19:11:48 +02:00
Raul Ochoa
c8eb6f275f
Ask for specific redis key removal
2015-09-25 19:07:57 +02:00
Raul Ochoa
5f1213415b
Ask for specific redis key removal
2015-09-25 19:06:04 +02:00
Raul Ochoa
d36ccb2602
Adapts tests to after test client changes
2015-09-25 19:05:37 +02:00
Raul Ochoa
486b803856
Delete redis keys using test helper
2015-09-25 19:04:59 +02:00
Raul Ochoa
d35630329f
Ask for specific redis key removal
2015-09-25 18:41:44 +02:00
Raul Ochoa
aa9f742852
Ask for specific redis key removal
2015-09-25 18:37:21 +02:00
Raul Ochoa
960906e00c
Ask for specific redis key removal
2015-09-25 18:22:45 +02:00
Raul Ochoa
432acd2b0e
Ask for specific redis key removal
2015-09-25 18:20:30 +02:00
Raul Ochoa
84a03a81a0
Ask for specific redis key removal
2015-09-25 18:17:58 +02:00
Raul Ochoa
f64791eadd
Ask for specific redis key removal
2015-09-25 18:04:45 +02:00
Raul Ochoa
51db76ac41
Ask for specific redis key removal
2015-09-25 17:59:00 +02:00
Raul Ochoa
1ec7f71b6c
Ask for specific redis key removal
2015-09-25 17:51:19 +02:00
Raul Ochoa
bb3abdcc48
Remove redis keys after each test
2015-09-25 17:08:38 +02:00
Raul Ochoa
4d3ce038bc
Remove redis keys after each test
2015-09-25 17:04:08 +02:00
Raul Ochoa
d66db547cb
Remove redis keys after each test
2015-09-25 16:25:26 +02:00
Raul Ochoa
ebf1627753
Remove redis keys after each test
2015-09-25 16:23:14 +02:00
Raul Ochoa
bc818ca9cf
Remove redis keys after each test
2015-09-25 16:23:08 +02:00
Raul Ochoa
0827124492
Remove redis keys after each test
2015-09-25 16:16:51 +02:00
Raul Ochoa
fea970f434
Remove redis keys after each test
2015-09-25 16:16:37 +02:00
Raul Ochoa
61cc14939b
Remove redis keys after each test
2015-09-25 16:10:50 +02:00
Raul Ochoa
835d8c867e
Remove redis keys after each test
2015-09-25 16:09:41 +02:00
Raul Ochoa
62601e4252
Remove redis keys after each test
2015-09-25 16:06:19 +02:00
Raul Ochoa
cc0b482c7a
Remove redis keys after each test
2015-09-25 16:05:01 +02:00
Raul Ochoa
ff94f9ca0c
Remove redis keys after each test
2015-09-25 16:03:20 +02:00
Raul Ochoa
8cd25dbd4f
Remove redis keys after each test
2015-09-25 14:51:21 +02:00
Raul Ochoa
8ecf2e10c8
style
2015-09-25 14:50:09 +02:00
Raul Ochoa
5fb13bb545
Remove redis keys after each test
2015-09-25 14:49:59 +02:00
Raul Ochoa
a24b745f5c
Remove redis keys after each test
2015-09-25 14:46:46 +02:00
Raul Ochoa
a127ff8d89
Remove redis keys after each test
2015-09-25 14:44:17 +02:00
Raul Ochoa
d3aa27533a
Remove redis keys after each test
2015-09-25 14:42:40 +02:00
Raul Ochoa
35ec9e0063
Remove redis keys after each test
2015-09-25 14:42:30 +02:00
Raul Ochoa
1bac98d086
Remove redis keys after each test
2015-09-25 14:40:12 +02:00
Raul Ochoa
fc2f759dd3
Remove redis keys after each test
2015-09-25 14:39:39 +02:00
Raul Ochoa
f337a13577
Remove redis keys after each test
2015-09-25 14:39:15 +02:00
Raul Ochoa
eebd89aedb
Remove redis keys after each test
2015-09-25 14:35:58 +02:00
Raul Ochoa
a9573987ec
Remove redis keys after each test
2015-09-25 14:23:13 +02:00
Raul Ochoa
be8c82870f
Add database id for found keys
2015-09-25 14:21:04 +02:00
Raul Ochoa
e667da8453
Remove redis keys being used in tests
2015-09-25 14:20:21 +02:00
Raul Ochoa
1258466529
Remove redis keys used in tests after each test
2015-09-25 14:09:35 +02:00
Raul Ochoa
8495b223c6
Early return when no keys to delete
2015-09-25 14:09:14 +02:00
Raul Ochoa
8339e4a4cb
Remove redis keys used in tests after each test
2015-09-25 14:08:59 +02:00
Raul Ochoa
fa7288e03e
Remove redis keys used in tests after each test
2015-09-25 14:08:35 +02:00
Raul Ochoa
763b6fce6e
Remove redis keys used in each test
2015-09-25 14:07:12 +02:00
Raul Ochoa
7224acca84
Clean all redis keys after each test
2015-09-25 14:06:53 +02:00
Raul Ochoa
e12e7c4170
Don't allow to use suite related functions anymore
2015-09-25 13:37:32 +02:00
Raul Ochoa
0060d751b6
Use describe instead of suite
2015-09-25 13:37:10 +02:00
Raul Ochoa
b368463670
Use describe instead of suite
2015-09-25 13:31:51 +02:00
Raul Ochoa
21eb931701
Remove specific template maps doc as it's redundant info from Map-API.md
2015-09-25 11:21:03 +02:00
Raul Ochoa
e12b44ab2b
Removes internal doc as it's mostly a duplication of Map-API.md
...
It also contains outdated terms and features.
2015-09-25 11:19:07 +02:00
Raul Ochoa
723dc59490
Show some redis stats after running tests
...
By commenting out you can monitor to a file
2015-09-25 09:52:14 +02:00
Raul Ochoa
5e1bc3e199
Named map updates does not emit update event if template didn't change
...
closes #323
2015-09-23 19:59:39 +02:00
Raul Ochoa
857548bbe4
Adds support for named layers in named tiles/static maps
2015-09-23 18:44:11 +02:00
Raul Ochoa
56070f3017
Show some redis stats after running tests
...
By commenting out you can monitor to a file
2015-09-23 17:18:58 +02:00
Raul Ochoa
f553efa69e
Named map mapconfig provider takes care of template modifications
...
If a template changes it will flush the provider so it recreates the mapconfig
2015-09-23 16:45:20 +02:00
Raul Ochoa
84bf375f72
Makes cache async
2015-09-23 14:32:26 +02:00
Raul Ochoa
807455eb3d
Force VACUUM ANALYZE in test table to stabilize test
2015-09-23 14:07:51 +02:00
Raul Ochoa
57284a9398
style
2015-09-23 13:05:35 +02:00
Raul Ochoa
c8705a8022
Use provider to get affected tables in static maps
2015-09-23 13:04:46 +02:00
Raul Ochoa
bbdc4591df
Adds methods to assert mapnik images
2015-09-23 13:04:08 +02:00
Raul Ochoa
0a13e7943b
Split tiles/static
2015-09-22 19:59:27 +02:00
Raul Ochoa
1e0bc57d32
Rename test file
2015-09-22 19:49:01 +02:00
Raul Ochoa
14e6cb05b3
Adds tests for named maps authentication for tiles
2015-09-22 19:48:08 +02:00
Raul Ochoa
b617bb0277
Health check will always return error if file is found even if empty
2015-09-22 15:15:57 +02:00
Raul Ochoa
ac7b02a434
Adds test for corner case in health check
2015-09-22 14:55:50 +02:00
Raul Ochoa
17458f3f4e
Use windshaft's backend-foundations branch as it already has mvt support
2015-09-22 14:13:09 +02:00
Raul Ochoa
e87fc8a839
Merge branch 'standalone-server' into standalone-server-mvt
2015-09-22 12:28:16 +02:00
Raul Ochoa
6cf4d53b7c
Merge branch 'master' into standalone-server
...
Conflicts:
lib/cartodb/controllers/named_static_maps.js
2015-09-21 23:55:17 +02:00
Raul Ochoa
619545b993
Stubs next version
2015-09-21 22:49:06 +02:00
Raul Ochoa
e75d17f0e1
Release 2.13.0
2015-09-21 22:45:50 +02:00
Raul Ochoa
77a5b70576
Update news and bump version
2015-09-21 22:43:33 +02:00
Raul Ochoa
59b0a00c6f
Merge pull request #332 from CartoDB/static-namedmaps-x-cache
...
Keep x-cache-channel in named map static maps
2015-09-21 22:40:42 +02:00
Raul Ochoa
5d24da4f2b
Keep x-cache-channel in named map static maps
2015-09-21 22:36:13 +02:00
Raul Ochoa
0d3e96ee9f
Merge branch 'standalone-server' into standalone-server-mvt
2015-09-18 17:23:58 +02:00
Raul Ochoa
16480a6c44
log as warn
2015-09-18 17:23:37 +02:00
Raul Ochoa
813a59a36e
Removes function from control flow
2015-09-18 17:16:30 +02:00
Raul Ochoa
23fd33030d
remove console.log
2015-09-18 17:13:37 +02:00
Raul Ochoa
2bdce4baa7
Replaces console.log with global logger
2015-09-18 17:13:22 +02:00
Raul Ochoa
d2df0b7c84
Configure log4js in test environment so it doesn't output by default
2015-09-18 16:59:45 +02:00
Raul Ochoa
16468b1216
remove console.log
2015-09-18 16:45:35 +02:00
Raul Ochoa
3abdee5e87
use debug for corner case
2015-09-18 16:40:55 +02:00
Raul Ochoa
d69a69da94
remove console.log
2015-09-18 16:39:52 +02:00
Raul Ochoa
bc806bba34
remove console.log
2015-09-18 16:39:30 +02:00
Raul Ochoa
81081ba2d4
Remove console.log from test
2015-09-18 16:26:54 +02:00
Raul Ochoa
5ad567803d
Set backlog on server listen
2015-09-18 16:25:10 +02:00
Raul Ochoa
486cafba9d
re-generate npm-shrinkwrap.json
2015-09-18 03:06:26 +02:00
Raul Ochoa
c0a1119d1d
Merge branch 'standalone-server' into standalone-server-mvt
2015-09-18 02:58:39 +02:00
Raul Ochoa
bd4894ebd3
Starts modifying readme
2015-09-18 02:58:16 +02:00
Raul Ochoa
e9e95eda0a
Merge branch 'standalone-server' into standalone-server-mvt
2015-09-18 02:31:38 +02:00
Raul Ochoa
1b3f1ba2e8
Merge pull request #331 from CartoDB/standalone-server-express-4
...
Upgrade express to 4.x
2015-09-18 02:09:23 +02:00
Raul Ochoa
5e27f981de
Regenerate npm-shrinkwrap.json
2015-09-18 01:58:47 +02:00
Raul Ochoa
c97f78bb39
Merge branch 'standalone-server' into standalone-server-mvt
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-09-18 01:34:14 +02:00
Raul Ochoa
f7b1032b7a
Do not fail for now if there are pending keys in redis
2015-09-17 18:24:12 +02:00
Raul Ochoa
7ee2649feb
Remove redis keys having in mind last updated time
2015-09-17 18:12:45 +02:00
Raul Ochoa
281320f2c4
use 127.0.0.1 instead of localhost
2015-09-17 17:51:34 +02:00
Raul Ochoa
30f7c74aee
Reenable external resources tests using 127.0.0.1
2015-09-17 17:36:23 +02:00
Raul Ochoa
2dfd7257dd
Try to run in travis with external resources disabled
2015-09-17 17:19:31 +02:00
Raul Ochoa
1f9dd5fd8c
re-enable nock after every suite
2015-09-17 17:14:32 +02:00
Raul Ochoa
dd83c05a89
restore nock globally after each suite
2015-09-17 15:10:23 +02:00
Raul Ochoa
30cba053da
Check there is no unexepcted keys on redis after tests
2015-09-17 15:07:54 +02:00
Raul Ochoa
5428d3f0b0
Remove __dirname
2015-09-17 13:58:45 +02:00
Raul Ochoa
95398354e3
require test helper
2015-09-17 13:58:22 +02:00
Raul Ochoa
7e73216539
Remove unused variables
2015-09-17 13:44:37 +02:00
Raul Ochoa
bbac1df463
Moves acceptance test about statsd uncaugth exception to integration
2015-09-17 13:40:01 +02:00
Raul Ochoa
208dd209a4
Merge branch 'standalone-server' into standalone-server-express-4
...
Conflicts:
lib/cartodb/controllers/base.js
2015-09-17 12:57:33 +02:00
Raul Ochoa
9139feaa30
Move error message handling test to unit
2015-09-17 12:48:29 +02:00
Raul Ochoa
f9f6c8b700
Use debug instead of console
2015-09-17 12:03:58 +02:00
Raul Ochoa
db8457af60
status + send on syntax error handler
2015-09-17 11:07:02 +02:00
Raul Ochoa
361dd00e9d
Use debug instead of console
2015-09-17 11:06:46 +02:00
Raul Ochoa
7fd870cfd2
Rewrite assert.response using request module
2015-09-17 02:06:46 +02:00
Raul Ochoa
967ef99277
Fix jsonp tests
2015-09-17 02:06:32 +02:00
Raul Ochoa
d93abe8e7d
Change to delete
2015-09-17 02:05:47 +02:00
Raul Ochoa
a4ba21f9db
Call send with correct params
2015-09-17 02:05:25 +02:00
Raul Ochoa
feabb20748
Send depending on body type
2015-09-17 02:04:30 +02:00
Raul Ochoa
31fe06e3ce
Use listener and remove etag
2015-09-17 02:04:10 +02:00
Raul Ochoa
ef86bacf7f
Set headers with set method
2015-09-17 02:03:09 +02:00
Raul Ochoa
beabe48aec
Upgrade express, adds body-parser
...
- basic changes in server
- basic changes in unit tests
2015-09-17 00:19:00 +02:00
Raul Ochoa
e335f51dbc
Makefile getting tests with find command
2015-09-16 23:18:38 +02:00
Raul Ochoa
38e422e84c
Moves sendError and sendResponse to Base controller
...
Test for findStatusCode moved to controller
2015-09-16 21:54:56 +02:00
Raul Ochoa
1d6d11171d
Fix test to not rely on network
2015-09-16 19:53:14 +02:00
Raul Ochoa
e32ced107e
Fix all ported tests related to req2params
2015-09-16 18:09:39 +02:00
Raul Ochoa
99d78ce9b8
Remove unused variables
2015-09-16 17:02:35 +02:00
Raul Ochoa
066aff16f1
Use global for req2params number of request assert
2015-09-16 16:58:08 +02:00
Raul Ochoa
352dc6b311
BaseController to encapsulate req2params method
...
All controllers now extending BaseController
- Most of the acceptance ported tests will be broken
2015-09-16 16:18:26 +02:00
Raul Ochoa
a176ddbf3f
Regenerate npm-shrinkwrap.json
2015-09-16 13:25:57 +02:00
Raul Ochoa
1c6571d1db
Upgrade dependencies and regenerate npm-shrinkwrap.json
...
Surrogate keys tests sleeping :-(
2015-09-16 13:17:03 +02:00
Raul Ochoa
bf7b35230f
Regenerate npm-shrinkwrap.json
2015-09-16 11:44:12 +02:00
Raul Ochoa
46d901ada7
Merge branch 'standalone-server' into standalone-server-mvt
2015-09-16 11:09:27 +02:00
Raul Ochoa
66f94d9452
Fix test
2015-09-16 02:49:18 +02:00
Raul Ochoa
62f428f434
Remove app dependency
2015-09-16 01:48:54 +02:00
Raul Ochoa
713ad03c3b
No need to expose findStatusCode at app level
2015-09-16 01:44:30 +02:00
Raul Ochoa
ad2ebc11dd
Remove unused require
2015-09-16 01:39:15 +02:00
Raul Ochoa
72a0c4a487
New sendResponse and sendError methods
...
- fixes response for static named map error cases
2015-09-16 01:36:51 +02:00
Raul Ochoa
fba5a35514
Move sendResponse and sendError to response object
2015-09-15 19:28:02 +02:00
Raul Ochoa
e2e5e40ea9
Fix maxcomplexity
2015-09-15 19:01:34 +02:00
Raul Ochoa
f5660667c8
Move req.profiler call to req2params itself
2015-09-15 18:16:50 +02:00
Raul Ochoa
64e225c4aa
Merge branch 'master' into standalone-server
2015-09-15 11:48:33 +02:00
Raul Ochoa
126491fc93
Remove unused xml file that was used in health check
2015-09-15 11:46:19 +02:00
Raul Ochoa
ea872d96f8
Listen to renderer cache events and log stats
2015-09-14 19:24:24 +02:00
Raul Ochoa
3f7202d89c
Port tests for stats
2015-09-14 19:07:53 +02:00
Raul Ochoa
2d3088ba27
Port everything related to stats from windshaft
2015-09-14 18:47:01 +02:00
Raul Ochoa
469b602484
Attributes backend using mapconfig provider to access attributes
2015-09-14 18:46:22 +02:00
Raul Ochoa
aa6f00f927
Merge branch 'standalone-server' into standalone-server-mvt
2015-09-10 12:06:21 +02:00
Raul Ochoa
67afd8738b
Remove renderer cache param from attributes backend
2015-09-10 00:47:32 +02:00
Raul Ochoa
98d6170870
Adds notes about contributing
2015-09-08 16:44:44 +02:00
Raul Ochoa
b2e1e5361f
Merge branch 'standalone-server' into standalone-server-mvt
...
Conflicts:
npm-shrinkwrap.json
2015-09-08 15:46:23 +02:00
Raul Ochoa
f96c80d7a1
Merge branch 'master' into standalone-server
...
Conflicts:
lib/cartodb/cartodb_windshaft.js
2015-09-08 15:42:30 +02:00
Raul Ochoa
7ae034d746
Remove no longer needed health check params
2015-09-07 18:40:20 +02:00
Raul Ochoa
c409c146bf
Upgrade CDB_QueryTables to use latest version
2015-09-07 17:17:40 +02:00
Raul Ochoa
e0a7eb01cc
Use torque renderer config
...
Adds some notes about db pool params in torque
2015-09-04 16:33:40 +02:00
Raul Ochoa
3af2136770
Merge branch 'master' into standalone-server
...
Conflicts:
lib/cartodb/cartodb_windshaft.js
lib/cartodb/monitoring/health_check.js
2015-09-04 13:21:54 +02:00
Raul Ochoa
13a2001a2b
Merge pull request #329 from CartoDB/health-check-no-results
...
Do not return results from health check
2015-08-28 18:50:00 +02:00
Raul Ochoa
d6102284a4
Do not return results from health check
...
It also removed old dependencies and takes disabled file path in ctor.
2015-08-28 17:41:40 +02:00
Raul Ochoa
c56ef8e0da
Merge branch 'master' into standalone-server
...
Conflicts:
app.js
npm-shrinkwrap.json
package.json
2015-08-28 13:54:56 +02:00
Raul Ochoa
bb17609ea3
Stubs next version
2015-08-27 17:48:06 +02:00
Raul Ochoa
f2f342e14c
Release 2.12.0
2015-08-27 17:46:29 +02:00
Raul Ochoa
11bd07ee6b
Merge pull request #328 from CartoDB/upgrade-windshaft
...
Upgrades windshaft to 0.51.0
2015-08-27 17:39:14 +02:00
Raul Ochoa
fa85dcbc4c
Upgrades windshaft to 0.51.0
2015-08-27 17:24:38 +02:00
Raul Ochoa
473ae13a03
Merge pull request #327 from CartoDB/http-agent-configuration
...
Make http and https globalAgent options configurable
2015-08-27 16:44:55 +02:00
Raul Ochoa
0561a28a4d
Make http and https globalAgent options configurable
2015-08-27 16:28:16 +02:00
Raul Ochoa
b3467116fe
Stubs next version
2015-08-26 09:55:15 +02:00
Raul Ochoa
e667d10eb8
Release 2.11.0
2015-08-26 09:52:53 +02:00
Raul Ochoa
a5bda00cdd
Merge pull request #326 from CartoDB/upgrade-windshaft
...
Upgrades windshaft to 0.50.0
2015-08-25 19:32:28 +02:00
Raul Ochoa
627bc672bc
Upgrades windshaft to 0.50.0
2015-08-25 19:27:00 +02:00
Raul Ochoa
9ef96080a6
Log PID on start
2015-08-24 12:45:21 +02:00
Raul Ochoa
bf4844e664
Stubs next version
2015-08-18 16:35:02 +02:00
Raul Ochoa
06f454abcf
Release 2.10.0
2015-08-18 16:33:44 +02:00
Raul Ochoa
9d4e4a99bc
Merge pull request #325 from CartoDB/upgrade-windshaft-tilelive-cache
...
Upgrades windshaft
2015-08-18 16:29:22 +02:00
Raul Ochoa
b77be76f51
Bump version and add news
2015-08-18 15:22:27 +02:00
Raul Ochoa
3121ed9a95
Config samples for metatileCache with default behaviour
2015-08-18 15:18:58 +02:00
Raul Ochoa
37dfd8fc12
Upgrade windshaft
2015-08-18 15:18:44 +02:00
Raul Ochoa
de2719b0c5
Stubs next version
2015-08-06 18:03:00 +02:00
Raul Ochoa
e3d5abc9a2
Release 2.9.0
2015-08-06 18:02:09 +02:00
Raul Ochoa
ea7a5da1c1
Merge pull request #324 from CartoDB/memory-stats
...
Send memory usage stats
2015-08-06 16:12:18 +02:00
Raul Ochoa
2e063cc2d2
Send memory usage stats
2015-08-06 16:06:42 +02:00
Raul Ochoa
943509864d
Improve uniqueness of named map map config provider
2015-07-31 12:24:34 +02:00
Raul Ochoa
2ac228359f
Fallback to image/png header
2015-07-31 12:23:36 +02:00
Raul Ochoa
909f8da2ff
Adds lru cache for layergroups and named maps mapconfig provider
2015-07-15 16:51:26 +02:00
Raul Ochoa
5a5832394a
Remove console.log
2015-07-15 16:10:59 +02:00
Raul Ochoa
52b60a22fd
Makes all tests to run together
2015-07-15 16:09:43 +02:00
Raul Ochoa
116da64e5c
More strict cyclomatic complexity check
2015-07-15 15:10:59 +02:00
Raul Ochoa
9c6c63c167
More strict jshint
2015-07-15 15:03:28 +02:00
Raul Ochoa
e7284262e4
Merge branch 'master' into standalone-server
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-07-15 12:20:12 +02:00
Raul Ochoa
decd9077e4
Stubs next version
2015-07-15 11:44:59 +02:00
Raul Ochoa
f6c47bf85e
Release 2.8.0
2015-07-15 11:43:54 +02:00
Raul Ochoa
423191c13b
Merge pull request #319 from CartoDB/upgrade-windshaft
...
Upgrades windshaft to 0.48.0
2015-07-15 11:43:09 +02:00
Raul Ochoa
7a5928d957
Upgrades windshaft to 0.48.0
2015-07-15 11:31:26 +02:00
Raul Ochoa
bbec3ae7da
Subscribes to named map changes to invalidate cache
2015-07-14 21:18:10 +02:00
Raul Ochoa
1f7daab677
Caching named map providers by template name and config/auth token
...
Named Map provider cache buster changes on creation
2015-07-14 21:17:58 +02:00
Raul Ochoa
91ab64dda9
Fix cached result in getAffectedTablesAndLastUpdatedTime
2015-07-14 21:00:27 +02:00
Raul Ochoa
722705468f
Not adding surrogate keys for empty affected tables
2015-07-14 20:53:26 +02:00
Raul Ochoa
07c920bad5
Use named map provider cache to retrieve providers
2015-07-14 20:53:06 +02:00
Raul Ochoa
6d3ef11a7c
Fix cache usage in layergroup affected tables
2015-07-14 20:11:49 +02:00
Raul Ochoa
4aabe9d946
Named maps controller adding cache headers
...
This requires a cache for affected tables as it is hitting db for
every request right now
2015-07-14 20:10:55 +02:00
Raul Ochoa
7247b20686
Unify sendResponse in named maps controller
2015-07-14 17:34:05 +02:00
Raul Ochoa
8e8f618a22
assert instead of ifs
2015-07-14 17:33:42 +02:00
Raul Ochoa
a50af0ee64
Merge branch 'master' into standalone-server
2015-07-14 16:36:26 +02:00
Raul Ochoa
436c334f5a
Stubs next version
2015-07-14 16:33:12 +02:00
Raul Ochoa
4f84138ade
Release 2.7.2
2015-07-14 16:32:04 +02:00
Raul Ochoa
a0d86ac5dc
Update news
2015-07-14 16:28:51 +02:00
Raul Ochoa
d426702213
Merge branch 'master' into standalone-server
2015-07-14 16:24:39 +02:00
Raul Ochoa
e2be4f1275
Merge pull request #314 from CartoDB/use-cdb-query-tables-text
...
Use CDB_QueryTablesText instead of CDB_QueryTables
2015-07-14 16:20:23 +02:00
Raul Ochoa
c97610ad59
style
2015-07-14 14:30:37 +02:00
Raul Ochoa
e8b5845174
Shared cache for affected tables in layergroup and map controllers
2015-07-14 13:40:41 +02:00
Raul Ochoa
c295584864
Cache channel now in layergroup controller
...
Internal cache channel dbname+layergroupid cache must be unified in layergroup
and map controllers
Removes sendWithHeaders
2015-07-14 11:55:49 +02:00
Raul Ochoa
36257f73b9
Better format
2015-07-13 17:18:50 +02:00
Raul Ochoa
9355a5ca24
Tests for surrogate keys in layergroup anonymous instantiation
2015-07-13 16:54:08 +02:00
Raul Ochoa
d6447ef311
Fix tests related to surrogate keys, includes tables
2015-07-13 16:36:41 +02:00
Raul Ochoa
5e2a20fbe0
Tags layergroup instantiation with surrogate keys per affected tables
2015-07-13 16:15:34 +02:00
Raul Ochoa
76823f7529
No need to pass a reference to itself
2015-07-13 15:06:22 +02:00
Raul Ochoa
96a6a0d980
Using MapStore, no need to attach it to app
2015-07-13 15:05:45 +02:00
Raul Ochoa
b05701be61
Authentication/Authorization moves to its own entity
2015-07-13 15:05:03 +02:00
Raul Ochoa
962ac97433
regenerate npm-shrinkwrap.json
2015-07-13 12:52:12 +02:00
Raul Ochoa
9491b81d0c
Standalone server with MVT support
2015-07-13 12:34:52 +02:00
Raul Ochoa
316f08df08
named maps tiles sending tile headers
2015-07-13 11:53:23 +02:00
Raul Ochoa
f9554ec761
Re-enable render limits
2015-07-10 19:10:55 +02:00
Raul Ochoa
e128b1d750
remove unused method
2015-07-10 12:33:01 +02:00
Raul Ochoa
e45efbcfb0
New map config provider to allow injecting limits in context
2015-07-10 12:31:56 +02:00
Raul Ochoa
847ab96a48
RendererFactory changes for new signature
2015-07-10 12:30:52 +02:00
Raul Ochoa
1e52f790ad
One pass for prepare request and response objects
2015-07-10 11:25:20 +02:00
Raul Ochoa
9bece712a9
Splits controllers and supports after layergroup creation actions
2015-07-10 11:24:32 +02:00
Raul Ochoa
6e0678e084
better style
2015-07-10 01:31:06 +02:00
Raul Ochoa
579cabdc1a
Initial refactor of layergroup creation
2015-07-10 01:30:38 +02:00
Raul Ochoa
9f252dfac4
Improve named map config format for cache key
2015-07-09 19:49:11 +02:00
Raul Ochoa
5aad624346
NamedMaps controller using NamedMapMapConfigProvider
...
PreviewBackend with format param
2015-07-09 18:47:21 +02:00
Raul Ochoa
23d1109910
Adds named maps mapconfig provider
...
starts using it in named map instantiation
2015-07-09 14:39:25 +02:00
Raul Ochoa
ae2a72a810
Fix named maps controller using MapStoreMapConfig
2015-07-09 13:37:00 +02:00
Raul Ochoa
ed096c3a1a
disable tests, time to work on a named map provider before fixing 'em
2015-07-08 20:51:55 +02:00
Raul Ochoa
123346ebdb
Refactor controllers to use map store map config provider
2015-07-08 20:51:36 +02:00
Raul Ochoa
8540965696
fix health check tests
2015-07-08 20:50:34 +02:00
Raul Ochoa
c8568b175b
Move server info to its own controller
2015-07-08 16:08:38 +02:00
Raul Ochoa
1737cbe1a5
Unifies named map instantiation so it's easy to work on it
2015-07-08 15:50:59 +02:00
Raul Ochoa
c81048312d
Context with user
2015-07-08 15:34:46 +02:00
Raul Ochoa
ac3afd5695
Fix jshint
2015-07-08 13:28:07 +02:00
Raul Ochoa
fa84813a37
Manage cors with a middleware
2015-07-08 13:27:56 +02:00
Raul Ochoa
8cd3807100
Split named maps administration from instantiation/usage
2015-07-08 13:11:57 +02:00
Raul Ochoa
7aeb54d53d
Enables multilayer ported tests
2015-07-08 12:59:49 +02:00
Raul Ochoa
725ff41fb1
Ports tile stats tests from windshaft
2015-07-08 00:19:11 +02:00
Raul Ochoa
d071fe6d0c
Ports windshaft server unit tests
2015-07-08 00:12:32 +02:00
Raul Ochoa
2234a763cb
Uses model through model namespace
2015-07-07 23:52:39 +02:00
Raul Ochoa
d52b65470e
Ports acceptance tests from windshaft
2015-07-07 23:46:58 +02:00
Raul Ochoa
b63e697934
Handle no layers case
2015-07-07 23:45:56 +02:00
Raul Ochoa
8a036c79c7
Merge branch 'master' into standalone-server
...
Conflicts:
app.js
2015-07-07 12:36:39 +02:00
Raul Ochoa
9a393fa793
Adds some notes about uv_threadpool_size and mapnik renderer pool size
2015-07-07 12:27:09 +02:00
Raul Ochoa
7614f72df6
Stubs next version
2015-07-06 11:58:08 +02:00
Raul Ochoa
ef2db78567
Release 2.7.1
2015-07-06 11:56:30 +02:00
Raul Ochoa
8708468444
fix 2.7.0 release date
2015-07-06 11:56:18 +02:00
Raul Ochoa
cd28a4fbcc
redis-mpool noReadyCheck and unwatchOnRelease options from config
...
do not extend them as it disallows to pick from config
2015-07-06 11:52:34 +02:00
Raul Ochoa
e49881d1ed
Improve authorizedBySigner
2015-07-06 03:23:51 +02:00
Raul Ochoa
aa266f9b61
Improve authorizedByAPIKey
2015-07-06 03:19:56 +02:00
Raul Ochoa
ccd3d0a3bf
Merge branch 'named-maps-tiles' into standalone-server
...
Conflicts:
app.js
2015-07-06 02:55:13 +02:00
Raul Ochoa
69fc367f69
Empty results/png directory
2015-07-06 02:32:13 +02:00
Raul Ochoa
a9f24542d5
regenerate npm-shrinkwrap.json
2015-07-06 02:09:06 +02:00
Raul Ochoa
8e4e458a2a
fix jshint
2015-07-06 02:08:56 +02:00
Raul Ochoa
feec7805af
Merge branch 'master' into named-maps-tiles
...
Conflicts:
npm-shrinkwrap.json
package.json
2015-07-06 01:32:33 +02:00
Raul Ochoa
19f488095b
Stubs next version
2015-07-06 01:07:30 +02:00
Raul Ochoa
cd65c6dd0e
Release 2.7.0
2015-07-06 01:05:28 +02:00
Raul Ochoa
0c670cfdfd
Merge pull request #318 from CartoDB/upgrade-windshaft
...
Upgrades windshaft to 0.47.0
2015-07-05 21:51:34 +02:00
Raul Ochoa
27ff1ac4f6
Upgrades windshaft to 0.47.0
2015-07-05 21:16:12 +02:00
Raul Ochoa
3f06de93f7
Merge pull request #317 from CartoDB/improve-redis
...
Improve redis
2015-07-05 21:11:34 +02:00
Raul Ochoa
0da6495330
Fixes unwatchOnRelease redis config
2015-07-05 21:00:25 +02:00
Raul Ochoa
bf24347328
Exposes redis noReadyCheck config
2015-07-05 20:59:52 +02:00
Raul Ochoa
7a5d73f9df
Upgrades redis-mpool
2015-07-05 20:58:39 +02:00
Raul Ochoa
7fc403425d
metadata backend
2015-07-04 23:44:39 +02:00
Raul Ochoa
ef171bf2af
reverts map store changes
2015-07-04 23:38:15 +02:00
Raul Ochoa
b74a6624e3
remove redundant code
2015-07-04 23:32:26 +02:00
Raul Ochoa
19bf1fe56b
note about token format
2015-07-04 23:32:19 +02:00
Raul Ochoa
ea6bb8dca3
fix jsdoc
2015-07-04 23:20:12 +02:00
Raul Ochoa
9d6d3f96b2
Unify mapstore
2015-07-04 23:18:09 +02:00
Raul Ochoa
5967c5d1d5
Reorg app.js
2015-07-04 23:09:00 +02:00
Raul Ochoa
a6017c6ade
Reorg requires
2015-07-04 21:33:31 +02:00
Raul Ochoa
2d3f2667ca
Standalone server initial implementation
...
- no dependency over Windshaft.Server
2015-07-04 20:41:22 +02:00
Raul Ochoa
ed90cadd75
fix jshint
2015-07-02 16:35:13 +02:00
Raul Ochoa
0d9f34fd48
Stubs next version
2015-07-02 15:48:58 +02:00
Raul Ochoa
da55a3bdd2
Release 2.6.1
2015-07-02 15:47:40 +02:00
Raul Ochoa
333334e598
Upgrades windshaft
2015-07-02 15:41:48 +02:00
Raul Ochoa
7168e4410c
Stubs next version
2015-07-02 14:12:41 +02:00
Raul Ochoa
3ff8571f4a
Release 2.6.0
2015-07-02 14:11:39 +02:00
Raul Ochoa
75ddcbbd01
Updates windshaft to 0.46.0 and documents new config formatMetatile
2015-07-02 13:28:37 +02:00
Raul Ochoa
91a44980f3
Skips limits tests until beforeRendererCreate is available
2015-07-02 02:03:03 +02:00
Raul Ochoa
034f3c77ce
modifies controllers to use new mapbackend signatures
2015-07-02 02:02:22 +02:00
Raul Ochoa
9b3e18f333
Merge pull request #315 from CartoDB/readme_update
...
Update instructions
2015-07-01 09:37:57 +02:00
Juan Ignacio Sánchez Lara
fcb0a4a7e6
Less specific upgrade help
2015-07-01 07:22:37 +02:00
Raul Ochoa
5a003a7cbe
Initial/dummy implementation for named maps tiles
...
Issues:
- creates a layergroup per tile:
- trigges a mapview
- extracts each time affected tables and last update
- duplicates a lot of code from NamedStaticMapsController
- keeps relying on fake request concept
2015-06-30 15:41:57 +02:00
Juan Ignacio Sánchez Lara
94e38cef9d
Update instructions
2015-06-30 11:00:32 +02:00
Raul Ochoa
d13d107aea
Adds names to functions
2015-06-29 19:18:52 +02:00
Raul Ochoa
4f87796e9c
Uses backend-foundations branch to use createLayergroup from backend
2015-06-29 18:58:58 +02:00
Raul Ochoa
837da45f4f
Merge branch 'master' into named-maps-tiles
2015-06-29 18:37:11 +02:00
Raul Ochoa
9e30f05e7d
Reverts to use cdb branch as is already published
2015-06-29 16:46:07 +02:00
Raul Ochoa
0df725112b
Update CDB_QueryTables function
2015-06-29 16:42:55 +02:00
Raul Ochoa
098ed6b203
New endpoint for named maps tiles
2015-06-29 16:39:35 +02:00
Raul Ochoa
c6f9152efe
Moves template maps to backends directory
2015-06-29 16:38:13 +02:00
Raul Ochoa
9ea2029f81
Deprecating scripts from tools directory
2015-06-25 18:07:48 +02:00
Raul Ochoa
2715f47a22
Points CDB_QueryTables script to the branch with CDB_QueryTablesText
2015-06-24 19:07:41 +02:00
Rafa de la Torre
90d0b23441
Use CDB_QueryTablesText instead of CDB_QueryTables
...
This avoids trouble with len(schema.table_name) > 63
See https://github.com/CartoDB/cartodb-postgresql/issues/86
2015-06-24 15:43:04 +02:00
Raul Ochoa
b59e0a00a0
Merge pull request #313 from CartoDB/cartodb-layer-docs
...
Update Map-API docs
2015-06-23 15:04:16 +02:00
Andrew Thompson
790571fd2c
Update Map-API docs
...
It was not clear to me what the difference was between a mapnik layer and a cartodb layer until I read the comments in the Mapconfig spec! Let's save some users the extra step :)
2015-06-22 11:14:57 -04:00
Raul Ochoa
6ecebae110
Adds test to validate (once it is fixed) long table names do not fail
2015-06-18 16:29:59 +02:00
Raul Ochoa
849470a3c0
Stubs next version
2015-06-18 12:55:38 +02:00
Raul Ochoa
74d0a6f183
Release 2.5.0
2015-06-18 12:53:45 +02:00
Raul Ochoa
61c134215a
Bumps version and regenerates npm-shrinkwrap.json
2015-06-18 12:29:02 +02:00
Raul Ochoa
b7218d8832
Fix list style
2015-06-18 12:19:03 +02:00
Raul Ochoa
63e19427af
Fix documentation error examples to match 'General Concepts' guidelines
2015-06-18 12:17:17 +02:00
Raul Ochoa
d4f8578fd6
Merge pull request #312 from CartoDB/issue-311
...
Adds layergroupid header
2015-06-18 11:21:03 +02:00
Raul Ochoa
eaccd062d3
Adds layergroupid header
...
Closes #311
2015-06-18 01:13:33 +02:00
Raul Ochoa
5f2d5931f4
Regenerate npm-shrinkwrap.json using master branch
2015-06-12 15:48:03 +02:00
Raul Ochoa
ce40fa608e
Clarify bounds meaning in template view
2015-06-08 14:31:04 -04:00
Raul Ochoa
0979c75852
Merge pull request #308 from CartoDB/issue-305
...
Named maps error responses with valid format
2015-06-08 10:49:22 -04:00
Raul Ochoa
f01e8e0866
Merge pull request #304 from CartoDB/docs-revamp
...
Documentation for named maps static images + view option in templates
2015-06-08 10:49:08 -04:00
Raul Ochoa
a4e303ab63
Remove console.log from tests
2015-06-08 10:37:56 -04:00
Raul Ochoa
c5137c9c29
Update news
2015-06-05 13:41:46 -04:00
Raul Ochoa
9bce88f9b1
Fix tests
2015-06-05 13:39:25 -04:00
Raul Ochoa
68c70effec
Named maps returning errors=>Array instead of error=>String
2015-06-05 13:38:38 -04:00
Raul Ochoa
ebae218219
Use windshaft branch with unified error reponses format
2015-06-05 13:37:49 -04:00
Raul Ochoa
6685b759b2
Remove duplicated module.exports
2015-06-04 20:14:36 -04:00
Raul Ochoa
539b0496bf
Update news
2015-06-04 12:53:59 -04:00
Raul Ochoa
3c33fac8f4
Merge pull request #307 from CartoDB/template-names
...
Changes rules for names in templates
2015-06-04 12:52:30 -04:00
Raul Ochoa
9613f76ef5
Keep placeholder key validation independent from name validation
2015-06-04 11:58:24 -04:00
Raul Ochoa
3f0d344313
Changes rules for names in templates
...
Now valid names can start with numbers and can contain dashes (-).
Closes #306
2015-06-04 10:41:40 -04:00
Raul Ochoa
823ee63c25
Merge branch 'master' into docs-revamp
...
Conflicts:
docs/Map-API.md
2015-06-03 17:11:01 -04:00
Raul Ochoa
d5d76f9c63
Adds information about named map static images endpoint
2015-06-03 17:09:10 -04:00
Raul Ochoa
dfc9a6fbb4
Documentation about view in named maps' templates
...
Closes #287
2015-06-03 17:00:42 -04:00
Raul Ochoa
2bd9aece35
Add header for zoom + center in static maps
2015-06-03 17:00:05 -04:00
Raul Ochoa
21870c9fa2
Merge branch 'master' into docs-revamp
2015-06-03 16:57:24 -04:00
Raul Ochoa
7c315b3afd
Merge pull request #303 from CartoDB/links-to-map-config
...
Updated links to MapConfig 1.3.0
2015-06-03 16:37:24 -04:00
Pablo Alonso Garcia
da0cdb081d
Updated links to MapConfig 1.3.0
2015-06-03 10:48:42 +02:00
Carlos Matallín
9bd0a3f1c9
Update Map-API.md
2015-06-01 17:00:53 +02:00
Raul Ochoa
83992895e4
Merge pull request #301 from CartoDB/layers-documentation
...
Documentation about layers metadata and layer selection/filtering
2015-06-01 16:48:14 +02:00
Raul Ochoa
aa3b336e46
Stubs next version
2015-06-01 15:50:53 +02:00
Raul Ochoa
e17b374fde
Release 2.4.1
2015-06-01 15:49:30 +02:00
Raul Ochoa
61158b62f1
Update news
2015-06-01 15:46:32 +02:00
Raul Ochoa
88ed43a92e
Merge pull request #302 from CartoDB/upgrade-windshaft
...
Upgrade windshaft
2015-06-01 14:28:28 +02:00
Raul Ochoa
e5fff6b452
Merge branch 'master' into upgrade-windshaft
2015-06-01 14:19:49 +02:00
Raul Ochoa
044d49c53a
Uses windshaft 0.44.1 from registry
2015-06-01 12:20:44 +02:00
Raul Ochoa
69abf8d9b1
uses windshaft's master branch
2015-06-01 11:35:57 +02:00
Andy Eschbacher
14e13899a6
made minor changes
2015-05-28 11:02:34 -04:00
Raul Ochoa
488c246222
Documentation about layers metadata and layer selection
2015-05-28 15:10:55 +02:00
Raul Ochoa
654905a79c
Stubs next version
2015-05-26 15:53:07 +02:00
Raul Ochoa
12cb199803
Release 2.4.0
2015-05-26 15:52:28 +02:00
Raul Ochoa
8759cf726b
Merge pull request #300 from CartoDB/upgrade-windshaft
...
Bumps windshaft version to 0.44.0
2015-05-26 15:50:19 +02:00
Raul Ochoa
7a45c9e434
Bumps windshaft version to 0.44.0
...
- adds a test to validate metadata is returned for unrolled named layers
2015-05-26 15:39:21 +02:00
Raul Ochoa
9ee69dea55
Stubs next version
2015-05-18 18:11:48 +02:00
Raul Ochoa
ebe38e977f
Release 2.3.0
2015-05-18 18:10:47 +02:00
Raul Ochoa
40ad143c3e
Merge pull request #299 from CartoDB/upgrade-cartodb-redis
...
Upgrades cartodb-redis for `global` map stats
2015-05-18 18:08:06 +02:00
Raul Ochoa
875159fa5f
Upgrades cartodb-redis for global map stats
2015-05-18 17:40:41 +02:00
Raul Ochoa
c97c65de34
Fixes multilayer link
2015-05-18 11:24:06 +02:00
Raul Ochoa
25ae09b2c5
Update patch to generate routes document
2015-04-29 17:18:36 +02:00
Raul Ochoa
853c2b4b85
Adds new route for named maps static previews
2015-04-29 17:17:46 +02:00
Raul Ochoa
682db1ca75
Stubs next version
2015-04-29 15:26:56 +02:00
Raul Ochoa
d56bd8de72
Release 2.2.0
2015-04-29 15:18:47 +02:00
Raul Ochoa
1df91aee6f
Merge pull request #293 from CartoDB/named-static-maps
...
Named static maps
2015-04-29 12:48:02 +02:00
Raul Ochoa
b64eaed7ed
Enables any URL in HTTP renderer whitelist in example configurations
2015-04-29 12:15:26 +02:00
Raul Ochoa
03dae8a93a
changes about tests
2015-04-29 10:35:11 +02:00
Raul Ochoa
6b93fa0575
Update news
2015-04-29 10:31:47 +02:00
Raul Ochoa
5a9a2d7449
Use windshaft's registry version
2015-04-29 10:21:23 +02:00
Raul Ochoa
8d200686fd
regenerate npm-shrinkwrap.json
2015-04-29 09:59:36 +02:00
Raul Ochoa
1c2f84b0cb
Rely on windshaft master branch
2015-04-29 00:20:41 +02:00
Raul Ochoa
513fa2af01
Log all named map invalidation with context
2015-04-28 17:25:07 +02:00
Raul Ochoa
7580081a64
Append stats to profiler
2015-04-28 16:14:30 +02:00
Raul Ochoa
1a66f96379
Adds custom cache control header for named map static images
2015-04-28 16:14:19 +02:00
Raul Ochoa
fde680450f
Do not use headers from abaculus in combination with sendWithHeaders
2015-04-28 16:14:03 +02:00
Raul Ochoa
6843692f01
Pick format from user params
2015-04-28 16:10:50 +02:00
Raul Ochoa
1f3a073f21
Use headers from fake request
2015-04-28 16:10:30 +02:00
Raul Ochoa
7b4d41464f
tests for static named maps
2015-04-27 19:15:06 +02:00
Raul Ochoa
7ae2910061
adds tests as part of the jshint target
2015-04-27 18:08:55 +02:00
Raul Ochoa
ed3517e733
fix jshint
2015-04-27 18:08:40 +02:00
Raul Ochoa
6ac3b4c005
fix jshint
2015-04-27 18:05:39 +02:00
Raul Ochoa
26545af9ae
fix jshint
2015-04-27 18:03:15 +02:00
Raul Ochoa
1ee96f14ce
fix jshint
2015-04-27 18:02:15 +02:00
Raul Ochoa
2250e6d608
fix jshint
2015-04-27 18:00:47 +02:00
Raul Ochoa
5ad27e4bf5
fix jshint
2015-04-27 17:58:56 +02:00
Raul Ochoa
5f765712b4
fix jshint
2015-04-27 17:54:07 +02:00
Raul Ochoa
cb2e330e0b
Uses describe/it instead of suite/test
2015-04-27 17:49:15 +02:00
Raul Ochoa
6de911e5bb
Adds fastly invalidation expectations in surrogate key invalidation tests
2015-04-27 17:43:46 +02:00
Raul Ochoa
9edec8ef3f
Adds Fastly cache backend
2015-04-27 16:31:47 +02:00
Raul Ochoa
8e8ab09bec
Clarify fastly configuration is optional
2015-04-27 16:28:28 +02:00
Raul Ochoa
c06cba81f4
SurrogateKeysCache now accepts several cache backends
...
- uses queue-async to parallelize the call to invalidate
2015-04-27 16:22:37 +02:00
Raul Ochoa
ad5514dd02
Pick fastly config for server options
2015-04-27 16:20:55 +02:00
Raul Ochoa
a5b9ca706c
Adds new fastly cache backend
2015-04-27 16:18:50 +02:00
Raul Ochoa
5a476f9354
Adds fastly-purge dependency
2015-04-27 16:18:03 +02:00
Raul Ochoa
403039b695
Adds new configuration examples for fastly surrogate keys invalidation
2015-04-27 16:17:13 +02:00
Raul Ochoa
5ee19cc2ed
Rename template maps controller to named maps to be more clear
2015-04-27 15:01:49 +02:00
Raul Ochoa
8c3f9c7ba0
Inject server options to use setDBParams
2015-04-27 14:59:41 +02:00
Raul Ochoa
b95a001e0b
New static maps controller/endpoint for named maps
...
- loads a template
- creates a layergroup on the fly
- checks for view center+zoom or bounds
- if not found it tries to estimate them
- if fails it falls to default bounds value
- returns an static image tagged with a surrogate key
2015-04-27 14:56:38 +02:00
Raul Ochoa
d180305e8b
Exposes pgQueryRunner in server options
2015-04-27 14:54:14 +02:00
Raul Ochoa
ef8fcf7e93
Do not inject NamedMapsCacheEntry as template controller knows about them
...
Also do not inject pgConnection
2015-04-27 14:52:36 +02:00
Raul Ochoa
e7bd5dd644
Moves setDBParams to serverOptions so it can be reused
2015-04-27 14:47:58 +02:00
Raul Ochoa
8503a5c7c9
Tables extent API: returns estimated bounds for a list of tables
2015-04-27 12:55:20 +02:00
Raul Ochoa
2de0e5d52b
Extracts psql query run to its own class to be reusable
2015-04-27 12:48:34 +02:00
Raul Ochoa
b9e4b0a90c
Removes alpha version from example
2015-04-27 11:56:54 +02:00
Raul Ochoa
8fb3dc7529
Move templateName function to template maps model
2015-04-27 11:55:05 +02:00
Raul Ochoa
a897e36b91
Merge pull request #290 from CartoDB/simplify-template-names
...
Simplify template names
2015-04-23 12:19:21 +02:00
Raul Ochoa
446c432484
dry content type validation
2015-04-23 12:05:52 +02:00
Raul Ochoa
c49f3aaba5
DRY ifUnauthenticated method
2015-04-23 12:01:53 +02:00
Raul Ochoa
fed29b3b50
Extract finish function
2015-04-23 11:47:01 +02:00
Raul Ochoa
e7d134d70c
No more {username}@{template_name} template id
...
It's still backwards compatible
2015-04-23 11:29:55 +02:00
Raul Ochoa
62dbce4311
Merge pull request #289 from CartoDB/issue-267
...
Call callback on invalid map store token for named maps
2015-04-22 18:38:58 +02:00
Raul Ochoa
5b5f7fc700
Merge pull request #288 from CartoDB/clean-templates-suite
...
cleans templates suite: uses describe+it instead of suite+test
2015-04-21 23:58:13 +02:00
Raul Ochoa
026a0750e3
Call callback on invalid map store token for named maps
...
fixes #267
2015-04-21 18:59:52 +02:00
Raul Ochoa
7045f41252
cleans templates suite: uses describe+it instead of suite+test
2015-04-21 18:28:31 +02:00
Raul Ochoa
eaf6775d9d
Stubs next version
2015-04-16 18:06:55 +02:00
Raul Ochoa
ba2a9b81e9
Release 2.1.3
2015-04-16 18:02:36 +02:00
Raul Ochoa
5577600903
Upgrade windshaft and regenerate npm-shrinkwrap.json
2015-04-16 17:48:59 +02:00
Raul Ochoa
a0a455b225
Stubs next version
2015-04-15 16:13:40 +02:00
Raul Ochoa
0019ab495b
Release 2.1.2
2015-04-15 16:12:42 +02:00
Raul Ochoa
cbebac1cb1
Merge pull request #286 from CartoDB/profiler-metrics
...
Profiler metrics improvements
2015-04-15 15:41:12 +02:00
Raul Ochoa
e2fd4aca60
Upgrade windshaft
2015-04-15 15:32:10 +02:00
Raul Ochoa
0c578a193c
Remove stack for debug environment option
2015-04-14 16:44:03 +02:00
Raul Ochoa
84f579f0ec
Do not add x-profiler header as it's already added by sendResponse
2015-04-14 16:41:04 +02:00
Raul Ochoa
1bf2809355
Do not check statsd_client in profiler
2015-04-14 16:40:15 +02:00
Raul Ochoa
e91bc91057
Adds test suite for x-cache-channel
2015-04-10 13:39:20 +02:00
Raul Ochoa
4f9b6be45b
Update routes documentation
2015-04-10 12:00:25 +02:00
Raul Ochoa
95aa74ee34
Stubs next version
2015-04-10 10:57:31 +02:00
Raul Ochoa
e516300825
Release 2.1.1
2015-04-10 10:56:10 +02:00
Raul Ochoa
2d84d38b90
Do not add x-cache-channel header for GET template routes
2015-04-10 10:55:46 +02:00
Raul Ochoa
7cd78be094
Stubs next version
2015-04-09 15:26:21 +02:00
Raul Ochoa
c7a10b048a
Release 2.1.0
2015-04-09 15:24:10 +02:00
Raul Ochoa
d143b0235b
Upgrades windshaft to 0.42.0
2015-04-09 15:23:42 +02:00
Raul Ochoa
a876c82660
Fixes tests for subdomainless example config change
2015-04-08 16:09:36 +02:00
Raul Ochoa
a6c1aefecc
Fixes in example configuration files:
...
- Puts back the still supported /tiles/template and /tiles/layergroup
- Changes from /u/:user to /user/:user for subdomainless users
2015-04-08 16:05:33 +02:00
Raul Ochoa
9b122280e1
Stubs next version
2015-04-08 12:27:40 +02:00
Raul Ochoa
4777d1e93c
Release 2.0.0
2015-04-08 12:26:07 +02:00
Raul Ochoa
97e8b54b8c
Replaces render timeout fallback asset on behalf of @saleiva, thx!
2015-04-08 12:21:57 +02:00
Raul Ochoa
136f68765a
Merge pull request #284 from CartoDB/issue-280
...
Add user from params to fakereq object
2015-04-08 11:37:14 +02:00
Raul Ochoa
0062ec99f1
Merge pull request #283 from CartoDB/render-limits
...
Render limits
2015-04-08 11:32:14 +02:00
Raul Ochoa
98bc95bc58
Add user from params to fakereq object so it's propagated
...
fixes #280
2015-04-08 11:11:48 +02:00
Raul Ochoa
47cc1de89b
Uses windshaft@0.41.0 registry version
2015-04-07 17:57:21 +02:00
Raul Ochoa
69c623b5b2
Regenerate npm-shrinkwrap.json
2015-04-07 14:36:43 +02:00
Raul Ochoa
ab9ae60958
Merge branch 'master' into render-limits
2015-04-07 14:18:34 +02:00
Raul Ochoa
907ed478cf
Tidy app.js
2015-04-07 13:00:20 +02:00
Raul Ochoa
2eb7529efb
Pick cacheOnTimeout and render limit from mapnik config
...
- adds default mapnik configuration values
- removes old top-level mapnik config, rely on renderer one
2015-04-07 12:52:33 +02:00
Raul Ochoa
1782f240ce
Upgrade cartodb-redis package
2015-04-07 11:38:00 +02:00
Raul Ochoa
2ea880ce2c
cacheOnTimeout only for mapnik renderer
...
it does not make sense to have that as a general feature
2015-04-07 11:09:35 +02:00
Raul Ochoa
775b2b75a6
Fix typo
2015-04-07 10:41:19 +02:00
Raul Ochoa
2d050eb43c
Merge pull request #282 from CartoDB/remove_per_user_check
...
Disable per-user healthchecks
2015-04-07 10:07:25 +02:00
Luis Bosque
7934d659fb
Removed more unused code from healthcheck
2015-04-06 20:49:29 +02:00
Luis Bosque
21b5ed9c8a
Fixed healthcheck for jshint
2015-04-06 20:35:22 +02:00
Luis Bosque
da70839f78
Disable per-user healthchecks
2015-04-06 20:15:26 +02:00
Raul Ochoa
2e1f08d764
Adds a feature flag to cache timed out tile requests: cacheOnTimeout
2015-04-06 18:52:54 +02:00
Raul Ochoa
21072645a4
Tests for both: onTileErrorStrategy enabled and disabled
2015-04-06 18:44:57 +02:00
Raul Ochoa
e3c6569302
Adds an onTileErrorStrategy that intercepts error timeout
...
- returns an fallback image without error
2015-04-06 18:43:40 +02:00
Raul Ochoa
091352e75b
Fix typo
2015-04-06 18:00:46 +02:00
Raul Ochoa
bf7044d723
Adds tests to test new per user limit
2015-04-01 19:36:43 +02:00
Raul Ochoa
38e4812b43
Restore previous beforeLayergroupCreate hook behaviour
...
Adds new rendercache's beforeRendererCreate hook
2015-04-01 19:35:55 +02:00
Raul Ochoa
b8395010a3
Adds some tests for limits based on user limits
2015-04-01 17:39:02 +02:00
Raul Ochoa
f0eeb393d6
Use windshaft render-limits branch
...
Bump cartodb-redis version
Regenerate npm-shrinkwrap.json as I accidentaly deleted it
2015-04-01 15:49:01 +02:00
Raul Ochoa
a9ab9f8b5c
Pick render limit and add it to request context
...
- Extends the problematic fake request in templates
- Picks the value in waterfall, this must be improved because:
1. It does not make sense if there is no layers with limits
2. If we want to include it always without considering the layer type
we can do the operation in parallel
2015-04-01 15:11:58 +02:00
Raul Ochoa
f019f34601
Mapnik renderer configuration not part of the renderer root configuration
...
- All configuration must be moved into `renderer.mapnik`
- see `config/environments/*.js.example` for reference
2015-04-01 15:04:56 +02:00
Raul Ochoa
400e51f13a
Removes rollbar as optional logger
2015-03-31 11:36:29 +02:00
Raul Ochoa
3234c37d62
Merge pull request #278 from CartoDB/257-remove-old-api
...
Remove old API
2015-03-30 19:04:27 +02:00
Raul Ochoa
e0413c3302
Prepared next release
2015-03-30 18:44:44 +02:00
Raul Ochoa
cd79fc606b
Regenerate npm-shrinkwrap.json
2015-03-30 17:57:27 +02:00
Raul Ochoa
a2ac1c23f1
Tests for surrogate keys invalidation
...
- uses nock to mock request
- a bit hacky because tests keep environment inconsistent
* for intance I had to mock cartocdn to not fail in other suite
2015-03-30 17:51:17 +02:00
Raul Ochoa
69f99daa60
Mock better query tables api
2015-03-30 16:28:58 +02:00
Raul Ochoa
f1e8c9a709
Tests for cdb request
2015-03-30 16:28:37 +02:00
Raul Ochoa
1fc0545b5a
Replace affected tables tests with multilayer ones
2015-03-30 15:57:53 +02:00
Raul Ochoa
b599e67c35
Replaces affected tables test with multilayer one
2015-03-30 15:27:40 +02:00
Raul Ochoa
85804f9854
Fixes jshint
2015-03-30 15:07:49 +02:00
Raul Ochoa
7df3658d41
Invalid json lzma test
2015-03-30 15:06:00 +02:00
Raul Ochoa
c92e786a5f
Replace lzma test with multilayer
2015-03-30 15:01:17 +02:00
Raul Ochoa
d6ef0b7457
Replaces server tests for user db connection with multilayer
2015-03-30 14:39:26 +02:00
Raul Ochoa
434d6d4110
Extract request function
2015-03-30 13:42:59 +02:00
Raul Ochoa
55a78899a4
Removes sql api specific test
2015-03-30 13:39:47 +02:00
Raul Ochoa
124133ceca
Replace zoom test with multilayer one
2015-03-30 13:38:34 +02:00
Raul Ochoa
2b9f2ee66c
Removes tests as they are covered in multilayer suite
2015-03-30 13:35:20 +02:00
Raul Ochoa
70d1a30c64
style
2015-03-30 13:30:57 +02:00
Raul Ochoa
2161bbf8e9
Remove comments
2015-03-30 13:30:44 +02:00
Raul Ochoa
41521b6776
No need to test style deletion
2015-03-30 12:42:57 +02:00
Raul Ochoa
ec2fcad2e0
No need to test good style cases
2015-03-30 12:42:15 +02:00
Raul Ochoa
ecc67b1d0f
Replace test for multiple cartocss errors
2015-03-30 12:41:34 +02:00
Raul Ochoa
4ea1199014
it instead of test
2015-03-30 12:32:48 +02:00
Raul Ochoa
e7544e84c2
Replace server test with multilayer one
2015-03-30 12:32:09 +02:00
Raul Ochoa
ada616ee6a
jshint adds mocha globals
2015-03-30 12:31:44 +02:00
Raul Ochoa
000a248ab4
Removes test as is covered in "layergroup creation fails if CartoCSS is bogus"
2015-03-30 12:24:40 +02:00
Raul Ochoa
ff515f8c12
No need to have a test for empty cartocss
2015-03-30 12:20:04 +02:00
Raul Ochoa
848bfacc2d
no need to check it used post for long queries
2015-03-30 12:15:26 +02:00
Raul Ochoa
da4b1d5a0f
jshint
2015-03-30 12:13:59 +02:00
Raul Ochoa
b2d9e5e822
Merge branch 'master' into 257-remove-old-api
2015-03-30 11:57:03 +02:00
Raul Ochoa
d0313a4228
Remove gc_prob as it is no longer used in grainstore
2015-03-27 17:59:55 +01:00
Raul Ochoa
1f53884722
Remove metrics for authorizedBy*
2015-03-27 17:57:46 +01:00
Raul Ochoa
a664a1c550
Merge pull request #276 from CartoDB/disable_health_check
...
Return failed health checks with disabled file
2015-03-27 17:27:31 +01:00
Raul Ochoa
d210643d63
Only required query params
2015-03-26 17:19:16 +01:00
Raul Ochoa
4be0a70362
Do not append interactivity to params, it is no longer
...
it will be used from mapconfig layer definition
2015-03-26 13:05:35 +01:00
Luis Bosque
09e0f86936
jshint fixes
2015-03-25 18:41:27 +01:00
Luis Bosque
e3b7027b24
Remove unnecesary variable in health check
2015-03-25 18:23:03 +01:00
Luis Bosque
0f30b7d7ef
Return failed health checks with disabled file
2015-03-25 18:19:40 +01:00
Raul Ochoa
3012b99e15
Remove varnish emu
2015-03-24 10:39:23 +01:00
Raul Ochoa
f683e39aea
Remove api sql emulator
2015-03-24 10:38:14 +01:00
Raul Ochoa
985973dfda
Split old api and basic endpoints
2015-03-23 19:28:34 +01:00
Raul Ochoa
07bc281e25
Remove check table privacy
2015-03-23 19:19:46 +01:00
Raul Ochoa
1d433bf5b2
Remove table param from generateCacheChannel
2015-03-23 18:58:57 +01:00
Raul Ochoa
d5e20ef558
Remove cache_policy query param
2015-03-23 18:40:59 +01:00
Raul Ochoa
36ea58e750
no longer possible to set cache_buster request param
2015-03-23 18:03:19 +01:00
Raul Ochoa
e1e5f87123
No longer possible to set sql param
2015-03-23 18:02:41 +01:00
Raul Ochoa
ea3d2124dc
No sql param in generateCacheChannel
2015-03-23 17:56:51 +01:00
Raul Ochoa
415d0c42d5
jshint
2015-03-23 17:56:18 +01:00
Raul Ochoa
c19f652ff3
Remove some old accepted query params
2015-03-23 17:54:37 +01:00
Raul Ochoa
f5f7be627f
Move userByReq to its own model
2015-03-23 17:35:09 +01:00
Raul Ochoa
09b3f0a862
Skip server suite for now until we decide what tests we should port
2015-03-23 17:27:24 +01:00
Raul Ochoa
d9ab1e8810
Deprecates old config URLs: /tiles/template and /tiles/layergroup
...
Moves all tests to run on new URLs
Deprecated base_url_legacy in config, it will keep working tho
2015-03-23 15:54:45 +01:00
Raul Ochoa
23f5be6c33
Remove config and sql api backend
2015-03-23 15:00:33 +01:00
Raul Ochoa
07297f6bda
Remove cdbQueryTablesFromPostgres option, now uses it by default
2015-03-23 14:44:42 +01:00
Raul Ochoa
02bc7b9fbf
Remove per-table varnish invalidation
2015-03-23 14:27:41 +01:00
Raul Ochoa
0e3f72ce0b
PHONY coverage
2015-03-23 14:21:08 +01:00
Raul Ochoa
f311f6d4df
Merge branch 'master' into 257-remove-old-api
2015-03-23 14:13:11 +01:00
Raul Ochoa
65c6559b1a
Merge pull request #275 from CartoDB/coverage
...
Add option to generate coverage metrics using istanbul module
2015-03-23 14:12:47 +01:00
Raul Ochoa
53d92fe70e
Add option to generate coverage metrics using istanbul module
2015-03-23 14:05:29 +01:00
Raul Ochoa
6d32199c53
Remove get style tests
2015-03-23 12:42:39 +01:00
Raul Ochoa
25e4e3bd33
jshint
2015-03-23 12:40:24 +01:00
Raul Ochoa
0321884795
Re-generate npm-shrinkwrap.json to use windshaft/master.
...
A lot of tests from acceptance/server.js will fail
2015-03-23 12:29:42 +01:00
Raul Ochoa
5f6185dd51
Merge branch 'master' into 257-remove-old-api
...
Conflicts:
lib/cartodb/cartodb_windshaft.js
lib/cartodb/server_options.js
package.json
2015-03-23 12:24:10 +01:00
Raul Ochoa
63ba75f703
Merge pull request #274 from CartoDB/url_rewrite
...
allow urls like /u/:user/
2015-03-20 12:21:41 +01:00
Raul Ochoa
9b4acf99d5
Adds example configuration to accept user param in /tiles/layergroup
...
That is used in testing. Tests should start moving to /api/v1/map.
2015-03-20 00:34:30 +01:00
Raul Ochoa
9ba53dc4cf
Adds user param to params whitelist and uses localhost user for tests
2015-03-20 00:30:56 +01:00
javi
2f44dfe1da
updated test config
2015-03-18 18:36:44 +01:00
javi
b891ae19f4
adding a bunch of test for layer group url
2015-03-18 18:15:26 +01:00
javi
00cf83dc45
try to fix test, take 3
2015-03-18 17:53:49 +01:00
javi
72294fbd25
refined tests
2015-03-18 17:26:33 +01:00
javi
5af09fc2bf
small refactor in tests
2015-03-18 17:04:25 +01:00
javi
c1c6d493b7
allow urls like /u/:user/
2015-03-18 15:54:05 +01:00
Raul Ochoa
a30ed5ce04
Merge pull request #271 from CartoDB/iri/https-change
...
Switching to HTTPS
2015-03-16 12:33:32 +01:00
Carla
7c35d5cd32
Switching to HTTPS
...
https://github.com/CartoDB/docs/issues/182
2015-03-16 12:26:28 +01:00
Raul Ochoa
2e67633ca8
Merge pull request #270 from CartoDB/jshint
...
Enable jshint
2015-03-16 00:48:15 +01:00
Raul Ochoa
87782b400d
jshint to be tested by default
2015-03-16 00:38:29 +01:00
Raul Ochoa
b6d3785599
Fix Max cyclomatic complexity value
2015-03-16 00:36:38 +01:00
Raul Ochoa
645a2cd442
120 chars lines
2015-03-16 00:27:14 +01:00
Raul Ochoa
8c09dfd230
No capitalize step
2015-03-16 00:21:55 +01:00
Raul Ochoa
336491b54c
Remove unused vars
2015-03-16 00:16:36 +01:00
Raul Ochoa
4365c1dbc2
Define mapnikXmlParams variable
2015-03-16 00:07:05 +01:00
Raul Ochoa
3c56c1fab3
Adds next param
2015-03-16 00:05:01 +01:00
Raul Ochoa
0a331cee37
do not redefine vars
2015-03-16 00:03:59 +01:00
Raul Ochoa
d7f5c40645
Triple ===
2015-03-16 00:00:02 +01:00
Raul Ochoa
5df24e7f27
Remove Unreachable 'break' after 'return'
2015-03-15 23:58:38 +01:00
Raul Ochoa
406a1ffb0b
no global replaceVars func
2015-03-15 23:58:12 +01:00
Raul Ochoa
438ecd5598
jshint: fix Function declarations should not be placed in blocks
2015-03-15 23:56:14 +01:00
Raul Ochoa
bd1c24ee1c
jshint: Remove Confusing use of '!'
2015-03-15 23:52:46 +01:00
Raul Ochoa
e561f77d4d
jshint: fix Dot notation
2015-03-15 23:49:32 +01:00
Raul Ochoa
d03a2c64a6
jshint: fix Missing semicolon
2015-03-15 23:46:59 +01:00
Raul Ochoa
fda8afdaf2
jshint: fix Bad line breaking
2015-03-15 23:44:45 +01:00
Raul Ochoa
e4da13189d
Adds jshint
...
- dependency
- makefile target
- relax some rules
Work in progress
2015-03-15 23:37:03 +01:00
Raul Ochoa
f35d328dbf
Update Routes.md
2015-03-12 12:58:46 +01:00
Raul Ochoa
d09998cce1
Extra notes about optional but deprecated endpoints
...
- /tiles/layergroup
- /tiles/template
2015-03-12 12:57:29 +01:00
Raul Ochoa
7a01d75cd8
Attributes route
2015-03-12 12:42:13 +01:00
Raul Ochoa
83e5d889a7
Some notes about routes
2015-03-12 12:38:06 +01:00
Raul Ochoa
f1eed600d5
Adds routes document (WIP)
2015-03-12 12:20:42 +01:00
Raul Ochoa
75a980ff1d
Stubs next version
2015-03-11 17:15:44 +01:00
Raul Ochoa
9d9aafbcb3
Release 1.30.0
2015-03-11 17:14:41 +01:00
Raul Ochoa
8e9d9113d7
Upgrades windshaft to 0.40.0
2015-03-11 16:19:07 +01:00
Raul Ochoa
62661c633c
Adds script/tool to go from lzma base64 encoded string to mapconfig
2015-03-11 15:16:24 +01:00
Raul Ochoa
38e35a6d61
Specific dependencies for building node-canvas
2015-03-11 14:25:36 +01:00
Raul Ochoa
0d5242d12b
Add enabledFeatures configuration to the example configuration files
...
- Enables querytables from postgres as default
2015-03-09 14:42:47 +01:00
Raul Ochoa
edde869a68
Update CDB_QueryTables
2015-03-09 14:42:30 +01:00
Raul Ochoa
6d4eb23696
Improve readme
...
- Requirements bumped
- Delete URLs documentation and point to docs directory.
2015-03-09 14:37:26 +01:00
Raul Ochoa
1979697551
Stubs next version
2015-03-09 14:08:38 +01:00
Raul Ochoa
661df294e1
Release 1.29.0
2015-03-09 14:07:47 +01:00
Raul Ochoa
39dc9a316d
Merge pull request #268 from CartoDB/upgrade-windshaft
...
Upgrade windshaft
2015-03-09 14:03:31 +01:00
Raul Ochoa
cfe434c8ed
Use published version
2015-03-09 13:52:47 +01:00
Raul Ochoa
53d7276136
Force bash
2015-03-08 11:36:31 +01:00
Raul Ochoa
e95167a049
Force bash
2015-03-08 11:36:17 +01:00
Raul Ochoa
e82131f4e8
Upgrades windshaft@0.39.0
2015-03-06 10:45:01 +01:00
Raul Ochoa
cbd44192c9
Use bash in Makefile targets
2015-02-26 17:00:50 +01:00
Raul Ochoa
f006d09f31
Update windshaft to version 0.38.2
2015-02-26 12:08:48 +01:00
Raul Ochoa
620160c44e
Ignore npm-debug.log
2015-02-26 12:05:17 +01:00
Raul Ochoa
6ae2c2630a
Upgrade windshaft to 0.38.1
2015-02-25 19:15:55 +01:00
Raul Ochoa
a287c84500
Upgrades windshaft to 0.38.0
2015-02-23 12:59:00 +01:00
Raul Ochoa
62e435fd9e
Improve installation feedback as we did in Windshaft
2015-02-23 12:08:08 +01:00
Raul Ochoa
65702de64d
Update to latest test/support/sql/CDB_QueryTables.sql
2015-02-23 12:06:47 +01:00
Raul Ochoa
ef2b45621b
Merge branch 'master' into 257-remove-old-api
...
Conflicts:
package.json
2015-02-20 15:24:13 +01:00
Raul Ochoa
1771313bea
Stubs next version
2015-02-20 10:32:12 +01:00
Raul Ochoa
b0624582d9
Release 1.28.5
2015-02-20 10:30:27 +01:00
Raul Ochoa
10acdc4615
Upgrades windshaft to 0.37.5
2015-02-20 10:30:11 +01:00
Raul Ochoa
d96ed3511e
Merge pull request #266 from namessanti/patch-1
...
Corrected DPI limits and jpeg quality
2015-02-19 19:26:02 +01:00
Santiago Giraldo Anduaga
e0dba85f67
Corrected DPI limits and jpeg quality
...
Corrected DPI limits and JPEG quality
@andrewxhill
2015-02-19 13:05:39 -05:00
Raul Ochoa
989e752959
Display master build status
...
it doesn't make sense to display errors from other branches/pr
2015-02-18 15:12:43 +01:00
Raul Ochoa
71efe2109c
Merge branch 'master' into 257-remove-old-api
...
Conflicts:
lib/cartodb/cartodb_windshaft.js
package.json
2015-02-18 14:51:21 +01:00
Raul Ochoa
5da239a2eb
Stubs next version
2015-02-18 11:55:35 +01:00
Raul Ochoa
5c2e5c0d05
Release 1.28.4
2015-02-18 11:54:40 +01:00
Raul Ochoa
27d6d636cf
Upgrades to windshaft 0.37.4
2015-02-18 11:53:56 +01:00
Raul Ochoa
5db7f002e6
Stubs next version
2015-02-17 19:44:23 +01:00
Raul Ochoa
ac1f8f8497
Release 1.28.3
2015-02-17 19:43:17 +01:00
Raul Ochoa
ee6bd8c561
Merge pull request #265 from CartoDB/263-fix-403-errors-with-named-layers
...
Test for named layers and interactivity
2015-02-17 19:41:34 +01:00
Raul Ochoa
7f20e296a3
Upgrades windshaft to 0.37.3 and adds a test for named layers and interactivity
...
Closes #263
2015-02-17 19:28:05 +01:00
Raul Ochoa
2e577343d2
Update to latest CDB_QueryTables
2015-02-17 18:55:34 +01:00
Raul Ochoa
dc14248de2
Stubs next version
2015-02-17 16:17:32 +01:00
Raul Ochoa
9536669053
Release 1.28.2
2015-02-17 16:16:19 +01:00
Raul Ochoa
11db363bfb
Upgrades windshaft to 0.37.2
2015-02-17 16:07:49 +01:00
Raul Ochoa
d2961430f3
Stubs next version
2015-02-17 12:20:51 +01:00
Raul Ochoa
2b7bd58fd5
Release 1.28.1
2015-02-17 12:20:07 +01:00
Raul Ochoa
055932d38e
Upgrades windshaft to 0.37.1
2015-02-17 12:19:16 +01:00
Raul Ochoa
c65a29acf4
Stubs next version
2015-02-17 11:04:41 +01:00
Raul Ochoa
27cda49fd8
Release 1.28.0
2015-02-17 11:02:29 +01:00
Raul Ochoa
2d7b706507
Merge pull request #217 from strk/master-tolerant-configure
...
Have ./configure tolerate unknown options
2015-02-16 18:55:45 +01:00
Raul Ochoa
3ea3638fe9
Merge pull request #218 from strk/master-own-testuser
...
Use a windshaft-specific name for the test user
2015-02-16 18:55:34 +01:00
Raul Ochoa
1f9387bb68
Rely on published versions
2015-02-16 15:02:39 +01:00
Raul Ochoa
00542bbc57
Upgrades windshaft to 0.37.0
2015-02-16 14:57:03 +01:00
Raul Ochoa
5be8afbbeb
Merge pull request #261 from CartoDB/private-cdb_tablemetadata
...
Authenticated query to retrieve last update
2015-02-16 14:29:10 +01:00
Raul Ochoa
9f7dcc2354
Update news
2015-02-16 14:21:56 +01:00
Raul Ochoa
21b3f44441
Merge branch 'master' into private-cdb_tablemetadata
2015-02-16 14:18:56 +01:00
Raul Ochoa
f295f847d1
Stubs next version
2015-02-16 12:15:08 +01:00
Raul Ochoa
0478905689
Release 1.27.0
2015-02-16 12:14:24 +01:00
Raul Ochoa
d311dd4245
Use PgConnection to set db auth
...
No need to use request context anymore
X-Cache-Channel will be set now even for private tables: fixes #253
2015-02-16 11:57:53 +01:00
Raul Ochoa
b25bb03cdf
Merge branch 'master' into private-cdb_tablemetadata
...
Conflicts:
lib/cartodb/server_options.js
test/support/sql/windshaft.test.sql
2015-02-16 11:41:45 +01:00
Raul Ochoa
afa625e3d2
Merge pull request #260 from CartoDB/medusa-improvements
...
Medusa improvements
2015-02-16 11:34:23 +01:00
Raul Ochoa
e08b1ea1a0
Update news with changes in branch
2015-02-16 11:21:22 +01:00
Raul Ochoa
c6d328ee07
Upgrades to windshaft 0.36.0
2015-02-16 10:55:38 +01:00
Raul Ochoa
8d10d0f760
Remove draft
2015-02-16 10:54:53 +01:00
Raul Ochoa
a2a09979e4
Remove dump render cache stats
2015-02-11 18:47:11 +01:00
Raul Ochoa
597cb5286d
No more before/after state change actions as there is no longer
...
a style change
2015-02-11 18:44:09 +01:00
Raul Ochoa
a0243e0bf7
Rely on windshaft's remove old api branch
2015-02-11 18:43:47 +01:00
Raul Ochoa
0f668aabf1
Rely on windshaft's master branch as everything for medusa is already there
2015-02-11 14:48:06 +01:00
Raul Ochoa
59dfd11e5b
Remove geom_type retrieval
2015-02-10 16:57:43 +01:00
Raul Ochoa
b1b57d6f24
Regenerate npm-shrinkwrap.json
2015-02-10 11:41:22 +01:00
Raul Ochoa
636591ecbb
Removes flush_cache endpoint
2015-02-10 00:13:50 +01:00
Raul Ochoa
a4eade31a2
Removes map_metadata endpoint
2015-02-10 00:08:08 +01:00
Raul Ochoa
ba0f394a48
Remove infowindow endpoint
2015-02-10 00:03:44 +01:00
Raul Ochoa
75c4153f9b
No need to retrieve api key externally, QueryTablesApi takes care
2015-02-09 19:41:38 +01:00
Raul Ochoa
8e038b0323
Merge pull request #259 from CartoDB/empty-flush_cache-endpoint
...
Empty flush cache endpoint
2015-02-09 19:40:50 +01:00
Raul Ochoa
0a994c731c
Merge branch 'master' into empty-flush_cache-endpoint
2015-02-09 19:05:25 +01:00
Raul Ochoa
13ae1b4067
Remove flush_cache tool as it doesn't make sense anymore
2015-02-09 19:04:38 +01:00
Raul Ochoa
742a9744ea
Remove select permission for publicuser
2015-02-09 18:56:01 +01:00
Raul Ochoa
8ed864ad18
apt-get update before apt-get install
2015-02-09 18:49:58 +01:00
Raul Ochoa
87638168ff
apt-get update before apt-get install
2015-02-09 18:39:24 +01:00
Raul Ochoa
8364da683a
Merge branch 'master' into medusa-improvements
2015-02-09 18:39:14 +01:00
Raul Ochoa
6eec5822f0
Create CREATE EXTENSION plpythonu for tests
2015-02-09 18:36:47 +01:00
Raul Ochoa
d667dbcc2f
Merge branch 'master' into private-cdb_tablemetadata
2015-02-09 18:36:19 +01:00
Raul Ochoa
40de1a8f86
Create CREATE EXTENSION plpythonu for tests
2015-02-09 18:34:28 +01:00
Raul Ochoa
b53c25e514
Merge pull request #258 from CartoDB/stop-testing-node-0.8
...
Don't test against node 0.8
2015-02-09 15:09:57 +01:00
Raul Ochoa
81919706ea
Adds default image placeholder for http renderer to use as fallback
2015-02-09 15:08:36 +01:00
Raul Ochoa
d38fc16b57
Don't test against node 0.8
2015-02-09 14:49:01 +01:00
Raul Ochoa
90b22b2718
QueryTables and last updated_at retrieved with user
...
Move setDBAuth and setDBConn to PgConnection entity
- It uses cartodb-redis to retrieve datasource configuration
Start using it in ServerOptions, TemplateMaps and QueryTablesApi
QueryTablesApi don't receive anymore the connection/credentials
- It will always use an authenticated query to retrieve last update
- That will allow to query affected private tables last update
2015-02-09 14:46:52 +01:00
Raul Ochoa
04af57cab9
Add some entries to cdb_tablemetadata for tables being used in tests
2015-02-09 14:38:59 +01:00
Raul Ochoa
d40b15454b
Run some tests only if they are using the SQL API
2015-02-09 14:38:29 +01:00
Raul Ochoa
e1e925bd9e
Run postgresql/sql-api dependant tests against two implementations
...
This time for real.
2015-02-09 14:33:17 +01:00
Raul Ochoa
151968ae13
Merge branch 'master' into private-cdb_tablemetadata
2015-02-06 18:42:18 +01:00
Raul Ochoa
547782eea5
Use windshaft's plain-renderer-plus-http-default-plus-per-layer-datasource
...
branch to pick latest developments for medusa
2015-02-06 12:03:17 +01:00
Raul Ochoa
6bd967e9fb
Merge branch 'master' into medusa-improvements
...
Conflicts:
lib/cartodb/server_options.js
2015-02-06 12:01:28 +01:00
Raul Ochoa
13f5fda1b8
Merge pull request #255 from CartoDB/empty-flush_cache-endpoint
...
Remove per table flush cache endpoint
2015-02-05 17:37:56 +01:00
Raul Ochoa
673bd4f3f2
Add querytables and cdb_tablemetadata for proper testing its integration
2015-02-05 17:21:38 +01:00
Raul Ochoa
d56affae2d
Merge pull request #256 from CartoDB/private-cdb_tablemetadata
...
Remove no longer needed method from query_tables_api
2015-02-05 17:21:21 +01:00
Raul Ochoa
09527b6808
Remove no longer needed method from query_tables_api
2015-02-05 17:08:20 +01:00
Raul Ochoa
d065ace036
Remove per table flush cache endpoint
2015-02-05 17:05:50 +01:00
Raul Ochoa
2736b93c69
test to validate it's not possible to override authorization
...
with a crafted layergroup
2015-02-05 16:47:37 +01:00
Raul Ochoa
10b7ab307e
Merge pull request #254 from CartoDB/add_cdbjs_layer
...
Added layer source info for cartodb.js
2015-02-05 15:23:53 +01:00
Andy Eschbacher
56c24a738a
Added layer source info for cartodb.js
2015-02-04 16:23:34 -05:00
Raul Ochoa
fa8b27231c
Removed unused/old template lock functionality
2015-02-04 19:36:16 +01:00
Raul Ochoa
c17af23a40
A non empty datasource from MapConfigNamedLayersAdapter.getLayers
...
means the affected tables can have private tables involved.
That implies QueryTablesApi will need the proper user to use
CDB_QueryTables. So we store it in a request context to use it in
the afterLayergroupCreate call.
Tiles for these layergroups will fail to add a X-Cache-Channel
header because it won't be possible to use the proper user within
those tiles. Ok, they will fail if they are not requested through
the same tiler instance because if they are they most likely will
reuse the in memory cache.
See https://github.com/CartoDB/Windshaft-cartodb/issues/253
2015-02-04 19:31:20 +01:00
Raul Ochoa
fbecc11aa5
Do not use the SQL API Emulator for testing named layers as it hides
...
an integration issue with cdb_querytables
2015-02-04 19:01:14 +01:00
Raul Ochoa
8cacc3bb9e
Merge branch 'master' into 239-mapconfig-named-maps-extension
2015-02-04 18:59:07 +01:00
Raul Ochoa
a82af16347
Adds a template test with http layer
2015-02-04 18:57:46 +01:00
Raul Ochoa
5018d32af6
Add querytables and cdb_tablemetadata for proper testing its integration
2015-02-04 18:52:37 +01:00
Raul Ochoa
2c7bc6adde
Datasource to give per-layer authentication in named layers
...
Make beforeLayergroupCreate to return a datasource with different
authentication for the different layers.
- Named layers will get access to private tables in case it's needed
Changes in MapConfigNamedLayersAdapter:
- It will retrieve the dbAuth params only if named layers are present so
there is no extra overhead for normal layers
- Rename queue function signature from `callback` to `done` so it is easier
to follow the code
Add several tests to validate `named` layers authentication
2015-02-04 11:30:36 +01:00
Raul Ochoa
58f9f5f7a8
Remove unused object, rename suite
2015-02-03 14:16:55 +01:00
Raul Ochoa
e4e633cf86
Fix next reference
2015-02-02 17:44:15 +01:00
Raul Ochoa
4ca5c5fa3c
Merge pull request #252 from namessanti/api-test-doc
...
Static Maps API
2015-02-02 15:50:44 +01:00
Raul Ochoa
1bb0d8738e
Add test case for layers with private tables
2015-02-02 14:38:26 +01:00
Raul Ochoa
4949616c4e
Some acceptance tests, http_status = 403 should not happen in adapter,
...
needs improvement
2015-01-30 19:29:45 +01:00
Raul Ochoa
12c5d835c5
Fix integration tests as I messed with the filename
2015-01-30 19:11:54 +01:00
Raul Ochoa
87eaeb0074
Some integration tests for different cases in named layers type
2015-01-30 18:57:01 +01:00
Raul Ochoa
8b07156a2d
Make templateMaps available in cartodb windshaft
2015-01-30 16:51:09 +01:00
Raul Ochoa
358b296750
Remove beforeEach and afterEach, in combination with suite they are
...
triggered for every single test even outside of the suite they were
invoked in.
2015-01-30 16:50:06 +01:00
Raul Ochoa
d0ef87b0cf
Add a before layergroup creation action to allow first level named
...
maps layer type to be extended as other layers
2015-01-30 15:31:49 +01:00
Raul Ochoa
e28fe1fdc0
Initialize template maps in server options
2015-01-30 15:30:13 +01:00
Raul Ochoa
aecb07b008
Create redis pool in server options when not supplied
2015-01-30 15:28:55 +01:00
Raul Ochoa
5573dfda84
Add queue-async dependency
2015-01-30 15:26:27 +01:00
Raul Ochoa
7a22973258
Use windshaft's before-layergroup-step branch
2015-01-30 12:59:26 +01:00
Raul Ochoa
f099a69df3
Add limitations for named maps of the user account
2015-01-30 11:27:16 +01:00
Raul Ochoa
938b6579c0
MapConfig named maps extension specification (draft)
2015-01-30 11:17:29 +01:00
Raul Ochoa
e445d0de01
Stubs next version
2015-01-28 17:37:38 +01:00
Raul Ochoa
7a35b9695f
Release 1.26.2
2015-01-28 17:36:44 +01:00
Raul Ochoa
9523d40937
Merge pull request #250 from CartoDB/accept-open-string-as-valid-auth
...
Accept open string as valid auth
2015-01-28 17:35:38 +01:00
Raul Ochoa
697323dbbc
Fix typo
2015-01-28 17:31:22 +01:00
Raul Ochoa
efe090f5b0
Accept 'open' string in templated auth as authorized
2015-01-28 17:29:50 +01:00
Raul Ochoa
ee1454d91c
Stubs next version
2015-01-28 13:16:57 +01:00
Raul Ochoa
38242813be
Release 1.26.1
2015-01-28 13:15:42 +01:00
Raul Ochoa
f9373dd8d0
Fix typos
2015-01-28 13:15:18 +01:00
Raul Ochoa
0e4e56f333
Fix version number
2015-01-28 13:14:32 +01:00
Raul Ochoa
c1d4da870f
Upgrades windshaft to 0.35.1, see https://github.com/CartoDB/Windshaft/pull/254
2015-01-28 13:09:53 +01:00
Raul Ochoa
3c26f1f986
Stubs next version
2015-01-27 17:51:04 +01:00
Raul Ochoa
e9195967a4
Release 1.26.0
2015-01-27 17:50:13 +01:00
Raul Ochoa
30c6a390ac
Upgrades windshaft to 0.35.0, supports mapconfig version 1.3.0
2015-01-27 17:49:08 +01:00
Raul Ochoa
3a97af767f
Stubs next version
2015-01-26 17:33:22 +01:00
Raul Ochoa
57dd36a476
Release 1.25.0
2015-01-26 17:30:51 +01:00
Raul Ochoa
6ab6fd91e4
Merge pull request #248 from CartoDB/196-validate-layergroup-in-named-maps
...
Basic layergroup validation on named map creation/update
2015-01-26 17:04:48 +01:00
Raul Ochoa
c41c223b84
Merge pull request #249 from CartoDB/247-add-named-maps-surrogate-keys
...
Add named maps surrogate keys and call invalidation on template modification/deletion
2015-01-26 17:04:25 +01:00
Raul Ochoa
7e2be7b30f
Document varnish configuration
2015-01-26 16:27:59 +01:00
Raul Ochoa
e690170689
More exhaustive layergroup validation:
...
- layers is an array and it's not empty
- layers has at least options
2015-01-26 15:51:10 +01:00
Raul Ochoa
81f1b0dcf8
Adds tests for named maps surrogate keys and for invalidation
2015-01-26 15:02:28 +01:00
Raul Ochoa
146a2b2606
Merge branch 'master' into 247-add-named-maps-surrogate-keys
2015-01-26 13:19:03 +01:00
Raul Ochoa
ff811ac1b5
Merge pull request #246 from CartoDB/238-drop-signed-maps
...
Drop signed maps
2015-01-26 13:13:27 +01:00
Santiago Giraldo
6a39893e20
Brittany reviewed text and markdown, added basemap and limit information
2015-01-23 16:15:30 -05:00
Raul Ochoa
11d9f5dd76
Basic layergroup validation on named map creation/update
2015-01-23 18:24:25 +01:00
Raul Ochoa
571a635fed
Old style, avoid merge conflicts, missing history
2015-01-23 17:46:58 +01:00
Raul Ochoa
6e70518146
Split between old cache_enabled and new purge_enabled configuration
2015-01-23 17:46:16 +01:00
Raul Ochoa
fabb438cf0
Escape \b for the regex
2015-01-23 17:22:49 +01:00
Raul Ochoa
0abd6a2293
Adds check for surrogate key headers in template instances
...
p.s. it fixes instantiate template with params test
2015-01-23 17:02:13 +01:00
Raul Ochoa
272e8cd221
Adds Surrogate Keys to named maps
2015-01-23 16:37:38 +01:00
Raul Ochoa
885accdadf
Adds varnish http port to the default configurations
2015-01-23 16:36:45 +01:00
Raul Ochoa
f5a3b77737
Make TemplateMaps to emit messages when adding/updating/deleting templates
2015-01-23 16:35:47 +01:00
Raul Ochoa
56abcfd2f4
Update documentation to remove references to signed maps
2015-01-23 11:33:58 +01:00
Santiago Giraldo
2e84d18c3c
Updated Maps API v2
2015-01-22 13:44:13 -05:00
Raul Ochoa
ecd570323b
Merge branch 'master' into 238-drop-signed-maps
2015-01-22 19:37:03 +01:00
Raul Ochoa
20eb92a3b1
Remove signedmaps and locks functionality as it is no longer needed
2015-01-22 19:28:59 +01:00
Raul Ochoa
8d22ed7594
Tests to validate template instantiation returns new instances with
...
default values if they are missing.
2015-01-22 18:38:42 +01:00
Santiago Giraldo
b26fe87430
added-static-api-doc
2015-01-22 12:07:34 -05:00
Raul Ochoa
3321987c33
Merge pull request #245 from CartoDB/apiUpdate
...
API doc update
2015-01-22 18:00:02 +01:00
Raul Ochoa
981be0edd5
Replace signed maps auth tests with template maps tests
2015-01-22 17:55:47 +01:00
Raul Ochoa
e8ab3a48c6
Removes TemplateMaps dependency on SignedMaps
...
- Token validation is done against the template
- Template is always extended with default values for auth and placeholders
- MapConfig is extended, in order to validate auth_toknes, with template info:
- template name
- template auth
- No more locks to create, update or delete templates
- Trusting in redis' hash semantics
- Some tradeoffs:
* A client having more templates than allowed by a race condition
between limit (HLEN) check and creation (HSET)
* Updating a template could happen while the deleting it, resulting in
in a new template
* Templates already instantiated will be accessible thrught their
layergroup so it is possible to continue requesting tiles/grids/etc.
- Authorization is now handled by template maps
2015-01-22 15:40:40 +01:00
Andy Eschbacher
58a54de5a6
Added section on CartoDB.js use
2015-01-21 09:29:57 -05:00
Andy Eschbacher
21b1cea5e8
updates
2015-01-21 09:19:50 -05:00
Raul Ochoa
64b5a64e1b
Add templateMaps to serveroptions for the time being
2015-01-21 11:44:06 +01:00
Raul Ochoa
f1b6be1ecb
Merge branch 'master' into 238-drop-signed-maps
2015-01-21 11:42:42 +01:00
Raul Ochoa
ac84fc569f
Merge pull request #244 from CartoDB/docs-anonymous-maps-jsonp-example
...
Add jsonp example for anonymous maps
2015-01-21 11:25:37 +01:00
Raul Ochoa
4bdc43ff7c
Put back curl command
2015-01-21 11:21:16 +01:00
Raul Ochoa
3afbbccfa2
Add jsonp example for anonymous maps
2015-01-21 11:08:34 +01:00
Raul Ochoa
8bc08d75b7
Separate signed maps instantiation
2015-01-20 18:40:56 +01:00
Raul Ochoa
c14157acc2
Moves template routing
2015-01-20 18:16:09 +01:00
Raul Ochoa
595dac57a0
Moves setDBParams into controller
2015-01-20 18:14:10 +01:00
Raul Ochoa
5632b19e16
Remove unused functionality from app
2015-01-20 18:13:36 +01:00
Raul Ochoa
007196555d
Use userByReq from serverOptions
2015-01-20 18:12:24 +01:00
Raul Ochoa
62ffc05ef4
Move template map instantiation into controller
2015-01-20 17:57:53 +01:00
Raul Ochoa
5962141114
Moves template options to controller
2015-01-20 17:45:47 +01:00
Raul Ochoa
7901a05b55
List templates moved into controller
2015-01-20 17:39:33 +01:00
Raul Ochoa
4c2a0ca048
Delete moved to controller
2015-01-20 17:34:23 +01:00
Raul Ochoa
b40c8e6624
Retrieve template moved to controller
2015-01-20 17:17:06 +01:00
Raul Ochoa
97d3b1a03b
Move update template to controller
2015-01-20 17:07:55 +01:00
Raul Ochoa
fcea0c9b83
Move template creation to controller
2015-01-20 16:58:12 +01:00
Raul Ochoa
7ce8737e75
Initial split template maps endpoint into its own controller
2015-01-20 16:56:06 +01:00
Raul Ochoa
1d91f0fca9
Stubs next version
2015-01-15 17:37:51 +01:00
Raul Ochoa
23fe7fb0f7
Release 1.24.0
2015-01-15 17:36:48 +01:00
Raul Ochoa
1880b5d261
Merge pull request #243 from CartoDB/retina-support
...
Retina support for mapnik layers
2015-01-15 17:33:54 +01:00
Raul Ochoa
cf004322fd
Upgrades windshaft to 0.34.0 for retina support
2015-01-15 17:21:24 +01:00
Raul Ochoa
30d8f28221
Use retina branch from windshaft
2015-01-14 18:26:28 +01:00
Raul Ochoa
caa05e779a
Add scale_factor param as valid one
2015-01-14 18:11:13 +01:00
Raul Ochoa
f13fec13b8
Stubs next version
2015-01-14 16:42:41 +01:00
Raul Ochoa
a93f346948
Release 1.23.1
2015-01-14 16:41:46 +01:00
Raul Ochoa
48d44bada1
Regenerate npm-shrinkwrap.json
2015-01-14 16:18:31 +01:00
Raul Ochoa
a20d08ddc8
Stubs next version
2015-01-14 15:52:20 +01:00
Raul Ochoa
4f18e31af5
Release 1.23.0
2015-01-14 15:50:59 +01:00
Raul Ochoa
41f6a172ee
Merge pull request #242 from CartoDB/static-controllers
...
Upgrade windshaft for static previews
2015-01-14 15:45:22 +01:00
Raul Ochoa
1776d31ba4
Upgrades windshaft to 0.33.0
2015-01-14 15:32:59 +01:00
Raul Ochoa
845ebcac15
Merge branch 'master' into static-controllers
...
Conflicts:
npm-shrinkwrap.json
2015-01-13 12:45:37 +01:00
Raul Ochoa
45f73d4be8
Stubs next version
2015-01-13 12:19:28 +01:00
Raul Ochoa
ebdd71f342
Release 1.22.0
2015-01-13 12:18:10 +01:00
Raul Ochoa
597f8a7bab
Merge pull request #240 from CartoDB/health-check
...
Add healthcheck endpoint
2015-01-13 12:12:34 +01:00
Raul Ochoa
3f1aa9955b
Remove query tables api dependency from health check
2015-01-13 12:09:02 +01:00
Raul Ochoa
aad2a1e098
Regenerate npm-shrinkwrap.json
2015-01-13 12:01:34 +01:00
Alejandro Martínez
07fd7619bc
Merge remote-tracking branch 'origin/master' into health-check
...
Conflicts:
NEWS.md
npm-shrinkwrap.json
package.json
2015-01-13 11:55:54 +01:00
Alejandro Martínez
96bcd14bb8
Remove PostgreSQL from health checks
...
This way the health checks will only check for Redis and Mapnik
initialization.
An empty tile without layers or datasources is generated.
2015-01-13 11:29:19 +01:00
Alejandro Martínez
db9d350cae
Add healthcheck configuration examples
2015-01-12 16:00:39 +01:00
Raul Ochoa
5914498027
Add canvas dependencies for travis
2015-01-02 17:26:30 +01:00
Raul Ochoa
180109e3aa
Update npm-shrinkwrap.json
2015-01-02 15:36:19 +01:00
Raul Ochoa
929dac0df0
Merge branch 'master' into static-controllers
2014-12-23 14:16:33 +01:00
Raul Ochoa
6cd9a53aa5
Merge pull request #237 from CartoDB/templateid_typo
...
Update Map-API.md
2014-12-23 14:15:51 +01:00
Carlos Matallín
cd585dd657
Update Map-API.md
2014-12-23 14:06:02 +01:00
javi santana
2a150a6e7e
Merge pull request #236 from CartoDB/typoFixes
...
Fixed typos, etc.
2014-12-18 10:17:32 +01:00
Andy Eschbacher
902b7339d1
Fixed typos, etc.
2014-12-17 15:31:18 -05:00
Raul Ochoa
f84b907dc8
Merge branch 'master' into static-controllers
...
Conflicts:
npm-shrinkwrap.json
package.json
2014-12-16 19:05:39 +01:00
Raul Ochoa
72cf5f8b04
Stubs next version
2014-12-15 16:08:18 +01:00
Raul Ochoa
e1d7852877
Release 1.21.2
2014-12-15 16:07:00 +01:00
Raul Ochoa
3f66c20616
Upgrades windshaft to 0.32.4
2014-12-15 16:05:58 +01:00
Raul Ochoa
a5f908d70e
Merge branch 'master' into static-controllers
...
Conflicts:
npm-shrinkwrap.json
package.json
2014-12-12 16:53:38 +01:00
Raul Ochoa
e9383a2f0c
Stubs next version
2014-12-11 10:24:22 +01:00
Raul Ochoa
0453166326
Release 1.21.1
2014-12-11 10:22:56 +01:00
Raul Ochoa
670478e9ca
Merge pull request #234 from CartoDB/upgrade-windshaft
...
Upgrade windshaft
2014-12-11 10:21:27 +01:00
Raul Ochoa
1a9bc5550c
Make windshaft version visible in news
2014-12-11 10:17:12 +01:00
Raul Ochoa
25f7e58b3a
Re-generate npm-shrinkwrap.json
2014-12-11 10:16:05 +01:00
Raul Ochoa
839f8b062b
Changes to windshaft tagged version
2014-12-11 10:12:40 +01:00
Raul Ochoa
eae1fbff8a
Upgrades windshaft
2014-12-10 20:25:27 +01:00
Raul Ochoa
d628b2de27
Merge branch 'master' into static-controllers
...
Conflicts:
npm-shrinkwrap.json
2014-12-02 18:24:41 +01:00
Raul Ochoa
56e4cb765f
Merge pull request #231 from CartoDB/230-close-logfile-fd-on-kill-hup
...
Closes fd for log files on `kill -HUP`
2014-12-02 17:27:10 +01:00
Raul Ochoa
21179c56d4
Merge branch 'master' into static-controllers
...
Conflicts:
npm-shrinkwrap.json
package.json
2014-12-02 17:14:42 +01:00
Raul Ochoa
3da2830cfa
Merge branch 'master' into 230-close-logfile-fd-on-kill-hup
...
Conflicts:
npm-shrinkwrap.json
2014-12-02 17:09:50 +01:00
Raul Ochoa
873d6287c4
Merge pull request #232 from CartoDB/upgrade-windshaft
...
Upgrades windshaft to 0.32.1
2014-12-02 17:05:42 +01:00
Raul Ochoa
ea7eed4ad0
Upgrades windshaft to 0.32.1
2014-12-02 16:37:41 +01:00
Raul Ochoa
3b4b5ab298
Closes fd for log files on kill -HUP. Fixes #230
2014-12-02 15:05:28 +01:00
Raul Ochoa
2711c9b78c
Fix typo
2014-12-02 11:00:36 +01:00
Raul Ochoa
48d60821a7
Exposes http renderer config
2014-12-01 18:43:40 +01:00
Raul Ochoa
076f4b441f
Regenerates npm-shrinkwrap.json, will work on 0.8.x issues later
2014-11-27 12:16:52 +01:00
Raul Ochoa
e9eca83cd1
Fixes windshaft version
2014-11-27 12:07:29 +01:00
Raul Ochoa
f6aa20b96d
Regenerate npm-shrinkwrap.json using millstone 0.6.14
2014-11-27 11:51:23 +01:00
Raul Ochoa
c15a384622
Regenerate npm-shrinkwrap.json as it seems to be different now
2014-11-27 03:18:22 +01:00
Raul Ochoa
46c3bedd15
Regenerate npm-shrinkwrap.json
2014-11-27 03:06:25 +01:00
Raul Ochoa
bc587f17de
Adds proj4 in npm-shrinkwrap.json
2014-11-27 02:16:00 +01:00
Raul Ochoa
5905971178
Fix url for stats wiki
2014-11-25 14:39:18 +01:00
Raul Ochoa
afc7a7c956
Merge branch 'master' into static-controllers
2014-11-25 13:20:30 +01:00
Raul Ochoa
bf970803ec
Defaults logging to stdout in development config example
2014-11-25 13:19:04 +01:00
Raul Ochoa
3de473662f
Use static-controller branch from windshaft
2014-11-25 12:53:35 +01:00
Raul Ochoa
4bad92e3dd
Improve named maps
2014-11-21 15:19:41 +01:00
Raul Ochoa
2089a299f1
Fix json
2014-11-18 11:33:33 +01:00
Raul Ochoa
10b1081960
Change highlighting to ```
2014-11-14 17:23:15 +01:00
Raul Ochoa
c636a820d5
Fix named maps instantiation example
2014-11-13 14:14:24 +01:00
Raul Ochoa
6c4bb59f06
First tests, not all ready. WIP
2014-11-05 15:42:28 +01:00
Raul Ochoa
97c55c1187
Removes console.log
2014-11-05 15:42:16 +01:00
Raul Ochoa
2c5db229c6
Merge pull request #229 from CartoDB/pgraster
...
Add default configuration for raster overviews
2014-11-05 15:06:18 +01:00
Raul Ochoa
7c389a8010
Health check endpoint
2014-11-05 15:06:01 +01:00
Raul Ochoa
c84ed0a4b4
Merge branch 'master' into pgraster
...
Conflicts:
npm-shrinkwrap.json
package.json
2014-11-05 14:54:59 +01:00
Raul Ochoa
1c638aa661
Upgrades windshaft to 0.32.0
2014-11-05 14:48:59 +01:00
Raul Ochoa
6325a23bb4
Adds default value for raster overviews configuration
2014-11-05 12:48:26 +01:00
Raul Ochoa
07abae30ba
Stubs next version
2014-10-24 17:08:27 +02:00
Raul Ochoa
494e2f48d5
Release 1.21.0
2014-10-24 17:07:36 +02:00
Raul Ochoa
c7875b3f53
Merge pull request #226 from CartoDB/layergroup-ttl
...
Allow a different cache-control max-age for layergroup responses
2014-10-24 16:55:30 +02:00
Raul Ochoa
c88330f5f2
Allow a different cache-control max-age for layergroup responses
2014-10-24 16:05:41 +02:00
Raul Ochoa
ff4ec19fff
Fix documentation typos, endpoints and replace all /tiles with /api/v1/map
2014-10-21 19:18:34 +02:00
Raul Ochoa
697f3473f6
Use pgraster branch from windshaft
2014-10-21 14:46:53 +02:00
Raul Ochoa
439cd65050
Stubs next version
2014-10-20 17:52:47 +02:00
Raul Ochoa
79c7a559ad
Release 1.20.2
2014-10-20 17:51:16 +02:00
Raul Ochoa
18d5315c2f
Regenerate npm-shrinkwrap.json
2014-10-20 17:26:33 +02:00
Raul Ochoa
06693aeac7
Upgrades windshaft to 0.31.0
2014-10-20 17:24:23 +02:00
Raul Ochoa
d5e6f9906c
Stubs next version
2014-10-17 14:23:19 +02:00
Raul Ochoa
fac4de21de
Release 1.20.1
2014-10-17 14:21:51 +02:00
Raul Ochoa
e3d0f0ec8f
Adds default value for redis returnToHead configuration
2014-10-17 14:18:14 +02:00
Raul Ochoa
81c86019ab
Upgrades redis-mpool to 0.3.0
2014-10-17 14:15:59 +02:00
Raul Ochoa
95c4a25bd2
Stubs next version
2014-10-15 17:30:49 +02:00
Raul Ochoa
d2f801c7d6
Release 1.20.0
2014-10-15 17:29:56 +02:00
Raul Ochoa
f72c4f28da
Prepend also the app name
2014-10-15 17:16:29 +02:00
Raul Ochoa
a248fe5c4b
Prepend redis-pool in statsd key for redis-mpool status
2014-10-15 17:08:56 +02:00
Raul Ochoa
e9495ccd84
Merge pull request #225 from CartoDB/upgrade-windshaft
...
Upgrades Windshaft to report redis/renderers/mapnik pool metrics
2014-10-15 16:55:40 +02:00
Raul Ochoa
cf5e34eae6
Upgrades Windshaft to start reporting redis/renderers/mapnik pool metrics
2014-10-15 16:45:49 +02:00
Raul Ochoa
e52f583e20
Merge pull request #224 from CartoDB/one-redis-mpool
...
Use only one redis-mpool across the whole app
2014-10-15 16:31:02 +02:00
Raul Ochoa
98967cdf88
Be more clear about the effect of the statusInterval number
2014-10-15 16:25:35 +02:00
Raul Ochoa
ceb1bb7f50
Document what emitter.statusInterval is.
2014-10-15 16:20:51 +02:00
Raul Ochoa
94c61cb959
Update to release versions
2014-10-15 12:31:40 +02:00
Raul Ochoa
20cb559714
Merge branch 'master' into one-redis-mpool
2014-10-15 11:44:38 +02:00
Raul Ochoa
2a49770fc0
Merge pull request #223 from CartoDB/remove-travis-mapnik
...
Remove self-signed certificates workaround
2014-10-15 11:44:19 +02:00
Raul Ochoa
4a71a9f7b5
Remove self-signed certificates workaround
2014-10-15 11:06:16 +02:00
Raul Ochoa
b4b596ad8b
Merge pull request #222 from CartoDB/remove-travis-mapnik
...
Let's use travis postgresql addon instead of manually installed one
2014-10-15 10:53:27 +02:00
Raul Ochoa
a865bcfa1d
Let's use travis postgresql addon instead of manually installed one
2014-10-15 10:48:00 +02:00
Raul Ochoa
3587cf5154
Merge pull request #221 from CartoDB/remove-travis-mapnik
...
Reduces travis dependencies installation
2014-10-15 00:41:15 +02:00
Raul Ochoa
12b1d6e53b
Reduces travis dependencies installation
2014-10-14 23:03:08 +02:00
Raul Ochoa
f4cb87f493
Adds default values for slow queries in redis
2014-10-14 22:14:34 +02:00
Raul Ochoa
804088009e
Report to statsd the status of redis pools
2014-10-14 22:12:35 +02:00
Raul Ochoa
9f5faf7cf8
Server options to instantiate cartodb-redis with redis configuration if pool is not provided
2014-10-14 21:19:44 +02:00
Raul Ochoa
711c1a89ee
Merge branch 'master' into one-redis-mpool
2014-10-14 18:23:17 +02:00
Raul Ochoa
30dd0604ca
Stubs next version
2014-10-14 15:44:58 +02:00
Raul Ochoa
0b67eed92f
Release 1.19.0
2014-10-14 15:12:17 +02:00
Raul Ochoa
9782cbae35
Merge pull request #220 from CartoDB/upgrade-npm-shrinkwrap
...
Generates npm-shrinkwrap.json with npm >1.2.0
2014-10-14 14:50:54 +02:00
Raul Ochoa
6ca4c0b23f
Generates npm-shrinkwrap.json with npm >1.2.0
2014-10-14 14:17:54 +02:00
Raul Ochoa
a672ac66ae
Upgrades windshaft to 0.28.2
2014-10-14 14:05:50 +02:00
Raul Ochoa
65c4ca01d0
Stubs next version
2014-10-13 16:29:31 +02:00
Raul Ochoa
6c3e2513d5
Release 1.18.2
2014-10-13 16:28:15 +02:00
Raul Ochoa
cc50364453
Upgrades windshaft to 0.28.1
2014-10-13 16:19:32 +02:00
Raul Ochoa
774104b34e
Defaults resultSet to object if undefined in QueryTablesApi
2014-10-13 15:24:14 +02:00
Raul Ochoa
5a3e427249
Stubs next version
2014-10-13 11:50:21 +02:00
Raul Ochoa
a9e2f95fdb
Release 1.18.1
2014-10-13 11:48:57 +02:00
Raul Ochoa
d89b2986fd
Allow to add more node.js' threadpool workers via process.env.UV_THREADPOOL_SIZE
2014-10-08 16:50:35 +02:00
Raul Ochoa
91229dd1e1
Merge pull request #219 from strk/master-ignores
...
Ignore files produced by "make check"
2014-10-08 10:41:06 +02:00
Sandro Santilli
f52c65ea25
Ignore files produced by "make check"
2014-10-08 10:33:19 +02:00
Sandro Santilli
e9f5c60719
Use a windshaft-specific name for the test user
...
Avoids problems with running cartodb-sql-api tests after
windshaft-cartodb tests (as the test database is not cleaned up)
2014-10-08 10:31:32 +02:00
Sandro Santilli
9b06ac833a
Have ./configure tolerate unknown options
2014-10-08 10:10:58 +02:00
Raul Ochoa
3dad6e96e3
Merge branch 'master' into one-redis-mpool
2014-10-07 12:47:10 +02:00
Raul Ochoa
8fd6e22dc4
Stubs next version
2014-10-03 17:05:20 +02:00
Raul Ochoa
474198b4e1
Release 1.18.0
2014-10-03 17:03:50 +02:00
Raul Ochoa
fbdafcb7b7
Comes back to use mapnik 2.3.x based on cartodb/node-mapnik@1.4.15-cdb from windshaft@0.28.0
2014-10-03 16:57:04 +02:00
Raul Ochoa
9b0232c48d
Stubs next version
2014-10-01 20:28:47 +02:00
Raul Ochoa
723a184086
Release 1.17.2
2014-10-01 20:27:11 +02:00
Raul Ochoa
db34a4ffff
Stubs next version
2014-09-30 15:09:56 +02:00
Raul Ochoa
0b896fb935
Release 1.17.1
2014-09-30 15:08:26 +02:00
Raul Ochoa
e0331ec022
Upgrades mocha
2014-09-30 15:03:14 +02:00
Raul Ochoa
e31ef916f0
Upgrades windshaft to 0.27.1 which downgrades node-mapnik to 1.4.10
2014-09-30 15:02:24 +02:00
Raul Ochoa
55669f88ff
Updates news
2014-09-26 11:21:28 +02:00
Raul Ochoa
c13dbc9a57
Merge pull request #214 from CartoDB/CDB-4008
...
TTL for template locks so they are not kept forever
2014-09-26 11:16:05 +02:00
Raul Ochoa
e8e03585ff
Adds dot.js dependency
2014-09-25 19:17:02 +02:00
Raul Ochoa
b4bee864d2
Lock now considers the creation time and compares against a ttl so
...
a lock is not keep forever in case of failure.
Pending: lazy removal of expired locks.
2014-09-25 19:00:35 +02:00
Raul Ochoa
b41d1e84da
Stubs next version
2014-09-25 16:17:10 +02:00
Raul Ochoa
b5d5d7c2b0
Release 1.17.0
2014-09-25 16:15:51 +02:00
Raul Ochoa
3e571b4ce8
Use object.keys to iterate over objects
2014-09-25 12:17:32 +02:00
Raul Ochoa
fb8fd5121e
Do not expose internal implementation
2014-09-25 12:16:34 +02:00
Raul Ochoa
ac2a3243b5
Don't cache regexes and avoid the _re hack
2014-09-25 12:04:52 +02:00
Raul Ochoa
1c10b8193b
Adds dot to compile templates
2014-09-24 19:17:51 +02:00
Raul Ochoa
abf0fa1b32
Remove unused var
2014-09-24 19:12:43 +02:00
Raul Ochoa
4c5bc13c7f
Check style fixes
2014-09-24 19:11:53 +02:00
Raul Ochoa
c33b81e3ad
Merge pull request #213 from CartoDB/mapnik-2.3.x
...
Starts using mapnik 2.3.x by upgrading windshaft dependency
2014-09-24 16:26:21 +02:00
Raul Ochoa
f88f0b5019
Modify travis configuration to be able to compile node-mapnik with mapnik 2.3.x
2014-09-24 16:02:31 +02:00
Raul Ochoa
3b96f0d535
Starts using mapnik 2.3.x via windshaft upgrade
2014-09-24 15:54:13 +02:00
Raul Ochoa
243672ead5
Merge branch 'master' into mapnik-2.3.x
2014-09-24 15:27:41 +02:00
Raul Ochoa
7009eb20f8
Check style fixes
2014-09-24 11:42:53 +02:00
Raul Ochoa
24cbd192aa
Share one redis-mpool across the application
2014-09-24 11:42:36 +02:00
Raul Ochoa
9d36ae293c
Run check before any assert so server is stopped
2014-09-18 19:07:15 +02:00
Raul Ochoa
9496d83d1c
Adds poolSize configuration for mapnik
2014-09-18 19:06:45 +02:00
Raul Ochoa
18233e9ea1
Upgrades windshaft and cartodb-redis
2014-09-18 19:05:20 +02:00
Raul Ochoa
6523c4bbbb
Fixes template.json in documentation to be a valid JSON
2014-09-03 12:34:28 +02:00
Raul Ochoa
5bafbdfaa0
Changes mapnik dependency in windshaft module to use node-mapnik 1.4.13
...
which is based on mapnik-2.3.x
2014-08-29 17:03:31 +02:00
Raul Ochoa
7afa869833
Use double quote to be consistent
2014-08-29 16:48:28 +02:00
Raul Ochoa
0d32036523
Merge pull request #211 from CartoDB/CDB-3659
...
Remove some metrics
2014-08-26 13:44:21 +02:00
Raul Ochoa
a084ec19ff
Update news
2014-08-26 12:23:56 +02:00
Raul Ochoa
7faff8f887
Removes cors metric
2014-08-26 11:53:59 +02:00
Raul Ochoa
f406001315
Removes get_infowindow and get_map_metadata metrics
2014-08-25 19:15:31 +02:00
Raul Ochoa
2b2020b43b
Removes getTableGeometryType metric
2014-08-25 19:09:54 +02:00
Raul Ochoa
4886e4b34a
Merge pull request #210 from CartoDB/improve-query-tables-api
...
Removes duplicated code in query_tables_api
2014-08-22 13:17:02 +02:00
Raul Ochoa
65e0364d37
Removes duplicated code in query_tables_api
2014-08-22 12:52:05 +02:00
Raul Ochoa
13e16e0a26
Merge pull request #209 from CartoDB/scale_denominator-support
...
Supports `!scale_denominator!` dynamic param in SQL queries
2014-08-22 10:30:14 +02:00
Raul Ochoa
965e1cd0c4
Supports !scale_denominator! dynamic param in SQL queries
2014-08-22 10:16:39 +02:00
Raul Ochoa
3750b67110
Merge pull request #208 from CartoDB/CDB-1843
...
Upgrades windshaft
2014-08-19 19:06:25 +02:00
Raul Ochoa
7e1f48f212
CDB-1843 upgrades windshaft
2014-08-19 18:42:48 +02:00
Raul Ochoa
42457df2c1
Stubs next version
2014-08-19 14:28:24 +02:00
Raul Ochoa
56d8f1acfe
Release 1.16.1
2014-08-19 14:26:19 +02:00
Raul Ochoa
56ac4acc9f
Upgrades cartodb-redis
2014-08-19 14:25:45 +02:00
javi santana
d91b0f1af5
fixed missing comma
2014-08-19 09:25:45 +02:00
Raul Ochoa
f986516379
Stubs next version
2014-08-18 15:29:47 +02:00
Raul Ochoa
fa59255556
Release 1.16.0
2014-08-18 15:28:38 +02:00
Raul Ochoa
ab1c11faf2
Merge pull request #207 from CartoDB/upgrade-windshaft
...
Upgrade windshaft
2014-08-18 15:26:58 +02:00
Raul Ochoa
307f220de4
Updates news
2014-08-18 15:14:01 +02:00
Raul Ochoa
50c8a2dc69
Defaults mapnik version for test
2014-08-18 14:48:45 +02:00
Raul Ochoa
3f726dc4c5
Upgrades windshaft
2014-08-18 14:41:29 +02:00
Raul Ochoa
105d50f1f4
Merge pull request #206 from CartoDB/upgrade-dependencies
...
Upgrades dependencies
2014-08-15 01:51:16 +02:00
Raul Ochoa
a3a5964926
Upgrades dependencies
2014-08-14 19:54:45 +02:00
Raul Ochoa
6a8cff6fcd
Merge branch 'remove-mapnik-dependency'
...
Conflicts:
NEWS.md
2014-08-14 19:26:52 +02:00
Raul Ochoa
b42e9c80f7
Adds windshaft's mapnik dependency to npm-shrinkwrap.json
2014-08-14 18:56:33 +02:00
Raul Ochoa
23a7684208
Removes mapnik dependency as it now relies on Windshaft to check mapnik version
2014-08-14 18:27:54 +02:00
Raul Ochoa
c52c245b9d
Merge pull request #204 from CartoDB/CDB-3686
...
Configurable QueryTablesAPI to call directly postgresql
2014-08-14 13:44:07 +02:00
Raul Ochoa
4555b2107a
Updates news
2014-08-14 13:32:22 +02:00
Raul Ochoa
49b0120c6d
Formats NEWS
2014-08-14 13:32:04 +02:00
Raul Ochoa
f2541d8cae
Merge branch 'master' into CDB-3686
...
Conflicts:
package.json
2014-08-13 15:31:22 +02:00
Raul Ochoa
d1fb792709
Stubs next version
2014-08-13 15:27:16 +02:00
Raul Ochoa
86fb58155a
Release 1.15.0
2014-08-13 15:26:25 +02:00
Raul Ochoa
d3c656893c
Merge pull request #202 from CartoDB/CDB-3135
...
Upgrades dependencies to get redis-mpool improvements
2014-08-13 15:24:59 +02:00
Raul Ochoa
713e394e7b
Slow pool configuration in example configurations
2014-08-13 15:15:30 +02:00
Raul Ochoa
40acf533ae
Specifies name in the redis pool
2014-08-13 15:12:46 +02:00
Raul Ochoa
13fdfc602e
Upgrades dependencies
2014-08-13 15:10:58 +02:00
Raul Ochoa
8255f3eb51
Upgrades cartodb-psql dependency
2014-08-11 20:18:27 +02:00
Raul Ochoa
e7ab71c606
Merge branch 'master' into CDB-3686
2014-08-11 12:19:11 +02:00
Raul Ochoa
3eab0d6349
Stubs next version
2014-08-07 12:35:38 +02:00
Raul Ochoa
58047fac17
Release 1.14.0
2014-08-07 12:34:49 +02:00
Raul Ochoa
6e4144d015
Prepares next release
2014-08-07 12:33:53 +02:00
Raul Ochoa
8b0fda8d89
Merge pull request #201 from CartoDB/CDB-3664
...
Upgrades windshaft (and grainstore) to be able to specify the tile format
2014-08-07 12:20:01 +02:00
Raul Ochoa
2ed656ca0d
Upgrades windshaft (and grainstore) to be able to specify the tile
...
format, see: https://github.com/mapnik/mapnik/wiki/OutputFormats
2014-08-07 01:57:21 +02:00
Raul Ochoa
5cf79c82bb
Configurable QueryTablesAPI to call directly postgresql using cartodb-psql
...
or to keep using a request to the SQL API
2014-08-06 21:48:08 +02:00
Raul Ochoa
d1373bec66
Improves SQL query for affected tables and last updated time
2014-08-04 17:48:59 +02:00
Raul Ochoa
325a0503cb
Merge branch 'master' into cdb
2014-08-04 14:14:53 +02:00
Raul Ochoa
fa72f52ad4
Merge pull request #200 from CartoDB/CDB-3686
...
Affected tables and last updated time for a query into a single SQL API request
2014-08-04 14:14:00 +02:00
Raul Ochoa
528815a564
Updates news
2014-08-04 13:24:44 +02:00
Raul Ochoa
dabcba9f5f
Merge branch 'master' into CDB-3686
2014-08-04 13:11:40 +02:00
Raul Ochoa
5d9afc18f5
Merge tag '1.13.1' into cdb
2014-08-04 13:11:01 +02:00
Raul Ochoa
995dabc9b7
Stubs next version
2014-08-04 13:05:08 +02:00
Raul Ochoa
36145542af
Release 1.13.1
2014-08-04 13:04:13 +02:00
Raul Ochoa
06eca6525a
Merge pull request #199 from CartoDB/CDB-3657
...
CDB-3657 Adds profiler as JSON to the header
2014-08-04 13:02:27 +02:00
Raul Ochoa
414673b347
CDB-3657 Adds profiler as JSON to the header
2014-08-04 12:53:15 +02:00
Raul Ochoa
a9767c049f
CDB-3686 Adds support for per mil tolerance when comparing images as in Mac OS X some results from ImageMagick are a bit odd
2014-08-04 12:35:54 +02:00
Raul Ochoa
507a6a8979
CDB-3686 Style changes
2014-08-04 01:32:49 +02:00
Raul Ochoa
73d1db3bd2
CDB-3686 Adds support for per mil tolerance when comparing images as in Mac OS X some results from ImageMagick are a bit odd
2014-08-04 01:30:24 +02:00
Raul Ochoa
9b5921e8e1
CDB-3686 Fixes expected queries based on changes to request table names and last updated time in one request
2014-08-04 01:29:23 +02:00
Raul Ochoa
799a999148
CDB-3686 Makes SQL API emulator to handle new query with both names and updated time for affected tables.
2014-08-04 01:28:30 +02:00
Raul Ochoa
eafe3af13e
Fixes reference to redis-mpool
2014-08-01 18:27:55 +02:00
Raul Ochoa
4e420c2f33
Merge tag '1.13.0' into CDB-3686
2014-07-30 18:25:10 +02:00
Raul Ochoa
654b3ad6d3
Fixes reference to redis-mpool
2014-07-30 18:23:45 +02:00
Raul Ochoa
9f8d73a1df
Removes duplicated file
2014-07-30 18:17:14 +02:00
Raul Ochoa
f6e0b4ca9f
Merge branch 'master' of https://github.com/cartodb/windshaft-cartodb into CDB-3686
2014-07-30 18:13:47 +02:00
Raul Ochoa
1dbad1f0b8
Stubs next version
2014-07-30 18:11:32 +02:00
Raul Ochoa
8f9e19e3e2
Fix date in NEWS
2014-07-30 18:10:28 +02:00
Raul Ochoa
b1a0b5e235
Release 1.13.0
2014-07-30 18:08:07 +02:00
Raul Ochoa
bce13944c3
Merge pull request #198 from CartoDB/multiuser
...
Support for multiple schemas, multiple auth tokens and public user from redis
2014-07-30 17:56:05 +02:00
Raul Ochoa
c8fc3d1e7a
Updates to correct version of step profiler
2014-07-30 16:23:03 +02:00
Raul Ochoa
e6f7b9c1f9
Adds news about changes in multiuser branch
2014-07-30 16:08:45 +02:00
Raul Ochoa
552ebaaaac
Upgrades Windshaft to version 0.22.0
2014-07-30 15:25:15 +02:00
Raul Ochoa
6019fb2ca3
Merge pull request #197 from CartoDB/CDB-3678
...
[CDB-3678] Creates api_hostname global variable
2014-07-30 15:09:58 +02:00
Raul Ochoa
3af45e1a32
Moves calls to SQL API to its own entity.
...
Groups affected tables and last updated time for affected tables into one request.
2014-07-30 13:46:46 +02:00
Raul Ochoa
75088c89d3
Style fixes
2014-07-30 13:45:53 +02:00
Luis Bosque
2c1d46f159
[CDB-3678] Creates api_hostname global variable
2014-07-29 14:54:35 +02:00
javi santana
15b9a1f34b
fixed documentation
2014-07-24 13:01:35 +02:00
Carlos Matallín
5c70dd0557
run tests
2014-07-21 11:11:21 +02:00
Carlos Matallín
dc0acdbee1
Update Map-API.md
2014-07-21 10:18:15 +02:00
Carlos Matallín
ae01047e8c
Merge pull request #195 from matallo/master
...
move maps api doc
2014-07-09 14:24:27 +02:00
Carlos Matallín
1b7c2a0208
move maps api doc
2014-07-09 14:23:53 +02:00
Carlos Matallín
a8b01f523a
Merge pull request #194 from matallo/master
...
update doc
2014-07-09 14:20:43 +02:00
Carlos Matallín
23cbad8ba6
update doc
2014-07-09 14:19:25 +02:00
Carlos Matallín
984e0f6e83
Rename Map-API.md to Map-API-internal.md
2014-07-09 13:13:21 +02:00
Raul Ochoa
67df6a4d73
Adds support for several auth tokens
2014-07-08 10:35:45 +02:00
Raul Ochoa
f756b9d77f
Removes search_path param
2014-07-04 12:18:35 +02:00
Raul Ochoa
0dfd51f81a
Adds host to redis setup as it does not make sense to continue if there is no host in redis.
2014-07-04 11:47:44 +02:00
Raul Ochoa
bfdcee3772
Retrieving db public user from redis. It uses a new multiget method from cartodb-redis
2014-07-03 21:39:47 +02:00
Raul Ochoa
470aea22d9
Sets full search_path
2014-07-03 10:24:37 +02:00
Raul Ochoa
32e4c26c95
Sets origin for grainstore in shrinkwrap
2014-07-02 19:34:28 +02:00
Raul Ochoa
6a34568935
Forcing grainstore version in shrinkwrap
2014-07-02 19:16:06 +02:00
javi
3548106a6c
changed branch for windshaft
2014-06-27 23:42:03 +02:00
javi
3806ad8843
Merge remote-tracking branch 'origin/CDB-2891-search_path' into multiuser
2014-06-27 09:10:39 +02:00
Raul Ochoa
037ce2dc12
CDB-2891 Exposes username as search_path in params
2014-06-27 00:48:48 +01:00
javi
338c0bcdbe
use regclass instead table name to look for last_updated in CDB_tablemetadata
2014-06-26 15:00:55 +02:00
Raul Ochoa
bc3baf3094
CDB-3256 Prepares 1.12.1 release
2014-06-24 16:26:57 +02:00
Raul Ochoa
8a91b5cfb5
CDB-3256 Fixes test related to cache in templated layergroup creation
2014-06-24 16:05:54 +02:00
Raul Ochoa
4cf1ddd6fc
CDB-3256 Adds response and method references to fake request object
2014-06-24 15:52:47 +02:00
Raul Ochoa
cb781aeb00
CDB-3256 Prepares 1.12.0 Release
2014-06-24 14:24:14 +02:00
Raul Ochoa
2dd03e21e1
CDB-3256 fix test and adds a couple more of tests for testing the no-cache scenarios
2014-06-24 13:13:00 +02:00
Raul Ochoa
055bacbad7
Sets PGUSER environment variable
2014-06-24 12:39:57 +02:00
Raul Ochoa
46ae6d1fe4
Changes travis configuration to be similar to windshaft one
2014-06-24 12:39:46 +02:00
Raul Ochoa
5e73b12cf5
CDB-3256 adds headers based on affected tables when creating a layergroup via HTTP GET
2014-06-24 12:16:30 +02:00
Sandro Santilli
86c6f3eeac
Wrap all json strings and string values in double-quotes
2014-06-09 12:19:16 +02:00
Raul Ochoa
8922ae3a45
adds document about metrics being tracked
2014-05-29 13:10:46 +02:00
Raul Ochoa
318e22e9fa
Merge commit '4738b880a6c29a6d10dda3ad178f35a54bd576d3'
...
Conflicts:
NEWS.md
package.json
2014-05-07 19:07:20 +02:00
Raul Ochoa
4738b880a6
Prepares release 1.10.3
2014-05-07 18:28:10 +02:00
Sandro Santilli
49829f8935
Set default PostgreSQL application name to "cartodb_tiler"
2014-05-07 16:19:22 +02:00
Sandro Santilli
8e9d72982a
Refuse to start if log_filename points to a non-existing directory
...
Closes #189
2014-05-07 11:03:25 +02:00
Raul Ochoa
d2f0180475
Merge remote-tracking branch 'rochoa/master'
2014-04-22 11:40:48 +02:00
Raul Ochoa
4da0b1e07c
CDB-2096 Configures the CWD for log4js logger.
2014-04-22 10:52:59 +02:00
Sandro Santilli
5a4a35b665
Fix documentation for redis.max setting
...
Closes #192
2014-04-16 17:53:42 +02:00
Raul Ochoa
248cb4bd76
Removes unused dependency.
2014-04-11 15:14:59 +02:00
Sandro Santilli
140001f036
Update release document
2014-04-09 09:14:20 +02:00
Sandro Santilli
3917cac800
Add 1.10.2 section
2014-04-08 10:00:41 +02:00
Sandro Santilli
ee37da5b35
Prepare for 1.10.3
2014-04-08 10:00:10 +02:00
Sandro Santilli
6f8f3d2057
Release 1.10.2
2014-04-08 09:57:49 +02:00
Sandro Santilli
882ec65ba0
Use signer's map_key when contacting sql-api
...
Includes testcase.
Fixes #188
2014-04-08 09:44:49 +02:00
Sandro Santilli
7e1aba3368
Use signer's map_key when contacting sql-api
...
Includes testcase.
Fixes #188
2014-04-08 09:44:00 +02:00
Sandro Santilli
8aeadd1960
Fix show_style tool broken since 1.8.1
2014-03-31 12:55:30 +02:00
Sandro Santilli
a5b091eec8
Prepare for 1.10.2
2014-03-31 12:55:04 +02:00
Sandro Santilli
bbd4db6ddb
Fix show_style tool broken since 1.8.1
2014-03-31 12:53:48 +02:00
Sandro Santilli
312194228a
Stop duplicating global.environment as global.settings
2014-03-28 18:47:59 +01:00
Sandro Santilli
5c1125900b
Add support for log_filename directive, reopen logfile on SIGHUP
2014-03-28 18:05:18 +01:00
Sandro Santilli
08b8741282
Reload log files on SIGUSR2
...
This is an attempt to play more nicely with logrotate
2014-03-28 17:06:44 +01:00
Sandro Santilli
e8367b765a
Add persist_connection setting in .example configs
2014-03-24 17:40:43 +01:00
Sandro Santilli
91cd0df7b3
Typo in comment
2014-03-24 17:03:32 +01:00
Sandro Santilli
dff0a2aa1f
Merge branch 'b1.10'
...
Fixes bogus caching of failing jsonp responses
2014-03-21 15:17:43 +01:00
Sandro Santilli
1bf7bf66b3
Release 1.10.1
2014-03-21 15:16:19 +01:00
Sandro Santilli
9e495b42ee
Do not cache non-success jsonp responses
...
Closes #186
Includes testcase
2014-03-21 13:58:20 +01:00
Sandro Santilli
5f30b9e798
Add an example of a slow mapconfig (using lots of data)
2014-03-20 18:19:30 +01:00
Sandro Santilli
7c892de7b1
Prepare for 1.11.0
2014-03-20 17:11:06 +01:00
Sandro Santilli
898f717254
Prepare for 1.10.1
2014-03-20 17:10:39 +01:00
Sandro Santilli
800ef32959
Release 1.10.0
2014-03-20 17:08:35 +01:00
Sandro Santilli
609d69c4c9
Upgrade of windshaft fixed connection details to client
...
Closes #183 .
2014-03-20 10:21:28 +01:00
Sandro Santilli
9e1be39774
Switch to 3-clause BSD license
...
Closes #184
2014-03-20 10:20:51 +01:00
Sandro Santilli
87ac44a1f1
Upgrade windshaft to 0.20.0
...
Reduces noise on the "error" channel (now optionally writing to rollbar)
and avoids caching bogus mapnik renderers.
Details: http://github.com/CartoDB/Windshaft/blob/0.20.0/NEWS
2014-03-20 10:18:33 +01:00
Sandro Santilli
9c4feac19b
Ensure make check fails if database preparation fails
2014-03-19 17:04:06 +01:00
Sandro Santilli
471edabe4d
Reword uncaught exception error, and log full stack
2014-03-13 11:58:29 +01:00
Sandro Santilli
86841f80ca
Use version of node-mapnik with temptative fix for glibc detected corruptions
2014-03-13 10:26:11 +01:00
Sandro Santilli
79348178a7
Upgrade node-varnish to 0.3.0
2014-03-12 18:11:19 +01:00
Sandro Santilli
60b552027b
Add optional support for rollbar
...
Re-targets to 1.10.0
Also installs an uncaught exception handler
Closes #150
2014-03-12 17:21:35 +01:00
Sandro Santilli
62cbb15089
Include tiler version in startup log
2014-03-11 12:21:00 +01:00
Sandro Santilli
667b911023
Prepare for 1.9.1
2014-03-10 17:41:44 +01:00
Sandro Santilli
071e86799b
Release 1.9.0
2014-03-10 17:40:55 +01:00
Sandro Santilli
4164cf7adb
Set release date for 1.8.5
2014-03-10 17:37:19 +01:00
Sandro Santilli
b61aee36e7
More format changes
2014-03-06 16:29:26 +01:00
Sandro Santilli
7b16676f63
Retarget to 1.9.0
2014-03-06 16:28:13 +01:00
javi
ff4f46abcc
Merge branch 'server_metadata'
2014-03-06 16:27:01 +01:00
javi santana
09c1bd96df
fix formating
2014-03-06 16:22:25 +01:00
javi santana
40a190c29c
added cdn_url option
2014-03-06 16:22:04 +01:00
javi
5bfc360856
added serverMetadata option for layer group, close #182 CDB-1940
2014-03-06 15:19:12 +01:00
Sandro Santilli
7eb26a7326
Upgrade windshaft to 0.19.3, fixing crash on dns error
...
Closes #180
2014-03-05 18:16:42 +01:00
Sandro Santilli
0afc9c154b
Cleanly catch exceptions from sendResponse
...
Closes #178
2014-03-04 18:04:58 +01:00
Sandro Santilli
97e00fb47d
Do not send duplicated stats on template instanciation
...
Closes #179
2014-03-04 17:51:50 +01:00
Sandro Santilli
dbae0eeb31
It is "cacheDns", not "dnsCache"
...
See https://github.com/sivy/node-statsd/issues/38
2014-03-04 17:37:19 +01:00
Sandro Santilli
bd9a21b805
Add "dnsCache" statsd setting in the example configs
2014-03-04 16:52:16 +01:00
Sandro Santilli
033f8df500
Include API docs, moved from wiki
...
Closes #164
2014-03-04 15:39:21 +01:00
Sandro Santilli
ffda103d61
Do not UNWATCH on every redis client release
...
Closes #161
2014-03-04 15:36:08 +01:00
Sandro Santilli
ecc9ea1226
Use 403 for forbidden, not 401
...
Includes upgrade of windshaft to 0.19.3
Includes upgrade of redis-mpool to 0.0.4
2014-03-04 15:32:31 +01:00
Sandro Santilli
93345a19b2
Do not log an error on GET /
...
Closes #177
2014-03-04 14:26:41 +01:00
Sandro Santilli
1741a20575
Do not cache map creation responses
...
Closes #176
CDB-1908 #resolve
CDB-1901 #resolve
Includes testcase
2014-03-04 10:46:15 +01:00
Sandro Santilli
30eb939dc7
Fix error message on missing requested signature
...
We don't really distinguish between missing or non-authorizing
signature. And that's fine. See #170
2014-03-03 18:14:17 +01:00
Sandro Santilli
40a254922a
Raise 403 forbidden on missing requested signature
...
Closes #170
Includes testcase
2014-03-03 18:06:39 +01:00
Sandro Santilli
7bc5bab432
Properly prefix statsd labels for all endpoints
...
CDB-1861 #resolve
Will be 100% complete with update of Windshaft to 0.19.3+
2014-03-03 16:24:20 +01:00
Sandro Santilli
6034f49f40
Prepare for 1.8.5
2014-03-03 11:45:23 +01:00
Sandro Santilli
087eff4734
Release 1.8.4
2014-03-03 11:26:16 +01:00
Sandro Santilli
ed5b045a15
Allow using NODE_ENV env variable to determine app configuration
...
Default to "development" environment.
Forward NODE_ENV variable to childrens (for example, to hush
millstone).
2014-02-28 16:22:24 +01:00
Sandro Santilli
c1a3cbc28c
Hush millstone during testsuite
2014-02-28 16:14:44 +01:00
Sandro Santilli
bddc65a504
Forbid instanciating templates of foreign users
...
Closes #173
Includes testcase
2014-02-28 16:05:46 +01:00
Sandro Santilli
ddd2628c19
Fix database connection settings on template instanciation
...
Closes #174
Enhances testsuite to ensure test.js settings are read
2014-02-28 15:56:31 +01:00
Sandro Santilli
cf0c33a85d
Oops, previous commit closed #172 , not #173
...
Closes #172
Reopens #173
2014-02-28 13:25:28 +01:00
Sandro Santilli
f46dc90035
Forbid using map signatures of foreign users
...
Closes #173
Includes testcase
2014-02-28 13:24:38 +01:00
Sandro Santilli
73276b1003
Upgrade windshaft to 0.19.2
...
Fixes obscure "ECONNREFUSED" error message (closes #171 )
Change some http status responses to be more appropriate to the case
2014-02-28 10:54:18 +01:00
Sandro Santilli
16e67387c9
Tell npm to use known registrars
...
See http://blog.npmjs.org/post/78085451721/npms-self-signed-certificate-is-no-more
2014-02-28 10:50:45 +01:00
Sandro Santilli
ca1b31bd9c
Add example MapConfig using a torque layer
2014-02-27 17:20:23 +01:00
Sandro Santilli
55f333c0b7
Call userByReq() only once in req2params
2014-02-27 16:40:59 +01:00
Sandro Santilli
f24e4f8a0a
Really skip CDB_TableMetadata lookup for sql affected by no tables
...
Closes #169
2014-02-27 15:34:09 +01:00
Sandro Santilli
eec9933fb8
Accept a slightly different error message on timeout
...
Node 0.10 uses ESOCKETTIMEDOUT while 0.8 uses ETIMEDOUT
See http://travis-ci.org/CartoDB/Windshaft-cartodb/builds/19722727
2014-02-27 13:37:44 +01:00
Sandro Santilli
238e8f39f2
Fix ticket referenc ein NEWS entry of 1.8.3
2014-02-27 12:46:56 +01:00
Sandro Santilli
919bcb6888
Prepare for 1.8.4
2014-02-27 12:46:43 +01:00
Sandro Santilli
50ebb25205
Release 1.8.3
2014-02-27 12:45:02 +01:00
Sandro Santilli
625642ca33
Oops, previous commit closed #168 , not #16
...
Closes #168
2014-02-27 12:43:15 +01:00
Sandro Santilli
36632c762e
Do not query CDB_TableMetadata for queries affected by no tables
...
Closes #16
2014-02-27 12:32:34 +01:00
Sandro Santilli
f284362988
Reduce sql-api communication timeout, and allow overriding it
...
Introduces new sqlapi.timeout directive, defaults to 100 ms
Includes testcase.
Closes #167
2014-02-27 10:33:32 +01:00
Sandro Santilli
cf01f01bc9
Upgrades windshaft to 0.19.1 with many performance improvements
...
Among others:
- Improve speed of instanciating a map
- Give meaningful error on attempts to use map tokens with
attribute service
Closes #156 -- CDB-1796 #resolve
Closes #147
Closes #159
Closes #165
2014-02-26 17:26:17 +01:00
Sandro Santilli
5d0c71d292
Prepare for 1.8.3
2014-02-25 11:10:56 +01:00
Sandro Santilli
b3d3269d3d
Release 1.8.2
2014-02-25 10:52:55 +01:00
Sandro Santilli
a13c1f61af
Do not log an error for a legit request requiring no X-Cache-Channel
2014-02-24 17:34:00 +01:00
Sandro Santilli
4064b8f254
Add test for lack of X-Cache-Channel in response to root request
2014-02-24 16:24:01 +01:00
Sandro Santilli
5c466c51a8
Revert order of hostname components for statsd.prefix
2014-02-21 17:25:10 +01:00
Sandro Santilli
36628ce78e
Also enable the profiler in the example test config
...
This is again for #157 without closing it
2014-02-21 17:06:29 +01:00
Sandro Santilli
d2d7bba357
Add statsd prefix in test example config
...
Still doesn't add automated testing (#157 ) but makes manual
testing easier.
2014-02-21 16:57:02 +01:00
Sandro Santilli
8e68716d16
Give more info on failure
2014-02-21 16:56:50 +01:00
Sandro Santilli
6824c09916
Change example test user and database names
...
This is to avoid a clash with cartodb test databases
2014-02-20 18:03:43 +01:00
Sandro Santilli
09ea924eb2
Allow using GET with sql-api for queries shorter than configured len
...
Introduces new sqlapi.max_get_sql_length directive, defaults to 2048.
Closes #155
Includes testcases.
2014-02-20 10:17:48 +01:00
Sandro Santilli
c8a042abdd
Expand "addCacheChannel" stats
2014-02-19 18:10:33 +01:00
Sandro Santilli
019540e622
Set example statsd prefix with :host placeholder
2014-02-19 16:16:39 +01:00
Sandro Santilli
9a5243ade3
Fix munin plugin after log format changes
...
Closes #154
2014-02-19 15:38:14 +01:00
Sandro Santilli
b4fc8ec4a5
Allow using ":host" as part of statsd.prefix
...
It'll be replaced with hostname.
Closes #153
2014-02-19 15:31:12 +01:00
Sandro Santilli
30a2d85e92
Prepare for 1.8.2
2014-02-19 15:26:43 +01:00
Sandro Santilli
98603594b1
Release 1.8.1
2014-02-19 12:24:43 +01:00
Sandro Santilli
7410d98d56
Require windsahft 0.19.0 final
2014-02-19 11:25:42 +01:00
Sandro Santilli
1f552a9e24
Do not duplicate date in logs (already injected by logger)
2014-02-19 11:16:37 +01:00
Sandro Santilli
6c6f3d02f6
Always generate X-Cache-Channel for token-based tile responses
...
Closes #152
2014-02-19 10:09:54 +01:00
Sandro Santilli
36a135f02b
Refactor addCacheChannel using Step
2014-02-19 07:19:41 +01:00
Sandro Santilli
1c3734fde7
Make server_option a callable function, to reduce globals
...
Updates acceptance test for #152 to not mess wit internals
2014-02-19 06:45:29 +01:00
Sandro Santilli
3c09be64ce
Add pending test for X-Cache-Channel on tiler restart ( #152 )
2014-02-18 18:33:00 +01:00
Sandro Santilli
719346a472
Use log4js logger
...
Closes #138 .
The logger will be automatically used by Windshaft on upgrade
to 0.18.1, see https://github.com/CartoDB/Windshaft/issues/140
2014-02-18 15:12:08 +01:00
Sandro Santilli
69693acea0
Add statsd prefix in example configs
2014-02-18 10:38:15 +01:00
Sandro Santilli
3873fdf5db
Prepare for 1.8.1
2014-02-18 10:38:01 +01:00
Sandro Santilli
c3a05e5041
Set 1.8.0 release date
2014-02-18 10:09:17 +01:00
Sandro Santilli
4c0ab92771
Default to installed mapnik_version during testing
...
See https://github.com/CartoDB/Windshaft/issues/117
2014-02-18 09:55:00 +01:00
Sandro Santilli
c14378ca5d
Avoid checking for table privacy when not using table maps
...
See #147
2014-02-17 18:20:18 +01:00
Sandro Santilli
26b9c8123d
Set maxSocket to allow more than 5 concurrent connections to sql-api
2014-02-17 18:03:11 +01:00
Sandro Santilli
5a504ac1dc
Require Windshaft-0.18.2 for statsd-profiler integration
2014-02-17 16:56:44 +01:00
Sandro Santilli
8401dcf6d7
Use /api/v1/map route for unified map api in the examples
...
Closes #146
2014-02-17 16:29:23 +01:00
Sandro Santilli
1f2e4edd35
Comments cleanup
2014-02-17 11:10:08 +01:00
Sandro Santilli
212eec2ca6
Pass profiler back to windshaft on createLayergroup
2014-02-17 08:50:12 +01:00
Sandro Santilli
935826ed1a
Integrate statsd in template instanciation endpoint
...
NOTE: stats are only enabled using windshaft 0.18.2+
2014-02-15 08:23:43 +01:00
Sandro Santilli
8f3c6c3c87
Add profiler calls in template instanciation endpoint
2014-02-15 08:06:57 +01:00
Sandro Santilli
cd3f8dcf89
Only print layergroupid on template instanciation
2014-02-14 17:33:20 +01:00
Sandro Santilli
9ff192366a
Add example mapconfig
2014-02-14 17:24:18 +01:00
Sandro Santilli
63401ca3df
Use a single redis client in SignedMap.isAuthorized
2014-02-14 17:07:52 +01:00
Sandro Santilli
8e323a6c07
Remove more commas (see previous commit)
2014-02-14 16:08:32 +01:00
xavijam
d50c6c6dc3
close #144 - removed unnecessary comma
2014-02-14 13:12:52 +01:00
Sandro Santilli
def474c611
Skip getting geometry type if request has no table
2014-02-14 12:26:34 +01:00
Sandro Santilli
c1b2d16119
rename tablePrivacy_getUserDBName profile label
2014-02-14 11:47:43 +01:00
Sandro Santilli
678d653ee9
Allow configuring TTL of mapConfigs via "mapConfigTTL"
2014-02-13 15:44:54 +01:00
Sandro Santilli
4a6af108b4
Fix use of maxUserTemplate configuration variable
2014-02-13 15:01:58 +01:00
Sandro Santilli
e4cd37647e
Allow limiting number of allowed user templates
...
Adds maxUserTemplates directive.
Closes #136
2014-02-13 14:55:31 +01:00
Sandro Santilli
4254f56093
Fix output from list_template to be more readable
2014-02-13 12:56:44 +01:00
Sandro Santilli
f7cef9dcd8
Fix bogus reference in SignedMaps when globals.environment is not set
2014-02-13 10:57:41 +01:00
Sandro Santilli
1c69eb1ae4
Add example template to use with the commandline tools
2014-02-13 10:31:28 +01:00
Sandro Santilli
b673cb2a1f
Add more detailed profile info about the "authorize" step
...
Closes #142
2014-02-13 10:25:28 +01:00
Sandro Santilli
e88e49001a
Do not retrive user's api key if no api key was provided
...
Reduces redis interaction, see #142
2014-02-13 10:16:11 +01:00
Sandro Santilli
6a599ccb5d
Add script to list templates
2014-02-13 09:19:19 +01:00
Sandro Santilli
a90bf2e87b
Require windshaft 0.18.1 for improve garbage collection
2014-02-13 08:54:47 +01:00
Sandro Santilli
115b1a5267
Add reference to node-0.10 ticket
2014-02-13 08:46:16 +01:00
Sandro Santilli
84e346057e
Have travis also build with node-0.10
...
Closes #141
2014-02-13 08:15:43 +01:00
Sandro Santilli
333de67ed5
Require Windshaft 0.18.0
2014-02-12 22:51:52 +01:00
Sandro Santilli
e4dd215808
Tested with node-0.10.25, works fine
2014-02-12 22:45:00 +01:00
javi
c214e269e9
added statsd to npm-shrinkwrap.json
2014-02-12 16:48:48 +01:00
Sandro Santilli
466eac18a7
Recommend setting "from" for other packages too
2014-02-12 16:23:52 +01:00
Sandro Santilli
6e5d8b2d30
Loosen node-varnish dep
2014-02-12 16:23:12 +01:00
Sandro Santilli
bf45bbea56
Do not send multiple equal commands to Varnish on connect
...
Closes #135
Also accept varnish "secret" in config
2014-02-12 16:14:27 +01:00
Sandro Santilli
cdbcc7dc18
Put statsd config in all example configs
2014-02-12 16:01:50 +01:00
Sandro Santilli
66e57606d2
Retarget to 1.8.0 for the statsd addition
2014-02-12 16:00:15 +01:00
Sandro Santilli
c7f3bb5722
Target 1.7.2
2014-02-12 15:54:21 +01:00
Sandro Santilli
0e2f921b7e
Add flush_cache script. Closes #140
2014-02-12 15:54:21 +01:00
javi
c421ea6bfc
added basic statsd cnfiguration options in sample file #139
2014-02-12 15:33:41 +01:00
javi
01feeae6f4
include state configuration for windshaft fixes #139
2014-02-12 15:27:42 +01:00
Sandro Santilli
1ff52fcd00
Add windshaft.from tweak for npm-shrinkwrap.json
2014-02-12 10:51:47 +01:00
Sandro Santilli
6db25c3b6a
Release 1.7.1
2014-02-12 10:42:51 +01:00
Sandro Santilli
88deded0fe
Workaround npm registry bug by downloading windshaft from github
...
See the problem here:
https://travis-ci.org/CartoDB/Windshaft-cartodb/builds/18663972
2014-02-11 19:33:05 +01:00
Sandro Santilli
fc0f2b5952
Require windshaft 0.17.2 for further reducing log noise
...
Closes #137
2014-02-11 17:31:21 +01:00
Sandro Santilli
e211e944e5
Set target version to 1.7.1
2014-02-11 16:37:22 +01:00
Sandro Santilli
a948038ff4
Disable debug logging unless "debug" config param evaluates to true
...
Closes #137
2014-02-11 16:34:43 +01:00
Sandro Santilli
c70d192987
Release 1.7.0
2014-02-11 15:19:36 +01:00
Sandro Santilli
3fc8630634
Require newer windshaft, regenerated shrinkwrap
2014-02-11 15:19:13 +01:00
Sandro Santilli
8c013ed2d1
Rename Step function in setDBConn
2014-02-11 13:42:44 +01:00
Sandro Santilli
7a749631e8
Fix profiler labels
2014-02-11 13:40:17 +01:00
Sandro Santilli
e3a5f398e4
Add test for instace token changing on template change
2014-02-10 15:48:35 +01:00
Sandro Santilli
747f4803ba
Include hash of template in the maptoken returned from instanciation
...
Doing so basically removes the need to include the template identifier
in the surrogate keys of the responses for resources fetched via
the instance whenever template is updated. See #105
2014-02-10 15:30:35 +01:00
Sandro Santilli
24709e8341
Add acceptance test for use of attributes service from template
...
Closes #120
2014-02-10 12:31:36 +01:00
Sandro Santilli
53861ad327
Populate test private table
2014-02-10 12:31:00 +01:00
Sandro Santilli
399bed34ad
Do not try to replace template variables in undefined elements
...
See #133
2014-02-10 11:26:21 +01:00
Sandro Santilli
6b41fef96c
Fix sendError calls to receive the full Error instance
2014-02-10 11:11:35 +01:00
Sandro Santilli
031e2a2e0c
Add test for missing cartocss from mapnik layer on layergroup post
...
See #133
2014-02-10 11:05:02 +01:00
Sandro Santilli
9b4787c4b7
Reword in bug fixes NEWS entries
2014-02-07 18:10:45 +01:00
Sandro Santilli
fe6e915c0d
Always set database access parameters from req2params
...
Fixes privileged database access from unauthorized users while
fetching torque tiles or feature attributes (unreleased feature).
Closes #132 .
Includes testcase, which closes #119
2014-02-07 18:08:41 +01:00
javi
b5d67ec6c0
updated news for #130
2014-02-06 17:46:39 +01:00
javi
f5e0d06e2f
fixed when default value in a template attribute is a number and type = number checking fails fixed #130
2014-02-06 17:45:48 +01:00
javi
78f69d5236
template variables with spaces are not replaced correctly fixed #129
2014-02-06 17:33:26 +01:00
Sandro Santilli
ab7d603171
Drop unified.js acceptance test.
...
Does not really make sense now that endpoints are configurable.
See #126 and #127
2014-02-06 12:58:10 +01:00
Sandro Santilli
b4936ffafa
Do not allow creating template with auth='token' and no valid tokens
...
Closes #128
Includes acceptance test for both creation and update
2014-02-06 12:24:14 +01:00
Sandro Santilli
752e9ec655
Add checkInvalidCertificate method for SignedMap class
...
Includes unit test
2014-02-06 12:05:01 +01:00
Sandro Santilli
9018e39762
Make endpoints configurable
...
Closes #127
Uses /api/v1/maps* in the production and staging example configs,
keeps /maps* for development and test (they are examples...)
2014-02-05 15:14:47 +01:00
Sandro Santilli
a964ed5fe6
Implement Unified Map API
...
Closes #126
2014-02-04 19:04:59 +01:00
Sandro Santilli
b862904506
Be explicit about the map output srid configuration
2014-02-04 16:26:26 +01:00
javi
7197cc2d62
added stack to response in development mode
2014-02-04 14:58:21 +01:00
Sandro Santilli
b01570924d
Add support for torque tiles and attributes fetching
...
Retargets self to 1.7.0
Upgrades Windshaft to 0.16.0
Closes #118 -- CDB-1525 #resolve
Closes #112 -- CDB-1329 #resolve
2014-02-04 13:30:59 +01:00
Sandro Santilli
db478579c5
Fix example development configuration to avoid use of empty sqlapi.domain
...
This is because as of CartoDB-SQL-API-1.8.2 the "user_from_host"
default configuration for "development" environment is:
'^(.*)\\.localhost'
Which would not match a domain-less hostname
Closes #117 for real now.
2014-01-30 16:56:23 +01:00
Sandro Santilli
978ea9cd04
Fix sqlapi request header to be "Host", not "Hostname"
...
Closes (better) #117 -- automated test included
2014-01-30 16:46:26 +01:00
Sandro Santilli
ca4f3d2025
Re-introduce sqlapi.host directive, allowing DNS lookups drop
...
For backward compatibility, sqlapi.host is only used if domain
is also defined and has a different value (empty string allowed).
Closes #117
2014-01-30 16:12:37 +01:00
Sandro Santilli
c0020fd75a
Release 1.6.3
2014-01-30 12:44:25 +01:00
Sandro Santilli
add4255bdc
Update windshaft to 0.15.1, fixing maxzoom in layergroup
...
Regenerates shrinkwrap, which includes other minor updates
in dependency modules.
2014-01-30 12:42:11 +01:00
Sandro Santilli
1f0faba71c
Stop processing XML on renderer creation
...
Not needed anymore since 1.6.1 introduced on-demand XML generation.
2014-01-30 11:14:52 +01:00
Sandro Santilli
e3f2658d53
Port show_style to node (really needed now)
2014-01-29 16:01:27 +01:00
Sandro Santilli
f7cdb5f0b7
Typo
2014-01-29 15:14:47 +01:00
Sandro Santilli
d32278b227
Rename template instanciation function
2014-01-29 14:30:27 +01:00
Sandro Santilli
76acc5af99
Indent and other minor tweaks
2014-01-29 13:34:22 +01:00
javi
5755e382fb
Merge branch 'master' of github.com:Vizzuality/Windshaft-cartodb
2014-01-29 13:12:40 +01:00
javi
95c450fe99
update NEWS for #116
2014-01-29 13:12:19 +01:00
javi
ad0b2ffc8e
added support for template instanciation with jsonp closes #116
2014-01-29 13:11:37 +01:00
Sandro Santilli
1b1b6b975e
Add test for malformed CartoCSS error ( #115 )
...
The test is disabled for it's failing, it isn't yet decided if
the regression has to be fixed or not.
2014-01-29 10:40:35 +01:00
Sandro Santilli
67e4e7e99b
Set api_key to signer's when instanciating a template map
...
Closes #114
2014-01-28 12:37:41 +01:00
javi
ac31c69c80
added spec to test instanciation of open templated maps without api_key
2014-01-28 12:12:33 +01:00
javi
92ca447c06
fixed #91
2014-01-28 12:05:01 +01:00
javi
bdea9f10fc
fixed sqlemu to return forbidden when table name contains "private" in its name
2014-01-28 12:04:10 +01:00
Sandro Santilli
dc3d36e0a5
Prepare for 1.6.3
2014-01-23 12:27:39 +01:00
Sandro Santilli
99ef396aeb
Release 1.6.2
2014-01-23 12:25:34 +01:00
javi
69d7fb0344
fixed news #113
2014-01-22 19:12:17 +01:00
javi
e4e08db0b4
Merge branch 'master' of github.com:Vizzuality/Windshaft-cartodb
2014-01-22 19:10:37 +01:00
javi
164d952e56
support CORS in template instanciation endpoint, fixes #113
2014-01-22 19:10:09 +01:00
Sandro Santilli
c711dc328e
Fix XML print from in show_style for token styles ( #110 )
2014-01-17 17:47:37 +01:00
Sandro Santilli
8b80ad8ba1
Restore XML print from the show_style tool
...
Closes #110
2014-01-16 18:51:02 +01:00
Sandro Santilli
5772c81590
Fix support for long (>64k chars) queries in layergroup creation
...
Closes #111 . Includes testcase.
2014-01-16 17:20:30 +01:00
Sandro Santilli
09d4467e22
Prepare for 1.6.2
2014-01-16 17:19:55 +01:00
Sandro Santilli
d22f399f18
Release 1.6.1
2014-01-15 19:23:20 +01:00
Sandro Santilli
f89fd98ed7
Expect malformed response objects ( #109 )
...
Include test for sql errors on layergroup creation
Closes #109
2014-01-15 11:53:19 +01:00
Sandro Santilli
b01ce9d4cc
Regenerate shrinkwrap for 1.6.1
2014-01-14 18:09:36 +01:00
Sandro Santilli
18ccd3cbaf
Localize external CartoCSS resources at renderer creation time
...
Closes #108 . JIRA CDB-1422 #resolve
2014-01-14 16:20:06 +01:00
Sandro Santilli
d6fe5339cf
Do not choke on headers cleanup when response headers are not set
...
Raise a WARNING instead.
See #107 (github) and CDB-1438 (JIRA)
2014-01-13 18:56:09 +01:00
Sandro Santilli
2690ef3f05
Drop cache headers from error responses.
...
Closes #107 (github), #resolve CDB-1423 (JIRA)
2014-01-13 11:20:02 +01:00
Sandro Santilli
ae82d0ab47
Expect overrides of mapnik_version to be honoured
...
Reported on http://gis.stackexchange.com/questions/81450/cartodb-windshaft-error
2014-01-10 13:20:26 +01:00
Sandro Santilli
90e0a5dc30
Prepare for 1.6.1
2014-01-10 11:32:03 +01:00
Sandro Santilli
c1b6b865a7
Release 1.6.0
2014-01-10 11:30:10 +01:00
Sandro Santilli
d849ae216d
Keep build status line within 80 cols (and use http)
2014-01-09 18:01:22 +01:00
Sandro Santilli
4ee4492490
Yet another username extraction fix. Thanks again @demimismo.
...
Closes #100 (yet again)
2014-01-09 16:46:47 +01:00
Sandro Santilli
fcd17692ee
Fix username extraction in another two places. Thanks @demimismo.
...
Closes #100 (again)
2014-01-09 15:36:16 +01:00
Sandro Santilli
36159a7697
Change stresstester to always create a different template
2013-12-20 13:47:28 +01:00
Sandro Santilli
7886189bce
Add script to stress-test templates API
2013-12-20 13:14:52 +01:00
Sandro Santilli
3a681b6670
Exit with error if template creation response text contains a space
...
Should really check for response code, but dunno how to do that
right away
2013-12-20 13:11:32 +01:00
Sandro Santilli
3e4c141913
Add command-line script to delete a template
2013-12-20 12:55:01 +01:00
Sandro Santilli
ef3733aebe
Improve error on attempt to delete missing template
2013-12-20 12:54:38 +01:00
Sandro Santilli
b5f54ff534
Rename script to create multilayer
2013-12-20 10:44:11 +01:00
Sandro Santilli
ba494374d0
Add command-line script to instanciate a template
2013-12-20 10:43:48 +01:00
Sandro Santilli
c7465479a2
Improve error on a signature certificate with no or broken auth
2013-12-20 10:41:27 +01:00
Sandro Santilli
b14830e4e3
Add command-line script to update a template
2013-12-20 10:17:31 +01:00
Sandro Santilli
288f23eea2
Add script for command-line template creation
2013-12-20 10:15:18 +01:00
Sandro Santilli
50a902a90b
Fix english of error message for sql-api connection problems
2013-12-18 12:59:26 +01:00
Sandro Santilli
277c00c7f8
Advertise `infowindow and map_metadata` as deprecated APIs
2013-12-18 12:54:40 +01:00
Sandro Santilli
4a09ac5b8f
Add reference to template maps API extention
2013-12-18 12:54:09 +01:00
Sandro Santilli
d5e9e0559b
Add info about Imagemagick requirement for running tests
2013-12-18 12:53:22 +01:00
Sandro Santilli
0dffb0fe85
We don't use Windshaft directly, no need to require it
2013-12-17 17:48:36 +01:00
Sandro Santilli
0f90d687c7
Implement signed teplate maps
...
Closes #98
Raises minimum required redis version to 2.4.0+ (Debian stable has 2.4.14)
2013-12-17 17:39:21 +01:00
Sandro Santilli
84b7d78ea4
Add an utility authorizedByAPIKey method for reuse
2013-12-17 17:17:17 +01:00
Sandro Santilli
241480bb23
cartodb-redis is upgraded to 0.3.0
2013-12-17 17:17:17 +01:00
Sandro Santilli
73a065c1cc
Make sure user from domain is always computed locally
...
Involved upgrade of cartodb-redis to 0.3.0
Really closes #100
2013-12-17 17:17:17 +01:00
Sandro Santilli
1f693c6c78
Add 'user_from_host' directive to generalize username extraction
...
Closes #100
Default extractor is backward compatible
2013-12-17 17:17:17 +01:00
Sandro Santilli
e9db535dd8
Drop the idea that we can distinguish a "dbowner" from the domain
...
We only recognize "users"
2013-12-17 17:17:17 +01:00
Sandro Santilli
7b7408dab7
Revert "Drop /map_metadata API entry point"
...
This reverts commit b37b07a06a1dd3cf05d60f4aa613ab5c48b90700.
This was too light of a decision...
2013-12-17 17:17:17 +01:00
Sandro Santilli
9c897a91a9
Drop /map_metadata API entry point
...
Closes #101
2013-12-17 17:17:17 +01:00
Sandro Santilli
4189f8187f
Simplify redis test setup using HMSET
...
See http://redis.io/commands/hmset
2013-12-17 17:17:16 +01:00
Sandro Santilli
98565b0c6b
Shrinkwrap cartodb-redis dependency to "~0.2.0"
...
npm-shrinkwrap takes precedence over package.json...
See https://travis-ci.org/CartoDB/Windshaft-cartodb/builds/15036101
2013-12-17 17:17:16 +01:00
Sandro Santilli
38342a7f5f
Refactor req2params to make setting db credential easier
2013-12-17 17:17:16 +01:00
Sandro Santilli
6f689745c0
Fix lzma testcase
2013-12-17 17:17:16 +01:00
Sandro Santilli
63fd660eb1
Fix error handling in testcase
2013-12-17 17:17:16 +01:00
Sandro Santilli
fa14b6045d
Retarget to 1.6.0
2013-12-17 17:17:16 +01:00
Sandro Santilli
f2528fb462
Release 1.5.2
2013-12-17 17:17:16 +01:00
Sandro Santilli
0db0809146
Fix use of old layergroups on mapnik upgrade ( #97 )
2013-12-17 17:17:16 +01:00
Sandro Santilli
276422f4be
Set grainstore's GC run probability, for documentation purpose
...
It sets it to the current grainstore default, so nothing changes.
2013-12-17 17:17:16 +01:00
Sandro Santilli
e6b55ac034
Allow requesting run_test.sh to prepare redis but not postgresql
...
Adds --nocreate-pg, --nocreate-redis, --nodrop-pg, --nodrop-redis
NOTE that dropping pg is still unimplemented
2013-12-17 17:17:16 +01:00
Sandro Santilli
58af35fdea
Add backward-compatibility fix item in NEWS ( #96 )
2013-12-17 17:17:16 +01:00
Sandro Santilli
763989bc87
Prepare for 1.5.2
2013-12-17 17:17:16 +01:00
Sandro Santilli
385022de80
Revert "fixed #91 " -- the fix was for an unconfirmed bug
...
This reverts commit 9155724082 .
See #38 for further action
2013-12-17 17:17:16 +01:00
Sandro Santilli
6c104e2aca
Enable test for fetcing tiles of private tables using api_key
...
See #39 and #91
2013-12-17 17:17:16 +01:00
Sandro Santilli
363c0d28f4
Add test for fetching tile of private table showing api_key
...
See #38 and #91
2013-12-17 17:17:16 +01:00
javi
a378fc4e68
fixed #91
2013-12-17 17:17:16 +01:00
javi
01de288c35
fixed #96
2013-12-17 17:17:15 +01:00
Sandro Santilli
f1a68e4451
Release 1.5.1
2013-12-17 17:17:15 +01:00
Sandro Santilli
f429b86f48
Accept unused CartoCSS directives
...
Closes #93
An example unused CartoCSS directive is
"point-transform" without "point-file"
or "point-url". Unused means it has no effect.
It used to be accepted but regressed in release 1.5.0
2013-12-17 17:17:15 +01:00
Sandro Santilli
ccfdacff5b
Fix test for invalid font usage after Windshaft update ( #90 )
...
NOTE: the error is less friendly now, see
http://github.com/mapbox/carto/issues/242
2013-12-17 17:17:15 +01:00
Sandro Santilli
a9d9b765e8
Survive presence of malformed CartoCSS in redis
...
Closes #94 , enable relative testcase
2013-12-17 17:17:15 +01:00
Sandro Santilli
5298f4b517
Add package keywords
2013-12-17 17:17:15 +01:00
Sandro Santilli
53d03e82ab
Set test redis port to 6335
2013-12-17 17:17:15 +01:00
Sandro Santilli
2fa288fc4d
Add (pending) test for getting unrenderable stored styles ( #94 )
...
Required upgrading mocha tester to ~0.14.0
2013-12-17 17:17:15 +01:00
Sandro Santilli
73819579f3
Notify travis builds on #cartodb @ freenode.irc
2013-12-17 17:17:15 +01:00
Sandro Santilli
271ff4faeb
Use a variable to hold the name of test database
2013-12-17 17:17:15 +01:00
Sandro Santilli
c04ac4fc7e
Reduce ppa and explicit package usage
...
Should fix travis builds despite package compatibilit bugs
(https://travis-ci.org/CartoDB/Windshaft-cartodb/builds/14314805 )
2013-12-17 17:17:15 +01:00
Sandro Santilli
5a87a16311
Add note about new directives in the 1.5.0 section
2013-12-17 17:17:15 +01:00
Sandro Santilli
dd48aa73e2
Improve documentation for postgres_auth_* configuration directives
2013-12-17 17:17:15 +01:00
Sandro Santilli
6dd046a1a4
Prepare for 1.5.1
2013-12-17 17:17:15 +01:00
Sandro Santilli
baaacbed31
Release 1.5.0
2013-12-17 17:17:15 +01:00
Sandro Santilli
0b3fdb07f6
Drop unneeded include from outermost app
2013-12-17 17:17:15 +01:00
Sandro Santilli
cc09a8b66f
Update to cartodb-redis 0.1.0
2013-12-17 17:17:15 +01:00
Sandro Santilli
a60a3adc12
CartoDB redis interaction delegated to "cartodb-redis" module
2013-12-17 17:17:14 +01:00
Sandro Santilli
e412a0f4b6
Require windshaft-0.14.3 to get 3 new bugfixes:
...
- Return CORS headers when creating layergroups via GET
- Fix http status on database authentication error
- Ensure bogus text-face-name error raises at layergroup creation
2013-12-17 17:17:14 +01:00
Sandro Santilli
ed23d10364
Remember per-environment ./configure parameters
...
This is to avoid breaking test.js configuration while switching
between branches.
2013-12-17 17:17:14 +01:00
Sandro Santilli
4c95af2c69
Fix ticket reference
2013-12-17 17:17:14 +01:00
Sandro Santilli
baa95a62d1
Add support for reading user-specific database_password from redis
...
This commits adds support for CartoDB-2.5.0 model.
Closes #89 .
Change is backward compatible.
2013-12-17 17:17:14 +01:00
Sandro Santilli
c7494c3c73
Avoid caches during test for user-specific database_host
2013-12-17 17:17:14 +01:00
Sandro Santilli
12f0826d32
Do not force ending dot in SQL-API hostname, for easier testing
2013-12-17 17:17:14 +01:00
Sandro Santilli
428e8631e2
Improve tests robustness on failure
2013-12-17 17:17:14 +01:00
Sandro Santilli
d3e3cfa385
Add NEWS item about CartoDB-2.5.0+ user-specific database_host ( #88 )
2013-12-17 17:17:14 +01:00
Sandro Santilli
3120d56e80
Add test for redis-specifid database_host. Closes #88
2013-12-17 17:17:14 +01:00
Sandro Santilli
07cb36ebc7
Read user's database_host from redis, when available ( #88 )
...
Still lacks a testcase
2013-12-17 17:17:14 +01:00
Sandro Santilli
d7c82e7a51
Indent fixes
2013-12-17 17:17:14 +01:00
Sandro Santilli
bf340e684a
Tweak error messages on missing redis variables, update tests
2013-12-17 17:17:14 +01:00
Luis Bosque
8d1b394df1
Add function to read database host from redis
2013-12-17 17:17:14 +01:00
Sandro Santilli
d305dbd468
Style only change
2013-12-17 17:17:13 +01:00
Sandro Santilli
eb51d18012
Add support for specifying database connection passwords
2013-12-17 17:17:13 +01:00
Sandro Santilli
4f3f87fc13
Release 1.14.1
2013-12-17 17:17:12 +01:00
Sandro Santilli
3e6070bd9b
Fix support for exponential notation in CartoCSS filter values
...
Closes #87 .
Includes testcase
2013-12-17 17:17:12 +01:00
Sandro Santilli
0daba348fe
Prepare for 1.4.1
2013-12-17 17:17:12 +01:00
Sandro Santilli
f874e8844c
Add Support for Mapnik-2.2.0. Closes #78 .
2013-12-17 17:17:12 +01:00
Sandro Santilli
a8fef04455
Prepare for mapnik-2.2.0 support ( #78 )
...
- Tolerate change in CartoCSS error message between 0.9.3 and 0.9.5
- Expect default style to be different for mapnik-2.2.0+ target
2013-12-17 17:17:12 +01:00
Sandro Santilli
2f74a080ee
Prepare for 1.3.7
2013-12-17 17:17:12 +01:00
Sandro Santilli
198748feea
Release 1.3.6, fixing support for node-0.8.9
2013-12-17 17:17:12 +01:00
Sandro Santilli
9f73be0d5c
Prepare for 1.3.6
2013-12-17 17:17:12 +01:00
Sandro Santilli
8aea5041c7
Release 1.3.5
2013-12-17 17:17:12 +01:00
Sandro Santilli
1856b824cb
Fix support for apostrophes in CartoCSS
...
Requires windshaft 0.13.7
Jira ref CDB-414
2013-12-17 17:17:12 +01:00
Sandro Santilli
a27cf1b41c
Do not let anonymous requests use authorized renderer caches
...
Puts dbuser in params, for correct use by Windshaft renderer cache.
Before this fix, and after commit 1c9f63c9 , the renderer cache key
did not contain the db user.
2013-12-17 17:17:12 +01:00
Sandro Santilli
b610b9aca2
tweak test description
2013-12-17 17:17:12 +01:00
Sandro Santilli
f5c24cf252
Add more profile slots
2013-12-17 17:17:11 +01:00
Sandro Santilli
8303068310
Remove spaces from configuration input, to make editing easier :)
2013-12-17 17:17:11 +01:00
Sandro Santilli
c17fd3b254
Make testsuite accept an installed mapnik version 2.1.0
...
See https://travis-ci.org/CartoDB/Windshaft-cartodb/builds/11286823
2013-12-17 17:17:11 +01:00
Sandro Santilli
d82838a137
Add travis widget, fix documented node dependency
2013-12-17 17:17:11 +01:00
Sandro Santilli
4506a9e905
Add travis configuration
2013-12-17 17:17:11 +01:00
Sandro Santilli
b4580943e8
Read test redis port configuration from test.js env
2013-12-17 17:17:11 +01:00
Sandro Santilli
730f9534dc
Clean handling of redis connection failures in testcase
2013-12-17 17:17:11 +01:00
Sandro Santilli
a7cc7ceeb8
Fix error for invalid text-name in CartoCSS. Closes #81 .
2013-12-17 17:17:11 +01:00
Sandro Santilli
7861852078
Add backward compatibility sqlapi configuration item in NEWS
2013-12-17 17:17:11 +01:00
Sandro Santilli
dbf6bb5fca
Only use sqlapi configuration "host" if "domain" is undefined
...
We'll consider an empty string domain as valid (it's actually used
for testsuite).
2013-12-17 17:17:11 +01:00
Javier Arce
d4d5272bf2
Sets the sqlapi domain. Fixes #82
2013-12-17 17:17:11 +01:00
Sandro Santilli
0c4bcca7c9
Read redis port from test.js environment when running tests
2013-12-17 17:17:11 +01:00
Sandro Santilli
0414307679
Fix use of blank-prefixed "zoom" variable in CartoCSS
2013-12-17 17:17:11 +01:00
Luis Bosque
0f3a5501d4
Target v1.3.5
2013-12-17 17:17:11 +01:00
Luis Bosque
9d4ce3f070
Merge branch 'release/staging'
2013-09-06 13:54:04 +02:00
Sandro Santilli
17fc934aa3
Fix check-submodules rule not to fail if a submodule is missing
2013-09-04 18:19:09 +02:00
Sandro Santilli
27eaad932a
Fix race condition in localization of external resources
2013-09-04 17:56:17 +02:00
Sandro Santilli
602b255ce5
Upgrade to latest windshaft for more stable test results
2013-09-03 18:15:37 +02:00
Sandro Santilli
efc6d5c857
Fix config/environments/test.js Makefile rule
2013-08-21 10:50:49 +02:00
Sandro Santilli
633e8d164b
Rename sqlapi.host configuration to sqlapi.domain. Closes #79 .
...
Support for "host" is retained for backward compatibility.
2013-08-21 10:11:30 +02:00
Sandro Santilli
db951234aa
Add note about cache dir need to be writable by server user
...
As per
https://groups.google.com/d/msg/cartodb/z06r9SwaoOM/b34In4TTdd0J
2013-08-21 10:04:43 +02:00
Sandro Santilli
60617e7641
Upgrade windshaft to improve CSS error messages
2013-08-13 13:03:24 +02:00
Luis Bosque
7b43a0f0bd
Merge branch 'release/staging'
2013-07-24 13:33:22 +02:00
Luis Bosque
06e68c1518
Target v1.3.4
2013-07-23 19:43:32 +02:00
Sandro Santilli
b4045353ea
Fix contributors, use short form for author
2013-07-19 12:34:20 +02:00
Sandro Santilli
22130f37df
Fix URLS and repository, add contributors, change author
...
Author became Vizzuality and contributors are the actual committers
2013-07-19 12:28:03 +02:00
Sandro Santilli
bce024961f
Add note about layergroup logging at creation
...
The change is due to Windshaft upgrade.
Closes #76
2013-07-18 11:51:00 +02:00
Sandro Santilli
3819d0d47b
Upgrade windshaft to improve profiling
2013-07-18 11:13:41 +02:00
Sandro Santilli
7cb69d1db9
Add example of including profile in response log line
2013-07-18 09:53:59 +02:00
Sandro Santilli
ec97381820
Add more timing in the profile, add useProfiler config variable
...
Default to useProfiler:true in staging and development
2013-07-16 16:33:03 +02:00
Sandro Santilli
25c46962cb
Add --environment switch to restrict output to given env
2013-07-15 13:59:55 +02:00
Sandro Santilli
23da8538a6
Add --with-sqlapi-port switch
2013-07-15 13:55:13 +02:00
Sandro Santilli
381b9a9edf
Take cache_buster value, if present, as a Last-Modified timestamp
...
This makes the Last-Modified header consistent across requests
using the same cache_buster (embedded in the token for multilayer
API).
2013-07-15 13:48:06 +02:00
Sandro Santilli
76c056c7a1
Revert "Use a constant Last-Modified time with cache_policy=persist"
...
This reverts commit 4b5899ff1a .
The reason is that setting Last-Modified to a remote date in the past
triggers early expiration of cache (as max-age will be reached sooner)
2013-07-15 13:14:06 +02:00
Sandro Santilli
4b5899ff1a
Use a constant Last-Modified time with cache_policy=persist
...
After all if the client is asking for persistance it doesn't make
sense to set a different Last-Modified for different incoming
requests (even if we don't expect any) ....
2013-07-15 12:09:13 +02:00
Sandro Santilli
afd4c3b460
Set Last-Modified header to allow for 304 responses
2013-07-15 12:02:54 +02:00
Luis Bosque
8b7cc64567
Merge branch 'release/staging'
2013-07-09 16:08:07 +02:00
Luis Bosque
308246f324
Target v1.3.3
2013-07-09 10:26:43 +02:00
Luis Bosque
b0b40933d8
Merge branch 'release/staging'
2013-07-09 10:25:50 +02:00
Sandro Santilli
0e13228f5c
Update NEWS file
2013-07-08 12:15:01 +02:00
Sandro Santilli
65c7c5fc9c
Always serve multilayer tiles and grids with persisting cache request
2013-07-08 12:13:45 +02:00
Sandro Santilli
60242c80f4
Set default layergroup time to live in redis to 2 hours
2013-07-08 11:50:19 +02:00
Luis Bosque
5213216fc4
Target v1.3.2
2013-07-05 15:32:47 +02:00
Sandro Santilli
1c65cec6ed
Do not consider broken layergroup configs as good on second look
...
The fix is really in Windshaft, this commit simply requires a
newer version of it.
2013-07-04 17:05:59 +02:00
Sandro Santilli
316c9c209d
Add support for specifying tiler url
2013-07-04 12:50:57 +02:00
Sandro Santilli
563764dc4f
Only make curl verbose when -v is passed to commandline
2013-07-04 11:15:21 +02:00
Sandro Santilli
8c51c97102
Be more verbose about curl errors
2013-07-04 11:04:12 +02:00
Sandro Santilli
6416af3f16
Add support for listing all map styles that belong to a user
...
Also report user database name, as a facility
2013-07-03 09:59:42 +02:00
Sandro Santilli
00c18ab8dd
Raise windshaft dependency importing following fixes:
...
- support for CartoCSS attachments (#layer0::label)
- only check layergroup validity once
- use higher zoom level for checking layergroup validity
2013-06-28 19:05:39 +02:00
Sandro Santilli
632d75a7c8
specify units for rendererConfig.cache_ttl
2013-06-28 17:58:11 +02:00
Sandro Santilli
d7b1ff9a80
Set default layergroup ttl locally
2013-06-26 16:26:02 +02:00
Sandro Santilli
10a66fbd66
Fix SQL error reporting to NOT split on newline
2013-06-26 13:26:53 +02:00
Sandro Santilli
4b1d6cd729
Add tile and grid fetching checks at layergroup creation time
...
Basically requires windshaft 0.12.6, which implements this
2013-06-21 12:46:13 +02:00
Sandro Santilli
e984811eae
Fix SQL bug in testcase
2013-06-19 17:24:01 +02:00
Sandro Santilli
eb83851bb7
Fix database authentication with multi-table layergroups
2013-06-17 17:24:09 +02:00
Sandro Santilli
850d4cd6ba
Drop unused cluster support
2013-06-17 11:57:35 +02:00
Sandro Santilli
6cb8c85da0
Only return token by default and full response on request (-v)
2013-06-13 10:43:09 +02:00
Sandro Santilli
3d4af14315
Fix deadlock on layergroup post
...
Required upgrading windshaft to 0.12.5.
Took the chance to also upgrade redis dependency to latest stable.
2013-06-12 18:42:10 +02:00
Sandro Santilli
c07616f889
Run silently, prepare for using against windshaft direct
2013-06-12 18:30:32 +02:00
Sandro Santilli
d53327bc33
Utility to fetch a token from a layergroup config
...
It's in its infancy, still need to edit the script to use against
remote service or non-standard local deploys
2013-06-11 17:15:02 +02:00
David Arango
f20c98e49c
Merge branch 'release/staging'
2013-06-11 14:41:12 +02:00
Luis Bosque
9807a5e12b
Target v1.3.1
2013-06-11 10:53:07 +02:00
Sandro Santilli
70f535d13a
Properly report error from unsuccessful source table fetching
...
Report terse error to user, verbose to log
2013-06-11 10:28:05 +02:00
Sandro Santilli
8d326dba2f
Add test for CartoCSS error reporting on POST to layergroup
2013-06-10 11:53:28 +02:00
Sandro Santilli
8d0da4d517
Require latest grainstore and windshaft, for multilayer css fixes
2013-06-06 15:45:33 +02:00
Sandro Santilli
63296a87cb
Do not increment undefined mapview stat tags
2013-06-06 13:26:59 +02:00
Sandro Santilli
b67a487c48
Fix path to grainstore module
2013-06-06 11:59:11 +02:00
Sandro Santilli
d977f83bd1
Change stats format for multilayer map token request
...
See https://github.com/Vizzuality/Windshaft-cartodb/wiki/Redis-stats-format
Target 1.3.0
2013-06-04 13:30:28 +02:00
Sandro Santilli
5b6919e0c6
Fix unit of measure for lastUpdated info extraction
2013-05-30 16:48:40 +02:00
Luis Bosque
92a3d52885
Merge branch 'release/staging' into develop
2013-05-30 11:18:57 +02:00
Luis Bosque
627b3f084d
Merge branch 'release/staging'
2013-05-30 11:18:36 +02:00
Sandro Santilli
3763232c14
Require latest windshaft to fix confusion between colors and layer names
2013-05-29 19:14:45 +02:00
Sandro Santilli
3e4f98cb51
Require higher Windshaft to fix handling of CartoCSS layer name
2013-05-29 11:43:27 +02:00
Luis Bosque
977d051518
Target v1.2.2
2013-05-28 12:40:20 +02:00
Sandro Santilli
d7ae28095f
Require Windshaft-0.12.1 to fix multilayer post from firefox
2013-05-21 14:43:00 +02:00
Luis Bosque
b98a32c296
Merge branch 'release/staging'
2013-05-20 14:41:41 +02:00
Sandro Santilli
5ab4caea7d
Make test for LZMA more robust in case of failure
2013-05-16 09:41:38 +02:00
Luis Bosque
9ce88bcc98
Target v1.2.1
2013-04-29 15:38:36 +02:00
Luis Bosque
94ddbf69d8
Target v1.2.0 in package.json
2013-04-29 15:36:54 +02:00
javi
c9e3cc00be
merged with develop
2013-04-24 15:16:20 +02:00
javi
efa79b243c
fixed lzma decoding to fix browser requirements
2013-04-24 15:10:58 +02:00
Sandro Santilli
06f781334d
Drop unused variable
2013-04-24 12:01:32 +02:00
Sandro Santilli
f0fc44aac9
Fix fetching of affected tables when mapnik tokens are used
...
We'll replace !bbox! with an empty box and !pixel_width! and
!pixel_height! with 1 before passing the query to CDB_QueryTable
2013-04-23 17:29:49 +02:00
Fabio Rueda
b678f82be8
Merge branch 'release/staging'
2013-04-17 16:17:02 +02:00
Sandro Santilli
44a8db03e2
Add node-varnish to the list of submodules tested by check-full
2013-04-15 09:33:41 +02:00
Sandro Santilli
4a12ed1f19
Oops, forgot to drop --nodrop switch after unifying local tests
2013-04-15 09:32:32 +02:00
Sandro Santilli
de24e7fc34
Update to new LZMA to fix global variable leakage
...
Stop ignoring leaks during testing
2013-04-15 09:22:50 +02:00
Sandro Santilli
1b6a662a72
Tweak PATH during submodule check, to find mocha from subdirs
2013-04-15 09:20:51 +02:00
Sandro Santilli
6f8fd69101
Add note about the stats addition
2013-04-12 17:57:57 +02:00
Sandro Santilli
78a6f4de1b
Keep a counter of layergroup created per user.
...
The counter is in redis db 5, in a field "mapviews" of an hash
"tiler:users:USERNAME". It's incremented whenever the layergroup
token for a configuration is requested.
2013-04-12 17:28:34 +02:00
Sandro Santilli
afb875c32a
Add missing fixtures (thanks Fabio)
2013-04-12 14:34:45 +02:00
Sandro Santilli
369b0f6110
Ignore variable leaks exposed by server.js test (due to LZMA mod)
...
This will have to be fixed once LZMA module is updated.
See https://github.com/nmrugg/LZMA-JS/issues/8
With this change "make check-full" completes successfully for me.
Looking forward to Jenkins experience.
2013-04-12 11:52:09 +02:00
Sandro Santilli
1c910ec513
Insert test data in a single statement
2013-04-11 18:33:51 +02:00
Sandro Santilli
08d1d73b4f
Fix "make check" to exit with FAILURE on failure
...
Also upgrade Windshaft for the same purpose (for make check-full)
2013-04-11 18:31:01 +02:00
Sandro Santilli
83e6e0d457
More verbose logging for SQL api connection errors
2013-04-09 18:07:53 +02:00
Sandro Santilli
e5af3b90f4
Revert "Require interactivity param in single-layer grid fetching request"
...
This reverts commit 3383c44eb7 .
Fixes regression with default interactivity parameter.
Closes #74 . See #69 .
2013-04-05 18:11:36 +02:00
Luis Bosque
7c82498f8f
Merge branch 'release/staging' into develop
2013-04-04 14:23:39 +02:00
Luis Bosque
9162d2cd43
Merge branch 'release/staging'
2013-04-04 14:22:47 +02:00
Sandro Santilli
a0b6f467b1
HOTFIX: require windshaft-0.11.1 to drop tilelive internal cache
2013-04-03 11:10:09 +02:00
Luis Bosque
782edd9506
Target v1.1.10
2013-04-02 14:02:00 +02:00
Sandro Santilli
7ed4320493
Merge branch 'develop-multilayer2' into develop
...
Target 1.1.9
2013-04-02 13:49:22 +02:00
Sandro Santilli
113b70cf98
Add support for creating layergroups via GET
2013-04-02 13:30:49 +02:00
Sandro Santilli
106e95940d
Revert backward incompatible changes in multilayer handling
2013-04-02 12:24:03 +02:00
Luis Bosque
4329ffd61a
Target v1.2.1
2013-04-02 11:42:21 +02:00
Sandro Santilli
3383c44eb7
Require interactivity param in single-layer grid fetching request
...
Closes #69
2013-03-29 18:25:28 +01:00
Sandro Santilli
aea107f1af
Upgrade Windshaft to 0.10.0, changing multilayer interface
...
WARNING: starting from this commit the grid fetching route changed
to NOT include layer name nor interactivity (which is now
specified solely as part of layergroup configuration)
Target 1.2.0 release
2013-03-29 16:37:37 +01:00
Sandro Santilli
2b2c22cdd5
Add test showing use of mapnik subtitution tokens in multilayer config
2013-03-28 12:48:00 +01:00
Sandro Santilli
001bf97d69
Add support for LZMA compressed GET parameters
...
You can now replace the whole query string with a single `lzma`
parameter having as value an hex encoded LZMA compressed version
of the whole query string as a JSON object.
2013-03-22 18:55:59 +01:00
Sandro Santilli
2da8c44914
Fix support for ampersend characters in CartoCSS
...
Required upgrading grainstore dependency to 0.12.2
2013-03-22 12:42:38 +01:00
javi
e53122de7e
fixed last_update in laytergroup response
2013-03-21 11:39:55 +01:00
Sandro Santilli
4e7f92c60d
Write a deprecation warning when handling SIGUSR1 ( #71 )
2013-03-18 18:14:18 +01:00
Sandro Santilli
d95ac85b17
Deprecate USR1 signal handling, add USR2 with same semantic
...
Closes #71
2013-03-18 16:38:50 +01:00
Sandro Santilli
3ff3dc2c97
Cleanup, handle error in req2param on flushCache
2013-03-15 19:25:13 +01:00
Sandro Santilli
4605bd1e1d
Add last_modified field to POST layergroup response ( #72 )
...
Includes testcases
2013-03-13 18:41:37 +01:00
Sandro Santilli
dfc4a02398
Fix X-Cache-Channel for multilayer (by token) responses
...
Required upgrading Windshaft to 0.9.2
Includes testcases
2013-03-13 16:45:15 +01:00
Sandro Santilli
899d8a3c64
Run multilayer test as part of "make check"
2013-03-13 16:40:54 +01:00
Sandro Santilli
402fc90e63
Absence of X-Cache-Channel will be enough for Varnish to skip caching
...
Do not override Cache-Control in this case, which means let the
clients or geographical proxies cache the response with usual TTL.
2013-03-13 12:01:35 +01:00
Sandro Santilli
fcd6d55ba4
Draft test for X-Cache-Channel in multilayer response
...
The test is disabled because it fails
2013-03-13 11:55:57 +01:00
Sandro Santilli
4622dac81b
Update NEWS
2013-03-13 10:40:06 +01:00
Sandro Santilli
e8cbc666e2
Handle SQL API errors by logging them and requesting NO cache
...
SQL api is used to determine the list of source tables affected
by a query. Before this commit, the X-Cache-Channel header set
on sql api error was an arbitrary 'table' string, now the header
is omitted, the error logged and Cache-Control and Pragma headers
are sent as an attempt to request no caching.
The code includes test for this mechanism.
2013-03-13 10:39:00 +01:00
Sandro Santilli
49aad435b9
More ignores
2013-03-13 08:48:30 +01:00
Luis Bosque
23f6c82f0e
Merge branch 'release/staging' into develop
...
Conflicts:
package.json
2013-03-05 14:15:53 +01:00
Luis Bosque
4995011f1e
Merge branch 'release/staging'
...
Conflicts:
NEWS.md
2013-03-05 14:15:07 +01:00
Luis Bosque
e038aa7522
V1.1.8 in package.json
2013-03-04 11:38:43 +01:00
Luis Bosque
c77dce105c
Target v1.1.9
2013-03-04 11:37:10 +01:00
Sandro Santilli
2fa09aee88
Require Windshaft-0.9.1, to reduce harmfulness of cache_buster param
2013-03-01 13:11:46 +01:00
Luis Bosque
a7afdac67e
Target v1.1.8
2013-02-28 15:09:54 +01:00
Sandro Santilli
f6d50fafb1
Expose renderer settings in the environment config files
...
These are: metatile, bufferSize and cache_ttl
2013-02-25 17:05:59 +01:00
Sandro Santilli
f076b0c4d1
Require windshaft-0.9 for multilayer support
2013-02-25 15:08:28 +01:00
Sandro Santilli
9b04abb36c
Add UTF grid checker function
2013-02-22 11:34:03 +01:00
Sandro Santilli
14e3ead06e
Add redis.max configuration setting and document it.
2013-02-21 12:56:04 +01:00
Sandro Santilli
b98a0f9104
Do not let /etc/services confuse FD checker (munin plugin)
2013-02-20 12:14:16 +01:00
David Arango
dc188817a8
Bump to 1.1.7
2013-02-19 13:57:14 +01:00
Sandro Santilli
b81c83aace
Add maxConnection and cache dump notice in NEWS for 1.1.6
2013-02-19 13:37:11 +01:00
Sandro Santilli
9dcf6a1acf
Set 'base_url_notable' config for Windshaft-0.9 (multilayer)
2013-02-12 18:53:41 +01:00
Sandro Santilli
c3f53a7987
Rename munin plugin, put all under munin dir
2013-02-11 18:24:18 +01:00
Sandro Santilli
3101dbd433
Add cache count to the stats reported by checkfds.sh (munin plugin)
2013-02-11 17:35:17 +01:00
Sandro Santilli
3c5e358c32
Regenerated npm-shrinkwrap.json with npm-1.1.x
...
See https://github.com/isaacs/npm/issues/3145 for the rationale
2013-02-11 17:05:44 +01:00
Sandro Santilli
219caf7eab
Require windshaft 0.8.5 with some stability issue fixed
...
Additionally we can now control renderer cache time to live and
metatiling
2013-02-11 16:39:21 +01:00
Sandro Santilli
fb33583df9
Update news file
2013-02-11 15:10:41 +01:00
Sandro Santilli
a79b999e7a
Do not try to send commands to an unoconnected redis client
...
This changes "Cannot read property 'HGET' of null" messages into
"Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED".
2013-02-11 15:05:23 +01:00
Sandro Santilli
031c6ee0cd
Allow "staging" as env name from app.js
2013-02-11 13:41:51 +01:00
Sandro Santilli
b3f8515fd5
Fix regexp to find incoming http connections (munin fds plugin)
2013-02-08 18:17:15 +01:00
Sandro Santilli
6e6c1101fe
avoid scaling counters (munin)
2013-02-08 17:48:54 +01:00
Sandro Santilli
39c0d3a9a4
tweak graph labels of munin plugin
2013-02-08 17:05:43 +01:00
Sandro Santilli
6476b975d4
Ignore generated munin plugin config file
2013-02-08 16:48:42 +01:00
Sandro Santilli
60b578ae56
Report environment name in munin graph
2013-02-08 16:47:59 +01:00
Sandro Santilli
7dd7d09cf5
Add Makefile rule to install munin plugin
2013-02-08 16:44:34 +01:00
Sandro Santilli
c314640c3b
Remove debugging output (munin wouldn't like it)
2013-02-08 16:10:56 +01:00
Sandro Santilli
d1d2074146
Further improvements: support specifying a TILER_ENVIRONMENT env variable
...
.. or the same thing (a filename) as a command line argument
2013-02-08 16:08:24 +01:00
Sandro Santilli
56319a5ac0
Improvements to the fd checker
...
1. Finds listening processes automatically
2. Reports highest value among processes for each connection type
3. Reduces lsof calls
4. Uses munin-like output
2013-02-08 15:24:25 +01:00
Sandro Santilli
6b71cde56e
Do not throw an Error embedding another Error
...
Should fix #68 , but doesn't come with an automated test
2013-02-08 12:27:49 +01:00
Sandro Santilli
7d34cbbd63
Add item about async throws
2013-02-08 12:23:25 +01:00
Sandro Santilli
cb57dfb27d
Fix async throws in getGeometryType, getInfoWindow and getMapMetadata
2013-02-08 12:14:53 +01:00
Sandro Santilli
0b56dd09d9
checkfds: use lsof only once, then grep in the report
2013-02-07 13:26:11 +01:00
Sandro Santilli
2d35a2c269
Add checkfds utility script
2013-02-07 12:32:06 +01:00
Sandro Santilli
6c40d936ef
Add a log on cluster startup, including date and pid
2013-02-01 11:28:08 +01:00
Sandro Santilli
61f4212ba2
Remove use of ANSI colors from all example log formats
2013-01-30 12:59:05 +01:00
Sandro Santilli
e408d04fc5
Require Windshaft 0.8.4 to add dump of cache stats on SIGUSR1
2013-01-30 11:29:44 +01:00
Sandro Santilli
2510a47262
Add maxConnection environment configuration, have it default to 128
...
The number gives the maximum number of contemporary connections and
is dimensioned on the limit of open file descriptors found to be
needed on a per-connection basis.
2013-01-29 17:36:50 +01:00
Sandro Santilli
8d5baebf1d
Require latest grainstore and windshaft stable releases
...
Fixes some http response status to be 400 rather than 500
2013-01-29 13:13:14 +01:00
Sandro Santilli
42b3d0ab9c
Add redis timeout and reap interval options in production.js.example
...
Use default values, for documentation purposes
2013-01-29 13:01:17 +01:00
Sandro Santilli
8d4f033a56
Revert "getDatabase: properly handle redis connection failures"
...
This reverts commit dd19d74149 .
The code was already correct
2013-01-28 17:39:50 +01:00
Sandro Santilli
dd19d74149
getDatabase: properly handle redis connection failures
2013-01-28 17:30:58 +01:00
Sandro Santilli
ac49abe750
Do not leak redis client connections on redis command error
2013-01-28 17:13:49 +01:00
Sandro Santilli
b130b67f24
Check redis connection at pool creation time
2013-01-28 17:12:21 +01:00
Sandro Santilli
093d3de66e
We don't run tests with expresso anymore...
2012-12-21 17:32:00 +01:00
Luis Bosque
fea30dcea4
Merge branch 'release/staging'
...
Conflicts:
NEWS.md
2012-12-21 14:10:15 +01:00
Sandro Santilli
6e8bfffff1
Merge branch 'master' into develop
...
Conflicts:
Makefile
NEWS.md
package.json
2012-12-21 13:30:14 +01:00
Sandro Santilli
0ff403fa83
Require grainstore 0.10.9, fixing an issue with multi-geom markers
2012-12-21 13:24:38 +01:00
Sandro Santilli
ab1a0e0339
Add check-full to run testsuite of submodules
...
This model should be improved to avoid double-checking when the same
submodule could be installed or referenced by multiple levels...
2012-12-20 13:15:47 +01:00
Luis Bosque
290e005e14
Target v1.1.5
2012-12-20 12:28:43 +01:00
Sandro Santilli
d1979a5265
Fix bogus cached return of utf grid for fully contained tiles ( #67 )
2012-12-20 11:30:29 +01:00
Sandro Santilli
9db49a25e4
Require windshaft-0.8.1 for cache debugging facilities
...
Also upgrades node-mapnik to 0.7.18
2012-12-19 18:31:58 +01:00
Sandro Santilli
a69afe4cd7
Enhance run_tests.sh to allow running single tests and skipping preparation
2012-12-19 09:04:53 +01:00
David Arango
556aaf3330
Bump to 1.1.5
2012-12-13 11:45:14 +01:00
David Arango
7b1184db8f
Bump to 1.1.5
2012-12-13 11:43:11 +01:00
David Arango
e1070d3998
Merge branch 'release/staging'
2012-12-10 17:26:48 +01:00
Sandro Santilli
cc91e0dcff
Add a row limitof 65535 (256x256) in the example configs.
...
Closes #64
2012-12-07 20:34:24 +01:00
Sandro Santilli
081cc41a34
Drop extended styles. Closes #58 . Add some documentation in header.
2012-12-07 20:21:13 +01:00
Sandro Santilli
9d52b8b11f
Update NEWS
2012-12-07 20:06:26 +01:00
Sandro Santilli
a8a3e739ad
Change interface of reset_style to read full config from env files
...
Closes #62
It is highly recommended to invoke reset_styles after upgrade
2012-12-07 20:04:31 +01:00
Sandro Santilli
b884fe00ea
The parameter to simplify geometries is "simplify_geometries"
...
Closes #63
2012-12-07 19:50:57 +01:00
Sandro Santilli
4f8b855f1f
Add reference to the list of accepted parameters for the postgres section
2012-12-07 18:58:31 +01:00
Sandro Santilli
6f5e3837e3
Use an env config parameter for socket timeout
2012-12-05 13:59:20 +01:00
Luis Bosque
de1df4f33c
Merge branch 'release/v2.0' into develop
...
Conflicts:
NEWS.md
2012-11-30 16:53:55 +01:00
Luis Bosque
7231864e1c
Merge branch 'release/v2.0'
2012-11-30 16:52:55 +01:00
Luis Bosque
e813209768
Updated NEWS vor 1.1.3
2012-11-30 16:51:31 +01:00
Sandro Santilli
69508f05d7
Reduce default extent to allow for consistent proj4 round-tripping
...
See https://github.com/Vizzuality/grainstore/issues/42
2012-11-29 10:20:37 +01:00
Sandro Santilli
2f70640340
Require grainstore-0.10.8 to workaround bubble map bug
...
See https://github.com/Vizzuality/grainstore/issues/44
2012-11-28 20:17:02 +01:00
Luis Bosque
02d4473766
Target version 1.1.4
2012-11-28 16:43:19 +01:00
David Arango
72cf824235
Fix on convert_database_styles script
2012-11-28 15:34:05 +01:00
Sandro Santilli
a3d09339de
Require grainstore-0.10.7 to enhance marker type transform (2.0 -> 2.1)
...
See https://github.com/Vizzuality/grainstore/blob/0.10.7/NEWS.md
2012-11-28 12:36:47 +01:00
Sandro Santilli
a0cd4354a7
Enlarge default map extent
...
See https://github.com/Vizzuality/grainstore/issues/42
2012-11-28 11:24:04 +01:00
Sandro Santilli
820c836050
Require grainstore-0.10.6 to enhance marker type transform (2.0 -> 2.1)
...
See https://github.com/Vizzuality/grainstore/issues/39
2012-11-28 10:06:43 +01:00
Sandro Santilli
bbdc29faae
Set max_size=500 in the example configurations
...
TODO: add a ./configure switch to set it
2012-11-27 18:30:08 +01:00
Sandro Santilli
c976506c67
Require grainstore-0.10.5 to resize arrow markers ( 2.0 -> 2.1 )
2012-11-27 17:31:53 +01:00
Sandro Santilli
11025eb7c4
Update with the change in reset_styles
2012-11-26 13:20:39 +01:00
Sandro Santilli
08c75843de
Really skip extended keys
2012-11-26 12:51:55 +01:00
Sandro Santilli
c3169745ee
Require grainstore ~0.10.4 for mapnik-2.1.1 support
2012-11-23 12:39:34 +01:00
Sandro Santilli
32007403c0
Fix testcase
2012-11-22 19:12:21 +01:00
Sandro Santilli
59a1911950
Add test for #57 (succeeds)
...
The ticket is actually invalid, there's no such bug here...
2012-11-22 16:39:00 +01:00
Sandro Santilli
2be0ebb808
Add --with-mapnik-version configure switch
2012-11-21 13:23:04 +01:00
Sandro Santilli
6ccb7f6f15
Shrinkwrap latest grainstore, to not be fooled by CartoCSS comments
2012-11-20 19:07:47 +01:00
David Arango
bb59524914
Adds script to convert single tables
2012-11-19 12:54:27 +01:00
Sandro Santilli
9645d0fb58
Require grainstore 0.10.1 to handle conditional markers in style transform
2012-11-15 16:12:55 +01:00
Sandro Santilli
635b5db3e6
Nicer indent in CartoCSS (less likely to be converted)
2012-11-15 16:01:34 +01:00
Sandro Santilli
19436a8b14
Let "style_convert" pass by, add tests for GET and POST with it
2012-11-14 15:28:58 +01:00
Sandro Santilli
1ebe862594
Add style_convert and style_version parameters in the docs
2012-11-14 13:45:11 +01:00
Sandro Santilli
2f0ef03cd3
Accept style_convert parameter to GET /styl request
...
Require grainstore-0.10 and windshaft-0.8 to allow for it
2012-11-14 13:41:46 +01:00
Luis Bosque
597008d9d4
Merge branch 'release/staging'
2012-11-14 12:48:07 +01:00
Sandro Santilli
f9b78e2cb2
Use grainstore 0.9.7 for mapnik version dependent default styles
2012-11-14 10:42:20 +01:00
Luis Bosque
33e68d9069
target v1.1.3
2012-11-12 12:28:32 +01:00
Sandro Santilli
b5658a9f43
Fix point markers shift due to polygon clipping (2.0 -> 2.1)
...
Done by requiring grainstore 0.9.6
2012-11-09 17:28:22 +01:00
Sandro Santilli
4b8c165261
Fix usage string for "show_style" tool
2012-11-08 18:58:09 +01:00
Sandro Santilli
cd6002879e
Add tool to show formatted style stored in redis from user/table
2012-11-07 10:59:39 +01:00
Sandro Santilli
43bb96cc60
Require grainstore 0.9.5, fixing one type of style transform
2012-11-06 18:02:46 +01:00
Sandro Santilli
52303e7821
Fix use of "style_version" with GET (inline styles)
...
It took a lot of time to produce a testcase for this as the test
config was setting srid to 4326 but not changing geom column name
thus all tiles fetched by tests returned blank (ouch!)
2012-11-06 12:45:04 +01:00
Luis Bosque
37cba2836c
timeout is in milseconds, not in seconds
2012-11-02 23:48:08 +01:00
Luis Bosque
8ef952f138
set 600 seconds timeout in cluster.js
2012-11-02 23:24:45 +01:00
Sandro Santilli
b5db3a8138
Require grainstore 0.9.4, for better 2.0 -> 2.1 css transforms
2012-11-02 17:53:25 +01:00
Luis Bosque
d1d321194d
target 1.1.2 version
2012-11-02 15:47:54 +01:00
Luis Bosque
8120e6579a
updated NEWS
2012-11-02 15:46:54 +01:00
Luis Bosque
f9e0b8708c
target version 1.1.1
2012-10-30 18:53:49 +01:00
Luis Bosque
6401278317
Merge branch 'release/staging' into develop
...
Conflicts:
NEWS.md
npm-shrinkwrap.json
package.json
test/acceptance/server.js
2012-10-30 18:49:42 +01:00
Luis Bosque
1873322a90
Merge branch 'release/staging'
...
Conflicts:
package.json
2012-10-30 18:45:47 +01:00
Luis Bosque
2d2a14e9a6
updated NEW for v1.1.0
2012-10-30 18:43:31 +01:00
Sandro Santilli
1da7484c2a
Shrinkwrap newest windshaft and grainstore
2012-10-30 18:00:16 +01:00
Sandro Santilli
2bc09a61cf
Add support for cache_policy=persistent
...
When cache_policy=persistent is given the response will contain
a Cache-Control header requesting for 1 year lifetime caching
2012-10-24 09:40:05 +02:00
Sandro Santilli
d9e6aeb254
Fix crash on unknown user. Closes #55 .
2012-10-22 15:30:16 +02:00
Sandro Santilli
1a60c55fea
Rename carto version parameters and add its support to GET tile
...
Also upgrades "carto" to 0.9.3 and "millstone" to 0.5.11
2012-10-19 12:54:11 +02:00
Sandro Santilli
ab8cb5bbb3
Add Windshaft-cartodb version to the /version route
2012-10-15 17:03:57 +02:00
Sandro Santilli
4c6d74b69e
Use windshaft-0.6.2 sendError function to send non-200 responses
...
Ensures all errors are logged
2012-10-11 16:58:11 +02:00
Sandro Santilli
20dca2e8f8
Use windshaft-0.6.2 sendError function to send non-200 responses
...
Ensures all errors are logged
2012-10-11 16:48:41 +02:00
Sandro Santilli
90d726c0cb
Fix test expectance after windshaft/grainstore upgrade
...
Now GET /style response includes CartoCSS version...
2012-10-11 11:23:35 +02:00
Sandro Santilli
00dccd4c27
Use 'host' configuration for HTTP listening (both app and cluster)
2012-10-11 11:23:33 +02:00
Sandro Santilli
d691f94978
Require grainstore 0.9.1 for automatic styles reset on mapnik upgrade
2012-10-11 11:23:32 +02:00
Sandro Santilli
11910bb218
Use "undefined" mapnik_version in the example configs
...
Using "undefined" for mapnik_version triggers autodetection,
which is more appropriate.
2012-10-11 11:23:31 +02:00
Sandro Santilli
f0c655294f
Upgrade windshaft/grainstore to fix /version route
2012-10-11 11:23:30 +02:00
Sandro Santilli
8e3c900580
Print a warning when configured mapnik version doesn't match installed
2012-10-11 11:23:28 +02:00
Sandro Santilli
65e4cf1510
Batch-convert and mapnik version detection support in reset_styles
2012-10-11 11:23:26 +02:00
Sandro Santilli
41d7000daf
Update windshaft to 0.6 exposing CartoCSS versioning support
2012-10-11 11:23:25 +02:00
Sandro Santilli
0e37b32e52
Updated
2012-10-11 11:23:24 +02:00
Sandro Santilli
9ad574efdc
Autodetect target mapnik version and let config override it
...
Closes #40
2012-10-11 11:23:23 +02:00
Sandro Santilli
8d5c52ce1b
Make test tolerant to additional fields in responses to POST style
2012-10-11 11:23:22 +02:00
Sandro Santilli
926b47b009
Fix test expectance after windshaft/grainstore upgrade
...
Now GET /style response includes CartoCSS version...
2012-10-09 18:35:27 +02:00
Sandro Santilli
bb00bf1c05
Use 'host' configuration for HTTP listening (both app and cluster)
2012-10-09 18:31:06 +02:00
Sandro Santilli
bc51b14485
Require grainstore 0.9.1 for automatic styles reset on mapnik upgrade
2012-10-09 14:39:38 +02:00
Sandro Santilli
9cdd2800fa
Use "undefined" mapnik_version in the example configs
...
Using "undefined" for mapnik_version triggers autodetection,
which is more appropriate.
2012-10-09 12:12:33 +02:00
Sandro Santilli
0697873a64
Upgrade windshaft/grainstore to fix /version route
2012-10-09 11:53:23 +02:00
Sandro Santilli
6a1933bed9
Print a warning when configured mapnik version doesn't match installed
2012-10-09 11:45:57 +02:00
Sandro Santilli
703c63d5d6
Batch-convert and mapnik version detection support in reset_styles
2012-10-08 18:06:12 +02:00
Sandro Santilli
89ca4e1a5a
Update windshaft to 0.6 exposing CartoCSS versioning support
2012-10-08 18:02:28 +02:00
Sandro Santilli
f8e88153f4
Updated
2012-10-08 17:45:52 +02:00
Sandro Santilli
961269fa1f
Autodetect target mapnik version and let config override it
...
Closes #40
2012-10-08 17:45:03 +02:00
Sandro Santilli
90f6e464d2
Make test tolerant to additional fields in responses to POST style
2012-10-08 17:45:03 +02:00
Luis Bosque
34df118160
fixed problem in cluster2 with pidfile name
2012-10-04 11:02:31 +02:00
Luis Bosque
b6f28d7dd2
version 1.0.0 in package.json
2012-10-03 16:56:50 +02:00
Luis Bosque
43298f58fb
Merge branch 'develop0.8'
2012-10-03 16:42:03 +02:00
Luis Bosque
5d62c6b588
Merge branch 'release/staging'
2012-09-25 17:31:58 +02:00
Sandro Santilli
4216d43db2
Fix grainstore include after direct dependency drop
2008-06-17 05:25:38 +02:00
Sandro Santilli
f85ca16c62
Change LZMA expected encoding from HEX to base64, reducing its size
2013-04-19 16:16:20 +02:00
Sandro Santilli
14953e992f
Multilayer API changes, target 1.2.0
...
- Layers passed by index in grid fetching url
- Interactivity only specified in layergroup config
- Encode cache_buster as part of the token
2013-04-15 18:51:28 +02:00
Fabio Rueda
0122c6a386
targeted 1.1.11
2013-04-15 13:05:16 +02:00