Raul Ochoa
8d10d0f760
Remove draft
2015-02-16 10:54:53 +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
b1b57d6f24
Regenerate npm-shrinkwrap.json
2015-02-10 11:41:22 +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
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
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
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