ApplicationController.cpp

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

  1. … 8 more files in changeset.
DEN-14934: Rinseback "Back to Treatment" Workflow Missing Patient Reconnection Instructions (Phase 1)

  1. … 7 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.
  1. … 9 more files in changeset.
DEN-15738: UI: Cybersecurity: Move the Treatment log to the Encrypted partition

- Fixing the pending treatment log upload

  1. … 2 more files in changeset.
DEN-13474: Updated - UI: SRSUI for SD-Card/File System Write Failure & Export Log Failure may be Outdated from PRS (SRSUI 1077-1079)

Remove unncessary signal transfer to GUIController from AppController

  1. … 3 more files in changeset.
DEN-13474: Added - UI: SRSUI for SD-Card/File System Write Failure & Export Log Failure may be Outdated from PRS (SRSUI 1077-1079)

Added code to emit an alarm to HD when the i/o operations fail (ie: write/read to SD or exportlog)

  1. … 6 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-15657 : UI: Cybersecurity: Add Enable Root SSH, in the Settings Service menu

- Added the Root SSH Access screen, scripts, MVC

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