Skip to content

Commit

Permalink
pull changes from release v1.3.3 (#23)
Browse files Browse the repository at this point in the history
* Change the verbiage from sms to email in Send for approval section and in introduction page (#868)

* update the translations to use email instead of SMS

* update changelog

* update password copy to suggest a 12 character long passphrase (#867)

* chore: update translations for password change

* make the wording same as in the number validation

* add SSH_USER to deployment pipeline

* add provision user key to legacy authorized_keys file

* Farajaland certificates updated (#891)

* Farajaland certificates updated

* Remove outdated README

* Make occupation field usable for deceased (#888)

* Make occupation field usable for deceased

* Update CHANGELOG

* Farajaland form updates (#805)

* Add custom field in death form deceased section: Number of dependants

* Replace national id input with type of id select and id number input

* Uncomment spouse section in death form

* Feedback amends

* Make id field custom

* Informant section amends

* Fix typo

* Remove unused import

* Update death informant id fields conditionals to support nid integration

* Reason for delayed registration custom form field (#894)

* Custom field reason for late registration

* Add field for death

* Fix preceding field id for the marriage informant address (#906)

* add age of deceased handlebar & marriage international address fix (#895)

* add handlebar of age of deceased in death certificate

* update place of marriage info in certificate for international location

* update for ageOfDeceased handlebars in death form

* ocrvs-6517 Hide fields when informantType not selected (#899)

* ocrvs-6204 fix date of birth unknown checkbox conditional & update CHANGELOG (#898)

* Consider detailsExist conditional when age unknown

* Update CHANGELOG

* Add search id placeholder copy

* Fix death certificate birthdate field

* update certificates

---------

Co-authored-by: Riku Rouvila <[email protected]>
Co-authored-by: Euan Millar <[email protected]>
Co-authored-by: Tameem Bin Haider <[email protected]>
Co-authored-by: Tahmid Rahman <[email protected]>
Co-authored-by: Md. Ashikul Alam <[email protected]>
Co-authored-by: tahmidrahman-dsi <[email protected]>
Co-authored-by: Md. Ashikul Alam <[email protected]>
  • Loading branch information
8 people authored Feb 20, 2024
1 parent ff094cd commit b6fa6f3
Show file tree
Hide file tree
Showing 28 changed files with 1,001 additions and 670 deletions.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,20 @@ See [Releases](https://github.com/opencrvs/opencrvs-farajaland/releases) for rel

##### We will be deprecating the counterpart of the above mentioned handlebars that contains only the label of the specified location in a future version so we highly recommend that implementers update their certificates to use these new ones.

### Bug fixes
- #### "Spouse" section in Farajaland death form

Spouse section is an optional section in death form. Going forward it will be included in Farajaland example configuration.

- #### Type of ID dropdown
Farajaland forms will now include a dropdown to select the type of ID an individual is providing e.g. National ID, Driving License etc. instead of being restricted to only national ID number.
- #### Number of dependents of deceased field
As an example of custom field, the deceased section in death form will now include the **numberOfDependants** field.
- #### Reason for late registration field
The birth & death forms will include another custom field, **reasonForLateRegistration**, which makes use of "LATE_REGISTRATION_TARGET" configuration option in it's visibility conditional.

## Bug fixes

- Updated translations for form introduction page and sending for approval to reflect the default notification method being email.
- Remove hard-coded conditionals from "occupation" field to make it usable in the deceased form

See [Releases](https://github.com/opencrvs/opencrvs-farajaland/releases) for release notes of older releases.
2 changes: 1 addition & 1 deletion src/api/certificate-configuration/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function certificateConfigurationHandler(): Configuration {
fonts: {
['Noto Sans']: {
normal: `${COUNTRY_CONFIG_URL}/fonts/NotoSans-Regular.ttf`,
bold: `${COUNTRY_CONFIG_URL}/fonts/NotoSans-SemiBold.ttf`,
bold: `${COUNTRY_CONFIG_URL}/fonts/NotoSans-Bold.ttf`,
italics: `${COUNTRY_CONFIG_URL}/fonts/NotoSans-Regular.ttf`,
bolditalics: `${COUNTRY_CONFIG_URL}/fonts/NotoSans-Regular.ttf`
}
Expand Down
30 changes: 19 additions & 11 deletions src/api/content/client/client.json
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,7 @@
"fieldAgentHome.requireUpdatesCountLoading": "Checking your declarations",
"fieldAgentHome.sentForReviewCount": "Sent for review ({total})",
"fieldAgentHome.zeroUpdatesText": "No declarations require updates",
"form.customField.label.numberOfDependants": "No. of dependants",
"form.field.label.addFile": "Upload",
"form.field.showLabel": "Show",
"form.field.hideLabel": "Hide",
Expand Down Expand Up @@ -1252,11 +1253,11 @@
"form.section.information.name": "Information",
"form.section.information.birth.bullet1": "I am going to help you make a declaration of birth.",
"form.section.information.birth.bullet2": "As the legal Informant it is important that all the information provided by you is accurate.",
"form.section.information.birth.bullet3": "Once the declaration is processed you will receive you will receive an SMS to tell you when to visit the office to collect the certificate - Take your ID with you.",
"form.section.information.birth.bullet3": "Once the declaration is processed you will receive you will receive an email to tell you when to visit the office to collect the certificate - Take your ID with you.",
"form.section.information.birth.bullet4": "Make sure you collect the certificate. A birth certificate is critical for this child, especially to make their life easy later on. It will help to access health services, school examinations and government benefits.",
"form.section.information.death.bullet1": "I am going to help you make a declaration of death.",
"form.section.information.death.bullet2": "As the legal Informant it is important that all the information provided by you is accurate.",
"form.section.information.death.bullet3": "Once the declaration is processed you will receive you will receive an SMS to tell you when to visit the office to collect the certificate - Take your ID with you.",
"form.section.information.death.bullet3": "Once the declaration is processed you will receive you will receive an email to tell you when to visit the office to collect the certificate - Take your ID with you.",
"form.section.information.death.bullet4": "Make sure you collect the certificate. A death certificate is critical to support with inheritance claims and to resolve the affairs of the deceased e.g. closing bank accounts and setting loans.",
"form.section.declaration.title": "Declaration details",
"form.section.documents.birth.requirements": "The following documents are required",
Expand Down Expand Up @@ -1287,6 +1288,7 @@
"home.header.placeHolderBrnDrn": "Search for a BRN/DRN",
"home.header.placeholderName": "Search for a name",
"home.header.placeHolderPhone": "Search for a phone no.",
"home.header.placeHolderId": "Search for an ID",
"home.header.placeHolderNationalId": "Search for a national ID.",
"home.header.placeHolderTrackingId": "Search for a tracking ID",
"home.header.settingsTitle": "Settings",
Expand Down Expand Up @@ -1409,12 +1411,14 @@
"form.field.label.docTypeMarriageNotice": "Notice of marriage",
"form.field.label.proofOfGroomsID": "Proof of groom's identity",
"form.field.label.proofOfBridesID": "Proof of bride's identity",
"form.customField.label.reasonForLateRegistrationBirth": "Reason for delayed registration",
"form.customField.label.reasonForLateRegistrationDeath": "Reason for late registration",
"misc.createDescription": "Choose a PIN that doesn't have 4 repeating digits or sequential numbers",
"misc.createTitle": "Create a PIN",
"misc.description.Complete": "The informant will receive an SMS with a registration number that they can use to collect their certificate.",
"misc.description.Complete": "The informant will receive an email with a registration number that they can use to collect their certificate.",
"misc.description.inComplete": "Please add mandatory information before sending for approval.",
"misc.newPass.header": "Choose a new password",
"misc.newPass.instruction": "Create a unique password - one that you dont use for other websites or applications.",
"misc.newPass.instruction": "Create a unique password - one that you don't use for other websites or applications. A secure and easy to remember passphrase could include three random words, while avoiding the use of personal info.",
"misc.notif.declarationsSynced": "As you have connectivity, we can synchronize your declarations.",
"misc.notif.draftsSaved": "Your draft has been saved",
"misc.notif.outboxText": "Outbox ({num})",
Expand Down Expand Up @@ -1462,7 +1466,7 @@
"navigation.leaderboards": "Leaderboards",
"navigation.dashboard": "Dashboard",
"navigation.report": "Report",
"password.cases": "Contain upper and lower cases",
"password.cases": "At least one upper and lower case character",
"password.label.confirm": "Confirm password",
"password.label.current": "Current password",
"password.label.new": "New password",
Expand Down Expand Up @@ -2958,6 +2962,7 @@
"fieldAgentHome.requireUpdatesCountLoading": "Vérification de vos déclarations",
"fieldAgentHome.sentForReviewCount": "Envoyées pour révision ({total})",
"fieldAgentHome.zeroUpdatesText": "Aucune déclaration ne nécessite de mise à jour",
"form.customField.label.numberOfDependants": "Nombre de personnes à charge",
"form.field.showLabel": "Afficher",
"form.field.hideLabel": "Cacher",
"form.field.nidNotVerified": "Authentifier",
Expand Down Expand Up @@ -3325,6 +3330,8 @@
"form.field.select.placeholder": "Sélectionnez",
"form.field.tooltip.tooltipNationalID": "Il s'agit d'une info-bulle pour guider l'utilisateur dans la saisie de l'identifiant national.",
"form.field.dateRangepicker.checkbox.dateLabel": "{rangeStart} à {rangeEnd}",
"form.customField.label.reasonForLateRegistrationBirth": "Raison du retard d'inscription",
"form.customField.label.reasonForLateRegistrationDeath": "Raison de l'inscription tardive",
"form.group.reasonNotApplying.parents": "Pourquoi la mère et le père ne font-ils pas de demande ?",
"form.preview.group.label.english.name": "Nom anglais",
"form.preview.group.label.father.english.name": "Nom anglais du père",
Expand Down Expand Up @@ -3362,11 +3369,11 @@
"form.section.information.name": "Informations",
"form.section.information.birth.bullet1": "Je vais vous aider à faire une déclaration de naissance.",
"form.section.information.birth.bullet2": "En tant qu'informateur légal, il est important que toutes les informations que vous fournissez soient exactes.",
"form.section.information.birth.bullet3": "Une fois la déclaration traitée, vous recevrez un SMS vous indiquant quand vous rendre au bureau pour retirer le certificat - Munissez-vous d'une pièce d'identité.",
"form.section.information.birth.bullet3": "Une fois la déclaration traitée, vous recevrez un courriel vous indiquant quand vous rendre au bureau pour retirer le certificat - Munissez-vous d'une pièce d'identité.",
"form.section.information.birth.bullet4": "Veillez à récupérer le certificat. Un certificat de naissance est essentiel pour cet enfant, notamment pour lui faciliter la vie plus tard. Il l'aidera à accéder aux services de santé, aux examens scolaires et aux prestations de l'État.",
"form.section.information.death.bullet1": "Je vais vous aider à faire une déclaration de décès.",
"form.section.information.death.bullet2": "En tant qu'informateur légal, il est important que toutes les informations que vous fournissez soient exactes.",
"form.section.information.death.bullet3": "Une fois la déclaration traitée, vous recevrez un SMS vous indiquant quand vous rendre au bureau pour retirer le certificat - Munissez-vous d'une pièce d'identité.",
"form.section.information.death.bullet3": "Une fois la déclaration traitée, vous recevrez un courriel vous indiquant quand vous rendre au bureau pour retirer le certificat - Munissez-vous d'une pièce d'identité.",
"form.section.information.death.bullet4": "Veillez à récupérer le certificat. Le certificat de décès est essentiel pour les demandes d'héritage et pour régler les affaires de la personne décédée, par exemple la fermeture des comptes bancaires et la mise en place des prêts.",
"form.section.declaration.title": "Détails de la déclaration",
"form.section.documents.birth.requirements": "Les documents suivants sont requis",
Expand Down Expand Up @@ -3397,6 +3404,7 @@
"home.header.placeHolderBrnDrn": "Recherche d'un BRN/DRN",
"home.header.placeholderName": "Rechercher un nom",
"home.header.placeHolderPhone": "Recherche d'un numéro de téléphone",
"home.header.placeHolderId": "Recherche d'un ID",
"home.header.placeHolderNationalId": "Recherche d'une carte d'identité nationale",
"home.header.placeHolderTrackingId": "Recherche d'un ID de suivi",
"home.header.settingsTitle": "Paramètres",
Expand Down Expand Up @@ -3521,10 +3529,10 @@
"form.field.label.proofOfBridesID": "Preuve de l'identité de la mariée",
"misc.createDescription": "Choisissez un code PIN qui ne comporte pas 4 chiffres répétitifs ou des numéros séquentiels.",
"misc.createTitle": "Créer un code PIN",
"misc.description.Complete": "En envoyant pour approbation, vous confirmez que la déclaration est prête à être approuvée.",
"misc.description.Complete": "L'informateur recevra un courriel contenant un numéro d'enregistrement qu'il pourra utiliser pour retirer son certificat.",
"misc.description.inComplete": "Des informations obligatoires sont manquantes. Veuillez ajouter ces informations afin de pouvoir les envoyer pour approbation.",
"misc.newPass.header": "Choisissez un nouveau mot de passe",
"misc.newPass.instruction": "Nous vous recommandons de créer un mot de passe unique - un mot de passe que vous n'utilisez pas pour un autre site Web ou une autre application. Remarque. Vous ne pouvez pas réutiliser votre ancien mot de passe une fois que vous l'avez modifié.",
"misc.newPass.instruction": "Créez un mot de passe unique, que vous n'utilisez pas pour d'autres sites web ou applications. Une phrase de passe sûre et facile à retenir pourrait inclure trois mots aléatoires, tout en évitant d'utiliser des informations personnelles.",
"misc.notif.declarationsSynced": "Comme vous disposez d'une connectivité, nous pouvons synchroniser vos déclarations.",
"misc.notif.draftsSaved": "Votre brouillon a été enregistré",
"misc.notif.outboxText": "Boîte d'envoi({num})",
Expand Down Expand Up @@ -3572,7 +3580,7 @@
"navigation.leaderboards": "Classements",
"navigation.dashboard": "Tableau de bord",
"navigation.report": "Rapport",
"password.cases": "Contient des majuscules et des minuscules",
"password.cases": "Au moins un caractère majuscule et minuscule",
"password.label.confirm": "Confirmez le mot de passe",
"password.label.current": "Mot de passe actuel",
"password.label.new": "Nouveau mot de passe",
Expand Down Expand Up @@ -4229,4 +4237,4 @@
}
}
]
}
}
2 changes: 0 additions & 2 deletions src/api/content/client/descriptions.json
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,6 @@
"constants.issueToInformant": "Issuance of death to informant",
"constants.issueConfirmationMessage": "Confirmation of issuance",
"constants.idCheckWithoutVerify": "Issuance without the confirmation of proof",
"form.field.label.UNION": "Label for Union",
"form.field.label.DIVISION": "Label for Division",
"form.field.label.district": "Label for District",
"form.field.label.city": "Label for City",
"form.field.label.state": "Label for State",
Expand Down
4 changes: 2 additions & 2 deletions src/api/content/login/login.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
"resetCredentials.success.page.subtitle.phone": "{forgottenItem, select, username {Check your phone for a reminder of your username} password {You can now login with your new password} other {}}",
"resetCredentials.success.page.subtitle.email": "{forgottenItem, select, username {Check your email for a reminder of your username} password {You can now login with your new password} other {}}",
"misc.newPass.header": "Choose a new password",
"misc.newPass.instruction": "Create a unique password one that you don't use for another website or application",
"misc.newPass.instruction": "Create a unique password - one that you don't use for other websites or applications. A secure and easy to remember passphrase could include three random words, while avoiding the use of personal info.",
"password.label.confirm": "Confirm password",
"password.label.new": "New password",
"password.cases": "Contain upper and lower cases",
"password.cases": "At least one upper and lower case character",
"password.match": "Passwords match",
"password.minLength": "{min} characters minimum",
"password.mismatch": "Passwords do not match",
Expand Down
Binary file added src/api/fonts/NotoSans-Bold.ttf
Binary file not shown.
Loading

0 comments on commit b6fa6f3

Please sign in to comment.