@saltcorn/server 0.8.3-alpha.0 → 0.8.3-alpha.1
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/locales/ru.json +28 -9
- package/package.json +8 -8
- package/routes/fields.js +3 -0
- package/routes/menu.js +3 -3
- package/routes/tables.js +2 -1
package/locales/en.json
CHANGED
|
@@ -1085,5 +1085,6 @@
|
|
|
1085
1085
|
"You have views with a role to access lower than the table role to read, with no table ownership. This may cause a denial of access. Users need to have table read access to any data displayed.": "You have views with a role to access lower than the table role to read, with no table ownership. This may cause a denial of access. Users need to have table read access to any data displayed.",
|
|
1086
1086
|
"Views potentially affected": "Views potentially affected",
|
|
1087
1087
|
"Empty view": "Empty view",
|
|
1088
|
-
"A view that will be shown only if there are no tables rows to show": "A view that will be shown only if there are no tables rows to show"
|
|
1088
|
+
"A view that will be shown only if there are no tables rows to show": "A view that will be shown only if there are no tables rows to show",
|
|
1089
|
+
"Calculated field will be stored in Database": "Calculated field will be stored in Database"
|
|
1089
1090
|
}
|
package/locales/ru.json
CHANGED
|
@@ -731,7 +731,7 @@
|
|
|
731
731
|
"Forget table": "Забыть таблицу",
|
|
732
732
|
"Ownership formula": "Owner (формула)",
|
|
733
733
|
"User is treated as owner if true. In scope: ": "Ownership formula. Пользователь воспринимается как владелец, если значение формулы true. В рамках: ",
|
|
734
|
-
"This is a translation of a different field in a different language": "Это
|
|
734
|
+
"This is a translation of a different field in a different language": "Это поле является переводом другого поля на другой язык",
|
|
735
735
|
"Language locale of translation": "Языковая локализация (locale) для перевода",
|
|
736
736
|
"Slug": "Slug",
|
|
737
737
|
"Field that can be used for a prettier URL structure": "Поле, которе используется для настройки структуры URL",
|
|
@@ -933,21 +933,40 @@
|
|
|
933
933
|
"%s view - %s on %s": "%s view - %s on %s",
|
|
934
934
|
"Password Repeat": "Повторите пароль",
|
|
935
935
|
"Remember me": "Запомнить меня",
|
|
936
|
-
"Specifies a filter for what file types the user can pick from the file input dialog box. Example is `text/csv,audio/*,video/*,image/*`": "
|
|
936
|
+
"Specifies a filter for what file types the user can pick from the file input dialog box. Example is `text/csv,audio/*,video/*,image/*`": "Определяет через запятую список MIME типов файлов, которые допустимо загружать через диалог загрузки файлов. Пример `text/csv,audio/*,video/*,image/*`",
|
|
937
937
|
"Home Page by Role": "Домашняя страница в соответствие с ролью",
|
|
938
938
|
"Files accept filter": "Фильтр типов файлов при загрузке",
|
|
939
939
|
"Specify how to create a new row": "Укажите как создавать новую строку",
|
|
940
940
|
"Cascade delete to file": "Каскадное удаление к файлу",
|
|
941
|
-
"Deleting a row will also delete the file referenced by this field": "
|
|
942
|
-
"Specifies a filter for what file types the user can pick from the file input dialog box. Example is `.doc,audio/*,video/*,image/*`": "
|
|
943
|
-
"Specifies a default filter for what file types the user can pick from the file input dialog box. Example is `.doc, text/csv,audio/*,video/*,image/*`": "
|
|
941
|
+
"Deleting a row will also delete the file referenced by this field": "При удалении записи также удаляется файл, на который ссылается поле этой записи",
|
|
942
|
+
"Specifies a filter for what file types the user can pick from the file input dialog box. Example is `.doc,audio/*,video/*,image/*`": "Определяет через запятую список MIME типов файлов, которые допустимо загружать через диалог загрузки файлов. Пример `.doc,audio/*,video/*,image/*`",
|
|
943
|
+
"Specifies a default filter for what file types the user can pick from the file input dialog box. Example is `.doc, text/csv,audio/*,video/*,image/*`": "Определяет через запятую список MIME типов файлов, которые допустимо загружать через диалог загрузки файлов. Пример `.doc, text/csv,audio/*,video/*,image/*`",
|
|
944
944
|
"No file found": "Файл не найден",
|
|
945
945
|
"Default File accept filter": "Фильтр типов файлов для загрузки",
|
|
946
946
|
"File upload debug": "Флаг отладки загрузки файлов",
|
|
947
|
-
"Turn on to debug file upload in express-fileupload.": "
|
|
947
|
+
"Turn on to debug file upload in express-fileupload.": "Включить отладочные сообщения при загрузке файлов.",
|
|
948
948
|
"File upload size limit in bytes": "Ограничение на размер файла при загрузке (в байтах)",
|
|
949
|
-
"Defines in bytes limit for upload files in express-fileupload.": "
|
|
949
|
+
"Defines in bytes limit for upload files in express-fileupload.": "Максимальный допустимый размер загружаемого файла (указывается в байтах).",
|
|
950
950
|
"File upload timeout": "Таймаут загрузки файлов",
|
|
951
|
-
"Defines how long to wait for data before aborting for express-fileupload. Set to 0 if you want to turn off timeout checks. ": "
|
|
952
|
-
"Files settings": "Настройки Файлов"
|
|
951
|
+
"Defines how long to wait for data before aborting for express-fileupload. Set to 0 if you want to turn off timeout checks. ": "определяет максимально допустимый интервал времени ожидания загрузки файла. 0 отключает проверку. ",
|
|
952
|
+
"Files settings": "Настройки Файлов",
|
|
953
|
+
"Log client errors": "Логировать ошибки на клиенте",
|
|
954
|
+
"Record all client errors in the crash log": "Записывать все ошибки в приложении-клиенте в журнал сбоев (crash log)",
|
|
955
|
+
"NPM packages in code": "Пакеты NPM для JS кода",
|
|
956
|
+
"Comma-separated list of packages which will be available in JavaScript actions": "Список пакетов через запятую, которые будут использованы в действиях Javascript",
|
|
957
|
+
"Owned": "Принадлежит",
|
|
958
|
+
"You have views with a role to access lower than the table role to read, with no table ownership. This may cause a denial of access. Users need to have table read access to any data displayed.": "Настроены представления с уровнем доступа меньшим, чем уровень чтения данных из таблиц. При этом не используется механизм владения таблицей. Это может вызвать конфликт доступа. Пользователи должны иметь доступ ко всем отображаемым данным.",
|
|
959
|
+
"Views potentially affected": "Потенциально затронутые представления",
|
|
960
|
+
"Become user": "Стать пользователем",
|
|
961
|
+
"Public cache TTL (minutes)": "Публичный кеш TTL (минуты)",
|
|
962
|
+
"Cache-control max-age for public views and pages. 0 to disable": "Максимальный возраст кеша для публичных представлений и страниц. 0 отключает проверку",
|
|
963
|
+
"Update": "Обновить",
|
|
964
|
+
"Add": "Добавить",
|
|
965
|
+
"Recalculate dynamic": "Пересчитать динамические элементы",
|
|
966
|
+
"Upload size limit (Kb)": "Лимит размера загружаемых файлов (Kb)",
|
|
967
|
+
"Maximum upload file size in kilobytes": "Максимальный допустимый размер загружаемого файла (указывается в килобайтах)",
|
|
968
|
+
"Defines how long to wait for data before aborting file upload. Set to 0 if you want to turn off timeout checks. ": "Определяет максимальный допустимый интервал времени ожидания загрузки данных файла. 0 отключает проверку. ",
|
|
969
|
+
"User group": "Группа пользователей",
|
|
970
|
+
"Add relations to this table in dropdown options for ownership field": "Добавить связь с этой таблицей в выбор опций для поля Владельца ",
|
|
971
|
+
"Calculated field will be stored in Database": "Вычисляемое будет сохранено в базе данных"
|
|
953
972
|
}
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@saltcorn/server",
|
|
3
|
-
"version": "0.8.3-alpha.
|
|
3
|
+
"version": "0.8.3-alpha.1",
|
|
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
|
-
"@saltcorn/base-plugin": "0.8.3-alpha.
|
|
10
|
-
"@saltcorn/builder": "0.8.3-alpha.
|
|
11
|
-
"@saltcorn/data": "0.8.3-alpha.
|
|
12
|
-
"@saltcorn/admin-models": "0.8.3-alpha.
|
|
13
|
-
"@saltcorn/filemanager": "0.8.3-alpha.
|
|
14
|
-
"@saltcorn/markup": "0.8.3-alpha.
|
|
15
|
-
"@saltcorn/sbadmin2": "0.8.3-alpha.
|
|
9
|
+
"@saltcorn/base-plugin": "0.8.3-alpha.1",
|
|
10
|
+
"@saltcorn/builder": "0.8.3-alpha.1",
|
|
11
|
+
"@saltcorn/data": "0.8.3-alpha.1",
|
|
12
|
+
"@saltcorn/admin-models": "0.8.3-alpha.1",
|
|
13
|
+
"@saltcorn/filemanager": "0.8.3-alpha.1",
|
|
14
|
+
"@saltcorn/markup": "0.8.3-alpha.1",
|
|
15
|
+
"@saltcorn/sbadmin2": "0.8.3-alpha.1",
|
|
16
16
|
"@socket.io/cluster-adapter": "^0.1.0",
|
|
17
17
|
"@socket.io/sticky": "^1.0.1",
|
|
18
18
|
"aws-sdk": "^2.1037.0",
|
package/routes/fields.js
CHANGED
|
@@ -137,6 +137,9 @@ const fieldForm = async (req, fkey_opts, existing_names, id, hasData) => {
|
|
|
137
137
|
new Field({
|
|
138
138
|
label: req.__("Stored"),
|
|
139
139
|
name: "stored",
|
|
140
|
+
sublabel: req.__(
|
|
141
|
+
"Calculated field will be stored in Database"
|
|
142
|
+
),
|
|
140
143
|
type: "Bool",
|
|
141
144
|
disabled: !!id,
|
|
142
145
|
showIf: { calculated: true },
|
package/routes/menu.js
CHANGED
|
@@ -83,10 +83,10 @@ const menuForm = async (req) => {
|
|
|
83
83
|
labelCols: 3,
|
|
84
84
|
noSubmitButton: true,
|
|
85
85
|
additionalButtons: [
|
|
86
|
-
{ label: "Update", id: "btnUpdate", class: "btn btn-primary" },
|
|
87
|
-
{ label: "Add", id: "btnAdd", class: "btn btn-primary" },
|
|
86
|
+
{ label: req.__("Update"), id: "btnUpdate", class: "btn btn-primary" },
|
|
87
|
+
{ label: req.__("Add"), id: "btnAdd", class: "btn btn-primary" },
|
|
88
88
|
{
|
|
89
|
-
label: "Recalculate dynamic",
|
|
89
|
+
label: req.__("Recalculate dynamic"),
|
|
90
90
|
id: "btnRecalc",
|
|
91
91
|
class: "btn btn-primary",
|
|
92
92
|
},
|
package/routes/tables.js
CHANGED
|
@@ -430,6 +430,7 @@ router.get(
|
|
|
430
430
|
label: `<b>${t.name}</b>\n${t.fields
|
|
431
431
|
.map((f) => `${f.name} : ${f.pretty_type}`)
|
|
432
432
|
.join("\n")}`,
|
|
433
|
+
title: t.description? t.description : t.name,
|
|
433
434
|
})),
|
|
434
435
|
edges,
|
|
435
436
|
};
|
|
@@ -439,7 +440,7 @@ router.get(
|
|
|
439
440
|
headers: [
|
|
440
441
|
{
|
|
441
442
|
script:
|
|
442
|
-
"https://unpkg.com/vis-network@9.
|
|
443
|
+
"https://unpkg.com/vis-network@9.1.2/standalone/umd/vis-network.min.js",
|
|
443
444
|
},
|
|
444
445
|
],
|
|
445
446
|
},
|