backend-plus 2.5.2-betha.35 → 2.5.2-betha.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/for-client/my-menu.js +3 -0
- package/for-client/my-tables.js +1 -1
- package/lib/backend-plus.js +8 -2
- package/package.json +6 -6
package/for-client/my-menu.js
CHANGED
|
@@ -199,6 +199,7 @@ myOwn.wScreens.proc.result={
|
|
|
199
199
|
}else{
|
|
200
200
|
divResult.textContent = result;
|
|
201
201
|
divResult.style.backgroundColor = '#9FA';
|
|
202
|
+
divResult.setAttribute('result','success');
|
|
202
203
|
}
|
|
203
204
|
},
|
|
204
205
|
showGrid:function(result, divResult){
|
|
@@ -207,6 +208,8 @@ myOwn.wScreens.proc.result={
|
|
|
207
208
|
showError:function(err, divResult){
|
|
208
209
|
divResult.textContent = err.message;
|
|
209
210
|
divResult.style.backgroundColor = 'orange';
|
|
211
|
+
divResult.setAttribute('result','error');
|
|
212
|
+
|
|
210
213
|
},
|
|
211
214
|
showDownloadUrl:function(result, divResult){
|
|
212
215
|
divResult.innerHTML='';
|
package/for-client/my-tables.js
CHANGED
|
@@ -1983,7 +1983,7 @@ myOwn.TableGrid.prototype.prepareGrid = function prepareGrid(){
|
|
|
1983
1983
|
});
|
|
1984
1984
|
}
|
|
1985
1985
|
if(grid.def.allow.insert && !grid.def.forInsertOnlyMode){
|
|
1986
|
-
buttonInsert=html.button({class:'table-button', "enter-clicks":true}, [
|
|
1986
|
+
buttonInsert=html.button({class:'table-button', "enter-clicks":true, "bp-action": "INS"}, [
|
|
1987
1987
|
html.img({
|
|
1988
1988
|
src:my.path.img+'insert.png',
|
|
1989
1989
|
alt:'INS',
|
package/lib/backend-plus.js
CHANGED
|
@@ -866,6 +866,9 @@ AppBackend.prototype.start = function start(opts){
|
|
|
866
866
|
}
|
|
867
867
|
var storeModule = be.sessionStores[sessionStoreName];
|
|
868
868
|
be.config.login.plus.store.module = storeModule;
|
|
869
|
+
}else{
|
|
870
|
+
console.error('###################### DEPRECATED #####################')
|
|
871
|
+
console.error('LACK OF server.session-store')
|
|
869
872
|
}
|
|
870
873
|
be.config.install.dump.db.owner=coalesce(be.config.db.owner,be.config.install.dump.db.owner,be.config.db.user);
|
|
871
874
|
be.config.install.dump.db["owner4special-scripts"]=coalesce(be.config.install.dump.db["owner4special-scripts"],be.config.install.dump.db.owner)
|
|
@@ -1098,8 +1101,11 @@ AppBackend.prototype.start = function start(opts){
|
|
|
1098
1101
|
});
|
|
1099
1102
|
if(be.config.log.req){
|
|
1100
1103
|
mainApp.use(function(req,res,next){
|
|
1101
|
-
if(
|
|
1102
|
-
|
|
1104
|
+
if(
|
|
1105
|
+
(!/keep-alive.json$/.test(req.originalUrl) || be.config?.log?.req?.['keep-alive']) &&
|
|
1106
|
+
(!/(.png|.jpg|.js|.jsx|.css|.html)$/.test(req.originalUrl) || be.config?.log?.req?.['all'])
|
|
1107
|
+
){
|
|
1108
|
+
console.log('REQ',req.method,req.protocol,req.hostname,req.originalUrl,'from:',req.ip,req.query);
|
|
1103
1109
|
}
|
|
1104
1110
|
next();
|
|
1105
1111
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "backend-plus",
|
|
3
3
|
"description": "Backend for the anti Pareto rule",
|
|
4
|
-
"version": "2.5.2-betha.
|
|
4
|
+
"version": "2.5.2-betha.37",
|
|
5
5
|
"author": "Codenautas <codenautas@googlegroups.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "codenautas/backend-plus",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"express": "^5.2.1",
|
|
46
46
|
"express-session": "^1.18.2",
|
|
47
47
|
"express-useragent": "^2.0.2",
|
|
48
|
-
"fs-extra": "^11.3.
|
|
48
|
+
"fs-extra": "^11.3.3",
|
|
49
49
|
"js-to-html": "^1.3.2",
|
|
50
50
|
"js-yaml": "^4.1.1",
|
|
51
51
|
"json4all": "^1.4.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"mini-tools": "^1.13.4",
|
|
57
57
|
"moment": "^2.30.1",
|
|
58
58
|
"multiparty": "^4.2.3",
|
|
59
|
-
"nodemailer": "^7.0.
|
|
59
|
+
"nodemailer": "^7.0.12",
|
|
60
60
|
"numeral": "^2.0.6",
|
|
61
61
|
"pg-promise-strict": "^1.4.3",
|
|
62
62
|
"pg-triggers": "0.4.3",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@types/js-yaml": "^4.0.9",
|
|
86
86
|
"@types/mocha": "^10.0.10",
|
|
87
87
|
"@types/multiparty": "~4.2.1",
|
|
88
|
-
"@types/node": "^25.0.
|
|
88
|
+
"@types/node": "^25.0.3",
|
|
89
89
|
"@types/nodemailer": "^7.0.4",
|
|
90
90
|
"@types/numeral": "~2.0.5",
|
|
91
91
|
"@types/session-file-store": "^1.2.6",
|
|
@@ -102,8 +102,8 @@
|
|
|
102
102
|
"kill-9": "~0.4.3",
|
|
103
103
|
"mocha": "^11.7.5",
|
|
104
104
|
"nyc": "^17.1.0",
|
|
105
|
-
"puppeteer": "^24.
|
|
106
|
-
"sinon": "^21.0.
|
|
105
|
+
"puppeteer": "^24.34.0",
|
|
106
|
+
"sinon": "^21.0.1",
|
|
107
107
|
"supertest": "^7.1.4",
|
|
108
108
|
"types.d.ts": "~0.6.22",
|
|
109
109
|
"typescript": "^5.9.3",
|