ApplicationController.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DEN-15604 : UI Encryption/Decryption during normal operation

- Need to review the CloudSyncController execution order and stopt the controller for log removal

put in place:

- UIPOSTDone

- POSTInfReq

- AdjustHDAlarmVolume

- AdjustRoWater

- CheckIn

2:18:31:11.708, ,UI,DEN-15279-UI-BN-S97-Cybersecurity.06151830.6

3:18:31:11.884, ,UI,The Encrypted Partition error. [131]

19:18:31:12.458, ,UI,1686879069,1,222,1999,2,966,/tmp/credentials/

20:18:31:12.460, ,UI,1686879069,2,240,1999,2,972,1006

21:18:31:12.475,9200,UI,UIPOSTDone,1

22:18:31:12.476,UI,Ack Req, Sq:-1, ID:0x9200

23:18:31:12.476,1c00,UI,POSTInfReq,0,0,0,0,6

24:18:31:12.477,UI,Ack Req, Sq:-2, ID:0x1C00

25:18:31:13.521,4e00,UI,AdjustHDAlarmVolume,2

26:18:31:13.521,UI,Ack Req, Sq:-3, ID:0x4E00

27:18:31:13.522,bc00,UI,AdjustRoWater,0

31:18:31:13.641,UI,Ack Bak, Sq:8735, Dst:HD

34:18:31:13.642,UI,Ack Bak, Sq:8736, Dst:HD

41:18:31:13.646,UI,Ack Bak, Sq:8735, Dst:HD

44:18:31:13.647,UI,Ack Bak, Sq:8736, Dst:HD

50:18:31:13.649,UI,Ack Bak, Sq:8735, Dst:HD

53:18:31:13.650,UI,Ack Bak, Sq:8736, Dst:HD

60:18:31:13.653,UI,Ack Bak, Sq:8735, Dst:HD

63:18:31:13.654,UI,Ack Bak, Sq:8736, Dst:HD

79:18:31:13.659,UI,Ack Bak, Sq:8766, Dst:HD

82:18:31:13.660,UI,Ack Bak, Sq:8767, Dst:HD

88:18:31:13.663,UI,Ack Bak, Sq:8771, Dst:HD

91:18:31:13.664,UI,Ack Bak, Sq:8772, Dst:HD

95:18:31:13.665,UI,Ack Bak, Sq:8766, Dst:HD

98:18:31:13.666,UI,Ack Bak, Sq:8767, Dst:HD

104:18:31:13.765,UI,Ack Bak, Sq:8771, Dst:HD

107:18:31:13.766,UI,Ack Bak, Sq:8772, Dst:HD

135:18:31:14.680, ,UI,CheckIn

136:18:31:14.680,UI,Ack Req, Sq:-21, ID:0x0700

167:18:31:15.728, ,UI,CheckIn

168:18:31:15.728,UI,Ack Req, Sq:-22, ID:0x0700

201:18:31:16.756, ,UI,CheckIn

202:18:31:16.757,UI,Ack Req, Sq:-23, ID:0x0700

232:18:31:17.758, ,UI,CheckIn

233:18:31:17.759,UI,Ack Req, Sq:-24, ID:0x0700

263:18:31:18.752, ,UI,CheckIn

264:18:31:18.753,UI,Ack Req, Sq:-25, ID:0x0700

294:18:31:19.760, ,UI,CheckIn

  1. … 2 more files in changeset.
DEN-15604 : UI Encryption/Decryption during normal operation

- still needs work to clean up the execution order

- some of them have been disabled.

  1. … 17 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.
Maybe works for update.

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

  1. … 608 more files in changeset.
Cherry Pick [DEN-13053-S82-JI : a09496, 417f94, 76d3e8 ]

- Added request for versions when UI POST is done if POST was successful

  1. … 1 more file in changeset.
Spelling correction

Added request for versions when UI POST is done if POST was successful

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

  1. … 46 more files in changeset.
Merge branch 'DEN-13966-UI-BN-S81' into staging

Merge branch 'DEN-13966-UI-BN-S81' into develop

  1. … 1 more file in changeset.
DEN-13966 Improvement: Export individual log files

- Used the stashed file copy by by chunk algorithm which I wrote before for exporting the log files.

- It will help later to have more control over copying files.

- Added all the signal/slots for Logger, ApplicationController, GuiController, GuiView and the QML side.

- Implemented the Export Selection Map on the C++ side to be used for individual log file selection (insert, delete, select, remove/Clear).

- Added percent update for the current exporting file. (not implemented on UI, due to some issues)

  1. … 18 more files in changeset.
DEN-13966: Improvement: Export individual log files

DEN-14044: IMP:

- Adding the type GuiStringIndexMap=QMap<quint32, QString> to the signal/slot system.

  1. … 10 more files in changeset.
UI-DEN-13965: UI-DEN-13965-3

- Handling the case a new alarm is received, while a confirm is requested, UI should send a cancel to HD and close the dialog and have user to re-issue the confirm if needed.

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

  1. … 95 more files in changeset.
Merge branch 'DEN-13198-UI_BN_75' into staging

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

  1. … 100 more files in changeset.
DEN-13743: IMP: Device Registration - CloudSync POST test - Device Serial/Version req/rsp

- Added the disable functionality ( main.h SINGLETON_... macros ) for the Singleton classes, which are basically controllers, to stop their thread event loop, so they literally stop working.

