main.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 13 more files in changeset.
CS-10: The Log upload to the cloud

- Added a command line option -L to (dis/en)able the long log name with CloudSync upload and pending feature.

- If -L is not used the system will log like before with yyyy_DD_dd_denali.(log/err) format.

- Improved the code and fixed some of TODO sections.

- Added PROPERTY for the application running environment in GuiView to use in export log.

- Utilize the MainMenu height in the settingsExportLog since that is hidden in that screen.

- Added a dynamic panel layout on the SettingsExportLogs from vertical if not using the LongLogNames to horizontal if the LongLogNames is used.

- Added getters for logger file name attributes like the path and log extension and so on, which is currently being used int he DeviceController to handle the log upload and backup.

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

  1. … 22 more files in changeset.
staging merge chery pick - DEN-16658-ui-dn-s116-sonar-fix-msg-update

DEN-16659: UI: Fix SonarQube Reported Issues

Changed the code in the geValue in the types.h to address the array index out of range reported by SonarQube.

Added the more functions to the tst_utilities.ccp to fully cover the getValue function.

DEN-16444: UI: UI Logs do not Capture TDi and TRo Moving Average Values

Updated the application to incorporate the two new float values in the DG temperature sensors payload.

DEN-16444: UI: UI Logs do not Capture TDi and TRo Moving Average Values

Updated the getValue function to updated the start index of the data.

DEN-16444: UI: UI Logs do not Capture TDi and TRo Moving Average Values

Updated the unit test functions for the getValue function.

DEN-16659: UI: Fix SonarQube Reported Issues

Changed the /tmp/ address and brought it into the main.cpp

DEN-16659: UI: Fix SonarQube Reported Issues

Removed a qDebug line

DEN-16659: UI: Fix SonarQube Reported Issues

Made the gStandard_tmp variable an extern

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

  1. … 16 more files in changeset.
DEN-16659: UI: Fix SonarQube Reported Issues

Removed a qDebug line

DEN-16659: UI: Fix SonarQube Reported Issues

Changed the /tmp/ address and brought it into the main.cpp

  1. … 6 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. … 612 more files in changeset.
DENBUG-182: Phantom Alarm Screen Appears After Clearing Last Alarm

DENBUG-185: UI shows version without period in between (ECO-11648, ECO-11616)

DENBUG-182: Phantom Alarm Screen Appears After Clearing Last Alarm

Addressing Code Review comments

Addressing code review comments

compatibility needs the separator before the value

DENBUG-182: Phantom Alarm Screen Appears After Clearing Last Alarm

- the order of the QML PROPERTYs cannot exactly predicted therefore setting them if not needed has to be avoided.

- a new method _init has been added to the PROPERTY_BASE to reset the property value without triggering the changed method so the property will get updated on the next round if the same value as before has been sent. ( the issue could be if code return after the alarmID = 0 on next alarm if the same ID send since the value is the same the QML will not get any signal to update, by changing the private property the signal will be triggered.)

DENBUG-182: Phantom Alarm Screen Appears After Clearing Last Alarm

- the order of the QML PROPERTYs cannot exactly predicted therefore setting them if not needed has to be avoided.

- set the alarmID to 0 to trigger the next change since we skip the property updated if the alarmID is 0.

DENBUG-182: Phantom Alarm Screen Appears After Clearing Last Alarm

  1. … 3 more files in changeset.
compatibility needs the separator before the value

DENBUG-182 , DENBUG-185

DENBUG-185: UI shows version without period in between (ECO-11648, ECO-11616)

DENBUG-182: Phantom Alarm Screen Appears After Clearing Last Alarm

  1. … 2 more files in changeset.
DEN-16528 UI: Format the UI version for the newly created release type branch

DENBUG-185: UI shows version without period in between (ECO-11648, ECO-11616)

DEN-16528 UI: Format the UI version for the newly created release type branch

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

  1. … 19 more files in changeset.
DEN-16502: UI: CS: CloudSync out buff is created by UI which causes permission issue for CloudSync

- Reverted back the version macros to use the bamboo env variables, to be consistent with other stacks

- Changed the DeviceController addWatch method to avoid creating file if does not exist, to prevent the permission denied issue when CS writes to the file, since if the file is created by denali, cloud does not have write access any more.

- Changed the execution order of the Application to be executed before CloudSync since in the new CS 0.4.6 it will error out and stop running because UI has not been executed to prepare the encrypted folder.

- Added a Check-In for the UI and CS to check if the CS is running and the above change will delay the post to be sent later when the check-in response is received.

- Added a TIME_CALL to call the method after each x times of call (is used in TimerEvent)

  1. … 9 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.
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 15 more files in changeset.
DEN-15812: UI: Add an option on the Configurations setup screen to prevent the Device Registration cleanup

- Added the UI portion of the update

- Added the -U cmd-line option to get UI Application in update mode.

  1. … 12 more files in changeset.
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-15739: UI: Cybersecurity: Move the post log/err/out to the /tmp/ folder (denali won't have write access to its home)

  1. … 2 more files in changeset.
DEN-15737 UI: Call the lockdown.sh before quits

- DEN-15402 is disabled for now, just to release the Cybersecurity release

# I set to always enabled for now to always go to the manufacturing mode

# 1 - Even for normal setup start is moving files to /home/root, so the lockdown needs to run to move files.

# 2 - The UI still needs to be executed to decrypt the /var/configurations, otherwise the configurations can not be updated,

# and I don't have the ability to just decrypt and exit right now.

# Note: after the Cybersecurity release I will improve the user experience and will make it easier for manufacturing.

  1. … 13 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-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-15296 : Implemented the screen base and navigation of the denali -E

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

  1. … 13 more files in changeset.
DEN-15139-UI-BN-S95-CLIFix

- Fixed the issue with the Command-line argument just parsing the options , and also log if there is an error with unknown options and stop processing since the app stops working if there is an unknown option .