Add support for creating layergroups via GET
This commit is contained in:
parent
106e95940d
commit
113b70cf98
3
NEWS.md
3
NEWS.md
@ -3,10 +3,11 @@
|
||||
|
||||
* Handle SQL API errors by requesting no Varnish cache
|
||||
* Fix X-Cache-Channel for multilayer (by token) responses
|
||||
* Add last_modified field to POST layergroup response (#72)
|
||||
* Add last_modified field to layergroup creation response (#72)
|
||||
* Deprecate signal handler for USR1, add handler for USR2 (#71)
|
||||
* Fix support for ampersend characters in CartoCSS
|
||||
* Add support for LZMA compressed GET parameters
|
||||
* Add support for creating layergroups via GET
|
||||
|
||||
1.1.8
|
||||
-----
|
||||
|
@ -216,9 +216,8 @@ module.exports = function(){
|
||||
});
|
||||
};
|
||||
|
||||
me.afterLayergroupCreate = function(req, response, callback) {
|
||||
me.afterLayergroupCreate = function(req, mapconfig, response, callback) {
|
||||
var token = response.layergroupid;
|
||||
var mapconfig = req.body;
|
||||
|
||||
var sql = [];
|
||||
_.each(mapconfig.layers, function(lyr) {
|
||||
|
6
npm-shrinkwrap.json
generated
6
npm-shrinkwrap.json
generated
@ -32,7 +32,7 @@
|
||||
"version": "0.8.3"
|
||||
},
|
||||
"npm": {
|
||||
"version": "1.2.15",
|
||||
"version": "1.2.16",
|
||||
"dependencies": {
|
||||
"semver": {
|
||||
"version": "1.1.4"
|
||||
@ -98,7 +98,7 @@
|
||||
"version": "2.3.0"
|
||||
},
|
||||
"node-gyp": {
|
||||
"version": "0.9.3"
|
||||
"version": "0.9.5"
|
||||
},
|
||||
"fstream-npm": {
|
||||
"version": "0.1.4",
|
||||
@ -190,7 +190,7 @@
|
||||
"version": "1.3.3"
|
||||
},
|
||||
"windshaft": {
|
||||
"version": "0.10.0",
|
||||
"version": "0.11.0",
|
||||
"dependencies": {
|
||||
"grainstore": {
|
||||
"version": "0.12.0",
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "windshaft-cartodb",
|
||||
"version": "1.2.0",
|
||||
"version": "1.1.9",
|
||||
"description": "A map tile server for CartoDB",
|
||||
"url": "https://github.com/Vizzuality/Windshaft-cartodb",
|
||||
"licenses": [{
|
||||
|
Loading…
Reference in New Issue
Block a user