main.cpp

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'DEN-16839-UI-BN-Whitney-1B1' into staging

DEN-16961: UI: Release P1B branches to be created for the IDE

- Modified the UI versioning to match the new release branching:

release/p1b/<master, staging, develop>

in oppose to:

release/<p1, p1_staging, ...>

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.
Enable registration mode - initial implementation hesitations

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

- refactored the name of global cli option values.

- added two other options for better debugging by [dis/en]able them.

- added optional gzip compression.

- added different approcahes for the log upload in case may need a change.

  1. … 9 more files in changeset.
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 the op_mode as Standby to the disinfect condition.

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.

CS-11: CloudSync Factory Reset deletes the configurations (does decommissioning)

- moved the cs factory reset call for the decommissioning.

- fixed the TimedProcess timeout call.

- fixed signal emits without emit keyword.

  1. … 10 more files in changeset.
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.