@saltcorn/server 0.7.4-beta.0 → 0.7.4-beta.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 CHANGED
@@ -930,5 +930,23 @@
930
930
  "Download snapshots": "Download snapshots",
931
931
  "Snapshot successful": "Snapshot successful",
932
932
  "System logging verbosity": "System logging verbosity",
933
- "Destination URL Formula": "Destination URL Formula"
933
+ "Destination URL Formula": "Destination URL Formula",
934
+ "Pattern": "Pattern",
935
+ "View pattern": "View pattern",
936
+ "The view pattern sets the foundation of how the view relates to the table and the behaviour of the view": "The view pattern sets the foundation of how the view relates to the table and the behaviour of the view",
937
+ "Views display data from tables. A view is a view pattern applied to a table, with configuration.": "Views display data from tables. A view is a view pattern applied to a table, with configuration.",
938
+ "Modules": "Modules",
939
+ "Module installation and control": "Module installation and control",
940
+ "Module store": "Module store",
941
+ "Module": "Module",
942
+ "View patterns": "View patterns",
943
+ "%s module information": "%s module information",
944
+ "Upgrade installed modules": "Upgrade installed modules",
945
+ "Add another module": "Add another module",
946
+ "Add module": "Add module",
947
+ "Module name": "Module name",
948
+ "Source of module for install. Few options:npm - download from npm repository,local - get from local file system,github - download from github,git - get from git": "Source of module for install. Few options:npm - download from npm repository,local - get from local file system,github - download from github,git - get from git",
949
+ "Version of module, latest is default value": "Version of module, latest is default value",
950
+ "For npm - name of npm package, e.g. @saltcorn/html or saltcorn-gantt, check at npmjs.com, for local - absolute path to module folder in file system, e.g. C:\\gitsrc\\any-bootstrap-theme\\, for github - name of github project.": "For npm - name of npm package, e.g. @saltcorn/html or saltcorn-gantt, check at npmjs.com, for local - absolute path to module folder in file system, e.g. C:\\gitsrc\\any-bootstrap-theme\\, for github - name of github project.",
951
+ "Modules up-to-date": "Modules up-to-date"
934
952
  }
package/locales/it.json CHANGED
@@ -478,5 +478,6 @@
478
478
  "Generate": "Generate",
479
479
  "Two-factor authentication": "Two-factor authentication",
480
480
  "Two-factor authentication is disabled": "Two-factor authentication is disabled",
481
- "Enable TWA": "Enable TWA"
481
+ "Enable TWA": "Enable TWA",
482
+ "Modules": "Modules"
482
483
  }
package/locales/ru.json CHANGED
@@ -26,7 +26,7 @@
26
26
  "ID": "ID",
27
27
  "Email": "Email",
28
28
  "Role": "Роль",
29
- "View": "Посмотреть",
29
+ "View": "Представление",
30
30
  "Delete": "Удалить",
31
31
  "Add user": "Создать пользователя",
32
32
  "New user": "Новый пользователь",
@@ -783,15 +783,51 @@
783
783
  "Disable TWA": "Отключить TWA",
784
784
  "Enable TWA": "Включить TWA",
785
785
  "Deleted all rows": "Удалены все строки",
786
- "Use this link: <a href=\"%s\">%s</a> to revisit your application at any time.": "В дальнешем используйте ссылку: <a href=\"%s\">%s</a> для входа в созданное приложение.",
786
+ "Use this link: <a href=\"%s\">%s</a> to revisit your application at any time.": "В дальнейшем используйте ссылку: <a href=\"%s\">%s</a> для входа в созданное приложение.",
787
787
  "To login to a previously created application, go to: ": "Чтобы авторизоваться в ранее созданном приложении, перейдите по ссылке: ",
788
788
  "Has channels?": "Связано с каналом?",
789
789
  "Menu, search, languages and tenants": "Меню, поиск, языки и подсайты(тенанты)",
790
790
  "Images and other files for download": "Изображения и другие файлы для загрузки",
791
791
  "Channels to create events for. Separate by comma; leave blank for all": "Каналы, для которых создаются собятия. Разделяются ; Не заполняйте, чтобы использовать события для всех каналов",
792
792
  "Event Name": "Имя события",
