Fixes in reports (generating a CSV).

Added caching of generated images in mosaico handler.
Various other fixes.
This commit is contained in:
Tomas Bures 2019-04-22 02:41:40 +02:00
parent 055c4c6b51
commit 66702b5edc
39 changed files with 545 additions and 278 deletions

View file

@ -6,6 +6,7 @@ const log = require('./log');
const path = require('path');
const fs = require('fs-extra')
const crypto = require('crypto');
const bluebird = require('bluebird');
let zoneMtaProcess;
@ -155,6 +156,6 @@ function spawn(callback) {
}
}
module.exports.spawn = spawn;
module.exports.spawn = bluebird.promisify(spawn);
module.exports.getUsername = getUsername;
module.exports.getPassword = getPassword;