VSettings.cpp

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
LEAH-1937: UI: Translation

- Moved the translations next to application location in translations folder on target build and point to Projects/application/resources when build on VM.

- Defined the Settings_Category_Translations for the locale as translations/translation

- Moved the settings(locale) next to application location in settings folder on target build and point to /home/denali/Desktop when build on VM.

- Defined the Settings_Category_Locale for the locale as settings/locale

- Added the translation ts/qm with tagged words for Spanish and Germany.

- Removed the loadTranslation logic from the Application controller.

- set the keyboardlocal property to read from the vLocalizations.

- Made all the methods in the Setting class static and the class not instantiable.

- Modified the ConfigurationsDataList to the ParametersDataList to distinguish between the settings and configurations, as well as clarification on the DataList of the Treatement Parameters.

- Corrected the order of the translation, log, startgui.

- Separated the Settings read function and added two readLocale and ReadConfigurations to be able to call the readLocale earlier to get the localization values needed for the rest of the configurations and translations.

  1. … 22 more files in changeset.
LEAH-1937: UI: Translation

- Removed not used NoCANBUS development settings.

- Added the two systemLocale and systemLanguage in the Settings singleton class, to be accessed by _Setting in one place.

- Renamed the isValid method in the Settings class to exists for clarity.

- Added local to the filename method in Settings to get the setting file name with the defined locale.

- Made the Category of the settings order to set eSettingsSystem at top, to get the locale first and then read the rest of the settings files according that setting.

- Separated the parse section from the read method to simplify the read function.

- Two big logic in Settings::read has changed:

1. the read won't read any conf file in the settings path anymore, since the order is not important and each file existance.

2. the Settings::read now reads a file and parse it after in oppose to read all files and the parse them. That is mainly because we need to make decision base on the content of the setting files (System.conf in this case for now)

- Renamed the Settings::save to saveSystem for clarification, since that is the only writable setting, and that does not have locale too.

  1. … 10 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 23 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 38 more files in changeset.
DEN-16956: UI: Add all ASCII symbols as acceptable for the Service Password

- Added all the ASCII symbols as acceptable for the service password.

!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~

Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 612 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 612 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 16 more files in changeset.
DEN-16485: Service password accepts no special character passwords

- The dash ( - ) is special in regex and needs escape.

DEN-16485: Service password accepts no special character passwords

- The dash ( - ) is special in regex and needs escape.

DEN-16256: Updated - UI.P1B : Display UF Rate

- minor clean up, layout fix and typo fixes

  1. … 3 more files in changeset.
DEN-16256: Updated - UI.P1B : Display UF Rate

- minor clean up, layout fix and typo fixes

  1. … 3 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 56 more files in changeset.
DEN-16334: UI: Service password minimum length shall be 10 and minimum iteration shall be 10k

- changed the micro to reflect the non-backward compatibility.

- Also changed the source of reading the version's section from the Bamboo script to the compatible.h.

  1. … 1 more file in changeset.
DEN-16334: UI: Service password minimum length shall be 10

  1. … 7 more files in changeset.
Merge branch 'DEN-15845-UI-MS_S100' into staging

Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 73 more files in changeset.
Merge branch 'DEN-15279-UI-BN-S97-Cybersecurity' into staging

  1. … 115 more files in changeset.
DEN-15845: Service password entry not being logged

Service password entry not being logged

DEN-15441: Updated - UI: Cybersecurity: Reset Factory [Settings Menu, Service Mode]

Changed the script to check if the removal was successful

Added password replacement in script and removed from UI code

Added cloud sync token removing

  1. … 2 more files in changeset.
DEN-15400: UI: Cybersecurity: UI needs to auto generate the password for the Encrypted partition

- completed the encryption partition creation

- used a function to get the settings home, which is going to be different when App is in manufacturing mode and in normal operation.

- now in normal mode it needs to be mounted to be used and needs some movements and threading.

- For now the application should use the -R CLIS to make the app use the root home folder for the configurations, and I add it to the run.sh, but it has to be removed later.

  1. … 19 more files in changeset.
DEN-15441: Updated - UI: Cybersecurity: Reset Factory [Settings Menu, Service Mode]

Added retaining service password in settings.conf file after the default is loaded via factory_reset.sh script

  1. … 3 more files in changeset.
DEN-15400: UI: Cybersecurity: UI needs to auto generate the password for the Encrypted partition

- The -KaukE added to run.sh which needs to be removed when done.

- Added the default service password

- fixed the issue after changing the confirm screen for the change password

- moved the settings post connections to a separate function to be called after the settings initialization.

  1. … 8 more files in changeset.
DEN-15400: UI: Cybersecurity: UI needs to auto generate the password for the Encrypted partition

- made the fixSalt obfuscated.

  1. … 1 more file in changeset.
DEN-15400: UI: Cybersecurity: UI needs to auto generate the password for the Encrypted partition

- Fixed the Service password using the fixSalt

- //TODO: it needs to be appended to make ti less appear

- //TODO: work on the Encrypted Partition

  1. … 22 more files in changeset.
DEN-15321: UI: Cybersecurity: The empty service password and the not-set indication is not secure

  1. … 2 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 23 more files in changeset.
DEN-15072 RO Water Input Mode

- The UI portion which stores and retrieves the RO mode status.

  1. … 3 more files in changeset.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 4 more files in changeset.
DEN-11539: Service password initial setup

- added hashing for the service password and did some clean up.

- improved the navigation

- made the service password mandatory to navigate to the service menu, so HD message can't navigate the UI to service screen without user entering the password.

  1. … 3 more files in changeset.