793
- "Plugins (Extensions) Store endpoint": "Plugins (Extensions) Store endpoint",
794
- "Packs Store endpoint": "Packs Store endpoint",
795
- "The endpoint of plugins store.": "The endpoint of plugins store.",
796
- "The endpoint of packs store.": "The endpoint of packs store."
793
+ "Plugins (Extensions) Store endpoint": "Адрес (endpoint) магазина плагинов",
794
+ "Packs Store endpoint": "Адрес (endpoint) магазина паков",
795
+ "The endpoint of plugins store.": "Адрес (endpoint) магазина плагинов.",
796
+ "The endpoint of packs store.": "Адрес (endpoint) магазина паков.",
797
+ "Modules": "Модули",
798
+ "Frequency": "Регулярность",
799
+ "Destination": "Местоположение",
800
+ "Directory": "Папка",
801
+ "Expiration in days": "Срок хранения (в днях)",
802
+ "Delete old backup files in this directory after the set number of days": "Старые резервные копии в этой папке будут удалять после истечения срока хранения ",
803
+ "Backup settings updated": "Настройки резервного копирования обновлены",
804
+ "Periodic snapshots enabled": "Регулярные снимки (снэпшоты) активированы",
805
+ "Snapshot will be made every hour if there are changes": "Снимки (снэпшоты) будут выполняться каждый час",
806
+ "Manual backup": "Ручное резервное копирование",
807
+ "Automated backup": "Автоматическое резервное копирование",
808
+ "Snapshots": "Снимки (снэпшоты)",
809
+ "Mobile app": "Мобильное приложение",
810
+ "Module store": "Магазин модулей",
811
+ "Upgrade installed modules": "Обновить установленные модули",
812
+ "Add another module": "Добавить модуль",
813
+ "Module": "Модуль",
814
+ "Module installation and control": "Установка и управление модулями",
815
+ "System logging verbosity": "Уровень логирования системы",
816
+ "Source of module for install. Few options:npm - download from npm repository,local - get from local file system,github - download from github,git - get from git": "Источник для установки модуля:npm - загрузка из репозитория npm,local - установка из локальной файловой системы,github - загрузка из github,git - загрузка из git",
817
+ "Version of module, latest is default value": "Версия модуля, значение по-умолчанию latest",
818
+ "For npm - name of npm package, e.g. @saltcorn/html or saltcorn-gantt, check at npmjs.com, for local - absolute path to module folder in file system, e.g. C:\\gitsrc\\any-bootstrap-theme\\, for github - name of github project.": "для npm - имя npm пактеа, например, @saltcorn/html или saltcorn-gantt, см. npmjs.com, для local - абсолютный путь к папке модуля в локальной файловой системе, например, C:\\gitsrc\\any-bootstrap-theme\\, для github - имя проекта github.",
819
+ "Modules up-to-date": "Модули обновлены до актуальной версии",
820
+ "Add module": "Добавить модуль",
821
+ "Module name": "Имя модуля",
822
+ "Build mobile app": "Создать мобильное приложение",
823
+ "Please select at least one platform (android or iOS).": "Пожалуйста выберите как минимум одну платформу (android или iOS).",
824
+ "Please enter a valid server URL.": "Пожалуйста введите корректный URL сервера.",
825
+ "Only the android build supports docker.": "Только сборка для android поддерживает docker.",
826
+ "Entry point": "Точка входа в приложение",
827
+ "Platform": "Платформа",
828
+ "docker": "docker",
829
+ "App file": "Файл приложения",
830
+ "Server URL": "URL сервера",
831
+ "android": "android",
832
+ "iOS": "iOS"
797
833
  }
