Browse Source

Merge branch 'develop' into geodata-prototyping-restart

pull/4749/head
Daniel Spaude 2 years ago
parent
commit
6e5a8e9586
No known key found for this signature in database
GPG Key ID: 654A3D1FA4F35FFE
  1. 2
      .github/workflows/release-executables.yml
  2. 2
      .github/workflows/release-timely-executables.yml
  3. 1
      packages/nc-gui/components.d.ts
  4. 6
      packages/nc-gui/components/dashboard/settings/AuditTab.vue
  5. 8
      packages/nc-gui/components/template/Editor.vue
  6. 4
      packages/nc-gui/composables/useColumnCreateStore.ts
  7. 1
      packages/nc-gui/composables/useGlobal/state.ts
  8. 1
      packages/nc-gui/composables/useGlobal/types.ts
  9. 6
      packages/nc-gui/lang/ar.json
  10. 6
      packages/nc-gui/lang/bn_IN.json
  11. 6
      packages/nc-gui/lang/cs.json
  12. 6
      packages/nc-gui/lang/da.json
  13. 6
      packages/nc-gui/lang/de.json
  14. 1
      packages/nc-gui/lang/en.json
  15. 6
      packages/nc-gui/lang/es.json
  16. 6
      packages/nc-gui/lang/eu.json
  17. 6
      packages/nc-gui/lang/fa.json
  18. 6
      packages/nc-gui/lang/fi.json
  19. 6
      packages/nc-gui/lang/fr.json
  20. 6
      packages/nc-gui/lang/he.json
  21. 6
      packages/nc-gui/lang/hi.json
  22. 6
      packages/nc-gui/lang/hr.json
  23. 6
      packages/nc-gui/lang/id.json
  24. 6
      packages/nc-gui/lang/it.json
  25. 6
      packages/nc-gui/lang/ja.json
  26. 6
      packages/nc-gui/lang/ko.json
  27. 6
      packages/nc-gui/lang/lv.json
  28. 6
      packages/nc-gui/lang/nl.json
  29. 6
      packages/nc-gui/lang/no.json
  30. 6
      packages/nc-gui/lang/pl.json
  31. 6
      packages/nc-gui/lang/pt.json
  32. 6
      packages/nc-gui/lang/pt_BR.json
  33. 6
      packages/nc-gui/lang/ru.json
  34. 6
      packages/nc-gui/lang/sk.json
  35. 6
      packages/nc-gui/lang/sl.json
  36. 6
      packages/nc-gui/lang/sv.json
  37. 6
      packages/nc-gui/lang/th.json
  38. 6
      packages/nc-gui/lang/tr.json
  39. 6
      packages/nc-gui/lang/uk.json
  40. 6
      packages/nc-gui/lang/vi.json
  41. 6
      packages/nc-gui/lang/zh-Hans.json
  42. 6
      packages/nc-gui/lang/zh-Hant.json
  43. 40157
      packages/nc-gui/package-lock.json
  44. 26
      packages/nc-gui/utils/validation.ts
  45. 2
      packages/nc-lib-gui/package.json
  46. 3381
      packages/nc-plugin/package-lock.json
  47. 2
      packages/nc-plugin/package.json
  48. 16
      packages/noco-docs/content/en/FAQs.md
  49. 18
      packages/noco-docs/content/en/developer-resources/accessing-apis.md
  50. 3
      packages/noco-docs/content/en/getting-started/environment-variables.md
  51. 12
      packages/noco-docs/content/en/index.md
  52. 10
      packages/noco-docs/content/en/setup-and-usages/account-settings.md
  53. 22
      packages/noco-docs/content/en/setup-and-usages/app-store.md
  54. 4
      packages/noco-docs/content/en/setup-and-usages/audit.md
  55. 7
      packages/noco-docs/content/en/setup-and-usages/dashboard.md
  56. 46
      packages/noco-docs/content/en/setup-and-usages/meta-management.md
  57. 6
      packages/noco-docs/content/en/setup-and-usages/project-settings.md
  58. 10
      packages/noco-docs/content/en/setup-and-usages/sync-schema.md
  59. 36
      packages/noco-docs/content/en/setup-and-usages/team-and-auth.md
  60. 19
      packages/nocodb-sdk/package-lock.json
  61. 2
      packages/nocodb-sdk/package.json
  62. 6
      packages/nocodb/Dockerfile
  63. 7
      packages/nocodb/docker/index.js
  64. 3
      packages/nocodb/docker/webpack.config.js
  65. 20
      packages/nocodb/package-lock.json
  66. 4
      packages/nocodb/package.json
  67. 11
      packages/nocodb/src/lib/meta/api/attachmentApis.ts
  68. 31
      packages/nocodb/src/lib/meta/api/columnApis.ts
  69. 13
      packages/nocodb/src/lib/meta/api/dataApis/dataAliasApis.ts
  70. 4
      packages/nocodb/src/lib/meta/api/helpers/apiHelpers.ts
  71. 13
      packages/nocodb/src/lib/meta/api/helpers/cacheHelpers.ts
  72. 2
      packages/nocodb/src/lib/meta/api/helpers/index.ts
  73. 15
      packages/nocodb/src/lib/meta/api/tableApis.ts
  74. 3
      packages/nocodb/src/lib/meta/api/utilApis.ts
  75. 3
      packages/nocodb/src/lib/models/Audit.ts
  76. 13
      packages/nocodb/src/lib/models/Column.ts
  77. 651
      packages/nocodb/src/lib/public/index.html
  78. BIN
      packages/nocodb/src/lib/public/social/email.png
  79. BIN
      packages/nocodb/src/lib/public/social/linkedin.png
  80. BIN
      packages/nocodb/src/lib/public/social/png/douban.png
  81. BIN
      packages/nocodb/src/lib/public/social/png/facebook.png
  82. BIN
      packages/nocodb/src/lib/public/social/png/gmail.png
  83. BIN
      packages/nocodb/src/lib/public/social/png/google-plus.png
  84. BIN
      packages/nocodb/src/lib/public/social/png/line.png
  85. BIN
      packages/nocodb/src/lib/public/social/png/linkedin.png
  86. BIN
      packages/nocodb/src/lib/public/social/png/medium.png
  87. BIN
      packages/nocodb/src/lib/public/social/png/odnoklassniki.png
  88. BIN
      packages/nocodb/src/lib/public/social/png/renren.png
  89. BIN
      packages/nocodb/src/lib/public/social/png/skype.png
  90. BIN
      packages/nocodb/src/lib/public/social/png/telegram.png
  91. BIN
      packages/nocodb/src/lib/public/social/png/twitter.png
  92. BIN
      packages/nocodb/src/lib/public/social/png/viber.png
  93. BIN
      packages/nocodb/src/lib/public/social/png/vk.png
  94. BIN
      packages/nocodb/src/lib/public/social/png/wechat.png
  95. BIN
      packages/nocodb/src/lib/public/social/png/weibo.png
  96. BIN
      packages/nocodb/src/lib/public/social/png/whatsapp.png
  97. BIN
      packages/nocodb/src/lib/public/social/png/wykop.jpg
  98. 5
      packages/nocodb/webpack.config.js
  99. 2
      tests/playwright/package-lock.json
  100. 4
      tests/playwright/pages/Base.ts
  101. Some files were not shown because too many files have changed in this diff Show More

2
.github/workflows/release-executables.yml

@ -87,7 +87,7 @@ jobs:
./node_modules/.bin/node-pre-gyp install --directory=./node_modules/sqlite3 --target_platform=linux --fallback-to-build --target_arch=arm64 --target_libc=musl
# clean up code to optimize size
npx modclean --patterns="default:*" --ignore="nc-lib-gui/**,dayjs/**,express-status-monitor/**,sqlite3/**" --run
npx modclean --patterns="default:*" --ignore="nc-lib-gui/**,nocodb/**,dayjs/**,express-status-monitor/**,sqlite3/**" --run
# build executables
npm run build

2
.github/workflows/release-timely-executables.yml

@ -103,7 +103,7 @@ jobs:
# clean up code to optimize size
npx modclean --patterns="default:*" --ignore="nc-lib-gui-daily/**,dayjs/**,express-status-monitor/**,sqlite3/**" --run
npx modclean --patterns="default:*" --ignore="nc-lib-gui-daily/**,nocodb-daily/**,dayjs/**,express-status-monitor/**,sqlite3/**" --run
# build executables
npm run build

1
packages/nc-gui/components.d.ts vendored

