Merge branch 'master' of github.com:CartoDB/Windshaft-cartodb into analysis-layers

This commit is contained in:
Raul Ochoa 2016-03-10 11:14:10 +01:00
commit b2378939c5
4 changed files with 21 additions and 17 deletions

10
NEWS.md
View File

@ -1,8 +1,14 @@
# Changelog # Changelog
## 2.26.4 ## 2.27.0
Released 2016-mm-dd Released 2016-03-09
New features:
- Add [Surrogate-Key](https://github.com/CartoDB/cartodb/wiki/CartoDB-Surrogate-Keys) headers to responses
Enhancements:
- Use new `node-cartodb-query-tables` library to obtain affected tables in queries
Announcements: Announcements:
- Remove deprecated tools directory - Remove deprecated tools directory

View File

@ -175,8 +175,7 @@ MapController.prototype.create = function(req, res, prepareConfigFn) {
function addOverviewsInformation(err, requestMapConfig, datasource) { function addOverviewsInformation(err, requestMapConfig, datasource) {
assert.ifError(err); assert.ifError(err);
var next = this; var next = this;
self.overviewsAdapter.getLayers(req.context.user, requestMapConfig.layers, self.overviewsAdapter.getLayers(req.context.user, requestMapConfig.layers, function(err, layers) {
function(err, layers) {
if (err) { if (err) {
return next(err); return next(err);
} }
@ -185,8 +184,7 @@ MapController.prototype.create = function(req, res, prepareConfigFn) {
requestMapConfig.layers = layers; requestMapConfig.layers = layers;
} }
return next(null, requestMapConfig, datasource); return next(null, requestMapConfig, datasource);
} });
);
}, },
function createLayergroup(err, requestMapConfig, datasource) { function createLayergroup(err, requestMapConfig, datasource) {
assert.ifError(err); assert.ifError(err);

2
npm-shrinkwrap.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "windshaft-cartodb", "name": "windshaft-cartodb",
"version": "2.26.4", "version": "2.27.0",
"dependencies": { "dependencies": {
"body-parser": { "body-parser": {
"version": "1.14.2", "version": "1.14.2",

View File

@ -1,7 +1,7 @@
{ {
"private": true, "private": true,
"name": "windshaft-cartodb", "name": "windshaft-cartodb",
"version": "2.26.4", "version": "2.27.0",
"description": "A map tile server for CartoDB", "description": "A map tile server for CartoDB",
"keywords": [ "keywords": [
"cartodb" "cartodb"