@saltcorn/server 1.1.0-beta.13 → 1.1.0-beta.15
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/auth/admin.js +1 -1
- package/locales/en.json +15 -1
- package/locales/pl.json +19 -2
- package/markup/admin.js +1 -0
- package/package.json +9 -9
- package/public/mermaid.min.js +1077 -792
- package/public/saltcorn-common.js +53 -38
- package/public/saltcorn.js +37 -11
- package/routes/actions.js +937 -4
- package/routes/eventlog.js +36 -0
- package/routes/fields.js +4 -0
- package/routes/tables.js +58 -20
package/auth/admin.js
CHANGED
|
@@ -1182,7 +1182,7 @@ router.post(
|
|
|
1182
1182
|
isAdmin,
|
|
1183
1183
|
error_catcher(async (req, res) => {
|
|
1184
1184
|
const { id } = req.params;
|
|
1185
|
-
const u = await User.
|
|
1185
|
+
const u = await User.findForSession({ id });
|
|
1186
1186
|
if (u) {
|
|
1187
1187
|
await u.relogin(req);
|
|
1188
1188
|
req.flash(
|
package/locales/en.json
CHANGED
|
@@ -1498,6 +1498,20 @@
|
|
|
1498
1498
|
"Pulling the capacitor-builder docker image...": "Pulling the capacitor-builder docker image...",
|
|
1499
1499
|
"Pull done with code %s": "Pull done with code %s",
|
|
1500
1500
|
"Default locale": "Default locale",
|
|
1501
|
+
"Next step": "Next step",
|
|
1502
|
+
"Step name": "Step name",
|
|
1503
|
+
"Step saved": "Step saved",
|
|
1504
|
+
"Initial step": "Initial step",
|
|
1501
1505
|
"Confirm leaving unsaved": "Confirm leaving unsaved",
|
|
1502
|
-
"Ask the user to confirm if they close a tab with unsaved changes": "Ask the user to confirm if they close a tab with unsaved changes"
|
|
1506
|
+
"Ask the user to confirm if they close a tab with unsaved changes": "Ask the user to confirm if they close a tab with unsaved changes",
|
|
1507
|
+
"Workflow runs": "Workflow runs",
|
|
1508
|
+
"Workflow run": "Workflow run",
|
|
1509
|
+
"Share to enabled": "Share to enabled",
|
|
1510
|
+
"Enable the share to feature": "Enable the share to feature",
|
|
1511
|
+
"Allocate new row": "Allocate new row",
|
|
1512
|
+
"If the view is run without existing row, allocate a new row on load. Defaults must be set on all required fields.": "If the view is run without existing row, allocate a new row on load. Defaults must be set on all required fields.",
|
|
1513
|
+
"Step traces": "Step traces",
|
|
1514
|
+
"Delete unchanged": "Delete unchanged",
|
|
1515
|
+
"Delete allocated row if there are no changes.": "Delete allocated row if there are no changes.",
|
|
1516
|
+
"Triggers on table": "Triggers on table"
|
|
1503
1517
|
}
|
package/locales/pl.json
CHANGED
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"If you did not request this, please ignore this email.": "Jeżeli nie żądałeś tego, nie klikaj w poniższy link.",
|
|
58
58
|
"Your password will not change until you access the link above and set a new one.": "Twoje hasło nie ulegnie zmianie dopóki nie klikniesz w powyższy link i nie ustawisz nowego hasła.",
|
|
59
59
|
"Change my password": "Zmień moje hasło",
|
|
60
|
-
"Must be admin": "
|
|
60
|
+
"Must be admin": "Musisz być adminem",
|
|
61
61
|
"Site identity": "Tożsamość strony",
|
|
62
62
|
"Authentication": "Uwierzytelnianie",
|
|
63
63
|
"Development": "Development",
|
|
@@ -1491,5 +1491,22 @@
|
|
|
1491
1491
|
"Login and signup views should be accessible by public users": "Widoki logowania i rejestracji powinny być dostępne dla użytkowników publicznych",
|
|
1492
1492
|
"Shared: %s": "Udostępnione: %s",
|
|
1493
1493
|
"Sharing not enabled": "Udostępnianie nie jest włączone",
|
|
1494
|
-
"You must be logged in to share": "Musisz być zalogowany, aby udostępniać"
|
|
1494
|
+
"You must be logged in to share": "Musisz być zalogowany, aby udostępniać",
|
|
1495
|
+
"Fluid layout": "Układ elastyczny",
|
|
1496
|
+
"Request fluid layout from theme for a wider display for this page": "Poproś o elastyczny układ z motywu, aby zapewnić szerszy widok dla tej strony",
|
|
1497
|
+
"Location of view to create new row": "Lokalizacja widoku do utworzenia nowego wiersza",
|
|
1498
|
+
"Capacitor builder": "Capacitor builder",
|
|
1499
|
+
"Pulling the capacitor-builder docker image...": "Pobieranie obrazu Docker capacitor-builder...",
|
|
1500
|
+
"Pull done with code %s": "Pobieranie zakończone z kodem %s",
|
|
1501
|
+
"Default locale": "Domyślny język/region",
|
|
1502
|
+
"Next step": "Następny krok",
|
|
1503
|
+
"Step name": "Nazwa kroku",
|
|
1504
|
+
"Step saved": "Krok zapisany",
|
|
1505
|
+
"Initial step": "Początkowy krok",
|
|
1506
|
+
"Confirm leaving unsaved": "Potwierdzenie opuszczenia bez zapisania",
|
|
1507
|
+
"Ask the user to confirm if they close a tab with unsaved changes": "Poproś użytkownika o potwierdzenie, czy chce zamknąć kartę z niezapisanymi zmianami",
|
|
1508
|
+
"Workflow runs": "Przepływ pracy jest uruchomiony",
|
|
1509
|
+
"Workflow run": "Uruchomienie przepływu pracy",
|
|
1510
|
+
"Share to enabled": "Udostępnij włączone",
|
|
1511
|
+
"Enable the share to feature": "Włącz udostępnianie funkcji"
|
|
1495
1512
|
}
|
package/markup/admin.js
CHANGED
|
@@ -310,6 +310,7 @@ const send_events_page = (args) => {
|
|
|
310
310
|
{ text: "Custom", href: "/eventlog/custom" },
|
|
311
311
|
{ text: "Settings", href: "/eventlog/settings" },
|
|
312
312
|
{ text: "Event log", href: "/eventlog" },
|
|
313
|
+
{ text: "Workflow runs", href: "/actions/runs" },
|
|
313
314
|
...(isRoot ? [{ text: "Crash log", href: "/crashlog" }] : []),
|
|
314
315
|
],
|
|
315
316
|
...args,
|
package/package.json
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltcorn/server",
|
|
3
|
-
"version": "1.1.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.15",
|
|
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": "1.1.0-beta.
|
|
11
|
-
"@saltcorn/builder": "1.1.0-beta.
|
|
12
|
-
"@saltcorn/data": "1.1.0-beta.
|
|
13
|
-
"@saltcorn/admin-models": "1.1.0-beta.
|
|
14
|
-
"@saltcorn/filemanager": "1.1.0-beta.
|
|
15
|
-
"@saltcorn/markup": "1.1.0-beta.
|
|
16
|
-
"@saltcorn/plugins-loader": "1.1.0-beta.
|
|
17
|
-
"@saltcorn/sbadmin2": "1.1.0-beta.
|
|
10
|
+
"@saltcorn/base-plugin": "1.1.0-beta.15",
|
|
11
|
+
"@saltcorn/builder": "1.1.0-beta.15",
|
|
12
|
+
"@saltcorn/data": "1.1.0-beta.15",
|
|
13
|
+
"@saltcorn/admin-models": "1.1.0-beta.15",
|
|
14
|
+
"@saltcorn/filemanager": "1.1.0-beta.15",
|
|
15
|
+
"@saltcorn/markup": "1.1.0-beta.15",
|
|
16
|
+
"@saltcorn/plugins-loader": "1.1.0-beta.15",
|
|
17
|
+
"@saltcorn/sbadmin2": "1.1.0-beta.15",
|
|
18
18
|
"@socket.io/cluster-adapter": "^0.2.1",
|
|
19
19
|
"@socket.io/sticky": "^1.0.1",
|
|
20
20
|
"adm-zip": "0.5.10",
|