@ -206,7 +206,6 @@ declare module '@vue/runtime-core' {
MdiMapMarker: typeof import('~icons/mdi/map-marker')['default']
MdiMapMarkerAlert: typeof import('~icons/mdi/map-marker-alert')['default']
MdiMenu: typeof import('~icons/mdi/menu')['default']
MdiMenuArrowDown: typeof import('~icons/mdi/menu-arrow-down')['default']
MdiMenuDown: typeof import('~icons/mdi/menu-down')['default']
MdiMicrosoftTeams: typeof import('~icons/mdi/microsoft-teams')['default']
MdiMinusCircleOutline: typeof import('~icons/mdi/minus-circle-outline')['default']

6
packages/nc-gui/components/dashboard/settings/AuditTab.vue

@ -1,7 +1,7 @@
<script setup lang="ts">
import { Tooltip as ATooltip, Empty } from 'ant-design-vue'
import type { AuditType } from 'nocodb-sdk'
import { h, onMounted, timeAgo, useI18n, useNuxtApp, useProject } from '#imports'
import { h, onMounted, timeAgo, useGlobal, useI18n, useNuxtApp, useProject } from '#imports'
const { $api } = useNuxtApp()
@ -16,8 +16,11 @@ let audits = $ref<null | Array<AuditType>>(null)
let totalRows = $ref(0)
const currentPage = $ref(1)
const currentLimit = $ref(25)
const { appInfo } = useGlobal()
async function loadAudits(page = currentPage, limit = currentLimit) {
try {
if (!project.value?.id) return
@ -86,6 +89,7 @@ const columns = [
<template>
<div class="flex flex-col gap-4 w-full">
<div v-if="!appInfo.auditEnabled" class="text-red-500">Audit logs are currently disabled by administrators.</div>
<div class="flex flex-row justify-between items-center">
<a-button class="self-start" @click="loadAudits">
<!-- Reload -->

8
packages/nc-gui/components/template/Editor.vue

@ -12,6 +12,7 @@ import {
computed,
createEventHook,
extractSdkResponseErrorMsg,
fieldLengthValidator,
fieldRequiredValidator,
getDateFormat,
getDateTimeFormat,
@ -110,12 +111,15 @@ const data = reactive<{
})
const validators = computed(() =>
data.tables.reduce<Record<string, [ReturnType<typeof fieldRequiredValidator>]>>((acc, table, tableIdx) => {
data.tables.reduce<Record<string, [ReturnType<typeof fieldRequiredValidator>]>>((acc: Record<string, any>, table, tableIdx) => {
acc[`tables.${tableIdx}.table_name`] = [fieldRequiredValidator()]
hasSelectColumn.value[tableIdx] = false
table.columns?.forEach((column, columnIdx) => {
acc[`tables.${tableIdx}.columns.${columnIdx}.column_name`] = [fieldRequiredValidator()]
acc[`tables.${tableIdx}.columns.${columnIdx}.column_name`] = [
fieldRequiredValidator(),
fieldLengthValidator(project.value?.bases?.[0].type || ClientType.MYSQL),
]
acc[`tables.${tableIdx}.columns.${columnIdx}.uidt`] = [fieldRequiredValidator()]
if (isSelect(column)) {
hasSelectColumn.value[tableIdx] = true

4
packages/nc-gui/composables/useColumnCreateStore.ts

@ -27,7 +27,8 @@ interface ValidationsObj {
const [useProvideColumnCreateStore, useColumnCreateStore] = createInjectionState(
(meta: Ref<TableType | undefined>, column: Ref<ColumnType | undefined>) => {
const { sqlUis, isMysql: isMysqlFunc, isPg: isPgFunc, isMssql: isMssqlFunc } = useProject()
const { project, sqlUis, isMysql: isMysqlFunc, isPg: isPgFunc, isMssql: isMssqlFunc } = useProject()
const { $api } = useNuxtApp()
const { getMeta } = useMetas()
@ -93,6 +94,7 @@ const [useProvideColumnCreateStore, useColumnCreateStore] = createInjectionState
})
},
},
fieldLengthValidator(project.value?.bases?.[0].type || ClientType.MYSQL),
],
uidt: [
{

1
packages/nc-gui/composables/useGlobal/state.ts

@ -94,6 +94,7 @@ export function useGlobalState(storageKey = 'nocodb-gui-v2'): State {
oneClick: false,
projectHasAdmin: false,
teleEnabled: true,
auditEnabled: true,
type: 'nocodb',
version: '0.0.0',
ncAttachmentFieldSize: 20,

1
packages/nc-gui/composables/useGlobal/types.ts

@ -16,6 +16,7 @@ export interface AppInfo {
oneClick: boolean
projectHasAdmin: boolean
teleEnabled: boolean
auditEnabled: boolean
type: string
version: string
ee?: boolean

6
packages/nc-gui/lang/ar.json

@ -380,6 +380,7 @@
"renameTable": "إعادة تسمية الجدول",
"deleteTable": "حذف الجدول",
"addField": "إضافة حقل جديد إلى هذا الجدول",
"setDisplay": "Set as Display value",
"addRow": "إضافة صف جديد",
"saveRow": "حفظ الصف",
"saveAndExit": "Save & Exit",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "هل أنت متأكد من أنك تريد حذف هذا العرض؟",
"deleteTableConfirmation": "هل تريد حذف الجدول",
"showM2mTables": "إظهار جداول M2M",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/bn_IN.json

@ -380,6 +380,7 @@
"renameTable": "টিল নম পরিবরতন",
"deleteTable": "टबल मि",
"addField": "এই টি নতন কর যত করন",
"setDisplay": "Set as Display value",
"addRow": "নতন সিত করন",
"saveRow": "সিরকষণ করন",
"saveAndExit": "Save & Exit",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Are you sure you want to delete this view?",
"deleteTableConfirmation": "Do you want to delete the table",
"showM2mTables": "Show M2M Tables",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/cs.json

@ -380,6 +380,7 @@
"renameTable": "Přejmenování tabulky",
"deleteTable": "Tabulka Odstranit",
"addField": "Přidání nového pole do této tabulky",
"setDisplay": "Set as Display value",
"addRow": "Přidat nový řádek",
"saveRow": "Uložit řádek",
"saveAndExit": "Uložit a odejít",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Opravdu chcete toto zobrazení odstranit?",
"deleteTableConfirmation": "Chcete odstranit tabulku",
"showM2mTables": "Zobrazit tabulky M2M",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Odstraněním tohoto zásobníku se také odstraní možnost výběru `{stackToBeDeleted}` z `{groupingField}`. Záznamy se přesunou do zásobníku nezařazených záznamů.",
"computedFieldEditWarning": "Vypočtené pole: obsah je určen pouze pro čtení. Ke změně konfigurace sloupce použijte nabídku úprav sloupce",
"computedFieldDeleteWarning": "Vypočtené pole: obsah je určen pouze pro čtení. Nelze vymazat obsah.",

6
packages/nc-gui/lang/da.json

@ -380,6 +380,7 @@
"renameTable": "Bord omdøb",
"deleteTable": "TABEL DELETE.",
"addField": "Tilføj nyt felt til denne tabel",
"setDisplay": "Set as Display value",
"addRow": "Tilføj ny række",
"saveRow": "Gem ro",
"saveAndExit": "Gem og afslutning",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Er du sikker på, at du vil slette denne visning?",
"deleteTableConfirmation": "Ønsker du at slette tabellen",
"showM2mTables": "Vis M2M-tabeller",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Hvis du sletter denne stak, fjernes også valgmuligheden `{stackToBeDeleted}` fra `{groupingField}`. Posterne vil blive flyttet til stakken \"uncategorized\".",
"computedFieldEditWarning": "Beregnet felt: indholdet er skrivebeskyttet. Brug kolonne-redigeringsmenuen til at omkonfigurere",
"computedFieldDeleteWarning": "Beregnet felt: indholdet er skrivebeskyttet. Det er ikke muligt at slette indholdet.",

6
packages/nc-gui/lang/de.json

@ -381,6 +381,7 @@
"renameTable": "Tabelle umbenennen",
"deleteTable": "Tabelle löschen",
"addField": "Neues Feld zu dieser Tabelle hinzufügen",
"setDisplay": "Set as Display value",
"addRow": "Neue Zeile hinzufügen",
"saveRow": "Zeile speichern",
"saveAndExit": "Speichern & Verlassen",
@ -631,6 +632,11 @@
"deleteViewConfirmation": "Sind Sie sicher, dass Sie diese Ansicht löschen möchten?",
"deleteTableConfirmation": "Möchten Sie die Tabelle löschen",
"showM2mTables": "M2M Tabellen anzeigen",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Wenn Sie diesen Stapel löschen, wird auch die Auswahloption \"{stackToBeDeleted}\" von der Seite \"{groupingField}\" entfernt. Die Datensätze werden in den nicht kategorisierten Stapel verschoben.",
"computedFieldEditWarning": "Berechnetes Feld: Der Inhalt ist schreibgeschützt. Verwenden Sie das Menü \"Spalten bearbeiten\", um das Feld neu zu konfigurieren.",
"computedFieldDeleteWarning": "Berechnetes Feld: Inhalt ist schreibgeschützt. Inhalt kann nicht gelöscht werden.",

1
packages/nc-gui/lang/en.json

@ -706,6 +706,7 @@
"nameShouldStartWithAnAlphabetOr_": "Name should start with an alphabet or _",
"followingCharactersAreNotAllowed": "Following characters are not allowed",
"columnNameRequired": "Column name is required",
"columnNameExceedsCharacters": "The length of column name exceeds the max {value} characters",
"projectNameExceeds50Characters": "Project name exceeds 50 characters",
"projectNameCannotStartWithSpace": "Project name cannot start with space",
"requiredField": "Required field",

6
packages/nc-gui/lang/es.json

@ -380,6 +380,7 @@
"renameTable": "Cambiar el nombre de la tabla",
"deleteTable": "Borrar tabla",
"addField": "Añadir nuevo campo a esta tabla",
"setDisplay": "Set as Display value",
"addRow": "Añadir nueva fila",
"saveRow": "Grabar la fila",
"saveAndExit": "Guardar y salir",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "¿Está seguro de que desea eliminar esta vista?",
"deleteTableConfirmation": "¿Desea eliminar la tabla",
"showM2mTables": "Mostrar tablas M2M",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Al eliminar esta pila también se eliminará la opción de selección `{stackToBeDeleted}` de la `{groupingField}`. Los registros pasarán a la pila de no categorizados.",
"computedFieldEditWarning": "Campo calculado: el contenido es de sólo lectura. Utilice el menú de edición de columnas para reconfigurar",
"computedFieldDeleteWarning": "Campo calculado: el contenido es de sólo lectura. No se puede borrar el contenido.",

6
packages/nc-gui/lang/eu.json

@ -380,6 +380,7 @@
"renameTable": "Table Rename",
"deleteTable": "Table Delete",
"addField": "Add new field to this table",
"setDisplay": "Set as Display value",
"addRow": "Add new row",
"saveRow": "Save row",
"saveAndExit": "Save & Exit",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Are you sure you want to delete this view?",
"deleteTableConfirmation": "Do you want to delete the table",
"showM2mTables": "Show M2M Tables",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/fa.json

@ -380,6 +380,7 @@
"renameTable": "تغییر نام جدول",
"deleteTable": "حذف جدول",
"addField": "اضافه کردن فیلد جدید به این جدول",
"setDisplay": "Set as Display value",
"addRow": "اضافه کردن ردیف جدید",
"saveRow": "دخیره ردیف",
"saveAndExit": "Save & Exit",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Are you sure you want to delete this view?",
"deleteTableConfirmation": "Do you want to delete the table",
"showM2mTables": "Show M2M Tables",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/fi.json

@ -380,6 +380,7 @@
"renameTable": "Taulukko uudelleen",
"deleteTable": "Taulukko poistaa",
"addField": "Lisää uusi kenttä tähän taulukkoon",
"setDisplay": "Set as Display value",
"addRow": "Lisää uusi rivi",
"saveRow": "Tallenna rivi",
"saveAndExit": "Tallenna & poistu",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Haluatko varmasti poistaa tämän näkymän?",
"deleteTableConfirmation": "Haluatko poistaa taulukon",
"showM2mTables": "Näytä M2M-taulukot",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Tämän pinon poistaminen poistaa myös valintavaihtoehdon `{stackToBeDeleted}` valikosta `{groupingField}`. Tietueet siirtyvät luokittelemattomaan pinoon.",
"computedFieldEditWarning": "Laskettu kenttä: sisältö on vain luettavissa. Käytä sarakkeen muokkausvalikkoa uudelleenmäärittämiseen",
"computedFieldDeleteWarning": "Laskettu kenttä: sisältö on vain luettavissa. Sisältöä ei voi tyhjentää.",

6
packages/nc-gui/lang/fr.json

@ -380,6 +380,7 @@
"renameTable": "Renommer le tableau",
"deleteTable": "Supprimer le tableau",
"addField": "Ajouter un nouveau champ à ce tableau",
"setDisplay": "Set as Display value",
"addRow": "Ajouter une nouvelle ligne",
"saveRow": "Enregistrer la ligne",
"saveAndExit": "Enregistrer et quitter",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Êtes-vous sûr de vouloir effacer cette vue ?",
"deleteTableConfirmation": "Voulez-vous supprimer ce tableau",
"showM2mTables": "Afficher les tables plusieurs à plusieurs",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "La suppression de cette pile entraînera également la suppression de l'option de sélection `{stackToBeDeleted}` de la pile `{groupingField}`. Les enregistrements seront déplacés vers la pile non catégorisée.",
"computedFieldEditWarning": "Champ calculé : le contenu est en lecture seule. Utilisez le menu d'édition des colonnes pour reconfigurer",
"computedFieldDeleteWarning": "Champ calculé : le contenu est en lecture seule. Impossible d'effacer le contenu.",

6
packages/nc-gui/lang/he.json

@ -380,6 +380,7 @@
"renameTable": "שולחן שינוי שם",
"deleteTable": "טבלה מחיקה",
"addField": "הוסף שדה חדש לטבלה זו",
"setDisplay": "Set as Display value",
"addRow": "הוסף שורה חדשה",
"saveRow": "שמור שורה",
"saveAndExit": "Save & Exit",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Are you sure you want to delete this view?",
"deleteTableConfirmation": "Do you want to delete the table",
"showM2mTables": "Show M2M Tables",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/hi.json

@ -380,6 +380,7 @@
"renameTable": "तिम",
"deleteTable": "टबल मि",
"addField": "इस ति नयड ज",
"setDisplay": "Set as Display value",
"addRow": "नई पि",
"saveRow": "पि सह",
"saveAndExit": "Save & Exit",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Are you sure you want to delete this view?",
"deleteTableConfirmation": "Do you want to delete the table",
"showM2mTables": "Show M2M Tables",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/hr.json

@ -380,6 +380,7 @@
"renameTable": "Preimenovati stolom",
"deleteTable": "Obriši tablicu",
"addField": "Dodajte novo polje na ovu tablicu",
"setDisplay": "Set as Display value",
"addRow": "Dodaj novi red",
"saveRow": "Spremanje retka",
"saveAndExit": "Save & Exit",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Are you sure you want to delete this view?",
"deleteTableConfirmation": "Do you want to delete the table",
"showM2mTables": "Show M2M Tables",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/id.json

@ -380,6 +380,7 @@
"renameTable": "Ganti nama meja",
"deleteTable": "Table Delete.",
"addField": "Tambahkan bidang baru ke tabel ini",
"setDisplay": "Set as Display value",
"addRow": "Tambahkan baris baru",
"saveRow": "Hemat Baris",
"saveAndExit": "Simpan & Keluar",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Apakah Anda yakin ingin menghapus tampilan ini?",
"deleteTableConfirmation": "Apakah Anda ingin menghapus tabel",
"showM2mTables": "Tampilkan Tabel M2M",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Menghapus tumpukan ini juga akan menghapus opsi pilihan `{stackToBeDeleted}` dari `{groupingField}`. Catatan akan berpindah ke tumpukan yang tidak dikategorikan.",
"computedFieldEditWarning": "Bidang yang dihitung: isinya hanya dapat dibaca. Gunakan menu edit kolom untuk mengkonfigurasi ulang",
"computedFieldDeleteWarning": "Bidang yang dihitung: isinya hanya dapat dibaca. Tidak dapat menghapus konten.",

6
packages/nc-gui/lang/it.json

@ -380,6 +380,7 @@
"renameTable": "Rinomina tabella",
"deleteTable": "Elimina tabella",
"addField": "Aggiungi un nuovo campo a questa tabella",
"setDisplay": "Set as Display value",
"addRow": "Aggiungi nuova riga",
"saveRow": "Salva riga",
"saveAndExit": "Salvare e uscire",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "È sicuro di voler eliminare questa vista?",
"deleteTableConfirmation": "Vuole eliminare la tabella",
"showM2mTables": "Mostra tabelle M2M",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "L'eliminazione di questa pila rimuoverà anche l'opzione di selezione `{stackToBeDeleted}` da `{groupingField}`. I record si sposteranno nella pila non categorizzata.",
"computedFieldEditWarning": "Campo calcolato: il contenuto è di sola lettura. Utilizzi il menu di modifica della colonna per riconfigurare",
"computedFieldDeleteWarning": "Campo calcolato: il contenuto è di sola lettura. Impossibile cancellare il contenuto.",

6
packages/nc-gui/lang/ja.json

@ -380,6 +380,7 @@
"renameTable": "テーブル名の変更",
"deleteTable": "テーブルを削除",
"addField": "新しいフィールドを追加",
"setDisplay": "Set as Display value",
"addRow": "行を追加",
"saveRow": "行を保存",
"saveAndExit": "保存して終了",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "このビューを本当に削除しますか?",
"deleteTableConfirmation": "テーブルを削除しますか?",
"showM2mTables": "M2Mテーブルを表示する",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "スタックを削除すると、`{stackToBeDeleted}`から選択肢`{groupingField}`も削除されます。レコードは未分類スタックに移動します。",
"computedFieldEditWarning": "計算フィールド: コンテンツは読み取り専用です。列編集メニューを使用して再設定してください。",
"computedFieldDeleteWarning": "計算フィールド: コンテンツは読み取り専用です。コンテンツを消去できません。",

6
packages/nc-gui/lang/ko.json

@ -380,6 +380,7 @@
"renameTable": "테이블 이름 바꾸기",
"deleteTable": "테이블 삭제",
"addField": "테이블에 새 필드 추가",
"setDisplay": "Set as Display value",
"addRow": "행 추가",
"saveRow": "행 저장",
"saveAndExit": "Save & Exit",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Are you sure you want to delete this view?",
"deleteTableConfirmation": "Do you want to delete the table",
"showM2mTables": "Show M2M Tables",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/lv.json

@ -380,6 +380,7 @@
"renameTable": "Tabulas pārdēvēšana",
"deleteTable": "Tabulas dzēšana",
"addField": "Jauna lauka pievienošana",
"setDisplay": "Set as Display value",
"addRow": "Pievienot ierakstu",
"saveRow": "Saglabāt ierakstu",
"saveAndExit": "Saglabāt un iziet",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Vai esat pārliecināts, ka vēlaties dzēst šo skatījumu?",
"deleteTableConfirmation": "Vai vēlaties izdzēst tabulu",
"showM2mTables": "Rādīt M2M tabulas",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Dzēšot šo kaudzīti, no `{groupingField}` tiks noņemta arī atlases opcija `{stackToBeDeleted}`. Ieraksti tiks pārvietoti uz neklasificēto kaudzi.",
"computedFieldEditWarning": "Izrēķināts lauks: saturs ir tikai lasāms. Izmantojiet kolonnas rediģēšanas izvēlni, lai mainītu konfigurāciju",
"computedFieldDeleteWarning": "Izrēķināts lauks: saturs ir tikai lasāms. Nevar dzēst saturu.",

6
packages/nc-gui/lang/nl.json

@ -380,6 +380,7 @@
"renameTable": "Tabel hernoemen",
"deleteTable": "Tabel verwijderen",
"addField": "Voeg nieuw veld toe aan deze tabel",
"setDisplay": "Set as Display value",
"addRow": "Nieuwe rij toevoegen",
"saveRow": "Sla rij op",
"saveAndExit": "Opslaan en afsluiten",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Weet u zeker dat u deze weergave wilt verwijderen?",
"deleteTableConfirmation": "Wilt u de tabel verwijderen",
"showM2mTables": "Toon M2M-tabellen",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Door deze stapel te verwijderen wordt ook de selectieoptie `{stackToBeDeleted}` van de `{groupingField}` verwijderd. De records worden verplaatst naar de ongecategoriseerde stapel.",
"computedFieldEditWarning": "Berekend veld: de inhoud is alleen leesbaar. Gebruik het kolombewerkingsmenu om opnieuw te configureren",
"computedFieldDeleteWarning": "Berekend veld: inhoud is alleen-lezen. Kan inhoud niet wissen.",

6
packages/nc-gui/lang/no.json

@ -380,6 +380,7 @@
"renameTable": "Tabell omdøpe",
"deleteTable": "Bordet slett",
"addField": "Legg til nytt felt i denne tabellen",
"setDisplay": "Set as Display value",
"addRow": "Legg til ny rad",
"saveRow": "Lagre rad",
"saveAndExit": "Save & Exit",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Are you sure you want to delete this view?",
"deleteTableConfirmation": "Do you want to delete the table",
"showM2mTables": "Show M2M Tables",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/pl.json

@ -380,6 +380,7 @@
"renameTable": "Zmień nazwę tabeli.",
"deleteTable": "Usuń tabelę",
"addField": "Dodaj nowe pole do tej tabeli",
"setDisplay": "Set as Display value",
"addRow": "Dodaj nowy rząd",
"saveRow": "Zapisz wiersz",
"saveAndExit": "Zapisz i wyjdź",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Czy na pewno chcesz usunąć ten widok?",
"deleteTableConfirmation": "Czy chcesz usunąć tabelę",
"showM2mTables": "Pokaż tabele M2M",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Usunięcie tego stosu spowoduje również usunięcie wybranej opcji `{stackToBeDeleted}` z `{groupingField}`. Rekordy przeniosą się do nieskategoryzowanego stosu.",
"computedFieldEditWarning": "Pole obliczeniowe: zawartość jest tylko do odczytu. Do rekonfiguracji należy użyć menu edycji kolumny",
"computedFieldDeleteWarning": "Pole obliczeniowe: zawartość jest tylko do odczytu. Nie można wyczyścić zawartości.",

6
packages/nc-gui/lang/pt.json

@ -380,6 +380,7 @@
"renameTable": "Tabela Renomear",
"deleteTable": "Tabela Delete.",
"addField": "Adicionar novo campo a esta tabela",
"setDisplay": "Set as Display value",
"addRow": "Adicionar nova linha",
"saveRow": "Salvar linha",
"saveAndExit": "Salvar & Sair",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Tem a certeza de que quer apagar esta vista?",
"deleteTableConfirmation": "Deseja apagar a tabela",
"showM2mTables": "Mostrar Mesas M2M",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "A eliminação desta pilha irá também remover a opção seleccionada `{stackToBeDeleted}` do `{groupingField}`. Os registos serão movidos para a pilha não categorizada.",
"computedFieldEditWarning": "Campo computorizado: o conteúdo é apenas de leitura. Utilizar o menu de edição de colunas para reconfigurar",
"computedFieldDeleteWarning": "Campo computorizado: o conteúdo é apenas de leitura. Incapaz de limpar o conteúdo.",

6
packages/nc-gui/lang/pt_BR.json

@ -380,6 +380,7 @@
"renameTable": "Tabela Renomear",
"deleteTable": "Tabela Delete.",
"addField": "Adicionar novo campo a esta tabela",
"setDisplay": "Set as Display value",
"addRow": "Adicionar nova linha",
"saveRow": "Salvar linha",
"saveAndExit": "Salvar & Sair",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Tem a certeza de que quer apagar esta vista?",
"deleteTableConfirmation": "Deseja apagar a tabela",
"showM2mTables": "Mostrar Mesas M2M",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "A eliminação desta pilha irá também remover a opção seleccionada `{stackToBeDeleted}` do `{groupingField}`. Os registos serão movidos para a pilha não categorizada.",
"computedFieldEditWarning": "Campo computorizado: o conteúdo é apenas de leitura. Utilizar o menu de edição de colunas para reconfigurar",
"computedFieldDeleteWarning": "Campo computorizado: o conteúdo é apenas de leitura. Incapaz de limpar o conteúdo.",

6
packages/nc-gui/lang/ru.json

@ -380,6 +380,7 @@
"renameTable": "Переименовать таблицу",
"deleteTable": "Удалить таблицу",
"addField": "Добавить новое поле в эту таблицу",
"setDisplay": "Set as Display value",
"addRow": "Добавить новую строку",
"saveRow": "Сохранить строку",
"saveAndExit": "Сохранить и выйти",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Вы действительно хотите удалить это представление?",
"deleteTableConfirmation": "Вы действительно хотите удалить эту таблицу",
"showM2mTables": "Показать таблицы M2M",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Удаление этого стека также удалит опцию выбора `{stackToBeDeleted}` из `{groupingField}`. Записи переместятся в стек без категории.",
"computedFieldEditWarning": "Вычисляемое поле: содержимое доступно только для чтения. Используйте меню редактирования столбцов для изменения конфигурации",
"computedFieldDeleteWarning": "Вычисляемое поле: содержимое доступно только для чтения. Невозможно очистить содержимое.",

6
packages/nc-gui/lang/sk.json

@ -380,6 +380,7 @@
"renameTable": "Premenovanie tabuľky",
"deleteTable": "Tabuľka Vymazať",
"addField": "Pridanie nového poľa do tejto tabuľky",
"setDisplay": "Set as Display value",
"addRow": "Pridanie nového riadku",
"saveRow": "Uložiť riadok",
"saveAndExit": "Uložiť a ukončiť",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Ste si istí, že chcete toto zobrazenie odstrániť?",
"deleteTableConfirmation": "Chcete odstrániť tabuľku",
"showM2mTables": "Zobraziť tabuľky M2M",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Odstránením tohto zásobníka sa odstráni aj možnosť výberu `{stackToBeDeleted}` z `{groupingField}`. Záznamy sa presunú do zásobníka bez kategórií.",
"computedFieldEditWarning": "Vypočítané pole: obsah je len na čítanie. Na zmenu konfigurácie použite ponuku úprav stĺpcov",
"computedFieldDeleteWarning": "Vypočítané pole: obsah je len na čítanie. Nie je možné vymazať obsah.",

6
packages/nc-gui/lang/sl.json

@ -380,6 +380,7 @@
"renameTable": "Preimenuj tabele",
"deleteTable": "Tabela Delete.",
"addField": "V to tabelo dodajte novo polje",
"setDisplay": "Set as Display value",
"addRow": "Dodaj novo vrstico",
"saveRow": "Shrani vrstico",
"saveAndExit": "Shranjevanje in izhod",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Ste prepričani, da želite izbrisati ta pogled?",
"deleteTableConfirmation": "Ali želite izbrisati tabelo",
"showM2mTables": "Prikaži tabele M2M",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Z brisanjem tega sklada se odstrani tudi možnost izbire `{stackToBeDeleted}` iz `{groupingField}`. Zapisi se bodo premaknili v kup nekategoriziranih zapisov.",
"computedFieldEditWarning": "Izračunano polje: vsebina je namenjena samo branju. Uporabite meni za urejanje stolpcev, da ponovno konfigurirate",
"computedFieldDeleteWarning": "Izračunano polje: vsebina je namenjena samo branju. Vsebine ni mogoče izbrisati.",

6
packages/nc-gui/lang/sv.json

@ -380,6 +380,7 @@
"renameTable": "Bordsbyte",
"deleteTable": "Bord radera",
"addField": "Lägg till nytt fält till den här tabellen",
"setDisplay": "Set as Display value",
"addRow": "Lägg till ny rad",
"saveRow": "Spara rad",
"saveAndExit": "Spara och avsluta",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Är du säker på att du vill ta bort den här vyn?",
"deleteTableConfirmation": "Vill du radera tabellen?",
"showM2mTables": "Visa M2M-tabeller",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Om du raderar denna stapel kommer även alternativet \"{stackToBeDeleted}\" att tas bort från \"{groupingField}\". Posterna kommer att flyttas till stapeln \"uncategorized\".",
"computedFieldEditWarning": "Beräknat fält: innehållet är skrivskyddat. Använd kolumnredigeringsmenyn för att konfigurera om.",
"computedFieldDeleteWarning": "Beräknat fält: innehållet är skrivskyddat. Det går inte att rensa innehållet.",

6
packages/nc-gui/lang/th.json

@ -380,6 +380,7 @@
"renameTable": "ตารางเปลยนชอ",
"deleteTable": "ลบตาราง",
"addField": "เพมฟลดใหมลงในตารางน",
"setDisplay": "Set as Display value",
"addRow": "เพมแถวใหม",
"saveRow": "บนทกแถว",
"saveAndExit": "Save & Exit",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Are you sure you want to delete this view?",
"deleteTableConfirmation": "Do you want to delete the table",
"showM2mTables": "Show M2M Tables",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/tr.json

@ -380,6 +380,7 @@
"renameTable": "Tabloyu Yeniden Adlandır",
"deleteTable": "Tabloyu Sil",
"addField": "Tabloya yeni alan ekle",
"setDisplay": "Set as Display value",
"addRow": "Yeni satır ekle",
"saveRow": "Satırı kaydet",
"saveAndExit": "Kaydet ve Çık",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Bu görünümü silmek istediğinizden emin misiniz?",
"deleteTableConfirmation": "Tabloyu silmek istiyor musunuz",
"showM2mTables": "M2M Tablolarını Göster",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Bu yığının silinmesi `{stackToBeDeleted}` seçim seçeneğini `{groupingField}` adresinden de kaldıracaktır. Kayıtlar kategorize edilmemiş yığına taşınacaktır.",
"computedFieldEditWarning": "Hesaplanan alan: içerik salt okunurdur. Yeniden yapılandırmak için sütun düzenleme menüsünü kullanın",
"computedFieldDeleteWarning": "Hesaplanan alan: içerik salt okunurdur. İçerik temizlenemiyor.",

6
packages/nc-gui/lang/uk.json

@ -380,6 +380,7 @@
"renameTable": "Перейменувати таблицю",
"deleteTable": "Видалити таблицю",
"addField": "Додати нове поле до цієї таблиці",
"setDisplay": "Set as Display value",
"addRow": "Додати новий рядок",
"saveRow": "Зберегти рядок",
"saveAndExit": "Зберегти та вийти",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Ви впевнені, що хочете видалити цей вигляд?",
"deleteTableConfirmation": "Ви хочете видалити таблицю",
"showM2mTables": "Показати M2M таблиці",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Видалення цього стека також вилучить опцію вибору `{stackToBeDeleted}` зі стека `{groupingField}`. Записи буде переміщено до не категоризованого стека.",
"computedFieldEditWarning": "Обчислюване поле: вміст доступний лише для читання. Використовуйте меню редагування стовпця для зміни конфігурації",
"computedFieldDeleteWarning": "Обчислюване поле: вміст доступний лише для читання. Не вдалося очистити вміст.",

6
packages/nc-gui/lang/vi.json

@ -380,6 +380,7 @@
"renameTable": "Đổi tên bảng.",
"deleteTable": "Bảng xóa",
"addField": "Thêm trường mới vào bảng này",
"setDisplay": "Set as Display value",
"addRow": "Thêm hàng mới",
"saveRow": "Lưu hàng.",
"saveAndExit": "Save & Exit",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "Are you sure you want to delete this view?",
"deleteTableConfirmation": "Do you want to delete the table",
"showM2mTables": "Show M2M Tables",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/zh-Hans.json

@ -380,6 +380,7 @@
"renameTable": "重命名表格",
"deleteTable": "删除表格",
"addField": "添加新字段",
"setDisplay": "Set as Display value",
"addRow": "添加新行",
"saveRow": "保存行",
"saveAndExit": "保存并退出",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "您确定要删除此视图?",
"deleteTableConfirmation": "您想要删除该表吗?",
"showM2mTables": "显示中间表",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "删除这个类别标签也将从 \"{groupingField}\"中删除选择选项 \"{stackToBeDeleted}\"。这类记录将移到未分类的类别中。",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

6
packages/nc-gui/lang/zh-Hant.json

@ -380,6 +380,7 @@
"renameTable": "表重命名",
"deleteTable": "表刪除",
"addField": "將新字段添加到此表",
"setDisplay": "Set as Display value",
"addRow": "新增行",
"saveRow": "儲存行",
"saveAndExit": "儲存並結束",
@ -630,6 +631,11 @@
"deleteViewConfirmation": "是否確定要刪除此檢視?",
"deleteTableConfirmation": "你想刪除此資料表",
"showM2mTables": "顯示多對多資料表",
"showM2mTablesDesc": "Many-to-many relation is supported via a junction table & is hidden by default. Enable this option to list all such tables along with existing tables.",
"showNullInCells": "Show NULL in Cells",
"showNullInCellsDesc": "Display 'NULL' tag in cells holding NULL value. This helps differentiate against cells holding EMPTY string.",
"showNullAndEmptyInFilter": "Show NULL and EMPTY in Filter",
"showNullAndEmptyInFilterDesc": "Enable 'additional' filters to differentiate fields containing NULL & Empty Strings. Default support for Blank treats both NULL & Empty strings alike.",
"deleteKanbanStackConfirmation": "Deleting this stack will also remove the select option `{stackToBeDeleted}` from the `{groupingField}`. The records will move to the uncategorized stack.",
"computedFieldEditWarning": "Computed field: contents are read-only. Use column edit menu to reconfigure",
"computedFieldDeleteWarning": "Computed field: contents are read-only. Unable to clear content.",

40157
packages/nc-gui/package-lock.json generated

File diff suppressed because it is too large Load Diff

26
packages/nc-gui/utils/validation.ts

@ -80,6 +80,32 @@ export const fieldRequiredValidator = () => {
}
}
export const fieldLengthValidator = (sqlClientType: string) => {
return {
validator: (rule: any, value: any) => {
const { t } = getI18n().global
// no limit for sqlite but set as 255
let fieldLengthLimit = 255
if (sqlClientType === 'mysql2' || sqlClientType === 'mysql') {
fieldLengthLimit = 64
} else if (sqlClientType === 'pg') {
fieldLengthLimit = 59
} else if (sqlClientType === 'mssql') {
fieldLengthLimit = 128
}
return new Promise((resolve, reject) => {
if (value?.length > fieldLengthLimit) {
reject(new Error(t('msg.error.columnNameExceedsCharacters', { value: fieldLengthLimit })))
}
resolve(true)
})
},
}
}
export const importUrlValidator = {
validator: (rule: any, value: any) => {
return new Promise((resolve, reject) => {

2
packages/nc-lib-gui/package.json

@ -1,6 +1,6 @@
{
"name": "nc-lib-gui",
"version": "0.105.0",
"version": "0.105.2",
"description": "NocoDB GUI",
"author": {
"name": "NocoDB",

3381
packages/nc-plugin/package-lock.json generated

File diff suppressed because it is too large Load Diff

2
packages/nc-plugin/package.json

@ -60,7 +60,7 @@
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@typescript-eslint/eslint-plugin": "^4.0.1",
"@typescript-eslint/parser": "^4.0.1",
"ava": "^3.12.1",
"ava": "^5.2.0",
"codecov": "^3.5.0",
"cspell": "^4.1.0",
"cz-conventional-changelog": "^3.3.0",

16
packages/noco-docs/content/en/FAQs.md

@ -65,7 +65,7 @@ Auth Token is a JWT Token generated based on the logged-in user. By default, the
API Token is a Nano ID with a length of 40. If you are passing API Token, make sure that the header is called `xc-token`.
## Do you plan to have Enterprise Edition ?
## Do we plan to have an Enterprise Edition?
For features that make sense for enterprises like below - yes
- SSO, SLA, Organisation wide reports and analytics,
- Advanced Audit or ACL,
@ -78,3 +78,17 @@ And increasing number of our customers are requesting it.
- Depends on the effort and whether the intended users are enterprises.
## What are the official socials for NocoDB?
- Youtube: https://www.youtube.com/@nocodb
- Twitter: https://twitter.com/nocodb
- Discord: http://discord.nocodb.com/
- GitHub: https://github.com/nocodb/nocodb
- Community Forums: https://community.nocodb.com/
- LinkedIn: https://www.linkedin.com/company/nocodb
- Reddit: https://www.reddit.com/r/NocoDB/
## Is NocoDB available on the cloud?
Soon! NocoDB is currently developing cloud infrastructure.
To join the upcoming FREE private beta program, [fill out this form here](https://docs.google.com/forms/d/e/1FAIpQLSfKLe8Rcrq0uo2_jM5W1kbVBbzDiQ3IvlP8Iov61FTekVAvzA/viewform) and be the first to try it!

18
packages/noco-docs/content/en/developer-resources/accessing-apis.md

@ -18,23 +18,7 @@ Auth Token is a JWT Token generated based on the logged-in user. By default, the
## API Token
NocoDB allows creating API tokens which allow it to be integrated seamlessly with 3rd party apps. API Token is a Nano ID with a length of 40. If you are passing API Token, make sure that the header is called `xc-token`.
- Open `Project Menu`, click on `Team & Settings`
<img width="322" alt="image" src="https://user-images.githubusercontent.com/35857179/194856648-67936db0-ee4d-4060-be3d-af9f86ef8fc6.png">
- Click `API Tokens Management` tab under `Team & Auth` section
- Click Add New Token
![Screenshot 2022-09-14 at 10 20 00 AM](https://user-images.githubusercontent.com/86527202/190062728-9c09934f-b5e4-4fec-b4d2-0cd3648bbb39.png)
- Type an recognizable name for your token and click `Generate`
![Screenshot 2022-09-14 at 10 20 10 AM](https://user-images.githubusercontent.com/86527202/190062801-db3fab83-7974-4dfe-9c83-bf0d8a7dba1e.png)
- Copy API token to your clipboard; use action menu to the right of token list
API tokens allows us to integrate seamlessly with 3rd party apps. See [API Tokens Management](../setup-and-usages/team-and-auth#api-tokens-management) for more.
## Swagger UI

3
packages/noco-docs/content/en/getting-started/environment-variables.md

@ -14,7 +14,7 @@ For production usecases, it is **recommended** to configure
- `NC_REDIS_URL`
| Variable | Comments | If absent | |
|------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|---|
|---|---|---|---|
| NC_DB | See our database URLs | A local SQLite will be created in root folder if `NC_DB` is not provided | |
| NC_DB_JSON | Can be used instead of `NC_DB` and value should be valid knex connection JSON | | |
| NC_DB_JSON_FILE | Can be used instead of `NC_DB` and value should be a valid path to knex connection JSON | | |
@ -64,3 +64,4 @@ For production usecases, it is **recommended** to configure
| NC_ADMIN_PASSWORD | For updating/creating super admin with provided email and password. Your password should have at least 8 letters with one uppercase, one number and one special letter(Allowed special chars $&+,:;=?@#\|'.^*()%!_-" ) | | |
| NODE_OPTIONS | For passing Node.js [options](https://nodejs.org/api/cli.html#node_optionsoptions) to instance | | |
| NC_MINIMAL_DBS | Create a new SQLite file for each project. All the db files are stored in `nc_minimal_dbs` folder in current working directory. (This option restricts project creation on external sources) | | |
| NC_DISABLE_AUDIT | Disable Audit Log | `false` | |

12
packages/noco-docs/content/en/index.md

@ -63,3 +63,15 @@ Our mission is to provide the most powerful no-code interface for databases whic
Please refer to [here](https://github.com/nocodb/nocodb/blob/develop/.github/CONTRIBUTING.md) for the contribution guidelines.
<img src="https://static.scarf.sh/a.png?x-pxid=c12a77cc-855e-4602-8a0f-614b2d0da56a" style="margin: 0px;" />
## Where can I join the NocoDB community?
Follow us for daily updates, content, and other activities with our community:
- [Youtube](https://www.youtube.com/@nocodb)
- [Twitter](https://twitter.com/nocodb)
- [Discord](http://discord.nocodb.com/)
- [GitHub](https://github.com/nocodb/nocodb)
- [Community Forums](https://community.nocodb.com/)
- [LinkedIn](https://www.linkedin.com/company/nocodb)
- [Reddit](https://www.reddit.com/r/NocoDB/)

10
packages/noco-docs/content/en/setup-and-usages/account-settings.md

@ -54,10 +54,16 @@ Signup without an invitation is disabled by default and can be managed from UI b
## App Store
You can also manage the app store plugins here.
![image](https://user-images.githubusercontent.com/35857179/203267619-24a8f5f5-1c8c-4419-a7a1-be4377fe6216.png)
We provide different integrations in three main categories.
| Category | App Name |
|---|---|
| Chat | Microsoft Teams <br/> Discord <br/> Twilio <br/> Whatsapp Twilio<br/> Mattermost<br/> Slack |
| Email | SMTP<br/> MailerSend<br/> AWS SES |
| Storage | AWS S3 <br/> Minio <br/> Google Cloud Storage <br/> Spaces <br/> Backblaze B2 <br/> Vultr Object Storage <br/> OvhCloud Object Storage <br/> Linode Object Storage <br/> UpCloud Object Storage <br/> Scaleway Object Storage |
## License
You can configure NocoDB Enterprise `License key` here

22
packages/noco-docs/content/en/setup-and-usages/app-store.md

@ -1,22 +0,0 @@
---
title: 'Account Settings > App Store'
description: 'NocoDB provides different integrations in three main categories in App Store'
position: 590
category: 'Product'
menuTitle: 'Account Settings > App Store'
---
## Overview
To access it, click the down arrow button next to Project Name on the top left side, then select `Account Settings` and clicking `App Store`.
<img width="304" alt="Screenshot 2023-02-07 at 5 14 11 PM" src="https://user-images.githubusercontent.com/43586156/217380060-bc654146-233c-4f8a-9a7d-bb0d30a2eac9.png"> | <img width="200" alt="Screenshot 2023-02-07 at 5 14 30 PM" src="https://user-images.githubusercontent.com/43586156/217380195-dfe5de7f-0ad9-4af8-ba24-33805f72c32d.png">
|--|--|
We provide different integrations in three main categories.
| Category | App Name |
|---|---|
| Chat | Microsoft Teams <br/> Discord <br/> Twilio <br/> Whatsapp Twilio<br/> Mattermost<br/> Slack |
| Email | SMTP<br/> MailerSend<br/> AWS SES |
| Storage | AWS S3 <br/> Minio <br/> Google Cloud Storage <br/> Spaces <br/> Backblaze B2 <br/> Vultr Object Storage <br/> OvhCloud Object Storage <br/> Linode Object Storage <br/> UpCloud Object Storage <br/> Scaleway Object Storage |

4
packages/noco-docs/content/en/setup-and-usages/audit.md

@ -10,6 +10,10 @@ menuTitle: 'Team & Settings > Audit'
We are keeping all the user operation logs under Audit. To access it, click the down arrow button next to Project Name on the top left side, then select `Team & Settings`.
<alert>
We can disable audit logs by setting `NC_DISABLE_AUDIT` to `true`.
</alert>
<img width="322" alt="image" src="https://user-images.githubusercontent.com/35857179/194856648-67936db0-ee4d-4060-be3d-af9f86ef8fc6.png">
Then, under SETTINGS, click `Audit`.

7
packages/noco-docs/content/en/setup-and-usages/dashboard.md

@ -45,18 +45,15 @@ Click on three-dot menu adjacent to `BASES`. Pick required database option from
Tip: If you are running NocoDB on Docker and your local DB is running on your host machine, your Host Address would be host.docker.internal instead of localhost.
</alert>
<!-- <img width="1500" alt="image" src="https://user-images.githubusercontent.com/35857179/194793497-3b740bf2-ffc7-48bf-836e-e4cd26631568.png"> -->
![Screenshot 2022-12-29 at 2 55 39 PM](https://user-images.githubusercontent.com/86527202/209933294-9327ff16-21db-4aca-bf16-8cea8a1eb415.png)
Above menu is also accessible from `Team & Settings` > `Data Sources`. Click on `New` button to add existing database.
![Screenshot 2022-12-29 at 3 16 36 PM](https://user-images.githubusercontent.com/86527202/209936942-f82a293f-2e91-48da-b9cd-79ec143d7d6f.png)
![image](https://user-images.githubusercontent.com/35857179/219841162-6456c5cf-fd26-4a88-8de6-e8742c043607.png)
You need to specify the project name, API type, and other database parameters.
![Screenshot 2022-12-29 at 2 56 25 PM](https://user-images.githubusercontent.com/86527202/209933326-e76eee13-4942-4ba8-b184-a28099c089ab.png)
![image](https://user-images.githubusercontent.com/35857179/219841283-1a42f9f6-4677-4e25-8ca9-a060753d1e1e.png)
Currently it supports MySQL, Postgres, MSSQL and SQLite.

46
packages/noco-docs/content/en/setup-and-usages/meta-management.md

@ -6,6 +6,8 @@ category: 'Product'
menuTitle: 'Team & Settings > Data Sources'
---
## Overview
`Data Sources` sub-menu includes
- Database Metadata
- UI Access Control
@ -14,46 +16,33 @@ menuTitle: 'Team & Settings > Data Sources'
- Edit existing data source configuration
- Edit data source visibility options
Note that, currently only one external data source can be added per project.
To access it, click the down arrow button next to Project Name on the top left side, then select `Team & Settings` and clicking `Data Sources`.
<!-- ![Screenshot 2022-12-29 at 4 26 27 PM](https://user-images.githubusercontent.com/86527202/209941709-1bfdbb01-ebd0-4c85-a966-2a8b4fc6ade7.png) -->
![Screenshot 2022-12-29 at 4 29 24 PM](https://user-images.githubusercontent.com/86527202/209941906-a9c8d48d-d604-4a2f-8ffb-7a9a494bac6b.png)
![Screenshot 2022-12-29 at 4 27 14 PM](https://user-images.githubusercontent.com/86527202/209941716-70f2aaa7-b035-42b2-835e-eb2ca348be42.png)
## Accessing Data Sources
To access it, click the down arrow button next to Project Name on the top left side, then select `Team & Settings` and clicking `Data Sources`.
<!-- ![Screenshot 2022-12-29 at 3 54 55 PM](https://user-images.githubusercontent.com/86527202/209938195-7384b4d8-0289-447f-bd39-1ec600cd1723.png) -->
<!-- <img width="322" alt="image" src="https://user-images.githubusercontent.com/86527202/209941709-1bfdbb01-ebd0-4c85-a966-2a8b4fc6ade7.png"> | <img alt="image" src="https://user-images.githubusercontent.com/86527202/209941716-70f2aaa7-b035-42b2-835e-eb2ca348be42.png"> -->
<!-- |--|--| -->
![Screenshot 2022-12-29 at 4 15 00 PM](https://user-images.githubusercontent.com/86527202/209940452-5b867b71-b9f1-4e64-af69-14715ab73be7.png)
<img width="322" alt="image" src="https://user-images.githubusercontent.com/35857179/194856648-67936db0-ee4d-4060-be3d-af9f86ef8fc6.png">
![image](https://user-images.githubusercontent.com/35857179/219833316-1fb234f0-583f-4ab8-b8d7-a6e249e7cd97.png)
## Sync Metadata
Go to `Data Sources`, click ``Sync Metadata``, you can see your metadata sync status. If it is out of sync, you can sync the schema. See <a href="./sync-schema">Sync Schema</a> for more.0
![Screenshot 2022-12-29 at 4 19 35 PM](https://user-images.githubusercontent.com/86527202/209940903-396650b4-e219-494a-863f-c3f1beb51c5e.png)
<!-- <img width="1333" alt="image" src="https://user-images.githubusercontent.com/35857179/194850034-5330458e-85a9-4a3c-87a3-dd2f3edc5b46.png"> -->
![image](https://user-images.githubusercontent.com/35857179/219833485-3bcaa6ec-88bc-47cc-b938-5abb4835dc31.png)
## UI Access Control
Go to `Data Sources`, click ``UI ACL``, you can control the access to each table by roles.
<!-- <img width="1336" alt="image" src="https://user-images.githubusercontent.com/35857179/194850281-9030f4c5-06bc-4780-b8fd-5d0c209867e0.png"> -->
![Screenshot 2022-12-29 at 4 20 57 PM](https://user-images.githubusercontent.com/86527202/209941141-deed80a9-7682-48e1-8de9-9c965c990d2d.png)
![image](https://user-images.githubusercontent.com/35857179/219833072-20e9f4ad-fd1c-4e96-9112-6edda1447ec6.png)
## ERD
Go to `Data Sources`, click ``ERD``, you can see the ERD of your database.
![Screenshot 2022-12-29 at 4 21 55 PM](https://user-images.githubusercontent.com/86527202/209941168-b53d2898-8448-47fa-a8b3-6f3572f6b3a2.png)
<!-- <img width="1338" alt="image" src="https://user-images.githubusercontent.com/35857179/194850416-54bc49cf-c32f-45e8-aea1-62b07645c26e.png"> -->
![image](https://user-images.githubusercontent.com/35857179/219832288-f6266544-a259-4667-95d9-0e5ce7ac5d27.png)
### Junction table names within ERD
@ -61,32 +50,23 @@ Go to `Data Sources`, click ``ERD``, you can see the ERD of your database.
- Double click on `Show Columns` to see additional checkboxes get enabled.
- Enabling which you should be able to see junction tables and their table names.
<img width="1681" alt="Show Junction table names for many to many table" src="https://user-images.githubusercontent.com/5435402/192140913-9da37700-28fe-404d-88e8-35ba0c8e2f53.png">
![image](https://user-images.githubusercontent.com/35857179/219832436-9c1311c3-854c-4b31-9c94-8035dfba2a2b.png)
## Edit external database configuration parameters
Go to `Data Sources`, click ``Edit``, you can re-configure database credentials.
Please make sure database configuration parameters are valid. Any incorrect parameters could lead to schema loss!
![Screenshot 2022-12-29 at 4 22 08 PM](https://user-images.githubusercontent.com/86527202/209941211-de9670c9-a73c-4719-9957-eeaf05f3a7ee.png)
![image](https://user-images.githubusercontent.com/35857179/219832592-14209cbf-d980-4e14-9a59-bda1b778a74e.png)
## Unlink data source
Go to `Data Sources`, click ``Delete`` against the data source that you wish to un-link.
![Screenshot 2022-12-29 at 4 31 16 PM](https://user-images.githubusercontent.com/86527202/209942178-5ae40f14-0e87-41f7-9630-e2bf6f59a906.png)
![image](https://user-images.githubusercontent.com/35857179/219832810-a3e9ed88-f732-4f30-9228-ff782be0b9d6.png)
## Data source visibility
Go to `Data Sources`, toggle ``Radio-button`` against the data source that you wish to hide/un-hide.
![Screenshot 2022-12-29 at 4 31 16 PM 2](https://user-images.githubusercontent.com/86527202/209942198-627f7f14-761b-4709-b9ca-fde5111fa207.png)
<!-- ## Miscellaneous
- Enabling, `Show M2M Tables` will show junction tables between many to many tables.
<img width="1340" alt="image" src="https://user-images.githubusercontent.com/35857179/194850461-3e88752a-ba4f-4ead-9426-9a9e57020061.png">
-->
![image](https://user-images.githubusercontent.com/35857179/219832914-f485099c-423f-4df8-bf00-b509288efe6d.png)

6
packages/noco-docs/content/en/setup-and-usages/project-settings.md

@ -14,8 +14,4 @@ Generic project configuration options are retained under `Project Settings` menu
Then, under SETTINGS, click `Project Settings`.
## Miscellaneous
- Enabling, `Show M2M Tables` will show junction tables between many to many tables.
![Screenshot 2022-12-29 at 7 05 04 PM](https://user-images.githubusercontent.com/86527202/209961654-ffe8ddc6-c7e2-4c0d-9762-2b57fb883cfa.png)
![image](https://user-images.githubusercontent.com/35857179/219830971-9518fa21-a45c-4d49-af3f-2f933d779ecd.png)

10
packages/noco-docs/content/en/setup-and-usages/sync-schema.md

@ -16,17 +16,19 @@ Below are the steps to sync schema changes.
<img width="322" alt="image" src="https://user-images.githubusercontent.com/35857179/194856648-67936db0-ee4d-4060-be3d-af9f86ef8fc6.png">
### 2. Click `Project Metadata` under SETTINGS, access `Metadata` tab
### 2. Click `Data Source` under SETTINGS, click `Sync Metadata` on the target base
<img width="1333" alt="image" src="https://user-images.githubusercontent.com/35857179/194850034-5330458e-85a9-4a3c-87a3-dd2f3edc5b46.png">
![image](https://user-images.githubusercontent.com/35857179/219831352-e6692ba5-5c94-4331-94ce-5796e57f87a1.png)
![image](https://user-images.githubusercontent.com/35857179/219831634-bbb6f256-45fb-4224-9f82-bc1bed6082db.png)
### 3. Changes carried outside GUI, identified by NocoDB are listed under `Sync state`
- If changes made to the database are not visible, click `Reload`
- Identified schema changes are identified for each table in `red`
- `Sync now` button gets activated, if Schema changes are identified by NocoDB
![Screenshot 2022-09-13 at 10 42 12 AM](https://user-images.githubusercontent.com/86527202/189814648-ca28f28d-b0ed-4652-a5da-e6472bfd9407.png)
<!-- ![image](https://user-images.githubusercontent.com/35857179/161957119-f66f22ad-9d37-45ed-84ca-35c99726078c.png) -->
![image](https://user-images.githubusercontent.com/35857179/219831855-bcac229c-41b6-4689-b7e1-c3cdfe23a0a1.png)
### 4. Click `Sync Now` to complete Schema sync procedure

36
packages/noco-docs/content/en/setup-and-usages/team-and-auth.md

@ -6,18 +6,21 @@ category: 'Product'
menuTitle: 'Team & Settings > Team & Auth'
---
# Accessing Team & Auth
## Accessing Team & Auth
- Click on `Team & Settings` from the `Project Menu`
- Access `Team & Auth` under `Settings`
<img width="322" alt="image" src="https://user-images.githubusercontent.com/35857179/194856648-67936db0-ee4d-4060-be3d-af9f86ef8fc6.png">
## How to Add a User
## User Management
### How to Add a User
1. Go to `Team & Auth`, click on `Invite Team`
<img width="1336" alt="image" src="https://user-images.githubusercontent.com/35857179/194849838-f936128a-3f8a-46ef-a4e3-fdc14b633874.png">
![image](https://user-images.githubusercontent.com/35857179/219830800-481f372f-86b1-4e2f-865d-3fb7c10663f7.png)
2. Enter the user's `E-mail`. Select `User Role`, and Click `Invite`.
@ -32,18 +35,16 @@ If you do not have an SMTP sender configured, make sure to copy the invite link
![Screenshot 2022-09-13 at 10 54 22 AM](https://user-images.githubusercontent.com/86527202/189817156-f3dab634-dc25-4f9b-8126-865187aae254.png)
## How to Update user permissions
### How to Update user permissions
1. Use `Edit` <1> menu to assign a different role to existing user
2. Use `Delete` <2> menu to remove a user from accessing current project
![Screenshot 2022-09-13 at 11 06 16 AM](https://user-images.githubusercontent.com/86527202/189818302-80a05245-9dc1-4364-b380-7bd698e5b9e0.png)
![image](https://user-images.githubusercontent.com/35857179/219830858-be7a4656-9f3b-440c-9a79-165f919223d7.png)
------
# User Role Permissions
### User Role Permissions
### Advanced Options & Configurations
| &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; | &nbsp; &nbsp; Owner &nbsp; &nbsp;| &nbsp; &nbsp; Creator &nbsp; &nbsp; | &nbsp; &nbsp; Editor &nbsp; &nbsp;| Commenter | &nbsp; &nbsp; Viewer &nbsp; &nbsp;|
@ -106,6 +107,25 @@ If you do not have an SMTP sender configured, make sure to copy the invite link
| Project Info | ✅ | ✅ | ✅ | ✅ | ✅ |
| Swagger API | ✅ | ✅ | ✅ | ✅ | ✅ |
## API Tokens Management
NocoDB allows creating API tokens which allow it to be integrated seamlessly with 3rd party apps. API Token is a Nano ID with a length of 40. If you are passing API Token, make sure that the header is called `xc-token`.
- Open `Project Menu`, click on `Team & Settings`
<img width="322" alt="image" src="https://user-images.githubusercontent.com/35857179/194856648-67936db0-ee4d-4060-be3d-af9f86ef8fc6.png">
- Click `API Tokens Management` tab under `Team & Auth` section
- Click Add New Token
![image](https://user-images.githubusercontent.com/35857179/219835108-037127bd-4bf6-4d96-b691-139bd141631c.png)
- Type an recognizable name for your token and click `Generate`
![Screenshot 2022-09-14 at 10 20 10 AM](https://user-images.githubusercontent.com/86527202/190062801-db3fab83-7974-4dfe-9c83-bf0d8a7dba1e.png)
- Copy API token to your clipboard; use action menu to the right of token list
<!-- TODO: -->
<!-- ### Automations

19
packages/nocodb-sdk/package-lock.json generated

@ -1,12 +1,12 @@
{
"name": "nocodb-sdk",
"version": "0.105.0",
"version": "0.105.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "nocodb-sdk",
"version": "0.105.0",
"version": "0.105.2",
"license": "AGPL-3.0-or-later",
"dependencies": {
"axios": "^0.21.1",
@ -2097,8 +2097,9 @@
},
"node_modules/glob": {
"version": "7.2.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"dev": true,
"license": "ISC",
"dependencies": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
@ -3260,8 +3261,9 @@
},
"node_modules/prettier": {
"version": "2.7.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz",
"integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==",
"dev": true,
"license": "MIT",
"bin": {
"prettier": "bin-prettier.js"
},
@ -3843,8 +3845,9 @@
},
"node_modules/typescript": {
"version": "4.7.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
"integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==",
"dev": true,
"license": "Apache-2.0",
"bin": {
"tsc": "bin/tsc",
"tsserver": "bin/tsserver"
@ -5461,6 +5464,8 @@
},
"glob": {
"version": "7.2.3",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
"integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
@ -6239,6 +6244,8 @@
},
"prettier": {
"version": "2.7.1",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-2.7.1.tgz",
"integrity": "sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g==",
"dev": true
},
"prettier-linter-helpers": {
@ -6619,6 +6626,8 @@
},
"typescript": {
"version": "4.7.4",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
"integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==",
"dev": true
},
"unbox-primitive": {

2
packages/nocodb-sdk/package.json

@ -1,6 +1,6 @@
{
"name": "nocodb-sdk",
"version": "0.105.0",
"version": "0.105.2",
"description": "NocoDB SDK",
"main": "build/main/index.js",
"typings": "build/main/index.d.ts",

6
packages/nocodb/Dockerfile

@ -31,9 +31,9 @@ COPY ./package*.json ./
COPY ./docker/main.js ./docker/main.js
#COPY ./docker/start.sh /usr/src/appEntry/start.sh
COPY ./docker/start-litestream.sh /usr/src/appEntry/start.sh
COPY ./src/lib/public/css/*.css /usr/src/appEntry/public/css/
COPY ./src/lib/public/js/*.js /usr/src/appEntry/public/js/
COPY ./src/lib/public/favicon.ico /usr/src/appEntry/public/
COPY ./src/lib/public/css/*.css ./docker/public/css/
COPY ./src/lib/public/js/*.js ./docker/public/js/
COPY ./src/lib/public/favicon.ico ./docker/public/
# install production dependencies,
# reduce node_module size with modclean & removing sqlite deps,

7
packages/nocodb/docker/index.js

@ -10,10 +10,7 @@ server.set('view engine', 'ejs');
(async () => {
const httpServer = server.listen(process.env.PORT || 8080, () => {
console.log(`App started successfully.\nVisit -> ${Noco.dashboardUrl}`);
})
const httpServer = server.listen(process.env.PORT || 8080, async () => {
server.use(await Noco.init({}, httpServer, server));
})
})().catch(e => console.log(e))

3
packages/nocodb/docker/webpack.config.js

@ -56,4 +56,7 @@ module.exports = {
// })
],
target: 'node',
node: {
__dirname: false,
},
};

20
packages/nocodb/package-lock.json generated

@ -1,12 +1,12 @@
{
"name": "nocodb",
"version": "0.105.0",
"version": "0.105.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "nocodb",
"version": "0.105.0",
"version": "0.105.2",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@google-cloud/storage": "^5.7.2",
@ -65,7 +65,7 @@
"mysql2": "^2.2.5",
"nanoid": "^3.1.20",
"nc-help": "0.2.85",
"nc-lib-gui": "0.105.0",
"nc-lib-gui": "0.105.2",
"nc-plugin": "0.1.2",
"ncp": "^2.0.0",
"nocodb-sdk": "file:../nocodb-sdk",
@ -154,7 +154,7 @@
}
},
"../nocodb-sdk": {
"version": "0.105.0",
"version": "0.105.2",
"license": "AGPL-3.0-or-later",
"dependencies": {
"axios": "^0.21.1",
@ -11257,9 +11257,9 @@
}
},
"node_modules/nc-lib-gui": {
"version": "0.105.0",
"resolved": "https://registry.npmjs.org/nc-lib-gui/-/nc-lib-gui-0.105.0.tgz",
"integrity": "sha512-nUKuiKt4xZqGYGC1juueKAW/2XpygA9X3eD2BCrZjwb3c33MmATwwN9/4LG2CkR1yvA5W9vGhqt+qXq5yfZ29w==",
"version": "0.105.2",
"resolved": "https://registry.npmjs.org/nc-lib-gui/-/nc-lib-gui-0.105.2.tgz",
"integrity": "sha512-uycep2vme3XP6PwvFjJ6wE2fpCNiaJ/ptWR7ZHwRCu500eJGdtonWc00BQf01FitQ1vKq9Cpqqi2b0hoFBLFvQ==",
"dependencies": {
"express": "^4.17.1"
}
@ -27875,9 +27875,9 @@
}
},
"nc-lib-gui": {
"version": "0.105.0",
"resolved": "https://registry.npmjs.org/nc-lib-gui/-/nc-lib-gui-0.105.0.tgz",
"integrity": "sha512-nUKuiKt4xZqGYGC1juueKAW/2XpygA9X3eD2BCrZjwb3c33MmATwwN9/4LG2CkR1yvA5W9vGhqt+qXq5yfZ29w==",
"version": "0.105.2",
"resolved": "https://registry.npmjs.org/nc-lib-gui/-/nc-lib-gui-0.105.2.tgz",
"integrity": "sha512-uycep2vme3XP6PwvFjJ6wE2fpCNiaJ/ptWR7ZHwRCu500eJGdtonWc00BQf01FitQ1vKq9Cpqqi2b0hoFBLFvQ==",
"requires": {
"express": "^4.17.1"
}

4
packages/nocodb/package.json

@ -1,6 +1,6 @@
{
"name": "nocodb",
"version": "0.105.0",
"version": "0.105.2",
"description": "NocoDB Backend",
"main": "dist/bundle.js",
"author": {
@ -105,7 +105,7 @@
"mysql2": "^2.2.5",
"nanoid": "^3.1.20",
"nc-help": "0.2.85",
"nc-lib-gui": "0.105.0",
"nc-lib-gui": "0.105.2",
"nc-plugin": "0.1.2",
"ncp": "^2.0.0",
"nocodb-sdk": "file:../nocodb-sdk",

11
packages/nocodb/src/lib/meta/api/attachmentApis.ts

@ -14,6 +14,7 @@ import catchError, { NcError } from '../helpers/catchError';
import NcPluginMgrv2 from '../helpers/NcPluginMgrv2';
import Local from '../../v1-legacy/plugins/adapters/storage/Local';
import { NC_ATTACHMENT_FIELD_SIZE } from '../../constants';
import { getCacheMiddleware } from './helpers';
const isUploadAllowed = async (req: Request, _res: Response, next: any) => {
if (!req['user']?.id) {
@ -161,7 +162,10 @@ export async function fileRead(req, res) {
const router = Router({ mergeParams: true });
router.get(/^\/dl\/([^/]+)\/([^/]+)\/(.+)$/, async (req, res) => {
router.get(
/^\/dl\/([^/]+)\/([^/]+)\/(.+)$/,
getCacheMiddleware(),
async (req, res) => {
try {
// const type = mimetypes[path.extname(req.params.fileName).slice(1)] || 'text/plain';
const type =
@ -186,7 +190,8 @@ router.get(/^\/dl\/([^/]+)\/([^/]+)\/(.+)$/, async (req, res) => {
} catch (e) {
res.status(404).send('Not found');
}
});
}
);
export function sanitizeUrlPath(paths) {
return paths.map((url) => url.replace(/[/.?#]+/g, '_'));
@ -217,6 +222,6 @@ router.post(
]
);
router.get(/^\/download\/(.+)$/, catchError(fileRead));
router.get(/^\/download\/(.+)$/, getCacheMiddleware(), catchError(fileRead));
export default router;

31
packages/nocodb/src/lib/meta/api/columnApis.ts

@ -64,9 +64,27 @@ export async function columnAdd(
const table = await Model.getWithInfo({
id: req.params.tableId,
});
const base = await Base.get(table.base_id);
const project = await base.getProject();
if (req.body.title || req.body.column_name) {
const dbDriver = NcConnectionMgrv2.get(base);
const sqlClientType = dbDriver.clientType();
const mxColumnLength = Column.getMaxColumnNameLength(sqlClientType);
if ((req.body.title || req.body.column_name).length > mxColumnLength) {
NcError.badRequest(
`Column name ${
req.body.title || req.body.column_name
} exceeds ${mxColumnLength} characters`
);
}
}
if (
!isVirtualCol(req.body) &&
!(await Column.checkTitleAvailable({
@ -638,8 +656,21 @@ export async function columnUpdate(req: Request, res: Response<TableType>) {
const table = await Model.getWithInfo({
id: column.fk_model_id,
});
const base = await Base.get(table.base_id);
const sqlClient = await NcConnectionMgrv2.getSqlClient(base);
const sqlClientType = sqlClient.knex.clientType();
const mxColumnLength = Column.getMaxColumnNameLength(sqlClientType);
if (req.body.column_name.length > mxColumnLength) {
NcError.badRequest(
`Column name ${req.body.column_name} exceeds ${mxColumnLength} characters`
);
}
if (
!isVirtualCol(req.body) &&
!(await Column.checkTitleAvailable({

13
packages/nocodb/src/lib/meta/api/dataApis/dataAliasApis.ts

@ -10,11 +10,16 @@ import ncMetaAclMw from '../../helpers/ncMetaAclMw';
import { getViewAndModelFromRequestByAliasOrId } from './helpers';
import apiMetrics from '../../helpers/apiMetrics';
import getAst from '../../../db/sql-data-mapper/lib/sql/helpers/getAst';
import { parseHrtimeToSeconds } from '../helpers';
// todo: Handle the error case where view doesnt belong to model
async function dataList(req: Request, res: Response) {
const startTime = process.hrtime();
const { model, view } = await getViewAndModelFromRequestByAliasOrId(req);
res.json(await getDataList(model, view, req));
const responseData = await getDataList(model, view, req);
const elapsedSeconds = parseHrtimeToSeconds(process.hrtime(startTime));
res.setHeader('xc-db-response', elapsedSeconds);
res.json(responseData);
}
async function dataFindOne(req: Request, res: Response) {
@ -226,8 +231,12 @@ async function dataExist(req: Request, res: Response) {
// todo: Handle the error case where view doesnt belong to model
async function groupedDataList(req: Request, res: Response) {
const startTime = process.hrtime();
const { model, view } = await getViewAndModelFromRequestByAliasOrId(req);
res.json(await getGroupedDataList(model, view, req));
const groupedData = await getGroupedDataList(model, view, req);
const elapsedSeconds = parseHrtimeToSeconds(process.hrtime(startTime));
res.setHeader('xc-db-response', elapsedSeconds);
res.json(groupedData);
}
async function getGroupedDataList(model, view: View, req) {

4
packages/nocodb/src/lib/meta/api/helpers/apiHelpers.ts

@ -0,0 +1,4 @@
export function parseHrtimeToSeconds(hrtime) {
const seconds = (hrtime[0] + hrtime[1] / 1e6).toFixed(3);
return seconds;
}

13
packages/nocodb/src/lib/meta/api/helpers/cacheHelpers.ts

@ -0,0 +1,13 @@
// return a middleware to set cache-control header
// default period is 30 days
export const getCacheMiddleware = (period: string | number = 2592000) => {
return async (req, res, next) => {
const { method } = req;
// only cache GET requests
if (method === 'GET') {
// set cache-control header
res.set('Cache-Control', `public, max-age=${period}`);
}
next();
};
};

2
packages/nocodb/src/lib/meta/api/helpers/index.ts

@ -1,4 +1,6 @@
import { populateMeta } from './populateMeta';
export * from './columnHelpers';
export * from './apiHelpers';
export * from './cacheHelpers';
export { populateMeta };

15
packages/nocodb/src/lib/meta/api/tableApis.ts

@ -148,10 +148,11 @@ export async function tableCreate(req: Request<any, any, TableReqType>, res) {
}
const sqlMgr = await ProjectMgrv2.getSqlMgr(project);
const sqlClient = await NcConnectionMgrv2.getSqlClient(base);
let tableNameLengthLimit = 255;
const sqlClientType = sqlClient.clientType;
const sqlClientType = sqlClient.knex.clientType();
if (sqlClientType === 'mysql2' || sqlClientType === 'mysql') {
tableNameLengthLimit = 64;
} else if (sqlClientType === 'pg') {
@ -164,6 +165,16 @@ export async function tableCreate(req: Request<any, any, TableReqType>, res) {
NcError.badRequest(`Table name exceeds ${tableNameLengthLimit} characters`);
}
const mxColumnLength = Column.getMaxColumnNameLength(sqlClientType);
for (const column of req.body.columns) {
if (column.column_name.length > mxColumnLength) {
NcError.badRequest(
`Column name ${column.column_name} exceeds ${mxColumnLength} characters`
);
}
}
req.body.columns = req.body.columns?.map((c) => ({
...getColumnPropsFromUIDT(c as any, base),
cn: c.column_name,
@ -298,7 +309,7 @@ export async function tableUpdate(req: Request<any, any>, res) {
const sqlClient = await NcConnectionMgrv2.getSqlClient(base);
let tableNameLengthLimit = 255;
const sqlClientType = sqlClient.clientType;
const sqlClientType = sqlClient.knex.clientType();
if (sqlClientType === 'mysql2' || sqlClientType === 'mysql') {
tableNameLengthLimit = 64;
} else if (sqlClientType === 'pg') {

3
packages/nocodb/src/lib/meta/api/utilApis.ts

@ -53,7 +53,8 @@ export async function appInfo(req: Request, res: Response) {
),
timezone: defaultConnectionConfig.timezone,
ncMin: !!process.env.NC_MIN,
teleEnabled: !process.env.NC_DISABLE_TELE,
teleEnabled: process.env.NC_DISABLE_TELE === 'true' ? false : true,
auditEnabled: process.env.NC_DISABLE_AUDIT === 'true' ? false : true,
ncSiteUrl: (req as any).ncSiteUrl,
ee: Noco.isEE(),
ncAttachmentFieldSize: NC_ATTACHMENT_FIELD_SIZE,

3
packages/nocodb/src/lib/models/Audit.ts

@ -44,6 +44,9 @@ export default class Audit implements AuditType {
forceAwait: process.env['TEST'] === 'true',
}
) {
if (process.env.NC_DISABLE_AUDIT === 'true') {
return;
}
const insertAudit = async () => {
if (!audit.project_id && audit.fk_model_id) {
audit.project_id = (

13
packages/nocodb/src/lib/models/Column.ts

@ -1151,4 +1151,17 @@ export default class Column<T = any> implements ColumnType {
colId
);
}
static getMaxColumnNameLength(sqlClientType: string) {
// no limit for sqlite but set as 255
let fieldLengthLimit = 255;
if (sqlClientType === 'mysql2' || sqlClientType === 'mysql') {
fieldLengthLimit = 64;
} else if (sqlClientType === 'pg') {
fieldLengthLimit = 59;
} else if (sqlClientType === 'mssql') {
fieldLengthLimit = 128;
}
return fieldLengthLimit;
}
}

651
packages/nocodb/src/lib/public/index.html

@ -1,651 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>HOME</title>
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/@mdi/font@4.x/css/materialdesignicons.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/vuetify@2.x/dist/vuetify.min.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
<style>
#loader {
display: flex;
height: 100vh;
width: 100%;
justify-content: center;
align-items: center;
}
.lds-roller {
display: inline-block;
position: relative;
width: 80px;
height: 80px;
}
.lds-roller div {
animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
transform-origin: 40px 40px;
}
.lds-roller div:after {
content: " ";
display: block;
position: absolute;
width: 7px;
height: 7px;
border-radius: 50%;
background: grey;
margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) {
animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
top: 63px;
left: 63px;
}
.lds-roller div:nth-child(2) {
animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
top: 68px;
left: 56px;
}
.lds-roller div:nth-child(3) {
animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
top: 71px;
left: 48px;
}
.lds-roller div:nth-child(4) {
animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
top: 72px;
left: 40px;
}
.lds-roller div:nth-child(5) {
animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
top: 71px;
left: 32px;
}
.lds-roller div:nth-child(6) {
animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
top: 68px;
left: 24px;
}
.lds-roller div:nth-child(7) {
animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
top: 63px;
left: 17px;
}
.lds-roller div:nth-child(8) {
animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
top: 56px;
left: 12px;
}
@keyframes lds-roller {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
#cont {
display: none;
}
body {
margin: 0;
padding: 0;
}
.my-card-content {
padding: 16px;
}
.toolbar-links a {
text-decoration: none;
margin: 0 10px;
}
</style>
</head>
<body>
<div id="loader">
<div class="lds-roller">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<div id="cont">
<div id="app">
<v-app>
<v-app-bar
app
clipped-left
dense
color="elevation-1"
style="background: #0082ff"
>
<!-- <v-toolbar-side-icon></v-toolbar-side-icon> -->
<v-toolbar-title>
<v-btn to="/" icon class="pa-1">
<v-icon color="white">mdi-home
</v-icon
>
</v-btn>
</v-toolbar-title>
<v-spacer></v-spacer>
<v-toolbar-items class="hidden-sm-and-down align-center toolbar-links">
<a href="/health" target="_blank">
<v-btn class="white--text" text small style="">
<v-icon small color="white">mdi-medical-bag</v-icon>
&nbsp; Health
</v-btn>
</a>
<a href="/graphql" target="_blank" v-if="graphql">
<v-icon size="30" color="white">mdi-graphql</v-icon>
</a>
<a href="xc://app?projectType=graphql">
<v-img src="icon.png" width="30"></v-img>
</a>
<a href="https://github.com/NocoDB/NocoDB" target="_blank">
<v-icon size="30" color="white">
mdi-github-circle
</v-icon>
</a>
<a href="https://discord.gg/5RgZmkW" target="_blank">
<v-icon size="30" color="white">
mdi-discord
</v-icon>
</a>
<a href="https://twitter.com/NocoDB" target="_blank">
<v-icon size="30" color="white">
mdi-twitter
</v-icon>
</a>
</v-toolbar-items>
</v-app-bar>
<v-content class="pb-0 mb-0 grey lighten-4">
<v-container fluid class="py-0">
<v-row class="white py-10">
<v-col class="text-center mt-10">
<div class="logo d-flex align-center justify-center">
<v-lazy>
<img src="icon.png" class="mr-5" width="50px">
<h1 class="d-inline-block display-2">
NocoDB
</h1>
</v-lazy>
</div>
<h2 class="my-5 title grey--text text--darken-2">Instant APIs on any Database</h2>
<div class="d-flex justify-center mt-2 mb-10">
<ul class="flex-shrink-1 text-left">
<li><a href="https://docs.nocodb.com/en/v0.5/graphql-apis/graphql-authentication">
Authentication</a></li>
<li><a href="https://docs.nocodb.com/en/v0.5/graphql-apis/graphql-acl"> Access
Control</a></li>
<li><a href="https://docs.nocodb.com/en/v0.5/desktop-app/database-design">
Database Design</a></li>
<li><a href="https://docs.nocodb.com/en/v0.5/desktop-app/api-client"> API
Client</a></li>
<li><a href="https://docs.nocodb.com/en/v0.5/desktop-app/sql-editor"> Database
Client</a></li>
</ul>
</div>
<v-btn outlined class="" large href="xc://app?projectType=rest">Open Desktop App</v-btn>
<v-btn href="/swagger" class="white--text" color="rgb(3, 129, 255)" large>View REST APIs
generated
</v-btn>
</v-col>
</v-row>
<v-row class="justify-center pt-10">
<v-col class="col-md-4">
<v-lazy>
<!-- <v-hover v-slot:default="{ hover }">-->
<v-card
>
<v-list-item>
<v-list-item-avatar color="grey">
<img width="32" src="/icon.png" title="NocoDB"
alt="NocoDB">
</v-list-item-avatar>
<v-list-item-content>
<v-list-item-title><h2
class="title">
Please Join Our Community
</h2>
</v-list-item-title>
<!-- <v-list-item-subtitle>by Kurt Wagner</v-list-item-subtitle>-->
</v-list-item-content>
</v-list-item>
<v-divider></v-divider>
<v-card-actions class="pa-2 justify-center py-10 flex-column "
style="background: linear-gradient(#ffffff99,#ffffff99), url('/community.jpg') ;">
<v-btn x-large class="my-5 px-6 black" height="80" style="min-width:300px"
href="https://github.com/NocoDB/NocoDB" target="_blank">
<v-icon x-large class="mr-5" color="white">mdi-github-circle</v-icon>
<span class="d-flex flex-column">
<span class="white--text">Github</span>
<span class="d-block caption grey--text text--lighten-2"
style="clear: both;text-transform: none"> Watch / Star Us</span>
</span>
</v-btn>
<v-btn color="rgb(80, 108, 255)" x-large class="my-5 px-6 " height="80"
style="min-width:300px" href="https://discord.gg/5RgZmkW"
target="_blank">
<v-icon color="white" x-large class="mr-5">mdi-discord</v-icon>
<span class="d-flex flex-column">
<span class="white--text">Discord</span>
<span class="d-block caption grey--text text--lighten-2" style="clear: both;text-transform: none">Live Chat</span>
</span>
</v-btn>
<v-btn color="rgb(3, 129, 255)" href="https://twitter.com/NocoDB"
target="_blank"
x-large class="my-5 px-6" height="80" style="min-width:300px">
<v-icon x-large color="white" class="mr-5">mdi-twitter</v-icon>
<span class="d-flex flex-column">
<span class="white--text">Twitter</span>
<span class="d-block caption grey--text text--lighten-2" style="clear: both;text-transform: none"> Stay Tuned</span>
</span>
</v-btn>
</v-card-actions>
<!-- <v-card-text>-->
<!-- {{name}}-->
<!-- </v-card-text>-->
</v-card>
<!-- </v-hover>-->
</v-lazy>
</v-col>
</v-row>
<v-row class="justify-center">
<v-col class="col-md-4">
<v-lazy>
<!-- <v-hover v-slot:default="{ hover }">-->
<v-card
>
<v-list-item>
<v-list-item-avatar color="grey">
<img width="32" src="/icon.png" title="NocoDB"
alt="NocoDB">
</v-list-item-avatar>
<v-list-item-content>
<v-list-item-title><h2
class="title">
Subscribe To Our Newsletter
</h2>
</v-list-item-title>
<!-- <v-list-item-subtitle>by Kurt Wagner</v-list-item-subtitle>-->
</v-list-item-content>
</v-list-item>
<v-divider></v-divider>
<v-card-actions class="pa-2 justify-center py-10 "
style="background: linear-gradient(#000000bb,#000000bb), url('/newsletter.jpg') ;background-position: 0 -60px">
<form action="https://cloud.us4.list-manage.com/subscribe/post?u=34a5d2680bab8825d485af859&amp;id=f04c6c8b8d"
method="post" id="mc-embedded-subscribe-form"
name="mc-embedded-subscribe-form"
class="validate"
target="_blank" novalidate style="width: 100%">
<div id="mc_embed_signup_scroll" class=" pt-10 mt-10">
<div class=" mx-auto justify-center text-center pt-10"
style="max-width:300px">
<v-text-field
hide-details
class="mx-2 mb-2"
solo
outlined
name="EMAIL"
type="email"
placeholder="Please enter your email"
></v-text-field>
<v-btn class="white--text mt-5" color="rgb(3, 129, 255)"
type="submit"
x-large>
Subscribe
</v-btn>
</div>
<!-- <label for="mce-EMAIL">Subscribe To Newsletter</label>-->
<!-- <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>-->
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true">
<input
type="email"
name="b_34a5d2680bab8825d485af859_f04c6c8b8d"
tabindex="-1" value=""></div>
<!-- <div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button v-btn home-cta v-size--large"></div>-->
</div>
</form>
</v-card-actions>
</v-card>
</v-lazy>
</v-col>
</v-row>
<v-row class="justify-center">
<v-col class="col-md-4">
</v-lazy>
<!-- <v-hover v-slot:default="{ hover }">-->
<v-card
>
<v-list-item>
<v-list-item-avatar color="grey">
<img width="32" src="/icon.png" title="NocoDB"
alt="NocoDB">
</v-list-item-avatar>
<v-list-item-content>
<v-list-item-title><h2
class="title">
Show Us Your Support ❤
</h2>
</v-list-item-title>
<!-- <v-list-item-subtitle>by Kurt Wagner</v-list-item-subtitle>-->
</v-list-item-content>
</v-list-item>
<v-divider></v-divider>
<!-- <div style="height: 400px;background: linear-gradient(#000000bb,#000000bb), url('/giphy.gif');background-size: cover" class="d-flex align-center justify-center">-->
<!-- </div>-->
<v-img src="giphy.gif"></v-img>
<v-card-actions class="justify-center flex-wrap">
<!-- :style="{ opacity : hover || isThisMobile? 1 : 0 }"-->
<!-- style="transition: opacity 500ms">-->
<a href="#"
@click.prevent="openUrl(`https://twitter.com/intent/tweet?url=${getshareUrl(`demo-${i}-${id}`,i)}&text=${name}&hashtags=NocoDB`)"
class="px-2">
<img src="/social/twitter.png" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<a href="#"
@click.prevent="openUrl(`https://www.linkedin.com/shareArticle?mini=true&url=${getshareUrl(`demo-${i}-${id}`,i)}&title=${name}&summary=${name}`)"
class="px-2">
<img src="/social/linkedin.png" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<a href="#"
@click.prevent="openUrl(`https://www.facebook.com/sharer/sharer.php?u=${getshareUrl(`demo-${i}-${id}`,i)}&title=${name}&summary=${name}&quote=${name}&hashtag=%23NocoDB`)"
class="px-2">
<img src="/social/facebook.png" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<a href="#"
@click.prevent="openUrl(`https://www.reddit.com/submit?url=${getshareUrl(`demo-${i}-${id}`,i)}&title=${name}`)"
class="px-2">
<img src="/social/reddit.png" class="img-responsive" alt="linkedin" width="25px"
title="Social Media Share">
</a>
<a href="#"
@click.prevent="openUrl(`https://pinterest.com/pin/create/button/?url=${getshareUrl(`demo-${i}-${id}`,i)}&description==${name}`)"
class="px-2">
<img src="/social/pinterest.png" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<!-- <a href="#"-->
<!-- @click.prevent="openUrl(`https://web.skype.com/share?url=${name}%0D%0A${getshareUrl(`demo-${i}-${id}`,i)}`)"-->
<!-- class="px-2">-->
<!-- <img src="/social/png/skype.png" class="img-responsive" alt="linkedin" width="25px" title=Social Media Share>-->
<!-- </a>-->
<a href="#"
@click.prevent="openUrl(`https://api.whatsapp.com/send?text=${name}%0D%0A${getshareUrl(`demo-${i}-${id}`,i)}`)"
class="px-2">
<img src="/social/whatsapp.png" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<a href="#"
@click.prevent="openUrl(`https://telegram.me/share/url?url=${getshareUrl(`demo-${i}-${id}`,i)}&text=${name}`)"
class="px-2">
<img src="/social/png/telegram.png" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<social-sharing :url="getshareUrl(`demo-${i}-${id}`,i)"
:title="name"
:quote="name"
inline-template>
<div class="text-center">
<a href="#" onclick="return false;" class="px-2">
<network network="email">
<img src="/social/email.png" class="img-responsive" alt="email"
width="25px"
title="Social Media Share">
</network>
</a>
</div>
</social-sharing>
<a
@click.prevent="openUrl(`https://www.addtoany.com/add_to/wechat?linkurl=${getshareUrl(`demo-${i}-${id}`,i)}&linkname=${name}`)"
class="px-2">
<img src="/social/png/wechat.png" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<a href="#"
class="px-2">
<img
@click.prevent="openUrl(`http://line.me/R/msg/text/?${name}%0D%0A${getshareUrl(`demo-${i}-${id}`,i)}`)"
src="/social/png/line.png" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<a href="#"
class="px-2">
<img
@click.prevent="openUrl(`https://connect.ok.ru/dk?st.cmd=WidgetSharePreview&st.shareUrl=${getshareUrl(`demo-${i}-${id}`,i)}&st.comments=${name}`)"
src="/social/png/odnoklassniki.png" class="img-responsive"
alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<a href="#"
@click.prevent="openUrl(`http://service.weibo.com/share/share.php?url=${getshareUrl(`demo-${i}-${id}`,i)})&title=${name}`)"
class="px-2">
<img src="/social/png/weibo.png" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<a
@click.prevent="openUrl(`http://widget.renren.com/dialog/share?resourceUrl=${getshareUrl(`demo-${i}-${id}`,i)}&srcUrl=${getshareUrl(`demo-${i}-${id}`,i)}&title=${name}&description=${name}`)"
class="px-2">
<img src="/social/png/renren.png" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<a
@click.prevent="openUrl(`http://www.douban.com/recommend/?url=${getshareUrl(`demo-${i}-${id}`,i)}&title=${name}`)"
class="px-2">
<img src="/social/png/douban.png" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
<a href="#"
@click.prevent="openUrl(`https://vk.com/share.php?url=${getshareUrl(`demo-${i}-${id}`,i)})&title=${name}&description=${name}&noparse=true`)"
class="px-2">
<img src="/social/png/vk.png" class="img-responsive" alt="linkedin" width="25px"
title="Social Media Share">
</a>
<!-- <a href="#"-->
<!-- @click.prevent="openUrl(`viber://forward?text=${getshareUrl(`demo-${i}-${id}`,i)} ${name}`)"-->
<!-- class="px-2">-->
<!-- <img src="/social/png/viber.png" class="img-responsive" alt="linkedin" width="25px" title=Social Media Share>-->
<!-- </a>-->
<a
@click.prevent="openUrl(`https://www.addtoany.com/add_to/wykop?linkurl=${getshareUrl(`demo-${i}-${id}`,i)}&linkname=${name}`)"
class="px-2">
<img src="/social/png/wykop.jpg" class="img-responsive" alt="linkedin"
width="25px"
title="Social Media Share">
</a>
</v-card-actions>
<!-- <v-card-text>-->
<!-- {{name}}-->
<!-- </v-card-text>-->
</v-card>
<!-- </v-hover>-->
</v-col>
</v-col>
</v-row>
<!-- <v-list dense>-->
<!-- <v-list-item three-line v-for="r in routes" v-if="r.route">-->
<!-- <v-list-item-content>-->
<!-- <v-list-item-title>{{r.route.path}}</v-list-item-title>-->
<!-- <v-list-item-subtitle>-->
<!-- {{Object.keys(r.route.methods).join(', ').toUpperCase()}}-->
<!-- </v-list-item-subtitle>-->
<!-- </v-list-item-content>-->
<!-- </v-list-item>-->
<!-- </v-list>-->
<!-- <ul>-->
<!-- <li class="mdc-list-item" v-for="r in routes" v-if="r.route">-->
<!-- <span class="mdc-list-item__text">{{r.route.path}}</span>-->
<!-- </li>-->
<!-- </ul>-->
</v-container>
</v-content>
</v-app>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/vue@2.x/dist/vue.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vuetify@2.x/dist/vuetify.js"></script>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script>
var app = new Vue({
el: '#app',
data: {
routes: [],
graphql: false
},
methods: {
getshareUrl() {
}
},
vuetify: new Vuetify(),
created() {
console.log('created')
axios.get('/routes')
.then((response) => {
this.routes = response.data;
})
.catch(function (error) {
// handle error
console.log(error);
})
.finally(function () {
// always executed
});
}
});
const cont = document.querySelector('#cont');
const loader = document.querySelector('#loader');
window.onload = function () {
loader.style.display = 'none';
cont.style.display = 'block';
}
</script>
</body>
</html>

BIN
packages/nocodb/src/lib/public/social/email.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

BIN
packages/nocodb/src/lib/public/social/linkedin.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

BIN
packages/nocodb/src/lib/public/social/png/douban.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
packages/nocodb/src/lib/public/social/png/facebook.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

BIN
packages/nocodb/src/lib/public/social/png/gmail.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

BIN
packages/nocodb/src/lib/public/social/png/google-plus.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

BIN
packages/nocodb/src/lib/public/social/png/line.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

BIN
packages/nocodb/src/lib/public/social/png/linkedin.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

BIN
packages/nocodb/src/lib/public/social/png/medium.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

BIN
packages/nocodb/src/lib/public/social/png/odnoklassniki.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

BIN
packages/nocodb/src/lib/public/social/png/renren.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

BIN
packages/nocodb/src/lib/public/social/png/skype.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

BIN
packages/nocodb/src/lib/public/social/png/telegram.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

BIN
packages/nocodb/src/lib/public/social/png/twitter.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

BIN
packages/nocodb/src/lib/public/social/png/viber.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

BIN
packages/nocodb/src/lib/public/social/png/vk.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

BIN
packages/nocodb/src/lib/public/social/png/wechat.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

BIN
packages/nocodb/src/lib/public/social/png/weibo.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

BIN
packages/nocodb/src/lib/public/social/png/whatsapp.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

BIN
packages/nocodb/src/lib/public/social/png/wykop.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

5
packages/nocodb/webpack.config.js

@ -40,7 +40,8 @@ module.exports = {
globalObject: "typeof self !== 'undefined' ? self : this"
},
node: {
fs: 'empty'
fs: 'empty',
__dirname: false,
},
plugins: [
new webpack.EnvironmentPlugin([
@ -58,5 +59,5 @@ module.exports = {
// }, []),
],
target: 'node',
target: 'node'
};

2
tests/playwright/package-lock.json generated

@ -36,7 +36,7 @@
}
},
"../../packages/nocodb-sdk": {
"version": "0.105.0",
"version": "0.105.2",
"license": "AGPL-3.0-or-later",
"dependencies": {
"axios": "^0.21.1",

4
tests/playwright/pages/Base.ts

@ -28,7 +28,7 @@ export default abstract class BasePage {
httpMethodsToMatch?: string[];
responseJsonMatcher?: ResponseSelector;
}) {
const waitForResposePromise = this.rootPage.waitForResponse(async res => {
const waitForResponsePromise = this.rootPage.waitForResponse(async res => {
let isResJsonMatched = true;
if (responseJsonMatcher) {
try {
@ -47,7 +47,7 @@ export default abstract class BasePage {
const uiActionPromise = uiAction();
await Promise.all([waitForResposePromise, uiActionPromise]);
await Promise.all([waitForResponsePromise, uiActionPromise]);
}
async attachFile({ filePickUIAction, filePath }: { filePickUIAction: Promise<any>; filePath: string[] }) {

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save