@@ -87,7 +87,7 @@ const plugin_functions_info_card = (plugin, req) => ({
87
87
  */
88
88
  const plugin_viewtemplates_info_card = (plugin, req) => ({
89
89
  type: "card",
90
- title: req.__("View templates"),
90
+ title: req.__("View patterns"),
91
91
  contents: withCfg(plugin, "viewtemplates", [])
92
92
  .map(({ name, description }) => div(h4(name), p(description)))
93
93
  .join("<hr>"),
@@ -101,10 +101,10 @@ const showRepository = (repo) =>
101
101
  !repo
102
102
  ? repo
103
103
  : repo.url
104
- ? link(repo.url, repo.url)
105
- : repo.startsWith && repo.startsWith("github:")
106
- ? link(repo.replace("github:", "https://github.com/"), repo)
107
- : repo;
104
+ ? link(repo.url, repo.url)
105
+ : repo.startsWith && repo.startsWith("github:")
106
+ ? link(repo.replace("github:", "https://github.com/"), repo)
107
+ : repo;
108
108
 
109
109
  module.exports = {
110
110
  plugin_types_info_card,
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@saltcorn/server",
3
- "version": "0.7.4-beta.0",
3
+ "version": "0.7.4-beta.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.7.4-beta.0",
10
- "@saltcorn/builder": "0.7.4-beta.0",
11
- "@saltcorn/data": "0.7.4-beta.0",
12
- "@saltcorn/admin-models": "0.7.4-beta.0",
13
- "@saltcorn/markup": "0.7.4-beta.0",
14
- "@saltcorn/sbadmin2": "0.7.4-beta.0",
9
+ "@saltcorn/base-plugin": "0.7.4-beta.1",
10
+ "@saltcorn/builder": "0.7.4-beta.1",
11
+ "@saltcorn/data": "0.7.4-beta.1",
12
+ "@saltcorn/admin-models": "0.7.4-beta.1",
13
+ "@saltcorn/markup": "0.7.4-beta.1",
14
+ "@saltcorn/sbadmin2": "0.7.4-beta.1",
15
15
  "@socket.io/cluster-adapter": "^0.1.0",
16
16
  "@socket.io/sticky": "^1.0.1",
17
17
  "aws-sdk": "^2.1037.0",
@@ -364,3 +364,78 @@ Copyright (c) 2017 Taha Paksu
364
364
  .dropdown-menu.searchbar-dropdown.show {
365
365
  transform: translate(0px, 40px);
366
366
  }
367
+
368
+ .tippy-box[data-animation="fade"][data-state="hidden"] {
369
+ opacity: 0;
370
+ }
371
+ [data-tippy-root] {
372
+ max-width: calc(100vw - 10px);
373
+ }
374
+ .tippy-box {
375
+ position: relative;
376
+ background-color: #333;
377
+ color: #fff;
378
+ border-radius: 4px;
379
+ font-size: 14px;
380
+ line-height: 1.4;
381
+ white-space: normal;
382
+ outline: 0;
383
+ transition-property: transform, visibility, opacity;
384
+ }
385
+ .tippy-box[data-placement^="top"] > .tippy-arrow {
386
+ bottom: 0;
387
+ }
388
+ .tippy-box[data-placement^="top"] > .tippy-arrow:before {
389
+ bottom: -7px;
390
+ left: 0;
391
+ border-width: 8px 8px 0;
392
+ border-top-color: initial;
393
+ transform-origin: center top;
394
+ }
395
+ .tippy-box[data-placement^="bottom"] > .tippy-arrow {
396
+ top: 0;
397
+ }
398
+ .tippy-box[data-placement^="bottom"] > .tippy-arrow:before {
399
+ top: -7px;
400
+ left: 0;
401
+ border-width: 0 8px 8px;
402
+ border-bottom-color: initial;
403
+ transform-origin: center bottom;
404
+ }
405
+ .tippy-box[data-placement^="left"] > .tippy-arrow {
406
+ right: 0;
407
+ }
408
+ .tippy-box[data-placement^="left"] > .tippy-arrow:before {
409
+ border-width: 8px 0 8px 8px;
410
+ border-left-color: initial;
411
+ right: -7px;
412
+ transform-origin: center left;
413
+ }
414
+ .tippy-box[data-placement^="right"] > .tippy-arrow {
415
+ left: 0;
416
+ }
417
+ .tippy-box[data-placement^="right"] > .tippy-arrow:before {
418
+ left: -7px;
419
+ border-width: 8px 8px 8px 0;
420
+ border-right-color: initial;
421
+ transform-origin: center right;
422
+ }
423
+ .tippy-box[data-inertia][data-state="visible"] {
424
+ transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11);
425
+ }
426
+ .tippy-arrow {
427
+ width: 16px;
428
+ height: 16px;
429
+ color: #333;
430
+ }
431
+ .tippy-arrow:before {
432
+ content: "";
433
+ position: absolute;
434
+ border-color: transparent;
435
+ border-style: solid;
436
+ }
437
+ .tippy-content {
438
+ position: relative;
439
+ padding: 5px 9px;
440
+ z-index: 1;
441
+ }
@@ -319,4 +319,8 @@ table.table-inner-grid, table.table-inner-grid th, table.table-inner-grid td {
319
319
  .editStarRating input:checked + label,
320
320
  .editStarRating input:checked + label ~ label {
321
321
  color: #ffc107;
322
+ }
323
+
324
+ .CodeMirror {
325
+ resize: vertical;
322
326
  }