OpenCRVS Country Configuration Template - v1.6.0
Breaking changes
-
Notification Flags The configuration of various notifications is now controlled from
countryconfig
instead of being handled in the UI, as notification settings are not something that should be changed on the fly. To simplify this process, we have moved the settings to theapplication-config.ts
file. From now on, the notifications can be managed in thenotificationForRecord
object defined in the mentioned file. Any changes will take effect after a new deployment.Country implementors must define the
notificationForRecord
object in theapplication-config.ts
file to enable the notifications they want. Not doing so will keep notifications disabled by default. -
Gateways searchEvents API updated
operationHistories
only returnsoperationType
&operatedOn
due to the other fields being unused in OpenCRVS -
Config changes to review/preview and signatures Core used to provide review/preview section by default which are now removed and need to be provided from countryconfig. The signature field definitions (e.g. informant signature, bride signature etc.) were hard coded in core which also have now been removed. The signatures can now be added through the review/preview sections defined in countryconfig just like any other field. You can use the following section definition as the default which is without any additional fields. We highly recommend checking out our reference country repository which has the signature fields in it's review/preview sections
{
id: 'preview',
viewType: 'preview',
name: {
defaultMessage: 'Preview',
description: 'Form section name for Preview',
id: 'register.form.section.preview.name'
},
title: {
defaultMessage: 'Preview',
description: 'Form section title for Preview',
id: 'register.form.section.preview.title'
},
groups: [
{
id: 'preview-view-group',
fields: []
}
]
}
- Remove
splitView
option from DOCUMENT_UPLOADER_WITH_OPTION field - New required sections preview & review added. Signature field definitions are now part of these two sections same as normal form fields.
- Remove
inputFieldWidth
from Number type form field - You can now configure the home screen application’s name and icons in your country configuration package as manifest.json and app icon files are moved from core to country config (check
src/client-static
folder) - Updated
allowedFileFormats
in signature fields to use MIME types (image/png
,image/jpg
,image/jpeg
,image/svg
) instead of simple file extensions. If you are already using theallowedFileFormats
field in your implementation, please ensure to update the format accordingly. - Remove unnecessary UI dividers that add in various sections of the declaration forms(e.g the Death, Birth and Marriage forms) #244
Bug fixes
- Protect individual certificate endpoint with token
- Kibana disk space alerts now work regardless of your disk device names. Alerts listen devices mounted both to
/
and/data
(encrypted data partition) - "Publish release" pipeline now correctly uses the "Branch to build from" value as the branch to be tagged. Previously it tried tagging "master". "Release tag" is also now used as the release version as is instead of it being read from
package.json
. - Environment creator script now requires countries to provide a Github token with no expiry date. This is to reduce effort in keeping the token up to date.
- Added the missing outputs for the clear environment workflow which was causing the seed data workflow to not run even if the reset option was checked when deploying
New features
- The select options in DOCUMENT_UPLOADER_WITH_OPTION field can now be hidden using the new
optionCondition
property. It works similarly to the same property available in SELECT_WITH_OPTIONS field
- ElasticSearch reindexing Allows reindexing ElasticSearch via a new search-service endpoint
reindex
. We're replacing the originalocrvs
index with timestamped ones. This is done automatically when upgrading and migrating, but this is an important architectural change that should be noted. More details in #7033.
-
Introduce a new certificate handlebar "preview" which can be used to conditionally render some svg element when previewing the certificate e.g. background image similar to security paper
-
Notification flags: Added notification flags for
BIRTH
,DEATH
, andMARRIAGE
events, including:sent-notification
sent-notification-for-review
sent-for-approval
registered
sent-for-updates
-
/record-notification
API: Endpoint to check enabled notifications for records. The API returns thenotificationForRecord
object forBIRTH
andDEATH
events, listing their respective flags. Route configuration includes description and tags for API documentation.
Bug fixes
- Github pipeline dedicated for reading secrets and variables from other environments now checks if GH_TOKEN is still valid before attempting other operations
- Remove unnecessary UI dividers that add in various sections of the declaration forms(e.g the Death, Birth and Marriage forms) #244
- Update template transformer for fields
informantType
andotherInformantType
that fixes the bug of unavailability of these template fields #5952
Localisation
New content keys requiring translation
search.placeholder,Placeholder text of search input,Name of query,Nom de la requête
Deleted keys
config.application.applicationNameChangeNotification,Message for application name change notification,Name of application updated,Nom de l'application mise à jour
config.application.applicationNameLabel,Application name config label,Name of application,Nom de l'application
config.application.backgroundImageChangeNotification,Message for background image change notification,Background image updated,Mise à jour de l'image de fond
config.application.backgroundImageError,Error message for background image change,Unable to change image. Please try again.,Impossible de modifier l'image. Veuillez réessayer.
config.application.backgroundImageFileLimitError,Error message for large Background file,Background image file must be less than 2mb,Le fichier de l'image d'arrière-plan doit être inférieur à 2 Mo
config.application.birthDelayedDialogTitle,Delayed dialog title for brith,Delayed registration time period for birth registration,Délai d'enregistrement retardé pour l'enregistrement des naissances
config.application.birthDelayedFeeChangeNotification,Message for application birth delayed fee change notification,Birth delayed fee updated,Mise à jour de la pénalité de déclaration tardive des naissances
config.application.birthLateFeeChangeNotification,Message for application birth late fee change notification,Birth late fee updated,Mise à jour de la pénalité de déclaration tardive des naissances
config.application.birthLateRegTargetChangeNotification,Message for application birth late registration target change notification,Birth late registration target days updated,Mise à jour des jours cibles d'enregistrement tardif des naissances
config.application.birthLegallySpecifiedDialogTitle,Legally specified dialog title for brith,Legally specified time period for birth registration,Délai légal pour déclaration des naissances
config.application.birthOnTimeFeeChangeNotification,Message for application birth on time fee change notification,Birth on time fee updated,Mise à jour des frais de naissance à temps
config.application.birthRegTargetChangeNotification,Message for application birth registration target change notification,Birth registration target days updated,Mise à jour des jours cibles pour l'enregistrement des naissances
config.application.colourTabText,The title for colour tab text,Hex code,Code hexadécimal
config.application.colourTabTitle,The title for colour tab,Colour,Couleur
config.application.configChangeError,Error message for application config change,Unable to make change. Please try again,Impossible d'effectuer la modification. Veuillez réessayer
config.application.currencyChangeMessage,Message for application currency change modal,Select your currency for your CRVS system,Selectionnez la devise
config.application.currencyChangeNotification,Message for application currency change notification,Currency updated,Devise mise à jour
config.application.currencyLabel,Currency config label,Currency,Devise
config.application.deathDelayedFeeChangeNotification,Message for application death delayed fee change notification,Death delayed fee updated,Mise à jour de la pénalité de retard déclaration du décès
config.application.deathLegallySpecifiedDialogTitle,Legally specified dialog title for death,Legally specified time period for death registration,Délais légal de déclaration du décès
config.application.deathOnTimeFeeChangeNotification,Message for application death on time fee change notification,Death on time fee updated,Mise à jour des frais de déclaration de décès dans le délais legal
config.application.deathRegTargetChangeNotification,Message for application death registration target change notification,Death registration target days updated,Mise à jour des jours cibles de déclaration des décès
config.application.delayedFeeDialogTitle,Delayed fee dialog title,Registration fees for delayed registrations,Frais pour les declarations tardives
config.application.delayedRegistrationLabel,Delayed registration config label,Delayed registration,Enregistrement retardé
config.application.delayedRegistrationValue,Delayed registration config value,After {lateTime} days,Après {lateTime} jours
config.application.eventTargetInputLabel,The label for event target label,days,jours
config.application.example,Label for Example,Example,Exemple
config.application.generalTabTitle,The title for general tab,General,Général
config.application.govermentLogoLabel,Government logo config label,Goverment logo,Logo du gouvernement
config.application.govtLogoChangeError,Error message for country logo change,Unable to change logo. Please try again.,Impossible de modifier le logo. Veuillez réessayer.
config.application.govtLogoChangeMessage,Message for government logo change modal,Upload a logo to be used on the login and declaration review screens,Téléchargez le logo du gouvernement qui sera utilisé sur le login et la décalcomanie du formulaire. Notez que le logo du certificat est téléchargé dans le cadre du modèle de certificat.
config.application.govtLogoChangeNotification,Message for government logo change notification,Government logo updated,Mise à jour du logo du gouvernement
config.application.govtLogoFileLimitError,Error message for large country logo file,Logo image file must be less than 2mb,Le fichier image du logo doit être inférieur à 2 Mo
config.application.imageTabTitle,The title for image tab,Image,Image
config.application.invalidExample,Label for Invalid example,Invalid,Invalide
config.application.lateFeeDialogTitle,Date fee dialog title,Registration fees for late registrations,Frais d'inscription pour les inscriptions tardives
config.application.lateRegistrationLabel,Late registration config label,Late registration,Déclaration tardive
config.application.lateRegistrationValue,Late registration config value,Between {onTime} days and {lateTime} days,Entre {onTime} jours et {lateTime} jours
config.application.legallySpecifiedLabel,Legally specified config label,Legally specified,Mention légale
config.application.legallySpecifiedValue,Legally specified config value,Within {onTime} days,Dans (ontime) jours
config.application.loginBackgroundLabel,Login Background config label,Login Background,Historique de la connexion
config.application.loginImageText,Login Image config label,Upload an image and set how you would like it to display in the background,Téléchargez une image et définissez comment vous souhaitez qu'elle s'affiche en arrière-plan.
config.application.marriageDelayedFeeChangeNotification,Message for application marriage delayed fee change notification,Marriage delayed fee updated,Mise à jour de la pénalité de retard déclaration du marriage
config.application.marriageLegallySpecifiedDialogTitle,Legally specified dialog title for marriage,Legally specified time period for marriage registration,Délais légal de déclaration du marriage
config.application.marriageOnTimeFeeChangeNotification,Message for application marriage on time fee change notification,Marriage on time fee updated,Mise à jour des frais de déclaration de marriage dans le délais legal
config.application.marriageRegTargetChangeNotification,Message for application marriage registration target change notification,Marriage registration target days updated,Mise à jour des jours cibles de déclaration des marriages
config.application.marriageTabTitle,The title for marriage tab,Marriage,Mariage
config.application.nameChangeMessage,Message for application name change modal,Choose a name for your CRVS system,Choisissez un nom pour votre système CRVS
config.application.nidPatternChangeError,Error message for invalid regular expression for NID number,Invalid regular expression for a National ID,Expression régulière invalide pour un identifiant national
config.application.nidPatternChangeMessage,Unique Identification Number (UIN) config message,Set the regex pattern for your national ID. For guidance please refer to www.regex101.com,Expression régulière invalide pour un identifiant national
config.application.nidPatternChangeNotification,Message for NID Pattern change modal,Unique Identification Number (UIN) regex pattern updated,Mise à jour du modèle regex pour le numéro d'identification unique (UIN)
config.application.nidPatternTitle,Unique Identification Number (UIN) config title,Unique Identification Number (UIN) e.g. National ID,"Numéro d'identification unique (UIN), par exemple la carte d'identité nationale."
config.application.onTimeFeeDialogTitle,On time fee dialog title,Registration fees within legally specified time,Droits d'inscription dans le délai légal
config.application.pattern,Label for Pattern,Pattern,Modèle
config.application.phoneNumberChangeError,Error message for invalid regular expression for phone number number,Invalid regular expression for a phone number,Expression régulière invalide pour un numéro de téléphone
config.application.phoneNumberChangeMessage,phone number config config message,Set the regex pattern for your country phone number. For guidance please refer to www.regex101.com,"Définissez le modèle regex pour le numéro de téléphone de votre pays. Pour obtenir des conseils, veuillez consulter le site www.regex101.com"
config.application.phoneNumberChangeNotification,Message for phone number Pattern change modal,Phone regex pattern updated,Mise à jour du modèle de regex téléphonique
config.application.phoneNumberExampleLabel,,example: {example},exemple: {example}
config.application.phoneNumberLabel,Phone number config label,Phone number,Numéro de téléphone
config.application.phoneNumberPatternLabel,,pattern: {pattern},motif: {pattern}
config.application.phoneNumberPatternTitle,Phone number config title,Phone number regex,Regex du numéro de téléphone
config.application.registrationFeesGroupTitle,The title for registration fee group,Registration fees,Droits d'inscription
config.application.registrationTimePeriodsGroupTitle,The title for registration time periods group,Registration time periods,Périodes d'enregistrement
config.application.settings,Link Text for Config Application Settings,Application,Application
config.application.testNumber,Label for test number,Test number,Numéro de test
config.application.updatingeMessage,Message for application config updated modal,Updating...,Mise à jour en cours
config.application.validExample,Label for valid example,Valid,Valable
235,238d167
config.application.withinLegallySpecifiedTimeLabel,Within legally specified time config label,Within legally specified time,Dans les délais prévus par la loi
config.birthDefaultTempDesc,Label for default birth certificate template,Default birth certificate template,Modèle d'acte de naissance par défaut
config.birthTemplate,Label for birth certificate template,Birth certificate,Certificat de naissance
config.birthUpdatedTempDesc,,Updated {birthLongDate},Mise à jour de {birthLongDate}
240,244d168
config.certificate.allowPrinting,To allow printing in advanced of issuance,Allow printing in advanced of issuance,Permettre l'impression à l'avance de l'émission
config.certificate.allowPrintingNotification,Message for allowing printing notification,Allow printing in advance of issuance updated,Permettre l'impression avant la mise à jour de l'émission
config.certificate.certificateUpdated,Certificate template change message on success,{eventName} certificate has been updated,Le certificat {eventName} a été mis à jour.
config.certificate.certificateUploading,Certificate template message when uploading SVG,Uploading and validating {eventName} certificate.,Téléchargement et validation du certificat {eventName}.
config.certificate.certificateValidationError,Certificate template error message on failed,Unable to read SVG. Please check,Impossible de lire le SVG. Veuillez vérifier
246,256d169
config.certificate.printDescription,Allowing printing,Records printed off in advance of collections will be added to the ready to issue work-queue,Les documents imprimés avant les collectes seront ajoutés à la liste des documents prêts à être délivrés
config.certificate.template,Template for certificates,Template,Gabarit
config.certificate.uploadCertificateDialogCancel,Cancel new certificate template upload button,Cancel,Annuler
config.certificate.uploadCertificateDialogConfirm,Confirm new certificate template upload button,Upload,Télécharger
config.certificate.uploadCertificateDialogDescription,The description for the dialog when upload new certificate template,This will replace the current certificate template. We recommend downloading the existing certificate template as a reference.,Ceci remplacera le modèle de certificat actuel. Nous vous recommandons de télécharger le modèle de certificat existant comme référence.
config.certificate.uploadCertificateDialogTitle,Upload certificate template modal title,Upload new certificate?,Télécharger un nouveau certificat ?
config.certificateConfiguration,Link Text for Config Declaration Settings,Certificate configuration,Configuration du certificat
config.deathDefaultTempDesc,Label for default death certificate template,Default death certificate template,Modèle de certificat de décès par défaut
config.deathTemplate,Label for death certificate template,Death certificate,Acte de mariage
config.deathUpdatedTempDesc,,Updated {deathLongDate},Mise à jour de {deathLongDate}
config.downloadTemplate,Download action in certificate config action menu,Download,Télécharger
261,279d173
config.eventUpdatedTempDesc,Label for updated birth certificate template,"Updated {lastModified, date, ::dd MMMM yyyy}","Mis à jour {lastModified, date, ::dd MMMM yyyy}"
config.form.settings.time,,Time input,Saisie de l'heure
config.form.tools.input.customSelectWithDynamicOptions,,Custom select with dynamic options,Sélection personnalisée avec options dynamiques
config.informantNotification.declarationSMS,Title for informant declarationSMS notification,Declaration sent for review,Déclaration envoyée pour examen
config.informantNotification.inProgressSMS,Title for informant inProgressSMS notification,Notification sent to Office,Notification envoyée au bureau
config.informantNotification.registrationSMS,Title for informant registrationSMS notification,Declaration registered,Déclaration enregistrée
config.informantNotification.rejectionSMS,Title for informant rejectionSMS notification,Declaration rejected,Déclaration rejetée
config.informantNotification.subtitle,Subtile for informant sms notification,Select the notifications to send to the informant to keep them informed of the progress to their declaration. Your system is configured to send {communicationType}.,Sélectionnez les notifications à envoyer à l'informateur pour le tenir informé de l'avancement de sa déclaration. Votre système est configuré pour envoyer {communicationType}
config.informantNotification.success,Notification for informant update success,Informant notifications updated,Mise à jour des notifications des informateurs
config.informantNotification.title,The title for Informant notifications,Informant notifications,Notifications d'informateurs
config.integrations,,Integrations,Intégrations
config.listDetails,Details for certificates templates list,To learn how to edit an SVG and upload a certificate to suite your country requirements please refer to this detailed guide. ,"Pour savoir comment modifier un SVG et télécharger un certificat en fonction des exigences de votre pays, veuillez consulter ce guide détaillé."
config.listDetailsQsn,Details question for certificates templates list,How to configure a certificate?,Comment configurer un certificat ?
config.listTitle,Title for certificates templates list,Certification,La certification
config.marriageDefaultTempDesc,Label for default marriage certificate template,Default marriage certificate template,Modèle de certificat de mariage par défaut
config.marriageTemplate,Label for marriage certificate template,Marriage certificate,Certificat de mariage
config.previewTemplate,,Preview,Prévisualiser
config.printTemplate,Print action in certificate config action menu,Print,Imprimer
config.uploadTemplate,Upload action in certificate config action menu,Upload,Télécharger
config.userRoles.role,ListViewSimplified header for role,ROLE,RÔLE
config.userRoles.subtitle,Subtile for informant sms notification,Map user roles to each system role so that specific permissions and privileges are correctly assigned. To learn more about the different system roles see ... {link},"Associez les rôles d'utilisateur à chaque rôle système afin que les autorisations et les privilèges spécifiques soient correctement attribués. Pour en savoir plus sur les différents rôles système, voir ... {link}"
config.userRoles.systemRoleSuccessMsg,Label for System role updated success message,System role updated successfully,Rôle système mis à jour avec succès
config.userRoles.systemRoles,ListViewSimplified header for system roles,SYSTEM ROLES,RÔLES SYSTÈME
config.userRoles.title,The title for user roles,User roles,Rôles des utilisateurs