ApplicationController.h

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
  1. … 3 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.
Small correction, had unsaved changes on ApplicationController.h

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

  1. … 95 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: 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-13645: IMP: General Implementation

DEN-13447: UI able to send its final POST result to HD by request

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

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

  1. … 584 more files in changeset.
Delayed Checkin

- The delayed check-in idea, tested.

- The idea is that the UI is not ready when sending the check-in so delay the check-in to the point that GUI is loaded and can notify that it's ready and check-in and post can start.

- :: It didn't work.

- Some other timestamps were added to the code to get the time between the time message was sent. and UI receiving it, which is the 1.200 s between when the HD sends UI Version Req and when UI actually receives it, which is the root cause of the issue.

  1. … 14 more files in changeset.
Part 1/2: make the unhandled messages dynamic

- The messages/unhandled.conf has been created in the settings area and will be loaded and used for the unhandled messages in the message interpreter.

  1. … 10 more files in changeset.
DEN-9655: Implementation - Settings [MVC]

DEN-9657: Implementation - Event Driven Reading

DEN-9658: Implementation - Treatment Log

  1. … 18 more files in changeset.
DEN-9659: Implementation [POST]

- Created a separate file for the Bluetooth screen since it became bigger.

- Moved the WiFi and Bluetooth start in the Application controller and handled by POST events.

- Added a 5 second sleep for the Bluetooth Device to get ready in run.sh

- Added WiFi POST in run.sh

- Moved lambda functions for POST into slots.

- Added signals in the ApplicationPOST for passed items to be used in the ApplciationController to start WiFi and Bluetooth interfaces.

- Added isValid to the BluetoothInterface to make sure the Bluetooth Adapter is ready for the Interface to setup (Is set by ApplicationController with the information Provided by ApplicationPOST).

- Improved the Bluetooth interface implementation

- Added Rinseback safety volume parameter

- Modified the SAFE_CALL's methods to be public slots.

- Removed the SerialNumber listener from VBluetooth.

- Improved the VBluetooth code and added the connection to the BluetoothController.

  1. … 20 more files in changeset.
DEN-9649: Implementation - Yocto configuration

- Addressed some frequent code review comments

- Fixed the UI POST AlarmTriggered message

- Added the deleteLater for the QQuickViewer pointer _viewer.

  1. … 114 more files in changeset.
DEN-9416: Implementation

- Implementing the foundation of Application POST

- Added ID_AlarmTriggered message on post error.

- Added AdjustUIPostFinalResultRequestData in correct place.

- Created the treading structure for the post to start.

  1. … 15 more files in changeset.
DEN-8523: Bluetooth cuff

- Although there is not specific Bluetooth setting appear here but the entire idea here is to prepare the application to have a better platform for device handling like Bluetooth and the other ones.

  1. … 21 more files in changeset.
DEN-8533 & DEN-8693

Merge and support

  1. … 44 more files in changeset.
DEN-7147: Fixed a bug on Sub-StepIndicator on bottom of the instructions

- Which was causing that to not to show correct number of the steps and titles.

- removed #include "MModel.h" in all the possible cases and include the specific model since the MModel has too much include.

- Showing the Heparin setup in the CART_INSTALL state only if we have a heparin volume setup.

- created a common template function name enumString in Gui namespace to get the enum name as string.

  1. … 72 more files in changeset.
DEN-7377: preTx: Implementation [Dynamic Instruction Loading] ( 2 )

DEN-7457: Meetings & Support - General purpose

  1. … 51 more files in changeset.
DEN-6619: Implementation

- Added a signal named didSDCardSpaceTooLow in the DriveWatcher which will be triggered when the free storage space available on the SD-CARD is less than 10%. (No action on UI happens currently)

- Added a flag in DriveWatcher to stop emitting the Logger while it is cleaning the Logs [[ IMPORTANT : is is handled by signal/slots for thread synchronization and safety ]].

- Added a function to find the total size of the file in a path.

- Added find function to find files with a list of filter in a path.

- Added an overloaded version of find to help find the files in a path which are exceeding the storage limit from the oldest files.

- Added error check in the read overloaded which works with Json.

- Re-implemented the FileHandler::removeLogs to clean up the logs by % instead of date.

- Removed unused global log paths from StorageGlobal.

-

  1. … 15 more files in changeset.
Merge master into DEN-4598-Confirm-Priming-Begin

  1. … 14 more files in changeset.