Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions dev/tool/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1213,11 +1213,12 @@ export function devTool (
throw new Error('Datalake storage config is required')
}

toolCtx.info('using datalake', { datalake: datalakeConfig })
const datalake = createDatalakeClient(datalakeConfig as DatalakeConfig)

let workspaces: Workspace[] = []
const { dbUrl } = prepareTools()
await withDatabase(dbUrl, async (db) => {
const accountUrl = getAccountDBUrl()
await withDatabase(accountUrl, async (db) => {
workspaces = await listWorkspacesPure(db)
workspaces = workspaces
.filter((p) => p.mode !== 'archived')
Expand Down
12 changes: 11 additions & 1 deletion dev/tool/src/storage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,10 +282,19 @@ export async function copyToDatalake (
let time = Date.now()
let processedCnt = 0
let skippedCnt = 0
let failedCnt = 0

function printStats (): void {
const duration = Date.now() - time
console.log('...processed', processedCnt, 'skipped', skippedCnt, Math.round(duration / 1000) + 's')
console.log(
'...processed',
processedCnt,
'skipped',
skippedCnt,
'failed',
failedCnt,
Math.round(duration / 1000) + 's'
)

time = Date.now()
}
Expand Down Expand Up @@ -319,6 +328,7 @@ export async function copyToDatalake (
)
} catch (err) {
console.error('failed to process blob', objectName, err)
failedCnt++
}
})
}
Expand Down
1 change: 0 additions & 1 deletion models/hr/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export default mergeIds(hrId, hr, {
Overtime: '' as IntlString,
Overtime2: '' as IntlString,
Subscribers: '' as IntlString,
PublicHoliday: '' as IntlString,
RequestCreated: '' as IntlString,
RequestUpdated: '' as IntlString,
RequestRemoved: '' as IntlString,
Expand Down
8 changes: 4 additions & 4 deletions plugins/activity-assets/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"Activity": "Активность",
"Added": "Добавил(а)",
"All": "Все",
"AllActivity": "Вся активнось",
"AllActivity": "Вся активность",
"Attributes": "Атрибуты",
"Changed": "Изменил(а)",
"CollectionUpdated": "Обновлена {collection}",
Expand All @@ -30,7 +30,7 @@
"RepliesCount": "{replies, plural, one {# ответ} few {# ответа} other {# ответов}}",
"Set": "установлен",
"To": "на",
"Unset": "Cбросил",
"Unset": "Сбросил",
"Update": "Обновить",
"Updated": "Обновил(а)",
"UpdatedCollection": "Обновленные",
Expand All @@ -39,10 +39,10 @@
"You": "Вы",
"Mentions": "Упоминания",
"MentionedYouIn": "Упомянул(а) вас в {title}",
"Messages": "Cообщения",
"Messages": "Сообщения",
"Thread": "Обсуждение",
"AddReaction": "Добавить реакцию",
"SaveForLater": "Cохранить",
"SaveForLater": "Сохранить",
"RemoveFromLater": "Удалить из сохраненных",
"ReactionNotificationTitle": "Реакция на {title}",
"ReactionNotificationBody": "{senderName}: {reaction}",
Expand Down
4 changes: 2 additions & 2 deletions plugins/chunter-assets/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"MessageNotificationBody": "{senderName}: {message}",
"AddCommentPlaceholder": "Добавить комментарий...",
"Reacted": "Отреагировал(а)",
"Docs": "Documents",
"Docs": "Документы",
"NewestFirst": "Сначала новые",
"ReplyToThread": "Ответить в теме",
"SentMessage": "Отправил(а) сообщение",
Expand Down Expand Up @@ -118,7 +118,7 @@
"Removed": "Исключил(а)",
"CreatedChannelOn": "Создал этот канал {date}",
"ChannelMessages": "Сообщения каналов",
"JoinChannel": "Приссоединение к каналу",
"JoinChannel": "Присоединение к каналу",
"YouJoinedChannel": "Вы присоединились к каналу",
"AndMore": "и еще {count}",
"IsTyping": "{count, plural, =1 {печатает} other {печатают}}...",
Expand Down
8 changes: 4 additions & 4 deletions plugins/contact-assets/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@
"UseGravatar": "Граватар",
"UseColor": "Цвет",
"AvatarProvider": "Тип аватара",
"NotSpecified": "Не указан",
"Whatsapp": "Whatsapp",
"WhatsappPlaceholder": "Whatsapp",
"NotSpecified": "Не указан",
"Whatsapp": "WhatsApp",
"WhatsappPlaceholder": "WhatsApp",
"Skype": "Skype",
"SkypePlaceholder": "Skype",
"Profile": "Профиль",
"ProfilePlaceholder": "Профиль...",
"CurrentEmployee": "Текущий сотрудник",
"MergePersons": "Объеденить контакта",
"MergePersons": "Объединить контакт",
"MergePersonsFrom": "Исходный контакт",
"MergePersonsTo": "Финальный контакт",
"SelectAvatar": "Выбрать аватар",
Expand Down
10 changes: 5 additions & 5 deletions plugins/controlled-documents-assets/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"DocumentCodePlaceholder": "ДОК-1",
"DocumentPrefixPlaceholder": "ДОК",
"DocumentPrefix": "Префикс документов",
"DocumentTemplateCreateLabel": "Шалблон",
"DocumentTemplateCreateLabel": "Шаблон",
"DocumentCategoryCreateLabel": "Категория",
"CreateDocumentCategory": "Создать категорию документа",
"DocumentCategoryAlreadyExists": "Категория \"{title}\" уже существует. ",
Expand Down Expand Up @@ -128,7 +128,7 @@
"ModificationDate": "Модифицированно",
"Modified": "Модифицированно",
"Owner": "Владелец",
"AssignedTo": "Назначано на",
"AssignedTo": "Назначено на",
"Unassigned": "Не назначено",
"Untitled": "Без названия",
"Copy": "копия",
Expand All @@ -153,7 +153,7 @@
"Parent": "Родитель",
"Template": "Шаблон",
"GeneralInfo": "Общая информация",
"InProgress": "В прогресссе",
"InProgress": "Выполняется",

"EditDescription": "Редактировать описание",
"EditGuidance": "Редактировать руководство",
Expand Down Expand Up @@ -230,7 +230,7 @@

"EffectiveDocumentLifecycle": "Жизненный цикл эффективного документа",

"ReasonAndImpact": "Причина & Воздействие",
"ReasonAndImpact": "Причина и Воздействие",
"ImpactAnalysis": "Анализ воздействия",
"ImpactedDocuments": "Подверженные документы",

Expand Down Expand Up @@ -293,7 +293,7 @@
"DeleteDocumentCategoryPermission": "Удалять категорию",
"DeleteDocumentCategoryDescription": "Предоставляет пользователям разрешение удалять категорию",
"ConfigLabel": "Управляемые Документы",
"ConfigDescription": "Расширение для управления управялемыми документами"
"ConfigDescription": "Расширение для управления управляемыми документами"
},
"controlledDocStates": {
"Empty": "",
Expand Down
2 changes: 1 addition & 1 deletion plugins/document-assets/lang/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

"Lock": "Запретить изменения",
"Unlock": "Разрешить изменения",
"Locked": "Защищино от изменений",
"Locked": "Защищено от изменений",

"ConfigLabel": "Документы",
"ConfigDescription": "Расширение по работе с текстовыми документами",
Expand Down
2 changes: 1 addition & 1 deletion plugins/gmail-assets/lang/ru.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"string": {
"MessageID": "MessageID",
"MessageID": "ID сообщения",
"IntegrationLabel": "Gmail",
"IntegrationDescription": "Используйте интеграцию с Gmail",
"SharedMessages": "общие письма",
Expand Down
9 changes: 8 additions & 1 deletion plugins/hr-assets/lang/cs.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"Vacation": "Dovolená",
"Sick": "Nemoc",
"PTO": "PTO",
"PTOs": "PTOs",
"Remote": "Vzdáleně",
"Overtime": "Přesčas",
"PTO2": "PTO/2",
Expand All @@ -47,6 +48,7 @@
"PublicHoliday": "Státní svátek",
"Title": "Název",
"Description": "Popis",
"PublicHolidays": "Public holidays",
"MarkAsPublicHoliday": "Označit jako státní svátek",
"EditPublicHoliday": "Upravit státní svátek",
"Managers": "Manažeři",
Expand All @@ -57,6 +59,11 @@
"RequestUpdated": "Žádost aktualizována",
"RequestRemoved": "Žádost odstraněna",
"ConfigLabel": "Lidské zdroje",
"ConfigDescription": "Rozšíření pro správu organizační struktury a pracovního kalendáře zaměstnanců"
"ConfigDescription": "Rozšíření pro správu organizační struktury a pracovního kalendáře zaměstnanců",
"WorkingDays": "Working days",
"ReportedDays": "Reported days",
"Tasks": "Tasks",
"TPD": "TPD",
"EXTRa": "EXTRa"
}
}
9 changes: 8 additions & 1 deletion plugins/hr-assets/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"Vacation": "Vacation",
"Sick": "Sick",
"PTO": "PTO",
"PTOs": "PTOs",
"Remote": "Remote",
"Overtime": "Overtime",
"PTO2": "PTO/2",
Expand All @@ -47,6 +48,7 @@
"PublicHoliday": "Public holiday",
"Title": "Title",
"Description": "Description",
"PublicHolidays": "Public holidays",
"MarkAsPublicHoliday": "Mark as public holiday",
"EditPublicHoliday": "Edit public holiday",
"Managers": "Managers",
Expand All @@ -57,6 +59,11 @@
"RequestUpdated": "Request updated",
"RequestRemoved": "Request removed",
"ConfigLabel": "Human resources",
"ConfigDescription": "Extension to manage organization structure and employee work calendar"
"ConfigDescription": "Extension to manage organization structure and employee work calendar",
"WorkingDays": "Working days",
"ReportedDays": "Reported days",
"Tasks": "Tasks",
"TPD": "TPD",
"EXTRa": "EXTRa"
}
}
9 changes: 8 additions & 1 deletion plugins/hr-assets/lang/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"Vacation": "Vacaciones",
"Sick": "Enfermedad",
"PTO": "Permiso retribuido",
"PTOs": "PTOs",
"Remote": "Teletrabajo",
"Overtime": "Horas extra",
"PTO2": "Permiso retribuido/2",
Expand All @@ -47,6 +48,7 @@
"PublicHoliday": "Día festivo",
"Title": "Título",
"Description": "Descripción",
"PublicHolidays": "Public holidays",
"MarkAsPublicHoliday": "Marcar como día festivo",
"EditPublicHoliday": "Editar día festivo",
"Managers": "Responsables",
Expand All @@ -57,6 +59,11 @@
"RequestUpdated": "Solicitud actualizada",
"RequestRemoved": "Solicitud eliminada",
"ConfigLabel": "Recursos Humanos",
"ConfigDescription": "Extensión para gestionar la estructura organizativa y el calendario laboral de los empleados"
"ConfigDescription": "Extensión para gestionar la estructura organizativa y el calendario laboral de los empleados",
"WorkingDays": "Working days",
"ReportedDays": "Reported days",
"Tasks": "Tasks",
"TPD": "TPD",
"EXTRa": "EXTRa"
}
}
9 changes: 8 additions & 1 deletion plugins/hr-assets/lang/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"Vacation": "Vacances",
"Sick": "Malade",
"PTO": "Congé payé",
"PTOs": "PTOs",
"Remote": "Télétravail",
"Overtime": "Heures supplémentaires",
"PTO2": "Congé payé/2",
Expand All @@ -47,6 +48,7 @@
"PublicHoliday": "Jour férié",
"Title": "Titre",
"Description": "Description",
"PublicHolidays": "Public holidays",
"MarkAsPublicHoliday": "Marquer comme jour férié",
"EditPublicHoliday": "Modifier le jour férié",
"Managers": "Managers",
Expand All @@ -57,6 +59,11 @@
"RequestUpdated": "Demande mise à jour",
"RequestRemoved": "Demande supprimée",
"ConfigLabel": "Ressources humaines",
"ConfigDescription": "Extension pour gérer la structure de l'organisation et le calendrier de travail des employés"
"ConfigDescription": "Extension pour gérer la structure de l'organisation et le calendrier de travail des employés",
"WorkingDays": "Working days",
"ReportedDays": "Reported days",
"Tasks": "Tasks",
"TPD": "TPD",
"EXTRa": "EXTRa"
}
}
9 changes: 8 additions & 1 deletion plugins/hr-assets/lang/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"Vacation": "Vacanza",
"Sick": "Malattia",
"PTO": "PTO",
"PTOs": "PTOs",
"Remote": "Remoto",
"Overtime": "Straordinario",
"PTO2": "PTO/2",
Expand All @@ -47,6 +48,7 @@
"PublicHoliday": "Festività",
"Title": "Titolo",
"Description": "Descrizione",
"PublicHolidays": "Public holidays",
"MarkAsPublicHoliday": "Contrassegna come festività",
"EditPublicHoliday": "Modifica festività",
"Managers": "Manager",
Expand All @@ -57,6 +59,11 @@
"RequestUpdated": "Richiesta aggiornata",
"RequestRemoved": "Richiesta rimossa",
"ConfigLabel": "Risorse umane",
"ConfigDescription": "Estensione per gestire la struttura organizzativa e il calendario lavorativo dei dipendenti"
"ConfigDescription": "Estensione per gestire la struttura organizzativa e il calendario lavorativo dei dipendenti",
"WorkingDays": "Working days",
"ReportedDays": "Reported days",
"Tasks": "Tasks",
"TPD": "TPD",
"EXTRa": "EXTRa"
}
}
9 changes: 8 additions & 1 deletion plugins/hr-assets/lang/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"Vacation": "Férias",
"Sick": "Doença",
"PTO": "Ausência remunerada",
"PTOs": "PTOs",
"Remote": "Remoto",
"Overtime": "Horas extra",
"PTO2": "Ausência remunerada/2",
Expand All @@ -47,6 +48,7 @@
"PublicHoliday": "Feriado",
"Title": "Título",
"Description": "Descrição",
"PublicHolidays": "Public holidays",
"MarkAsPublicHoliday": "Marcar como feriado",
"EditPublicHoliday": "Editar feriado",
"Managers": "Gestores",
Expand All @@ -57,6 +59,11 @@
"RequestUpdated": "Pedido atualizado",
"RequestRemoved": "Pedido removido",
"ConfigLabel": "Recursos humanos",
"ConfigDescription": "Extensão para gestão da estrutura organizacional e calendário de trabalho dos colaboradors"
"ConfigDescription": "Extensão para gestão da estrutura organizacional e calendário de trabalho dos colaboradors",
"WorkingDays": "Working days",
"ReportedDays": "Reported days",
"Tasks": "Tasks",
"TPD": "TPD",
"EXTRa": "EXTRa"
}
}
Loading
Loading