backend-plus 2.5.2-betha.12 → 2.5.2-betha.14
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/lib/backend-plus.d.ts +3 -0
- package/lib/table-def-adapt.js +1 -1
- package/package.json +11 -11
package/lib/backend-plus.d.ts
CHANGED
|
@@ -433,6 +433,9 @@ export interface AppConfigLogin
|
|
|
433
433
|
store:{
|
|
434
434
|
module: string
|
|
435
435
|
}
|
|
436
|
+
successRedirect: string // where to redirect after login
|
|
437
|
+
failureRedirect: string // where to redirect after login failure
|
|
438
|
+
failedLoginUrlPath: string // where to redirect after a failed login
|
|
436
439
|
}
|
|
437
440
|
forget: { // forget password configurations:
|
|
438
441
|
urlPath: string // url sent by mail. default: `/new-pass`
|
package/lib/table-def-adapt.js
CHANGED
|
@@ -177,7 +177,7 @@ function tableDefAdapt(tableDef, context){
|
|
|
177
177
|
if(resultTableDef.sortColumns){
|
|
178
178
|
resultTableDef.sortColumns.map(function(sortColumn){
|
|
179
179
|
sortColumn.order = sortColumn.order || 1;
|
|
180
|
-
if (!resultTableDef.field[sortColumn.column]) {
|
|
180
|
+
if (!resultTableDef.field[sortColumn.column] && !/__/.test(sortColumn.column)) {
|
|
181
181
|
throw new Error("unkown column " + JSON.stringify(sortColumn.column) + " in sortColumn (or Primarykey) of " + resultTableDef.name);
|
|
182
182
|
}
|
|
183
183
|
});
|
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.14",
|
|
5
5
|
"author": "Codenautas <codenautas@googlegroups.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "codenautas/backend-plus",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dialog-promise": "^0.10.2",
|
|
44
44
|
"discrepances": "^0.2.9",
|
|
45
45
|
"express": "^5.1.0",
|
|
46
|
-
"express-session": "^1.18.
|
|
46
|
+
"express-session": "^1.18.2",
|
|
47
47
|
"express-useragent": "^1.0.15",
|
|
48
48
|
"fs-extra": "^11.3.0",
|
|
49
49
|
"js-to-html": "^1.3.2",
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
"json4all": "^1.4.0",
|
|
52
52
|
"lazy-some": "^0.1.0",
|
|
53
53
|
"like-ar": "^0.5.1",
|
|
54
|
-
"login-plus": "^1.
|
|
54
|
+
"login-plus": "^1.8.0",
|
|
55
55
|
"memorystore": "^1.6.7",
|
|
56
|
-
"mini-tools": "^1.13.
|
|
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.5",
|
|
60
60
|
"numeral": "^2.0.6",
|
|
61
61
|
"pg-promise-strict": "^1.4.3",
|
|
62
62
|
"pg-triggers": "0.4.3",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"regexplicit": "^0.1.3",
|
|
67
67
|
"require-bro": "^0.3.1",
|
|
68
68
|
"self-explain": "^0.11.0",
|
|
69
|
-
"serve-content": "^0.
|
|
69
|
+
"serve-content": "^1.0.2",
|
|
70
70
|
"session-file-store": "^1.5.0",
|
|
71
|
-
"simple-git": "^3.
|
|
71
|
+
"simple-git": "^3.28.0",
|
|
72
72
|
"sql-tools": "^0.1.2",
|
|
73
73
|
"stack-trace": "^0.0.10",
|
|
74
74
|
"stylus": "0.64.0",
|
|
@@ -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": "^24.0
|
|
88
|
+
"@types/node": "^24.1.0",
|
|
89
89
|
"@types/nodemailer": "^6.4.17",
|
|
90
90
|
"@types/numeral": "~2.0.5",
|
|
91
91
|
"@types/session-file-store": "^1.2.5",
|
|
@@ -100,11 +100,11 @@
|
|
|
100
100
|
"karma-ie-launcher": "^1.0.0",
|
|
101
101
|
"karma-mocha": "^2.0.1",
|
|
102
102
|
"kill-9": "~0.4.3",
|
|
103
|
-
"mocha": "^11.7.
|
|
103
|
+
"mocha": "^11.7.1",
|
|
104
104
|
"nyc": "^17.1.0",
|
|
105
|
-
"puppeteer": "^24.
|
|
105
|
+
"puppeteer": "^24.15.0",
|
|
106
106
|
"sinon": "^21.0.0",
|
|
107
|
-
"supertest": "^7.1.
|
|
107
|
+
"supertest": "^7.1.4",
|
|
108
108
|
"types.d.ts": "~0.6.22",
|
|
109
109
|
"typescript": "^5.8.3",
|
|
110
110
|
"why-is-node-running": "^3.2.2"
|