@saltcorn/server 0.9.1-beta.13 → 0.9.1-beta.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/locales/en.json +2 -1
- package/package.json +8 -8
- package/routes/actions.js +6 -2
package/locales/en.json
CHANGED
|
@@ -1283,5 +1283,6 @@
|
|
|
1283
1283
|
"Theme for role": "Theme for role",
|
|
1284
1284
|
"Set theme for each user role »": "Set theme for each user role »",
|
|
1285
1285
|
"Available themes": "Available themes",
|
|
1286
|
-
"Install more themes »": "Install more themes »"
|
|
1286
|
+
"Install more themes »": "Install more themes »",
|
|
1287
|
+
"Configure action": "Configure action"
|
|
1287
1288
|
}
|
package/package.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltcorn/server",
|
|
3
|
-
"version": "0.9.1-beta.
|
|
3
|
+
"version": "0.9.1-beta.14",
|
|
4
4
|
"description": "Server app for Saltcorn, open-source no-code platform",
|
|
5
5
|
"homepage": "https://saltcorn.com",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@aws-sdk/client-s3": "^3.451.0",
|
|
10
|
-
"@saltcorn/base-plugin": "0.9.1-beta.
|
|
11
|
-
"@saltcorn/builder": "0.9.1-beta.
|
|
12
|
-
"@saltcorn/data": "0.9.1-beta.
|
|
13
|
-
"@saltcorn/admin-models": "0.9.1-beta.
|
|
14
|
-
"@saltcorn/filemanager": "0.9.1-beta.
|
|
15
|
-
"@saltcorn/markup": "0.9.1-beta.
|
|
16
|
-
"@saltcorn/sbadmin2": "0.9.1-beta.
|
|
10
|
+
"@saltcorn/base-plugin": "0.9.1-beta.14",
|
|
11
|
+
"@saltcorn/builder": "0.9.1-beta.14",
|
|
12
|
+
"@saltcorn/data": "0.9.1-beta.14",
|
|
13
|
+
"@saltcorn/admin-models": "0.9.1-beta.14",
|
|
14
|
+
"@saltcorn/filemanager": "0.9.1-beta.14",
|
|
15
|
+
"@saltcorn/markup": "0.9.1-beta.14",
|
|
16
|
+
"@saltcorn/sbadmin2": "0.9.1-beta.14",
|
|
17
17
|
"@socket.io/cluster-adapter": "^0.2.1",
|
|
18
18
|
"@socket.io/sticky": "^1.0.1",
|
|
19
19
|
"adm-zip": "0.5.10",
|
package/routes/actions.js
CHANGED
|
@@ -400,7 +400,7 @@ router.get(
|
|
|
400
400
|
{ class: "ms-3" },
|
|
401
401
|
trigger.action,
|
|
402
402
|
table ? ` on ` + a({ href: `/table/${table.name}` }, table.name) : ""
|
|
403
|
-
);
|
|
403
|
+
) + a({href: `/actions/testrun/${id}`, class: "ms-2" }, req.__("Test run")+" »");
|
|
404
404
|
if (!action) {
|
|
405
405
|
req.flash("warning", req.__("Action not found"));
|
|
406
406
|
res.redirect(`/actions/`);
|
|
@@ -618,7 +618,7 @@ router.get(
|
|
|
618
618
|
let table, row;
|
|
619
619
|
if (trigger.table_id) {
|
|
620
620
|
table = Table.findOne({ id: trigger.table_id });
|
|
621
|
-
row = await table.getRow({});
|
|
621
|
+
row = await table.getRow({}, {orderBy: "RANDOM()"});
|
|
622
622
|
}
|
|
623
623
|
let runres;
|
|
624
624
|
|
|
@@ -665,6 +665,10 @@ router.get(
|
|
|
665
665
|
{ href: `/actions`, class: "mt-4 btn btn-primary me-1" },
|
|
666
666
|
"« " + req.__("back to actions")
|
|
667
667
|
),
|
|
668
|
+
a(
|
|
669
|
+
{ href: `/actions/configure/${trigger.id}`, class: "mt-4 btn btn-primary me-1" },
|
|
670
|
+
req.__("Configure action")
|
|
671
|
+
),
|
|
668
672
|
a(
|
|
669
673
|
{
|
|
670
674
|
href: `/actions/testrun/${id}`,
|