diff --git a/data_migration_tools/server/src/common/password/password.ts b/data_migration_tools/server/src/common/password/password.ts
index 6fbe071..15d52ce 100644
--- a/data_migration_tools/server/src/common/password/password.ts
+++ b/data_migration_tools/server/src/common/password/password.ts
@@ -18,7 +18,8 @@ export const makePassword = (): string => {
let autoGeneratedPassword: string = "";
while (!valid) {
- // パスワードをランダムに決定
+ autoGeneratedPassword = "";
+ // パスワードをランダムに決定+
while (autoGeneratedPassword.length < passLength) {
// 上で決定したcharsの中からランダムに1文字ずつ追加
const index = Math.floor(Math.random() * chars.length);
@@ -30,6 +31,11 @@ export const makePassword = (): string => {
valid =
autoGeneratedPassword.length == passLength &&
charaTypePattern.test(autoGeneratedPassword);
+ if (!valid) {
+ // autoGeneratedPasswordをログに出す
+ console.log("Password is not valid");
+ console.log(autoGeneratedPassword);
+ }
}
return autoGeneratedPassword;
};
diff --git a/data_migration_tools/server/src/features/accounts/accounts.service.ts b/data_migration_tools/server/src/features/accounts/accounts.service.ts
index 2954cbd..fdfb458 100644
--- a/data_migration_tools/server/src/features/accounts/accounts.service.ts
+++ b/data_migration_tools/server/src/features/accounts/accounts.service.ts
@@ -79,6 +79,7 @@ export class AccountsService {
HttpStatus.INTERNAL_SERVER_ERROR
);
}
+ this.logger.log("idpにユーザーを作成成功");
// メールアドレス重複エラー
if (isConflictError(externalUser)) {
@@ -90,6 +91,7 @@ export class AccountsService {
HttpStatus.BAD_REQUEST
);
}
+ this.logger.log("メールアドレスは重複していません");
let account: Account;
let user: User;
@@ -138,6 +140,7 @@ export class AccountsService {
account.id,
country
);
+ this.logger.log("コンテナー作成成功");
} catch (e) {
this.logger.error(`[${context.getTrackingId()}] error=${e}`);
this.logger.error(
diff --git a/data_migration_tools/server/src/features/register/register.controller.ts b/data_migration_tools/server/src/features/register/register.controller.ts
index cb36d2a..d9b968f 100644
--- a/data_migration_tools/server/src/features/register/register.controller.ts
+++ b/data_migration_tools/server/src/features/register/register.controller.ts
@@ -106,8 +106,10 @@ export class RegisterController {
}
for (const AccountsFile of accountsObject) {
+ this.logger.log("ランダムパスワード生成開始");
// ランダムなパスワードを生成する
const ramdomPassword = makePassword();
+ this.logger.log("ランダムパスワード生成完了");
// roleの設定
// roleの値がnullなら"none"、null以外ならroleの値、
// また、roleの値が"author"なら"author"を設定
@@ -123,6 +125,7 @@ export class RegisterController {
// ありえないが、roleの値が"none"または"author"の文字列以外の場合はエラーを返す
throw new Error("Invalid role value");
}
+ this.logger.log("account生成開始");
await this.accountsService.createAccount(
context,
AccountsFile.companyName,
diff --git a/data_migration_tools/server/src/features/transfer/transfer.controller.ts b/data_migration_tools/server/src/features/transfer/transfer.controller.ts
index ee38969..c3c2dce 100644
--- a/data_migration_tools/server/src/features/transfer/transfer.controller.ts
+++ b/data_migration_tools/server/src/features/transfer/transfer.controller.ts
@@ -73,7 +73,8 @@ export class TransferController {
const matchList = line.match(regExp);
if (matchList) {
matchList.forEach((match) => {
- const replaced = match.replace(/,/g, " ");
+ // カンマを\に変換
+ const replaced = match.replace(/,/g, "\\");
line = line.replace(match, replaced);
});
}
@@ -95,49 +96,50 @@ export class TransferController {
HttpStatus.BAD_REQUEST
);
}
-
- csvInputFile.push({
- type: data[0],
- account_id: data[1],
- parent_id: data[2],
- email: data[3],
- company_name: data[4],
- first_name: data[5],
- last_name: data[6],
- country: data[7],
- state: data[8],
- start_date: data[9],
- expired_date: data[10],
- user_email: data[11],
- author_id: data[12],
- recording_mode: data[13],
- wt1: data[14],
- wt2: data[15],
- wt3: data[16],
- wt4: data[17],
- wt5: data[18],
- wt6: data[19],
- wt7: data[20],
- wt8: data[21],
- wt9: data[22],
- wt10: data[23],
- wt11: data[24],
- wt12: data[25],
- wt13: data[26],
- wt14: data[27],
- wt15: data[28],
- wt16: data[29],
- wt17: data[30],
- wt18: data[31],
- wt19: data[32],
- wt20: data[33],
- });
+ // data[1]がundefinedの場合、配列には格納しない
+ if (data[1] !== undefined) {
+ // バックスラッシュをカンマに戻す
+ data.forEach((value, index) => {
+ data[index] = value.replace(/\\/g, ",");
+ });
+ csvInputFile.push({
+ type: data[0],
+ account_id: data[1],
+ parent_id: data[2],
+ email: data[3],
+ company_name: data[4],
+ first_name: data[5],
+ last_name: data[6],
+ country: data[7],
+ state: data[8],
+ start_date: data[9],
+ expired_date: data[10],
+ user_email: data[11],
+ author_id: data[12],
+ recording_mode: data[13],
+ wt1: data[14],
+ wt2: data[15],
+ wt3: data[16],
+ wt4: data[17],
+ wt5: data[18],
+ wt6: data[19],
+ wt7: data[20],
+ wt8: data[21],
+ wt9: data[22],
+ wt10: data[23],
+ wt11: data[24],
+ wt12: data[25],
+ wt13: data[26],
+ wt14: data[27],
+ wt15: data[28],
+ wt16: data[29],
+ wt17: data[30],
+ wt18: data[31],
+ wt19: data[32],
+ wt20: data[33],
+ });
+ }
});
- // 最後の行がundefinedの場合はその行を削除
- if (csvInputFile[csvInputFile.length - 1].account_id === undefined) {
- csvInputFile.pop();
- }
-
// 各データのバリデーションチェック
await this.transferService.validateInputData(context, csvInputFile);
@@ -153,12 +155,12 @@ export class TransferController {
// アカウントID numberとstring対応表の出力
const accountsMappingFiles: AccountsMappingFile[] = [];
accountIdMap.forEach((value, key) => {
- const accountsMappingFile = new AccountsMappingFile();
+ const accountsMappingFile = new AccountsMappingFile();
accountsMappingFile.accountIdNumber = value;
- accountsMappingFile.accountIdText = key
- accountsMappingFiles.push(accountsMappingFile)
+ accountsMappingFile.accountIdText = key;
+ accountsMappingFiles.push(accountsMappingFile);
});
-
+
fs.writeFileSync(
`${inputFilePath}account_map.json`,
JSON.stringify(accountsMappingFiles)
@@ -188,6 +190,14 @@ export class TransferController {
LicensesFile
);
+ // AuthorIDが重複している場合通番を付与する
+ const transferDuplicateAuthorResultUsers =
+ await this.transferService.transferDuplicateAuthor(
+ context,
+ resultDuplicateEmail.accountsFileLines,
+ resultDuplicateEmail.usersFileLines
+ );
+
// transferResponseCsvを4つのJSONファイルの出力する(出力先はinputと同じにする)
const outputFilePath = body.inputFilePath;
const WorktypesFile = transferResponseCsv.worktypesFileLines;
@@ -195,7 +205,7 @@ export class TransferController {
context,
outputFilePath,
resultDuplicateEmail.accountsFileLines,
- resultDuplicateEmail.usersFileLines,
+ transferDuplicateAuthorResultUsers,
resultDuplicateEmail.licensesFileLines,
WorktypesFile
);
diff --git a/data_migration_tools/server/src/features/transfer/transfer.service.ts b/data_migration_tools/server/src/features/transfer/transfer.service.ts
index 34102cb..8168c04 100644
--- a/data_migration_tools/server/src/features/transfer/transfer.service.ts
+++ b/data_migration_tools/server/src/features/transfer/transfer.service.ts
@@ -54,6 +54,12 @@ export class TransferService {
let userIdIndex = 0;
// authorIdとuserIdの対応関係を保持するMapを定義
const authorIdToUserIdMap: Map
{t(getTranslationID("supportPage.text.notResolved"))}
{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}
setIsClickedEulaLink(true)}
data-tag="open-eula"
+ rel="noreferrer"
>
{t(getTranslationID("termsPage.label.linkOfEula"))}
@@ -187,11 +188,12 @@ const TermsPage: React.FC = (): JSX.Element => {
{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}
setIsClickedPrivacyNoticeLink(true)}
data-tag="open-pricacy-notice"
+ rel="noreferrer"
>
{t(
getTranslationID("termsPage.label.linkOfPrivacyNotice")
@@ -225,11 +227,12 @@ const TermsPage: React.FC = (): JSX.Element => {
{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions */}
setIsClickedDpaLink(true)}
data-tag="open-dpa"
+ rel="noreferrer"
>
{t(getTranslationID("termsPage.label.linkOfDpa"))}
diff --git a/dictation_client/src/translation/de.json b/dictation_client/src/translation/de.json
index a61cd85..9a7af9d 100644
--- a/dictation_client/src/translation/de.json
+++ b/dictation_client/src/translation/de.json
@@ -64,7 +64,7 @@
"countryExplanation": "Wählen Sie das Land aus, in dem Sie sich befinden. Wenn Ihr Land nicht aufgeführt ist, wählen Sie bitte das nächstgelegene Land aus.",
"dealerExplanation": "Bitte wählen Sie den Händler aus, bei dem Sie die Lizenz erwerben möchten.",
"adminInfoTitle": "Registrieren Sie die Informationen des primären Administrators",
- "passwordTerms": "Bitte legen Sie ein Passwort fest. Das Passwort muss 8–25 Zeichen lang sein und Buchstaben, Zahlen und Symbole enthalten. (Sollte ein kompatibles Symbol auflisten und angeben, ob ein Großbuchstabe erforderlich ist.)"
+ "passwordTerms": "Bitte legen Sie ein Passwort fest. Das Passwort muss 8–64 Zeichen lang sein und Buchstaben, Zahlen und Symbole enthalten."
},
"label": {
"company": "Name der Firma",
@@ -135,7 +135,12 @@
"typistUserDeletionTranscriptionTaskError": "(de)ユーザーの削除に失敗しました。Dictation画面でタスクのルーティングから対象Transcriptionistを外してください。",
"authorUserDeletionTranscriptionTaskError": "(de)ユーザーの削除に失敗しました。Dictation画面で対象AuthorのAuthorIDが設定されているタスクの中で、文字起こしが未完了のタスクを削除またはFinishedにしてください。",
"typistUserDeletionTranscriptionistGroupError": "(de)ユーザーの削除に失敗しました。Workflow画面でTranscriptionistGroupから対象Transcriptionistを外してください。",
- "authorDeletionRoutingRuleError": "(de)ユーザーの削除に失敗しました。Workflow画面でルーティングルールから対象AuthorのAuthorIDを外してください。"
+ "authorDeletionRoutingRuleError": "(de)ユーザーの削除に失敗しました。Workflow画面でルーティングルールから対象AuthorのAuthorIDを外してください。",
+ "importSuccess": "(de)ユーザー一括追加を受け付けました。登録処理が完了次第メールが届きますのでご確認ください。",
+ "duplicateEmailError": "(de)以下の行のメールアドレスがCSV中で重複しています。",
+ "duplicateAuthorIdError": "(de)以下の行のAuthorIDがCSV中で重複しています。",
+ "overMaxUserError": "(de)一度に追加できるユーザーは100件までです。",
+ "invalidInputError": "(de)以下の行のユーザー情報が入力ルールに準拠していません。"
},
"label": {
"title": "Benutzer",
@@ -168,7 +173,33 @@
"deleteUser": "Benutzer löschen",
"none": "Keiner",
"encryptionPassword": "Passwort",
- "encryptionPasswordTerm": "Bitte legen Sie Ihr Passwort mit 4 bis 16 alphanumerischen Zeichen und Symbolen fest."
+ "encryptionPasswordTerm": "Bitte legen Sie Ihr Passwort mit 4 bis 16 alphanumerischen Zeichen und Symbolen fest.",
+ "bulkImport": "(de)Bulk import",
+ "downloadCsv": "(de)Download CSV",
+ "importCsv": "(de)Import CSV",
+ "inputRules": "(de)Input rules",
+ "nameLabel": "(de)Name",
+ "emailAddressLabel": "(de)Email Address",
+ "roleLabel": "(de)Role",
+ "authorIdLabel": "(de)Author ID",
+ "autoRenewLabel": "(de)Auto Renew",
+ "notificationLabel": "(de)Notification",
+ "encryptionLabel": "(de)Encryption",
+ "encryptionPasswordLabel": "(de)Encryption Password",
+ "promptLabel": "(de)Prompt",
+ "addUsers": "(de)Add users"
+ },
+ "text": {
+ "downloadExplain": "(de)Download the csv format and enter it according to the rules below.",
+ "nameRule": "(de)Maximum 225 characters",
+ "emailAddressRule": "(de)Maximum 225 characters\nCannot use an email address that is already in use.",
+ "roleRule": "(de)None : 0\nAuthor : 1\nTranscriptionist : 2",
+ "authorIdRule": "(de)Required only when Role=Author(1)\nMaximum 16 characters\nOnly uppercase alphanumeric characters and \"_\" can be entered.\nCannot use an Author ID that is already in use.",
+ "autoRenewRule": "(de)0 or 1",
+ "notificationRule": "(de)0 or 1",
+ "encryptionRule": "(de)Required only when Role=Author(1)\n0 or 1",
+ "encryptionPasswordRule": "(de)Required only when Role=Author(1) and Encryption=ON(1)\nOnly 4 to 16 letters, numbers, and symbols can be entered.",
+ "promptRule": "(de)Required only when Role=Author(1)\n0 or 1"
}
},
"LicenseSummaryPage": {
@@ -188,22 +219,26 @@
"usedSize": "Gebrauchter Lagerung",
"storageAvailable": "Speicher nicht verfügbar (Menge überschritten)",
"licenseLabel": "Lizenz",
- "storageLabel": "Lagerung"
+ "storageLabel": "Lagerung",
+ "storageUnavailableCheckbox": "(de)Storage Unavailable"
+ },
+ "message": {
+ "storageUnavalableSwitchingConfirm": "(de)対象アカウントのストレージ使用制限状態を変更します。よろしいですか?"
}
},
"licenseOrderPage": {
"message": {
"inputEmptyError": "Pflichtfeld",
- "poNumberIncorrectError": "Das Format der Bestellnummer ist ungültig. Für die Bestellnummer können nur alphanumerische Zeichen eingegeben werden.",
+ "poNumberIncorrectError": "Das Format der PO-Nummer ist ungültig. Für die PO-Nummer können nur alphanumerische Zeichen eingegeben werden.",
"newOrderIncorrectError": "Bitte geben Sie für die neue Bestellung eine Zahl größer oder gleich 1 ein.",
"confirmOrder": "Möchten Sie eine Bestellung aufgeben?",
- "poNumberConflictError": "Die eingegebene Bestellnummer existiert bereits. Bitte geben Sie eine andere Bestellnummer ein.",
- "dealerNotFoundError": "(de)ディーラーが設定されていないため、ライセンスを注文できません。アカウント画面でディーラーを指定してください。"
+ "poNumberConflictError": "Die eingegebene PO-Nummer existiert bereits. Bitte geben Sie eine andere PO-Nummer ein.",
+ "dealerNotFoundError": "Um eine Lizenz zu bestellen, müssen Sie den Händler angeben, bei dem Sie die Lizenz erwerben möchten. Melden Sie sich bei ODMS Cloud an und richten Sie „Händler“ auf der Registerkarte „Konto“ ein."
},
"label": {
"title": "Lizenz bestellen",
"licenses": "Lizenz-Typ",
- "poNumber": "Bestellnummer",
+ "poNumber": "PO-Nummer",
"newOrder": "Anzahl der Lizenzen",
"orderButton": "Bestellen",
"licenseTypeText": "Ein Jahr"
@@ -216,7 +251,9 @@
"taskNotEditable": "Der Transkriptionist kann nicht geändert werden, da die Transkription bereits ausgeführt wird oder die Datei nicht vorhanden ist. Bitte aktualisieren Sie den Bildschirm und prüfen Sie den aktuellen Status.",
"backupFailedError": "Der Prozess „Dateisicherung“ ist fehlgeschlagen. Bitte versuchen Sie es später noch einmal. Wenn der Fehler weiterhin besteht, wenden Sie sich an Ihren Systemadministrator.",
"cancelFailedError": "Die Diktate konnten nicht gelöscht werden. Bitte aktualisieren Sie Ihren Bildschirm und versuchen Sie es erneut.",
- "deleteFailedError": "(de)タスクの削除に失敗しました。画面を更新し、再度ご確認ください。"
+ "deleteFailedError": "(de)タスクの削除に失敗しました。画面を更新し、再度ご確認ください。",
+ "licenseNotAssignedError": "Die Transkription ist nicht möglich, da keine gültige Lizenz zugewiesen ist.Bitten Sie Ihren Administrator, eine gültige Lizenz zuzuweisen.",
+ "licenseExpiredError": "Die Transkription ist nicht möglich, da Ihre Lizenz abgelaufen ist. Bitte bitten Sie Ihren Administrator, Ihnen eine gültige Lizenz zuzuweisen."
},
"label": {
"title": "Diktate",
@@ -258,7 +295,7 @@
"changeTranscriptionist": "Transkriptionist ändern",
"deleteDictation": "Diktat löschen",
"selectedTranscriptionist": "Ausgewählter transkriptionist",
- "poolTranscriptionist": "Liste der Transkriptionisten",
+ "poolTranscriptionist": "Transkriptionsliste",
"fileBackup": "Dateisicherung",
"downloadForBackup": "Zur Sicherung herunterladen",
"applications": "Desktopanwendung",
@@ -341,7 +378,7 @@
"orderDate": "Auftragsdatum",
"issueDate": "Ausgabetag",
"numberOfOrder": "Anzahl der bestellten Lizenzen",
- "poNumber": "Bestellnummer",
+ "poNumber": "PO-Nummer",
"status": "Status",
"issueRequesting": "Lizenzen auf Bestellung",
"issued": "Lizenz ausgestellt",
@@ -425,7 +462,7 @@
"message": {
"selectedTypistEmptyError": "Um eine Transkriptionsgruppe zu speichern, müssen ein oder mehrere Transkriptionisten ausgewählt werden.",
"groupSaveFailedError": "Die Transkriptionistengruppe konnte nicht gespeichert werden. Die angezeigten Informationen sind möglicherweise veraltet. Aktualisieren Sie daher bitte den Bildschirm, um den neuesten Status anzuzeigen.",
- "GroupNameAlreadyExistError": "(de)このTranscriptionistGroup名は既に登録されています。他のTranscriptionistGroup名で登録してください。",
+ "GroupNameAlreadyExistError": "Der Name dieser Transkriptionistengruppe ist bereits registriert. Bitte registrieren Sie sich mit einem anderen Namen der Transkriptionistengruppe.",
"deleteFailedWorkflowAssigned": "(de)TranscriptionistGroupの削除に失敗しました。Workflow画面でルーティングルールから対象TranscriptionistGroupを外してください。",
"deleteFailedCheckoutPermissionExisted": "(de)TranscriptionistGroupの削除に失敗しました。Dictation画面でタスクのルーティングから対象TranscriptionistGroupを外してください。"
}
@@ -560,10 +597,7 @@
"label": {
"title": "Support",
"howToUse": "So verwenden Sie das System",
- "supportPageEnglish": "OMDS Cloud User Guide",
- "supportPageGerman": "OMDS Cloud-Benutzerhandbuch",
- "supportPageFrench": "Guía del usuario de la nube OMDS",
- "supportPageSpanish": "Guide de l'utilisateur du cloud OMDS"
+ "supportPageLink": "OMDS Cloud-Benutzerhandbuch"
},
"text": {
"notResolved": "Informationen zu den Funktionen der ODMS Cloud finden Sie im Benutzerhandbuch. Wenn Sie zusätzlichen Support benötigen, wenden Sie sich bitte an Ihren Administrator oder zertifizierten ODMS Cloud-Händler."
diff --git a/dictation_client/src/translation/en.json b/dictation_client/src/translation/en.json
index 263b66d..7b91390 100644
--- a/dictation_client/src/translation/en.json
+++ b/dictation_client/src/translation/en.json
@@ -64,7 +64,7 @@
"countryExplanation": "Select the country where you are located. If your country isn't listed, please select the nearest country.",
"dealerExplanation": "Please select the dealer you would like to purchase the license from.",
"adminInfoTitle": "Register primary administrator's information",
- "passwordTerms": "Please set a password. The password must be 8-25 characters must contain letters, numbers, and symbols. (Should list compatible symbol and state if capital letter is needed)."
+ "passwordTerms": "Please set a password. The password must be 8-64 characters must contain letters, numbers, and symbols."
},
"label": {
"company": "Company Name",
@@ -135,7 +135,12 @@
"typistUserDeletionTranscriptionTaskError": "ユーザーの削除に失敗しました。Dictation画面でタスクのルーティングから対象Transcriptionistを外してください。",
"authorUserDeletionTranscriptionTaskError": "ユーザーの削除に失敗しました。Dictation画面で対象AuthorのAuthorIDが設定されているタスクの中で、文字起こしが未完了のタスクを削除またはFinishedにしてください。",
"typistUserDeletionTranscriptionistGroupError": "ユーザーの削除に失敗しました。Workflow画面でTranscriptionistGroupから対象Transcriptionistを外してください。",
- "authorDeletionRoutingRuleError": "ユーザーの削除に失敗しました。Workflow画面でルーティングルールから対象AuthorのAuthorIDを外してください。"
+ "authorDeletionRoutingRuleError": "ユーザーの削除に失敗しました。Workflow画面でルーティングルールから対象AuthorのAuthorIDを外してください。",
+ "importSuccess": "ユーザー一括追加を受け付けました。登録処理が完了次第メールが届きますのでご確認ください。",
+ "duplicateEmailError": "以下の行のメールアドレスがCSV中で重複しています。",
+ "duplicateAuthorIdError": "以下の行のAuthorIDがCSV中で重複しています。",
+ "overMaxUserError": "一度に追加できるユーザーは100件までです。",
+ "invalidInputError": "以下の行のユーザー情報が入力ルールに準拠していません。"
},
"label": {
"title": "User",
@@ -168,7 +173,33 @@
"deleteUser": "Delete User",
"none": "None",
"encryptionPassword": "Password",
- "encryptionPasswordTerm": "Please set your password using 4 to 16 alphanumeric and symbols."
+ "encryptionPasswordTerm": "Please set your password using 4 to 16 alphanumeric and symbols.",
+ "bulkImport": "Bulk import",
+ "downloadCsv": "Download CSV",
+ "importCsv": "Import CSV",
+ "inputRules": "Input rules",
+ "nameLabel": "Name",
+ "emailAddressLabel": "Email Address",
+ "roleLabel": "Role",
+ "authorIdLabel": "Author ID",
+ "autoRenewLabel": "Auto Renew",
+ "notificationLabel": "Notification",
+ "encryptionLabel": "Encryption",
+ "encryptionPasswordLabel": "Encryption Password",
+ "promptLabel": "Prompt",
+ "addUsers": "Add users"
+ },
+ "text": {
+ "downloadExplain": "Download the csv format and enter it according to the rules below.",
+ "nameRule": "Maximum 225 characters",
+ "emailAddressRule": "Maximum 225 characters\nCannot use an email address that is already in use.",
+ "roleRule": "None : 0\nAuthor : 1\nTranscriptionist : 2",
+ "authorIdRule": "Required only when Role=Author(1)\nMaximum 16 characters\nOnly uppercase alphanumeric characters and \"_\" can be entered.\nCannot use an Author ID that is already in use.",
+ "autoRenewRule": "0 or 1",
+ "notificationRule": "0 or 1",
+ "encryptionRule": "Required only when Role=Author(1)\n0 or 1",
+ "encryptionPasswordRule": "Required only when Role=Author(1) and Encryption=ON(1)\nOnly 4 to 16 letters, numbers, and symbols can be entered.",
+ "promptRule": "Required only when Role=Author(1)\n0 or 1"
}
},
"LicenseSummaryPage": {
@@ -188,7 +219,11 @@
"usedSize": "Storage Used",
"storageAvailable": "Storage Unavailable (Exceeded Amount)",
"licenseLabel": "License",
- "storageLabel": "Storage"
+ "storageLabel": "Storage",
+ "storageUnavailableCheckbox": "Storage Unavailable"
+ },
+ "message": {
+ "storageUnavalableSwitchingConfirm": "対象アカウントのストレージ使用制限状態を変更します。よろしいですか?"
}
},
"licenseOrderPage": {
@@ -198,7 +233,7 @@
"newOrderIncorrectError": "Please enter a number greater than or equal to 1 for the New Order.",
"confirmOrder": "Would you like to place an order?",
"poNumberConflictError": "PO Number entered already exists. Please enter a different PO Number.",
- "dealerNotFoundError": "ディーラーが設定されていないため、ライセンスを注文できません。アカウント画面でディーラーを指定してください。"
+ "dealerNotFoundError": "In order to order a license, you need to set up the dealer where you want to purchase it. Sign in to ODMS Cloud and set up \"Dealer\" in the \"Account\" tab."
},
"label": {
"title": "Order License",
@@ -216,7 +251,9 @@
"taskNotEditable": "The transcriptionist cannot be changed because the transcription is already in progress or the file does not exist. Please refresh the screen and check the latest status.",
"backupFailedError": "The \"File Backup\" process has failed. Please try again later. If the error continues, contact your system administrator.",
"cancelFailedError": "Failed to delete the dictations. Please refresh your screen and try again.",
- "deleteFailedError": "タスクの削除に失敗しました。画面を更新し、再度ご確認ください。"
+ "deleteFailedError": "タスクの削除に失敗しました。画面を更新し、再度ご確認ください。",
+ "licenseNotAssignedError": "Transcription is not possible because a valid license is not assigned.Please ask your administrator to assign a valid license.",
+ "licenseExpiredError": "Transcription is not possible because your license is expired. Please ask your administrator to assign a valid license."
},
"label": {
"title": "Dictations",
@@ -258,7 +295,7 @@
"changeTranscriptionist": "Change Transcriptionist",
"deleteDictation": "Delete Dictation",
"selectedTranscriptionist": "Selected Transcriptionist",
- "poolTranscriptionist": "Transcriptionist List",
+ "poolTranscriptionist": "Transcription List",
"fileBackup": "File Backup",
"downloadForBackup": "Download for backup",
"applications": "Desktop Application",
@@ -425,7 +462,7 @@
"message": {
"selectedTypistEmptyError": "One or more transcriptonist must be selected to save a transcrption group.",
"groupSaveFailedError": "Transcriptionist Group could not be saved. The displayed information may be outdated, so please refresh the screen to see the latest status.",
- "GroupNameAlreadyExistError": "このTranscriptionistGroup名は既に登録されています。他のTranscriptionistGroup名で登録してください。",
+ "GroupNameAlreadyExistError": "This Transcriptionist Group name is already registered. Please register with another Transcriptionist Group name.",
"deleteFailedWorkflowAssigned": "TranscriptionistGroupの削除に失敗しました。Workflow画面でルーティングルールから対象TranscriptionistGroupを外してください。",
"deleteFailedCheckoutPermissionExisted": "TranscriptionistGroupの削除に失敗しました。Dictation画面でタスクのルーティングから対象TranscriptionistGroupを外してください。"
}
@@ -560,10 +597,7 @@
"label": {
"title": "Support",
"howToUse": "How to use the system",
- "supportPageEnglish": "OMDS Cloud User Guide",
- "supportPageGerman": "OMDS Cloud-Benutzerhandbuch",
- "supportPageFrench": "Guía del usuario de la nube OMDS",
- "supportPageSpanish": "Guide de l'utilisateur du cloud OMDS"
+ "supportPageLink": "OMDS Cloud User Guide"
},
"text": {
"notResolved": "Please refer to the User Guide for information about the features of the ODMS Cloud. If you require additional support, please contact your administrator or certified ODMS Cloud reseller."
diff --git a/dictation_client/src/translation/es.json b/dictation_client/src/translation/es.json
index c63b5c3..4dd9b29 100644
--- a/dictation_client/src/translation/es.json
+++ b/dictation_client/src/translation/es.json
@@ -64,7 +64,7 @@
"countryExplanation": "Seleccione el país donde se encuentra. Si su país no aparece en la lista, seleccione el país más cercano.",
"dealerExplanation": "Seleccione el distribuidor al que le gustaría comprar la licencia.",
"adminInfoTitle": "Registre la información del administrador principal",
- "passwordTerms": "Establezca una contraseña. La contraseña debe tener entre 8 y 25 caracteres y debe contener letras, números y símbolos. (Debe enumerar el símbolo compatible e indicar si se necesita una letra mayúscula)."
+ "passwordTerms": "Establezca una contraseña. La contraseña debe tener entre 8 y 64 caracteres y debe contener letras, números y símbolos."
},
"label": {
"company": "Nombre de empresa",
@@ -135,7 +135,12 @@
"typistUserDeletionTranscriptionTaskError": "(es)ユーザーの削除に失敗しました。Dictation画面でタスクのルーティングから対象Transcriptionistを外してください。",
"authorUserDeletionTranscriptionTaskError": "(es)ユーザーの削除に失敗しました。Dictation画面で対象AuthorのAuthorIDが設定されているタスクの中で、文字起こしが未完了のタスクを削除またはFinishedにしてください。",
"typistUserDeletionTranscriptionistGroupError": "(es)ユーザーの削除に失敗しました。Workflow画面でTranscriptionistGroupから対象Transcriptionistを外してください。",
- "authorDeletionRoutingRuleError": "(es)ユーザーの削除に失敗しました。Workflow画面でルーティングルールから対象AuthorのAuthorIDを外してください。"
+ "authorDeletionRoutingRuleError": "(es)ユーザーの削除に失敗しました。Workflow画面でルーティングルールから対象AuthorのAuthorIDを外してください。",
+ "importSuccess": "(es)ユーザー一括追加を受け付けました。登録処理が完了次第メールが届きますのでご確認ください。",
+ "duplicateEmailError": "(es)以下の行のメールアドレスがCSV中で重複しています。",
+ "duplicateAuthorIdError": "(es)以下の行のAuthorIDがCSV中で重複しています。",
+ "overMaxUserError": "(es)一度に追加できるユーザーは100件までです。",
+ "invalidInputError": "(es)以下の行のユーザー情報が入力ルールに準拠していません。"
},
"label": {
"title": "Usuario",
@@ -168,7 +173,33 @@
"deleteUser": "Borrar usuario",
"none": "Ninguno",
"encryptionPassword": "Contraseña",
- "encryptionPasswordTerm": "Configure su contraseña utilizando de 4 a 16 símbolos alfanuméricos y."
+ "encryptionPasswordTerm": "Configure su contraseña utilizando de 4 a 16 símbolos alfanuméricos y.",
+ "bulkImport": "(es)Bulk import",
+ "downloadCsv": "(es)Download CSV",
+ "importCsv": "(es)Import CSV",
+ "inputRules": "(es)Input rules",
+ "nameLabel": "(es)Name",
+ "emailAddressLabel": "(es)Email Address",
+ "roleLabel": "(es)Role",
+ "authorIdLabel": "(es)Author ID",
+ "autoRenewLabel": "(es)Auto Renew",
+ "notificationLabel": "(es)Notification",
+ "encryptionLabel": "(es)Encryption",
+ "encryptionPasswordLabel": "(es)Encryption Password",
+ "promptLabel": "(es)Prompt",
+ "addUsers": "(es)Add users"
+ },
+ "text": {
+ "downloadExplain": "(es)Download the csv format and enter it according to the rules below.",
+ "nameRule": "(es)Maximum 225 characters",
+ "emailAddressRule": "(es)Maximum 225 characters\nCannot use an email address that is already in use.",
+ "roleRule": "(es)None : 0\nAuthor : 1\nTranscriptionist : 2",
+ "authorIdRule": "(es)Required only when Role=Author(1)\nMaximum 16 characters\nOnly uppercase alphanumeric characters and \"_\" can be entered.\nCannot use an Author ID that is already in use.",
+ "autoRenewRule": "(es)0 or 1",
+ "notificationRule": "(es)0 or 1",
+ "encryptionRule": "(es)Required only when Role=Author(1)\n0 or 1",
+ "encryptionPasswordRule": "(es)Required only when Role=Author(1) and Encryption=ON(1)\nOnly 4 to 16 letters, numbers, and symbols can be entered.",
+ "promptRule": "(es)Required only when Role=Author(1)\n0 or 1"
}
},
"LicenseSummaryPage": {
@@ -188,7 +219,11 @@
"usedSize": "Almacenamiento utilizado",
"storageAvailable": "Almacenamiento no disponible (cantidad excedida)",
"licenseLabel": "Licencia",
- "storageLabel": "Almacenamiento"
+ "storageLabel": "Almacenamiento",
+ "storageUnavailableCheckbox": "(es)Storage Unavailable"
+ },
+ "message": {
+ "storageUnavalableSwitchingConfirm": "(es)対象アカウントのストレージ使用制限状態を変更します。よろしいですか?"
}
},
"licenseOrderPage": {
@@ -198,7 +233,7 @@
"newOrderIncorrectError": "Ingrese un número mayor o igual a 1 para el Nuevo Pedido.",
"confirmOrder": "¿Quieres hacer un pedido?",
"poNumberConflictError": "El número de orden de compra ingresado ya existe. Ingrese un número de orden de compra diferente.",
- "dealerNotFoundError": "(es)ディーラーが設定されていないため、ライセンスを注文できません。アカウント画面でディーラーを指定してください。"
+ "dealerNotFoundError": "Para solicitar una licencia, debe configurar el distribuidor donde desea comprarla. Inicie sesión en ODMS Cloud y configure \"Distribuidor\" en la pestaña \"Cuenta\"."
},
"label": {
"title": "Licencia de pedido",
@@ -216,7 +251,9 @@
"taskNotEditable": "No se puede cambiar el transcriptor porque la transcripción ya está en curso o el archivo no existe. Actualice la pantalla y verifique el estado más reciente.",
"backupFailedError": "El proceso de \"Copia de seguridad de archivos\" ha fallado. Por favor, inténtelo de nuevo más tarde. Si el error continúa, comuníquese con el administrador del sistema.",
"cancelFailedError": "No se pudieron eliminar los dictados. Actualice su pantalla e inténtelo nuevamente.",
- "deleteFailedError": "(es)タスクの削除に失敗しました。画面を更新し、再度ご確認ください。"
+ "deleteFailedError": "(es)タスクの削除に失敗しました。画面を更新し、再度ご確認ください。",
+ "licenseNotAssignedError": "La transcripción no es posible porque no se ha asignado una licencia válida.Solicite a su administrador que le asigne una licencia válida.",
+ "licenseExpiredError": "La transcripción no es posible porque su licencia ha caducado. Solicite a su administrador que le asigne una licencia válida."
},
"label": {
"title": "Dictado",
@@ -258,7 +295,7 @@
"changeTranscriptionist": "Cambiar transcriptor",
"deleteDictation": "Borrar dictado",
"selectedTranscriptionist": "Transcriptor seleccionado",
- "poolTranscriptionist": "Lista de transcriptores",
+ "poolTranscriptionist": "Lista de transcriptor",
"fileBackup": "Copia de seguridad de archivos",
"downloadForBackup": "Descargar para respaldo",
"applications": "Aplicación de escritorio",
@@ -425,7 +462,7 @@
"message": {
"selectedTypistEmptyError": "Se deben seleccionar uno o más transcriptores para guardar un grupo de transcripción.",
"groupSaveFailedError": "El grupo transcriptor no se pudo salvar. La información mostrada puede estar desactualizada. Así que actualice la pantalla para ver el estado más reciente.",
- "GroupNameAlreadyExistError": "(es)このTranscriptionistGroup名は既に登録されています。他のTranscriptionistGroup名で登録してください。",
+ "GroupNameAlreadyExistError": "El nombre de este grupo transcriptor ya está registrado. Regístrese con otro nombre de grupo transcriptor.",
"deleteFailedWorkflowAssigned": "(es)TranscriptionistGroupの削除に失敗しました。Workflow画面でルーティングルールから対象TranscriptionistGroupを外してください。",
"deleteFailedCheckoutPermissionExisted": "(es)TranscriptionistGroupの削除に失敗しました。Dictation画面でタスクのルーティングから対象TranscriptionistGroupを外してください。"
}
@@ -560,10 +597,7 @@
"label": {
"title": "Soporte",
"howToUse": "Cómo utilizar el sistema",
- "supportPageEnglish": "OMDS Cloud User Guide",
- "supportPageGerman": "OMDS Cloud-Benutzerhandbuch",
- "supportPageFrench": "Guía del usuario de la nube OMDS",
- "supportPageSpanish": "Guide de l'utilisateur du cloud OMDS"
+ "supportPageLink": "Guía del usuario de la nube OMDS"
},
"text": {
"notResolved": "Consulte la Guía del usuario para obtener información sobre las funciones de ODMS Cloud. Si necesita soporte adicional, comuníquese con su administrador o revendedor certificado de ODMS Cloud."
diff --git a/dictation_client/src/translation/fr.json b/dictation_client/src/translation/fr.json
index f290e40..af62dc2 100644
--- a/dictation_client/src/translation/fr.json
+++ b/dictation_client/src/translation/fr.json
@@ -64,7 +64,7 @@
"countryExplanation": "Sélectionnez le pays où vous vous trouvez. Si votre pays ne figure pas dans la liste, veuillez sélectionner le pays le plus proche.",
"dealerExplanation": "Veuillez sélectionner le revendeur auprès duquel vous souhaitez acheter la licence.",
"adminInfoTitle": "Enregistrer les informations de l'administrateur principal",
- "passwordTerms": "Veuillez définir un mot de passe. Le mot de passe doit être composé de 8 à 25 caractères et doit contenir des lettres, des chiffres et des symboles. (Devrait lister les symboles compatibles et indiquer si une majuscule est nécessaire)."
+ "passwordTerms": "Veuillez définir un mot de passe. Le mot de passe doit être composé de 8 à 64 caractères et doit contenir des lettres, des chiffres et des symboles."
},
"label": {
"company": "Nom de l'entreprise",
@@ -135,7 +135,12 @@
"typistUserDeletionTranscriptionTaskError": "(fr)ユーザーの削除に失敗しました。Dictation画面でタスクのルーティングから対象Transcriptionistを外してください。",
"authorUserDeletionTranscriptionTaskError": "(fr)ユーザーの削除に失敗しました。Dictation画面で対象AuthorのAuthorIDが設定されているタスクの中で、文字起こしが未完了のタスクを削除またはFinishedにしてください。",
"typistUserDeletionTranscriptionistGroupError": "(fr)ユーザーの削除に失敗しました。Workflow画面でTranscriptionistGroupから対象Transcriptionistを外してください。",
- "authorDeletionRoutingRuleError": "(fr)ユーザーの削除に失敗しました。Workflow画面でルーティングルールから対象AuthorのAuthorIDを外してください。"
+ "authorDeletionRoutingRuleError": "(fr)ユーザーの削除に失敗しました。Workflow画面でルーティングルールから対象AuthorのAuthorIDを外してください。",
+ "importSuccess": "(fr)ユーザー一括追加を受け付けました。登録処理が完了次第メールが届きますのでご確認ください。",
+ "duplicateEmailError": "(fr)以下の行のメールアドレスがCSV中で重複しています。",
+ "duplicateAuthorIdError": "(fr)以下の行のAuthorIDがCSV中で重複しています。",
+ "overMaxUserError": "(fr)一度に追加できるユーザーは100件までです。",
+ "invalidInputError": "(fr)以下の行のユーザー情報が入力ルールに準拠していません。"
},
"label": {
"title": "Utilisateur",
@@ -168,7 +173,33 @@
"deleteUser": "Supprimer l'utilisateur",
"none": "Aucun",
"encryptionPassword": "Mot de passe",
- "encryptionPasswordTerm": "Veuillez définir votre mot de passe en utilisant 4 à 16 caractères alphanumériques et symboles."
+ "encryptionPasswordTerm": "Veuillez définir votre mot de passe en utilisant 4 à 16 caractères alphanumériques et symboles.",
+ "bulkImport": "(fr)Bulk import",
+ "downloadCsv": "(fr)Download CSV",
+ "importCsv": "(fr)Import CSV",
+ "inputRules": "(fr)Input rules",
+ "nameLabel": "(fr)Name",
+ "emailAddressLabel": "(fr)Email Address",
+ "roleLabel": "(fr)Role",
+ "authorIdLabel": "(fr)Author ID",
+ "autoRenewLabel": "(fr)Auto Renew",
+ "notificationLabel": "(fr)Notification",
+ "encryptionLabel": "(fr)Encryption",
+ "encryptionPasswordLabel": "(fr)Encryption Password",
+ "promptLabel": "(fr)Prompt",
+ "addUsers": "(fr)Add users"
+ },
+ "text": {
+ "downloadExplain": "(fr)Download the csv format and enter it according to the rules below.",
+ "nameRule": "(fr)Maximum 225 characters",
+ "emailAddressRule": "(fr)Maximum 225 characters\nCannot use an email address that is already in use.",
+ "roleRule": "(fr)None : 0\nAuthor : 1\nTranscriptionist : 2",
+ "authorIdRule": "(fr)Required only when Role=Author(1)\nMaximum 16 characters\nOnly uppercase alphanumeric characters and \"_\" can be entered.\nCannot use an Author ID that is already in use.",
+ "autoRenewRule": "(fr)0 or 1",
+ "notificationRule": "(fr)0 or 1",
+ "encryptionRule": "(fr)Required only when Role=Author(1)\n0 or 1",
+ "encryptionPasswordRule": "(fr)Required only when Role=Author(1) and Encryption=ON(1)\nOnly 4 to 16 letters, numbers, and symbols can be entered.",
+ "promptRule": "(fr)Required only when Role=Author(1)\n0 or 1"
}
},
"LicenseSummaryPage": {
@@ -188,7 +219,11 @@
"usedSize": "Stockage utilisé",
"storageAvailable": "Stockage indisponible (montant dépassée)",
"licenseLabel": "Licence",
- "storageLabel": "Stockage"
+ "storageLabel": "Stockage",
+ "storageUnavailableCheckbox": "(fr)Storage Unavailable"
+ },
+ "message": {
+ "storageUnavalableSwitchingConfirm": "(fr)対象アカウントのストレージ使用制限状態を変更します。よろしいですか?"
}
},
"licenseOrderPage": {
@@ -198,7 +233,7 @@
"newOrderIncorrectError": "Veuillez saisir un nombre supérieur ou égal à 1 pour la nouvelle commande.",
"confirmOrder": "Voulez-vous passer commande?",
"poNumberConflictError": "Le numéro de bon de commande saisi existe déjà. Veuillez saisir un autre numéro de bon de commande.",
- "dealerNotFoundError": "(fr)ディーラーが設定されていないため、ライセンスを注文できません。アカウント画面でディーラーを指定してください。"
+ "dealerNotFoundError": "Pour commander une licence, vous devez identifier le revendeur où vous souhaitez l'acheter. Connectez-vous à ODMS Cloud et configurez « Revendeur » dans l'onglet « Compte »."
},
"label": {
"title": "Commander licence",
@@ -216,7 +251,9 @@
"taskNotEditable": "Le transcripteur ne peut pas être changé car la transcription est déjà en cours ou le fichier n'existe pas. Veuillez actualiser l'écran et vérifier le dernier statut.",
"backupFailedError": "Le processus de « Sauvegarde de fichier » a échoué. Veuillez réessayer plus tard. Si l'erreur persiste, contactez votre administrateur système.",
"cancelFailedError": "Échec de la suppression des dictées. Veuillez actualiser votre écran et réessayer.",
- "deleteFailedError": "(fr)タスクの削除に失敗しました。画面を更新し、再度ご確認ください。"
+ "deleteFailedError": "(fr)タスクの削除に失敗しました。画面を更新し、再度ご確認ください。",
+ "licenseNotAssignedError": "La transcription n'est pas possible car aucune licence valide n'a été attribuée.Veuillez demander à votre administrateur d'attribuer une licence valide.",
+ "licenseExpiredError": "La transcription n'est pas possible car votre licence est expirée. Veuillez demander à votre administrateur de vous attribuer une licence valide."
},
"label": {
"title": "Dictées",
@@ -258,7 +295,7 @@
"changeTranscriptionist": "Changer de transcriptionniste ",
"deleteDictation": "Supprimer la dictée",
"selectedTranscriptionist": "Transcriptionniste sélectionné",
- "poolTranscriptionist": "Liste des transcripteurs",
+ "poolTranscriptionist": "Liste de transcriptionniste",
"fileBackup": "Sauvegarde de fichiers",
"downloadForBackup": "Télécharger pour sauvegarde",
"applications": "Application de bureau",
@@ -425,7 +462,7 @@
"message": {
"selectedTypistEmptyError": "Un ou plusieurs transcripteurs doivent être sélectionnés pour enregistrer un groupe de transcription.",
"groupSaveFailedError": "Le groupe de transcriptionniste n'a pas pu être enregistré. Les informations affichées peuvent être obsolètes, veuillez donc actualiser l'écran pour voir le dernier statut.",
- "GroupNameAlreadyExistError": "(fr)このTranscriptionistGroup名は既に登録されています。他のTranscriptionistGroup名で登録してください。",
+ "GroupNameAlreadyExistError": "Ce nom de groupe transcripteur est déjà enregistré. Veuillez vous inscrire avec un autre nom de groupe transcripteur.",
"deleteFailedWorkflowAssigned": "(fr)TranscriptionistGroupの削除に失敗しました。Workflow画面でルーティングルールから対象TranscriptionistGroupを外してください。",
"deleteFailedCheckoutPermissionExisted": "(fr)TranscriptionistGroupの削除に失敗しました。Dictation画面でタスクのルーティングから対象TranscriptionistGroupを外してください。"
}
@@ -560,10 +597,7 @@
"label": {
"title": "Support",
"howToUse": "Comment utiliser le système",
- "supportPageEnglish": "OMDS Cloud User Guide",
- "supportPageGerman": "OMDS Cloud-Benutzerhandbuch",
- "supportPageFrench": "Guía del usuario de la nube OMDS",
- "supportPageSpanish": "Guide de l'utilisateur du cloud OMDS"
+ "supportPageLink": "Guide de l'utilisateur du cloud OMDS"
},
"text": {
"notResolved": "Veuillez vous référer au Guide de l'utilisateur pour plus d'informations sur les fonctionnalités d'ODMS Cloud. Si vous avez besoin d'une assistance supplémentaire, veuillez contacter votre administrateur ou votre revendeur certifié ODMS Cloud."
diff --git a/dictation_function/src/sendgrid/mailContents/U103ShortageAlert.ts b/dictation_function/src/sendgrid/mailContents/U103ShortageAlert.ts
index 4f3b30e..06dae63 100644
--- a/dictation_function/src/sendgrid/mailContents/U103ShortageAlert.ts
+++ b/dictation_function/src/sendgrid/mailContents/U103ShortageAlert.ts
@@ -100,11 +100,11 @@ This is an automatically generated e-mail and this mailbox is not monitored. Ple
Sehr geehrte(r) ${companyName}, Eine oder mehrere Ihrer zugewiesenen ODMS Cloud-Lizenzen laufen innerhalb von 14 Tagen ab. In Ihrem Bestand ist nicht genügend Anzahl nicht zugewiesener Lizenzen Inventar, um diese an Benutzer mit ablaufenden Lizenzen auszugeben. Eine oder mehrere Ihrer zugewiesenen ODMS Cloud-Lizenzen laufen innerhalb von 14 Tagen ab. In Ihrem Bestand sind nicht ausreichend viele Lizenzen, um diese an Benutzer mit ablaufenden Lizenzen auszugeben. Unzureichende Lizenzanzahl: ${shortage} Bitte bestellen Sie zusätzliche Jahreslizenzen bei Ihrem ${dealer} um sicherzustellen, dass Sie über ausreichend Lagerbestände Inventar. Bitte bestellen Sie zusätzliche Jahreslizenzen bei Ihrem ${dealer} um sicherzustellen, dass Sie über eine ausreichende Anzahl an Lizenzen verfügen. Sie können Benutzern entweder automatisch oder manuell Lizenzen zuweisen. Benutzern mit aktivierter Option „Automatische Zuweisung“ (Standard) wird die Lizenz am Ablaufdatum automatisch aus Ihrem Lizenzbestand zugewiesen. Wenn Sie die Option „Automatisch zuweisen“ deaktivieren, müssen Sie Lizenzen manuell zuweisen. Wenn Sie Unterstützung bezüglich ODMS benötigen, wenden Sie sich bitte an ${dealer}. Wenn Sie diese E-Mail fälschlicherweise erhalten haben, löschen Sie diese E-Mail bitte aus Ihrem System. Wenn Sie diese E-Mail irrtümlich erhalten haben, löschen Sie diese E-Mail bitte aus Ihrem System. Wenn Sie Unterstützung bezüglich ODMS benötigen, wenden Sie sich bitte an ${dealer}. Wenn Sie diese E-Mail fälschlicherweise erhalten haben, löschen Sie diese E-Mail bitte aus Ihrem System. Wenn Sie diese E-Mail irrtümlich erhalten haben, löschen Sie diese E-Mail bitte aus Ihrem System.
- Wir haben Ihrem Konto [100] Testlizenzen gewährt, die 30 Tage gültig
+ Wir haben Ihrem Konto [100] Testlizenzen hinzugefügt, die 30 Tage gültig
sind. Während der Testversion können Sie alle Funktionen von ODMS Cloud
ausprobieren.
= (
setIsPushCreateButton(false);
if (meta.requestStatus === "fulfilled") {
+ dispatch(getMyAccountAsync());
+ dispatch(clearHierarchicalElement());
closePopup();
}
}, [
diff --git a/dictation_client/src/pages/LicensePage/licenseOrderPopup.tsx b/dictation_client/src/pages/LicensePage/licenseOrderPopup.tsx
index 8d46a79..a6dc34b 100644
--- a/dictation_client/src/pages/LicensePage/licenseOrderPopup.tsx
+++ b/dictation_client/src/pages/LicensePage/licenseOrderPopup.tsx
@@ -14,6 +14,10 @@ import {
cleanupApps,
selectIsLoading,
} from "features/license/licenseOrder";
+import {
+ clearHierarchicalElement,
+ getMyAccountAsync,
+} from "features/license/partnerLicense";
import close from "../../assets/images/close.svg";
import progress_activit from "../../assets/images/progress_activit.svg";
@@ -90,6 +94,8 @@ export const LicenseOrderPopup: React.FC
-
<Deutsch>
-Dies ist eine automatisch generierte E-Mail und dieses Postfach wird nicht überwacht. Bitte nicht antworten.
+Dies ist eine automatisch generierte E-Mail und diese Mailbox wird nicht überwacht. Bitte antworten Sie nicht.<Français>
diff --git a/dictation_function/src/sendgrid/mailContents/U104ExpiringSoonAlert.ts b/dictation_function/src/sendgrid/mailContents/U104ExpiringSoonAlert.ts
index 71cd68a..a05b2ee 100644
--- a/dictation_function/src/sendgrid/mailContents/U104ExpiringSoonAlert.ts
+++ b/dictation_function/src/sendgrid/mailContents/U104ExpiringSoonAlert.ts
@@ -98,8 +98,8 @@ URL: https://odmscloud.omsystem.com/
-Dies ist eine automatisch generierte E-Mail und dieses Postfach wird nicht überwacht. Bitte nicht antworten.
+Dies ist eine automatisch generierte E-Mail und diese Mailbox wird nicht überwacht. Bitte antworten Sie nicht.<Français>
diff --git a/dictation_server/src/app.module.ts b/dictation_server/src/app.module.ts
index 667cde8..4022501 100644
--- a/dictation_server/src/app.module.ts
+++ b/dictation_server/src/app.module.ts
@@ -52,6 +52,7 @@ import { WorkflowsRepositoryModule } from './repositories/workflows/workflows.re
import { TermsModule } from './features/terms/terms.module';
import { RedisModule } from './gateways/redis/redis.module';
import * as redisStore from 'cache-manager-redis-store';
+import { CheckHeaderMiddleware } from './common/check-header.middleware';
@Module({
imports: [
ServeStaticModule.forRootAsync({
@@ -164,6 +165,13 @@ import * as redisStore from 'cache-manager-redis-store';
})
export class AppModule {
configure(consumer: MiddlewareConsumer) {
- consumer.apply(LoggerMiddleware).forRoutes('');
+ consumer
+ .apply(LoggerMiddleware)
+ .forRoutes('');
+ // stage=localの場合はmiddlewareを適用しない
+ // ローカル環境ではサーバーから静的ファイルも返すため、APIリクエスト以外のリクエストにもmiddlewareが適用されてしまう
+ if (process.env.STAGE !== 'local') {
+ consumer.apply(CheckHeaderMiddleware).forRoutes('');
+ }
}
}
diff --git a/dictation_server/src/common/check-header.middleware.ts b/dictation_server/src/common/check-header.middleware.ts
new file mode 100644
index 0000000..359b2e0
--- /dev/null
+++ b/dictation_server/src/common/check-header.middleware.ts
@@ -0,0 +1,32 @@
+import {
+ HttpException,
+ Injectable,
+ Logger,
+ NestMiddleware,
+} from '@nestjs/common';
+import { Request, Response, NextFunction } from 'express';
+
+/**
+ * CheckHeaderMiddleware
+ * リクエストヘッダのチェックを行うミドルウェア
+ *
+ * ローカル環境ではヘッダチェックを行わない
+ */
+@Injectable()
+export class CheckHeaderMiddleware implements NestMiddleware {
+ private readonly logger = new Logger(CheckHeaderMiddleware.name);
+ use(req: Request, res: Response, next: NextFunction): void {
+ // /healthcheckはheaderチェックを行わない
+ if (req.url === '/health') {
+ next();
+ return;
+ }
+
+ if (req.headers['x-requested-with'] === 'XMLHttpRequest') {
+ next();
+ } else {
+ this.logger.error('header check failed');
+ throw new HttpException('header check failed', 400);
+ }
+ }
+}
diff --git a/dictation_server/src/common/password/password.ts b/dictation_server/src/common/password/password.ts
index f68bb3c..72950b8 100644
--- a/dictation_server/src/common/password/password.ts
+++ b/dictation_server/src/common/password/password.ts
@@ -15,9 +15,12 @@ export const makePassword = (): string => {
// autoGeneratedPasswordが以上の条件を満たせばvalidがtrueになる
let valid = false;
- let autoGeneratedPassword: string = '';
+ let autoGeneratedPassword = '';
while (!valid) {
+ // 再生成用に変数を初期化する
+ autoGeneratedPassword = '';
+
// パスワードをランダムに決定
while (autoGeneratedPassword.length < passLength) {
// 上で決定したcharsの中からランダムに1文字ずつ追加
diff --git a/dictation_server/src/features/tasks/tasks.service.spec.ts b/dictation_server/src/features/tasks/tasks.service.spec.ts
index 1531077..97f4ee2 100644
--- a/dictation_server/src/features/tasks/tasks.service.spec.ts
+++ b/dictation_server/src/features/tasks/tasks.service.spec.ts
@@ -946,6 +946,72 @@ describe('TasksService', () => {
expect(task.jobNumber).toEqual('00000001');
}
});
+ it('[Admin] Taskが100件であっても取得できる', async () => {
+ const notificationhubServiceMockValue =
+ makeDefaultNotificationhubServiceMockValue();
+ if (!source) fail();
+ const module = await makeTaskTestingModuleWithNotificaiton(
+ source,
+ notificationhubServiceMockValue,
+ );
+ if (!module) fail();
+ const { id: accountId } = await makeTestSimpleAccount(source);
+ const { external_id } = await makeTestUser(source, {
+ account_id: accountId,
+ external_id: 'userId',
+ role: 'none',
+ });
+ const { id: authorUserId, author_id } = await makeTestUser(source, {
+ account_id: accountId,
+ external_id: 'userId',
+ author_id: 'MY_AUTHOR_ID',
+ role: 'author',
+ });
+
+ const service = module.get
- Wenn Sie diese E-Mail fälschlicherweise erhalten haben, löschen Sie
- diese E-Mail bitte aus Ihrem System.
- Dies ist eine automatisch generierte E-Mail und dieses Postfach wird
- nicht überwacht. Bitte nicht antworten.
+ Wenn Sie diese E-Mail irrtümlich erhalten haben, löschen Sie diese
+ E-Mail bitte aus Ihrem System.
+ Dies ist eine automatisch generierte
+ E-Mail und diese Mailbox wird nicht überwacht. Bitte antworten Sie
+ nicht.
URL: $VERIFY_LINK$
- Wenn Sie diese E-Mail fälschlicherweise erhalten haben, löschen Sie
- diese E-Mail bitte aus Ihrem System.
- Dies ist eine automatisch generierte E-Mail und dieses Postfach wird
- nicht überwacht. Bitte nicht antworten.
+ Wenn Sie diese E-Mail irrtümlich erhalten haben, löschen Sie diese
+ E-Mail bitte aus Ihrem System.
+ Dies ist eine automatisch generierte
+ E-Mail und diese Mailbox wird nicht überwacht. Bitte antworten Sie
+ nicht.
Sehr geehrte(r) $CUSTOMER_NAME$,
- Wir haben Ihre gewünschte Lizenzbestellung erhalten.
+ wir habenn Ihre Lizenzbestellung erhalten.
- Anzahl der bestellten Lizenzen: $LICENSE_QUANTITY$
- - Bestellnummer: $PO_NUMBER$
+ - PO-Nummer: $PO_NUMBER$
- Die Lizenzen werden von Ihrem $DEALER_NAME$ ausgestellt, den Sie in den Einstellungen ausgewählt haben. - Von Ihrem Händler ausgestellte Lizenzen werden in Ihrem Lizenzbestand gespeichert. - Bitte melden Sie sich bei der ODMS Cloud an, um Lizenzen anzuzeigen und Ihren Benutzern zuzuweisen. + Die Lizenzen werden von $DEALER_NAME$ ausgestellt, die Sie in den + Einstellungen ausgewählt haben. Die von Ihrem Händler ausgestellten + Lizenzen werden in Ihrem Lizenzbestand gespeichert. Bitte loggen Sie + sich in die ODMS Cloud ein, um die Lizenzen einzusehen und sie Ihren + Nutzern zuzuordnen.
- Lizenzen sind ab dem Datum, an dem sie einem Benutzer zugewiesen wurden, 12 Monate lang gültig. + Die Lizenzen sind ab dem Datum, an dem sie einem Benutzer zugewiesen wurden, 12 Monate lang gültig.
- Wenn Sie Unterstützung bezüglich ODMS Cloud benötigen, wenden Sie sich bitte an $DEALER_NAME$. + Wenn Sie Unterstützung bezüglich ODMS Cloud benötigen, wenden Sie sich + bitte an $DEALER_NAME$.
- Wenn Sie diese E-Mail fälschlicherweise erhalten haben, löschen Sie diese E-Mail bitte aus Ihrem System.
- Dies ist eine automatisch generierte E-Mail und dieses Postfach wird nicht überwacht. Bitte nicht antworten.
+ Wenn Sie diese E-Mail irrtümlich erhalten haben, löschen Sie diese
+ E-Mail bitte aus Ihrem System.
+ Dies ist eine automatisch generierte E-Mail und diese Mailbox wird nicht
+ überwacht. Bitte antworten Sie nicht.
Wir haben die Stornierung Ihrer letzten Lizenzbestellung erhalten.
- Anzahl der gekündigten Lizenzen: $LICENSE_QUANTITY$
- - Bestellnummer: $PO_NUMBER$
+ - PO-Nummer: $PO_NUMBER$
Wenn Sie Unterstützung bezüglich ODMS Cloud benötigen, wenden Sie sich bitte an $DEALER_NAME$.
- Wenn Sie diese E-Mail fälschlicherweise erhalten haben, löschen Sie
- diese E-Mail bitte aus Ihrem System.
- Dies ist eine automatisch generierte E-Mail und dieses Postfach wird
- nicht überwacht. Bitte nicht antworten.
+ Wenn Sie diese E-Mail irrtümlich erhalten haben, löschen Sie diese
+ E-Mail bitte aus Ihrem System.
+ Dies ist eine automatisch generierte
+ E-Mail und diese Mailbox wird nicht überwacht. Bitte antworten Sie
+ nicht.
Die von Ihnen bestellten ODMS Cloud-Lizenzen wurden ausgestellt.
- Anzahl der ausgestellten Lizenzen: $LICENSE_QUANTITY$
- - Bestellnummer: $PO_NUMBER$
+ - PO-Nummer: $PO_NUMBER$
Um ODMS Cloud nutzen zu können, müssen Sie Ihre Benutzer im System @@ -46,10 +46,11 @@ bitte an $DEALER_NAME$.
- Wenn Sie diese E-Mail fälschlicherweise erhalten haben, löschen Sie
- diese E-Mail bitte aus Ihrem System.
- Dies ist eine automatisch generierte E-Mail und dieses Postfach wird
- nicht überwacht. Bitte nicht antworten.
+ Wenn Sie diese E-Mail irrtümlich erhalten haben, löschen Sie diese
+ E-Mail bitte aus Ihrem System.
+ Dies ist eine automatisch generierte
+ E-Mail und diese Mailbox wird nicht überwacht. Bitte antworten Sie
+ nicht.
- Wenn Sie diese E-Mail fälschlicherweise erhalten haben, löschen Sie
- diese E-Mail bitte aus Ihrem System.
- Dies ist eine automatisch generierte E-Mail und dieses Postfach wird
- nicht überwacht. Bitte nicht antworten.
+ Wenn Sie diese E-Mail irrtümlich erhalten haben, löschen Sie diese
+ E-Mail bitte aus Ihrem System.
+ Dies ist eine automatisch generierte
+ E-Mail und diese Mailbox wird nicht überwacht. Bitte antworten Sie
+ nicht.
- Wenn Sie diese E-Mail fälschlicherweise erhalten haben, löschen Sie
- diese E-Mail bitte aus Ihrem System.
- Dies ist eine automatisch generierte E-Mail und dieses Postfach wird
- nicht überwacht. Bitte nicht antworten.
+ Wenn Sie diese E-Mail irrtümlich erhalten haben, löschen Sie diese
+ E-Mail bitte aus Ihrem System.
+ Dies ist eine automatisch generierte
+ E-Mail und diese Mailbox wird nicht überwacht. Bitte antworten Sie
+ nicht.
Dear $DEALER_NAME$,
-
- Please be informed that the licenses issued with the following contents has been returned from your customer and placed back into your License inventory.
- - Company Name: $CUSTOMER_NAME$
- - Number of canceled licenses: $LICENSE_QUANTITY$
- - PO Number: $PO_NUMBER$
-
- If you have received this e-mail in error, please delete this e-mail from your system.
- This is an automatically generated e-mail and this mailbox is not monitored. Please do not reply.
-
Sehr geehrte(r) $DEALER_NAME$,
-
- Bitte beachten Sie, dass die ausgestellten Lizenzen mit den folgenden Inhalten von Ihrem Kunden zurückgegeben und wieder in Ihren Lizenzbestand aufgenommen wurden.
- - Name der Firma: $CUSTOMER_NAME$
- - Anzahl der gekündigten Lizenzen: $LICENSE_QUANTITY$
- - Bestellnummer: $PO_NUMBER$
-
- Wenn Sie diese E-Mail fälschlicherweise erhalten haben, löschen Sie diese E-Mail bitte aus Ihrem System.
- Dies ist eine automatisch generierte E-Mail und dieses Postfach wird nicht überwacht. Bitte nicht antworten.
-
Chère/Cher $DEALER_NAME$,
-
- Veuillez noter que les licences émises avec le contenu suivant ont été retournées par votre client et replacées dans votre inventaire de licences.
- - Nom de l'entreprise: $CUSTOMER_NAME$
- - Nombre de licences annulées: $LICENSE_QUANTITY$
- - Numéro de bon de commande $PO_NUMBER$
-
- Si vous avez reçu cet e-mail par erreur, veuillez supprimer cet e-mail de votre système.
- Il s'agit d'un e-mail généré automatiquement et cette boîte aux lettres n'est pas surveillée. Merci de ne pas répondre.
-
Dear $DEALER_NAME$,
+
+ Please be informed that the licenses issued with the following contents
+ has been returned from your customer and placed back into your License
+ inventory.
+ - Company Name: $CUSTOMER_NAME$
+ - Number of canceled licenses: $LICENSE_QUANTITY$
+ - PO Number: $PO_NUMBER$
+
+ If you have received this e-mail in error, please delete this e-mail
+ from your system.
+ This is an automatically generated e-mail and this mailbox is not
+ monitored. Please do not reply.
+
Sehr geehrte(r) $DEALER_NAME$,
+
+ Bitte beachten Sie, dass die ausgestellten Lizenzen mit den folgenden
+ Inhalten von Ihrem Kunden zurückgegeben und wieder in Ihren
+ Lizenzbestand aufgenommen wurden.
+ - Name der Firma: $CUSTOMER_NAME$
+ - Anzahl der gekündigten Lizenzen: $LICENSE_QUANTITY$
+ - PO-Nummer: $PO_NUMBER$
+
+ Wenn Sie diese E-Mail irrtümlich erhalten haben, löschen Sie diese
+ E-Mail bitte aus Ihrem System.
+ Dies ist eine automatisch generierte E-Mail und diese Mailbox wird nicht
+ überwacht. Bitte antworten Sie nicht.
+
Chère/Cher $DEALER_NAME$,
+
+ Veuillez noter que les licences émises avec le contenu suivant ont été
+ retournées par votre client et replacées dans votre inventaire de
+ licences.
+ - Nom de l'entreprise: $CUSTOMER_NAME$
+ - Nombre de licences annulées: $LICENSE_QUANTITY$
+ - Numéro de bon de commande $PO_NUMBER$
+
+ Si vous avez reçu cet e-mail par erreur, veuillez supprimer cet e-mail
+ de votre système.
+ Il s'agit d'un e-mail généré automatiquement et cette boîte aux lettres
+ n'est pas surveillée. Merci de ne pas répondre.
+