@saltcorn/server 1.1.0-beta.14 → 1.1.0-beta.16

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 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.findOne({ id });
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
@@ -1510,5 +1510,8 @@
1510
1510
  "Enable the share to feature": "Enable the share to feature",
1511
1511
  "Allocate new row": "Allocate new row",
1512
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"
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"
1514
1517
  }
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@saltcorn/server",
3
- "version": "1.1.0-beta.14",
3
+ "version": "1.1.0-beta.16",
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.14",
11
- "@saltcorn/builder": "1.1.0-beta.14",
12
- "@saltcorn/data": "1.1.0-beta.14",
13
- "@saltcorn/admin-models": "1.1.0-beta.14",
14
- "@saltcorn/filemanager": "1.1.0-beta.14",
15
- "@saltcorn/markup": "1.1.0-beta.14",
16
- "@saltcorn/plugins-loader": "1.1.0-beta.14",
17
- "@saltcorn/sbadmin2": "1.1.0-beta.14",
10
+ "@saltcorn/base-plugin": "1.1.0-beta.16",
11
+ "@saltcorn/builder": "1.1.0-beta.16",
12
+ "@saltcorn/data": "1.1.0-beta.16",
13
+ "@saltcorn/admin-models": "1.1.0-beta.16",
14
+ "@saltcorn/filemanager": "1.1.0-beta.16",
15
+ "@saltcorn/markup": "1.1.0-beta.16",
16
+ "@saltcorn/plugins-loader": "1.1.0-beta.16",
17
+ "@saltcorn/sbadmin2": "1.1.0-beta.16",
18
18
  "@socket.io/cluster-adapter": "^0.2.1",
19
19
  "@socket.io/sticky": "^1.0.1",
20
20
  "adm-zip": "0.5.10",