Browse Source

Make it optional to import users during airtable import

pull/6127/head
briankinney 1 year ago
parent
commit
5f426ff160
  1. 9
      packages/nc-gui/components/dlg/AirtableImport.vue
  2. 1
      packages/nc-gui/lang/ar.json
  3. 1
      packages/nc-gui/lang/bn_IN.json
  4. 1
      packages/nc-gui/lang/cs.json
  5. 1
      packages/nc-gui/lang/da.json
  6. 1
      packages/nc-gui/lang/de.json
  7. 1
      packages/nc-gui/lang/en.json
  8. 1
      packages/nc-gui/lang/es.json
  9. 1
      packages/nc-gui/lang/eu.json
  10. 1
      packages/nc-gui/lang/fa.json
  11. 1
      packages/nc-gui/lang/fi.json
  12. 1
      packages/nc-gui/lang/fr.json
  13. 1
      packages/nc-gui/lang/he.json
  14. 1
      packages/nc-gui/lang/hi.json
  15. 1
      packages/nc-gui/lang/hr.json
  16. 1
      packages/nc-gui/lang/id.json
  17. 1
      packages/nc-gui/lang/it.json
  18. 1
      packages/nc-gui/lang/ja.json
  19. 1
      packages/nc-gui/lang/ko.json
  20. 1
      packages/nc-gui/lang/lv.json
  21. 1
      packages/nc-gui/lang/nl.json
  22. 1
      packages/nc-gui/lang/no.json
  23. 1
      packages/nc-gui/lang/pl.json
  24. 1
      packages/nc-gui/lang/pt.json
  25. 1
      packages/nc-gui/lang/pt_BR.json
  26. 1
      packages/nc-gui/lang/ru.json
  27. 1
      packages/nc-gui/lang/sk.json
  28. 1
      packages/nc-gui/lang/sl.json
  29. 1
      packages/nc-gui/lang/sv.json
  30. 1
      packages/nc-gui/lang/th.json
  31. 1
      packages/nc-gui/lang/tr.json
  32. 1
      packages/nc-gui/lang/uk.json
  33. 1
      packages/nc-gui/lang/vi.json
  34. 1
      packages/nc-gui/lang/zh-Hans.json
  35. 1
      packages/nc-gui/lang/zh-Hant.json
  36. 2
      packages/nocodb/src/modules/jobs/jobs/at-import/at-import.processor.ts

9
packages/nc-gui/components/dlg/AirtableImport.vue