- Connected the disable functionality of the controllers like, CloudSync, Bluetooth (Maybe later Logger), to the POST result.

- Improved the ./run.sh script and same on the ApplicationPOST class.

- Set the minimum of the HD/DG serial length to 1 byte, since it is not exactly at 15 or 20 char length.

- Removed the "CS" from the UI log of sending out the messages to CS, which the source is UI, not the CS and this is confusing.

- Removed the "Settings/DG Cleaning" scheduling section.

- Changed the POST version/serial request from UI to all to be identified in the log from "Versionreq" to "POSTInfReq".

- Added a new UI POST Alarm in AlarmDefs.h, ALARM_ID_UI_POST_FAILURE_CLOUDSYNC = 295, ///< UI POST CloudSync failure

- Fixed a potential bug on SD-Card not ready service logging.

  1. … 16 more files in changeset.
DEN-13645: IMP: DEN9297: Disinfection implementation [ Disinfection Messages ] [0x7F,0x80]

- Cleaned up / refactor the messages [ 127 (0x7F), 128 (0x80) ]

  1. … 16 more files in changeset.
DEN-13645 IMP: DEN-12958: UI shall generate the POST fail alarm if the SD-Card not present and stop logging

__________

- Log Export

- Added the Alarm generation on the GuiController if SD-Card is not ready, or is/becomes read-only.

- AlarmGenerator

- Added the SD-Card failure alarm - ALARM_ID_UI_POST_FAILURE_SDCARD

- Added alarm clear - ALARM_ID_NO_ALARM

- Added a flag to stop logging if the SD-Card is not ready or is readonly.

- Removed pause on log clean up.

- Improved the DeviceController SD-Card, USB status detection.

- Fixed and improved the MVC connection betweein device/Application/Gui controllers.

- A CLI switch ( -S ) added to disable the feature that is disabling the log if the SD-Card doesn't exist. So if the -S switch is used while calling the denali application, the logging will NOT be disabled, if SD-Card fails.

- In the ExportButton and USBButton(eject) removed the enable logic and has to be done outside of the component. It has been done for the Settings/export and Post-Tx/Review.

- Added title and file count for each SD-Card and USB-Drive panels.

__________

- Run.sh

- Added a check for the CloudSync and if the folder doesn't exist it won't do the rest

- Kill the denali application, in case it is still running.

- Added SD-Card type as part of its detection and if it is not ext4 format it fails the test.

- Optimized the mount point detection.

__________

- NoCANBus

- added the NoCANBus to the fault and init modes to not to navigate to those if NoCANBus is true. Otherwise it conflict with navigate to the home.

- Added a log in case the NoCANBus is enabled.

__________

- Settings

- Converted the '\n' in the settings values to actual newline character.

__________

- Thread:

- Moved the QuiController in its own thread, _Gui_Thread.

__________

- Alarms

- Added an emit to update the Alarm Dialog with the latest title/message, received from Alarms.conf In case there was an alarm before even Alarm.conf is read.

  1. … 27 more files in changeset.
DEN-13645: IMP: General Implementation

DEN-12836: Treatment Report/log export modifications

  1. … 11 more files in changeset.
DEN-12836: Treatment Report/log export modifications

- DEN-12944: KBM: Usual Meetings/Support/Development

- Modified the setup.sh script to work on PDT (Pacific timezone)

- Added timezone display on the screen by adding it to the VDateTime

- Removed unnecessary FileHandler header include.

- Modified the Treatment Review Export button to export the current TxReport only.

- Added the Safe Eject button for the Post-Treatment TxReport Export.

- Moved Log Folder definitions to the StorageGlobal.

- Fixed the greeting issue [https://github.com/Diality/testsuites/issues/57]

- DEN-11826: Bluetooth BloodPressure Cuff Interval - Observation

- It has completely redesigned

- DEN-9706: Blood Pressure measurement entry window closes automatically

- Auto Hide is disabled

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

  1. … 159 more files in changeset.
DEN-12597 Code Review

http://dvm-linux02:8060/cru/UI-DEN-12258-1#c12773

Disabled the coco end as well, which caused the coco to log a lot of warnings.

  1. … 80 more files in changeset.
DEN-12512: INT: Support/Meetings/Planning

DEN-09712 Date format between system date/time and BP/HP "Last Read" is not consistent

DEN-09929 Treatment Log shows "?C" instead of "°C"

PRS-35: Regarding Sean's point about the create treatment parameters, made the parameters dynamic by the Configurations/DataList.cfg in ui.config repository.

  1. … 14 more files in changeset.
DEN-12424: INT

- Adding the new 3 params of the alarm trigger

- Adding Rejection

- prepare for the singletons quit which are not in order, the quit should be done manually to be in order.

  1. … 20 more files in changeset.
DEN-12426: LTS: Bug / CR / Develop Coco / Manual

- removed the "// coco begin validated" to disable the manually validated coverage.

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

  1. … 584 more files in changeset.
DEN-10247: FW: UI Acknow timeout

- Moved the Check-In logic into the MessageAcknowModel and emit the check-in signal directly to the MessageDispatcher, and removed from MainTimer.

- Removed the POST start from main.cpp and moved in the Main.qml to notify the ApplicaionController onGUIReady to start the POST and Check-In.

  1. … 7 more files in changeset.