From 25e032da7a774eaf7ff26ac73a996ec9d2d62523 Mon Sep 17 00:00:00 2001 From: Alexandre Caurrinhos Date: Tue, 24 Oct 2023 17:21:43 -0300 Subject: [PATCH] Version 4.16.7 --- package-lock.json | 2 +- package.json | 2 +- src/app/shared/capture-camera.component.ts | 2 +- src/i18n/i18n.nl.json | 6 +++++- src/openapi/cyclos-openapi.yaml | 12 +++++++++--- 5 files changed, 17 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index e04706eb..cf12ea84 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "cyclos4-ui", - "version": "4.16.6", + "version": "4.16.7", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 6afd9ada..25493d1a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Cyclos 4 UI", "description": "The new Cyclos 4 frontend", "icon": "cyclos.png", - "version": "4.16.6", + "version": "4.16.7", "license": "MIT", "author": { "name": "Cyclos development team", diff --git a/src/app/shared/capture-camera.component.ts b/src/app/shared/capture-camera.component.ts index e3c9f860..76b616b2 100644 --- a/src/app/shared/capture-camera.component.ts +++ b/src/app/shared/capture-camera.component.ts @@ -63,7 +63,7 @@ export class CaptureCameraComponent implements AfterViewChecked { if (error.mediaStreamError) { if (error.mediaStreamError.name === 'NotAllowedError') { this.errorHandler(this.i18n.field.camera.noPermission); - } else if (error.mediaStreamError.name === 'NotAllowedError') { + } else if (error.mediaStreamError.name === 'NotFoundError') { this.errorHandler(this.i18n.field.camera.noCameras); } } diff --git a/src/i18n/i18n.nl.json b/src/i18n/i18n.nl.json index f60dafbc..df084903 100644 --- a/src/i18n/i18n.nl.json +++ b/src/i18n/i18n.nl.json @@ -506,7 +506,9 @@ "fail": "{text} ✗", "preface": "Het wachtwoord moet bevatten:", "fixedLength": "Precies {length} tekens", + "fixedLengthNumbers": "Precies {length} tekens", "minLength": "Ten minste {count} tekens", + "minLengthNumbers": "Ten minste {count} tekens", "lowerCaseLetters": "Minstens 1 kleine letter", "upperCaseLetters": "Minstens 1 hoofdletter", "numbers": "Minstens 1 cijfer", @@ -1887,8 +1889,10 @@ "endDate": "Gepubliceerde einddatum", "error": { "cannotBuyFromSeller": "Op het moment, is het niet toegestaan om producten te kopen van deze gebruiker. Neem contact op met de administratie", + "cannotProceedToCheckout": "U kunt niet doorgaan met afrekenen omdat sommige items niet beschikbaar zijn", "notEnoughStock": "De gevraagde hoeveelheid kan niet worden geleverd, omdat het artikel bijna niet meer op voorraad is.", - "noAvailableAccounts": "De advertentie kan niet worden opgeslagen omdat er geen rekeningen beschikbaar zijn en de prijs niet kan worden ingesteld.\nNeem contact op met de administratie" + "noAvailableAccounts": "De advertentie kan niet worden opgeslagen omdat er geen rekeningen beschikbaar zijn en de prijs niet kan worden ingesteld.\nNeem contact op met de administratie", + "insufficientBalance": "Onvoldoende saldo om door te gaan met de bevestiging van het afrekenen." }, "deliveryAddress": "Afleveradres", "deliveryInformation": "Leveringsdetails", diff --git a/src/openapi/cyclos-openapi.yaml b/src/openapi/cyclos-openapi.yaml index f7fe11c6..66de0fd0 100644 --- a/src/openapi/cyclos-openapi.yaml +++ b/src/openapi/cyclos-openapi.yaml @@ -68,9 +68,9 @@ info: For details of the deprecated elements (operations and model) please visit the [deprecation notes - page](https://documentation.cyclos.org/4.16.6/api-deprecation.html) + page](https://documentation.cyclos.org/4.16.7/api-deprecation.html) for this version. - version: '4.16.6' + version: '4.16.7' servers: - url: 'http://root/api' @@ -54542,7 +54542,7 @@ components: - `failed`: The code was wrong (it doesn't match the expected value) - - `maxAttemptsReached`: The max attempts with an invalid code was reached. + - `maxAttemptsReached`: The max attempts with an invalid code was reached. A new code must be sent to the user to restart the verification process. - `success`: The code was correct and accepted. type: string @@ -58582,12 +58582,16 @@ components: - `insufficientBalanceForInitialCredit`: A user account's initial credit couldn't be granted because the source account lacked funds + - `maxClientActivationAttemptsReached`: A user has reached the maximum number of attempts to activate a client + - `maxDeviceActivationAttemptsReached`: A user has reached the maximum number of attempts to activate a device by code - `maxDeviceConfirmationCheckAttemptsReached`: A user has reached the maximum number of attempts to check for a processed device confirmation - `maxTokenActivationAttemptsReached`: A user has reached the maximum number of attempts to activate a token + - `maxTotpActivationAttemptsReached`: A user has reached the maximum number of attempts to activate an authenticator app (TOTP) + - `maxTotpAttemptsReached`: A user has reached the maximum number of attempts to enter a secret generated by an authenticator app (TOTP) - `maxUserLocalizationAttemptsReached`: A user has reached the maximum number of attempts to find other users @@ -58609,9 +58613,11 @@ components: - givenVeryBadRefs - inconsistentBalanceBelowLimit - insufficientBalanceForInitialCredit + - maxClientActivationAttemptsReached - maxDeviceActivationAttemptsReached - maxDeviceConfirmationCheckAttemptsReached - maxTokenActivationAttemptsReached + - maxTotpActivationAttemptsReached - maxTotpAttemptsReached - maxUserLocalizationAttemptsReached - maxVoucherRedeemAttemptsReached