@ -64,6 +64,7 @@ const syncSource = ref({
syncLookup: true,
syncFormula: false,
syncAttachment: true,
syncUsers: true,
},
},
})
@ -174,6 +175,7 @@ async function loadSyncSrc() {
syncLookup: true,
syncFormula: false,
syncAttachment: true,
syncUsers: true,
},
},
}
@ -334,6 +336,13 @@ onMounted(async () => {
</a-checkbox>
</div>
<!-- Import Users Columns -->
<div class="my-2">
<a-checkbox v-model:checked="syncSource.details.options.syncUsers">
{{ $t('labels.importUsers') }}
</a-checkbox>
</div>
<!-- Import Formula Columns -->
<a-tooltip placement="top">
<template #title>

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

@ -305,6 +305,7 @@
"importLookupColumns": "استيراد أعمدة البحث",
"importAttachmentColumns": "استيراد أعمدة المرفق",
"importFormulaColumns": "استيراد أعمدة الصيغة",
"importUsers": "Import Users (by email)",
"noData": "لا توجد بيانات",
"goToDashboard": "الذهاب إلى لوحة التحكم",
"importing": "الاستيراد",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Import Attachment Columns",
"importFormulaColumns": "Import Formula Columns",
"importUsers": "Import Users (by email)",
"noData": "No Data",
"goToDashboard": "Go to Dashboard",
"importing": "Importing",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import sloupců vyhledávání",
"importAttachmentColumns": "Import sloupců příloh",
"importFormulaColumns": "Import sloupců vzorců",
"importUsers": "Import Users (by email)",
"noData": "Žádná data",
"goToDashboard": "Přejít na přehled",
"importing": "Importování",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import af opslagssøjler",
"importAttachmentColumns": "Import af kolonner til vedhæftede filer",
"importFormulaColumns": "Import af formelkolonner",
"importUsers": "Import Users (by email)",
"noData": "Ingen data",
"goToDashboard": "Gå til Dashboard",
"importing": "Import af",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Suchspalten importieren",
"importAttachmentColumns": "Spalten für Anhänge importieren",
"importFormulaColumns": "Formelspalten importieren",
"importUsers": "Import Users (by email)",
"noData": "Keine Daten",
"goToDashboard": "Zum Dashboard gehen",
"importing": "Wird importiert",

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

@ -312,6 +312,7 @@
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Import Attachment Columns",
"importFormulaColumns": "Import Formula Columns",
"importUsers": "Import Users (by email)",
"noData": "No Data",
"goToDashboard": "Go to Dashboard",
"importing": "Importing",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Importar columnas de consulta",
"importAttachmentColumns": "Importar columnas de anexos",
"importFormulaColumns": "Importar columnas de fórmulas",
"importUsers": "Import Users (by email)",
"noData": "Sin datos",
"goToDashboard": "Ir al panel de control",
"importing": "Importación de",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Import Attachment Columns",
"importFormulaColumns": "Import Formula Columns",
"importUsers": "Import Users (by email)",
"noData": "No Data",
"goToDashboard": "Go to Dashboard",
"importing": "Importing",

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

@ -305,6 +305,7 @@
"importLookupColumns": "امپورت ستون های جستجو",
"importAttachmentColumns": "ایمپورت ستون های ضمیمه",
"importFormulaColumns": "ایمپورت ستون های فرمول",
"importUsers": "Import Users (by email)",
"noData": "بدون داده",
"goToDashboard": "رفتن به داشبورد",
"importing": "در حال ایمپورت",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Tuo hakusarakkeita",
"importAttachmentColumns": "Liitesarakkeiden tuominen",
"importFormulaColumns": "Tuo kaavan sarakkeet",
"importUsers": "Import Users (by email)",
"noData": "Ei tietoja",
"goToDashboard": "Siirry kojelautaan",
"importing": "Tuo",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Importer des colonnes de recherche",
"importAttachmentColumns": "Importer des colonnes de pièces jointes",
"importFormulaColumns": "Importer des colonnes de formule",
"importUsers": "Import Users (by email)",
"noData": "Aucune donnée",
"goToDashboard": "Accéder au tableau de bord",
"importing": "Importation de",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Import Attachment Columns",
"importFormulaColumns": "Import Formula Columns",
"importUsers": "Import Users (by email)",
"noData": "No Data",
"goToDashboard": "Go to Dashboard",
"importing": "Importing",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Import Attachment Columns",
"importFormulaColumns": "Import Formula Columns",
"importUsers": "Import Users (by email)",
"noData": "No Data",
"goToDashboard": "Go to Dashboard",
"importing": "Importing",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Import Attachment Columns",
"importFormulaColumns": "Import Formula Columns",
"importUsers": "Import Users (by email)",
"noData": "No Data",
"goToDashboard": "Go to Dashboard",
"importing": "Importing",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Impor Kolom Pencarian",
"importAttachmentColumns": "Impor Kolom Lampiran",
"importFormulaColumns": "Kolom Formula Impor",
"importUsers": "Import Users (by email)",
"noData": "Tidak ada data",
"goToDashboard": "Buka Dasbor",
"importing": "Mengimpor",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Importazione di colonne di ricerca",
"importAttachmentColumns": "Importazione delle colonne degli allegati",
"importFormulaColumns": "Importazione delle colonne della formula",
"importUsers": "Import Users (by email)",
"noData": "Nessun dato",
"goToDashboard": "Vada alla Dashboard",
"importing": "Importazione",

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

@ -305,6 +305,7 @@
"importLookupColumns": "インポートルックアップカラム",
"importAttachmentColumns": "添付ファイルのカラムをインポートする",
"importFormulaColumns": "インポート式カラム",
"importUsers": "Import Users (by email)",
"noData": "データがありません",
"goToDashboard": "ダッシュボードに移動",
"importing": "インポート中",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Import Attachment Columns",
"importFormulaColumns": "Import Formula Columns",
"importUsers": "Import Users (by email)",
"noData": "No Data",
"goToDashboard": "Go to Dashboard",
"importing": "Importing",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Uzlasīšanas kolonnu importēšana",
"importAttachmentColumns": "Pielikuma kolonnu importēšana",
"importFormulaColumns": "Formulas kolonnu importēšana",
"importUsers": "Import Users (by email)",
"noData": "Nav datu",
"goToDashboard": "Dodieties uz paneli",
"importing": "Importēšana",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Lookup-kolommen importeren",
"importAttachmentColumns": "Kolommen met bijlagen importeren",
"importFormulaColumns": "Formulekolommen importeren",
"importUsers": "Import Users (by email)",
"noData": "Geen gegevens",
"goToDashboard": "Ga naar het dashboard",
"importing": "Importeren",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Import Attachment Columns",
"importFormulaColumns": "Import Formula Columns",
"importUsers": "Import Users (by email)",
"noData": "No Data",
"goToDashboard": "Go to Dashboard",
"importing": "Importing",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Importuj kolumny wyszukiwania",
"importAttachmentColumns": "Importuj kolumny załączników",
"importFormulaColumns": "Importuj kolumny formuły",
"importUsers": "Import Users (by email)",
"noData": "Brak danych",
"goToDashboard": "Przejdź do panelu",
"importing": "Importowanie",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Importar colunas de pesquisa",
"importAttachmentColumns": "Colunas de Anexos de Importação",
"importFormulaColumns": "Colunas de Fórmula de Importação",
"importUsers": "Import Users (by email)",
"noData": "Sem dados",
"goToDashboard": "Ir para Painel de controlo",
"importing": "Importação",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Importar colunas de pesquisa",
"importAttachmentColumns": "Colunas de Anexos de Importação",
"importFormulaColumns": "Colunas de Fórmula de Importação",
"importUsers": "Import Users (by email)",
"noData": "Sem dados",
"goToDashboard": "Ir para Painel de controlo",
"importing": "Importação",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Импорт подстановочных (Lookup) столбцов",
"importAttachmentColumns": "Импорт столбцов вложений",
"importFormulaColumns": "Импорт столбцов формул",
"importUsers": "Import Users (by email)",
"noData": "Нет данных",
"goToDashboard": "Перейти к Дашборду",
"importing": "Импорт",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Importovanie stĺpcov vyhľadávania",
"importAttachmentColumns": "Import stĺpcov príloh",
"importFormulaColumns": "Import stĺpcov vzorca",
"importUsers": "Import Users (by email)",
"noData": "Žiadne údaje",
"goToDashboard": "Prejsť na prístrojový panel",
"importing": "Importovanie",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Uvoz stolpcev za iskanje",
"importAttachmentColumns": "Uvoz stolpcev priloge",
"importFormulaColumns": "Uvoz stolpcev formule",
"importUsers": "Import Users (by email)",
"noData": "Ni podatkov",
"goToDashboard": "Pojdite na nadzorno ploščo",
"importing": "Uvoz",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Importera kolumner för uppslagsfunktioner",
"importAttachmentColumns": "Importera kolumner för bilagor",
"importFormulaColumns": "Importera formelkolumner",
"importUsers": "Import Users (by email)",
"noData": "Inga uppgifter",
"goToDashboard": "Gå till instrumentpanelen",
"importing": "Importera",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Import Attachment Columns",
"importFormulaColumns": "Import Formula Columns",
"importUsers": "Import Users (by email)",
"noData": "No Data",
"goToDashboard": "Go to Dashboard",
"importing": "Importing",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Arama Sütunlarını İçe Aktarma",
"importAttachmentColumns": "Ek Sütunlarını İçe Aktar",
"importFormulaColumns": "Formül Sütunlarını İçe Aktarma",
"importUsers": "Import Users (by email)",
"noData": "Veri Yok",
"goToDashboard": "Gösterge Tablosuna Git",
"importing": "İthalat",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Імпорт стовпців пошуку",
"importAttachmentColumns": "Імпорт стовпців вкладень",
"importFormulaColumns": "Імпорт стовпців формул",
"importUsers": "Import Users (by email)",
"noData": "Дані відсутні",
"goToDashboard": "Панель керування",
"importing": "Імпорт",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Kết nhập cột tệp đính kèm",
"importFormulaColumns": "Kết nhập cột công thức",
"importUsers": "Import Users (by email)",
"noData": "Không có dữ liệu",
"goToDashboard": "Go to Dashboard",
"importing": "Importing",

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

@ -305,6 +305,7 @@
"importLookupColumns": "导入查询列",
"importAttachmentColumns": "导入附件列",
"importFormulaColumns": "导入公式列",
"importUsers": "Import Users (by email)",
"noData": "暂无数据",
"goToDashboard": "转到仪表板",
"importing": "导入中",

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

@ -305,6 +305,7 @@
"importLookupColumns": "Import Lookup Columns",
"importAttachmentColumns": "Import Attachment Columns",
"importFormulaColumns": "Import Formula Columns",
"importUsers": "Import Users (by email)",
"noData": "沒有資料",
"goToDashboard": "前往儀表板",
"importing": "匯入中",

2
packages/nocodb/src/modules/jobs/jobs/at-import/at-import.processor.ts

@ -2357,10 +2357,12 @@ export class AtImportProcessor {
await nocoSetPrimary(aTblSchema);
logDetailed('Configuring Display Value column completed');
if (syncDB.options.syncUsers) {
logBasic('Configuring User(s)');
// add users
await nocoAddUsers(schema);
logDetailed('Adding users completed');
}
// hide-fields
// await nocoReconfigureFields(aTblSchema);

Loading…
Cancel
Save