DeviceController.h

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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-16326: UI: Add the OS Version in the information screen

- Added the Gui and MVC

  1. … 9 more files 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. … 3 more files in changeset.
Merge branch 'DEN-16123-UI-BN-S103-CSFR-TokenRemoval' into staging

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

  1. … 6 more files in changeset.
DEN-15813 UI: Decommission cloud token removal

  1. … 3 more files in changeset.
DEN-16037: Updated - System does not Erase Treatment Logs When Folder is Full

Updated code based on CR requests

- add signals to follow device<device>StateChange and device<device>SpaceChange

- Add proper handling of the added signals (slots and connections)

- remove the added encrypted path and use settings_path() instead

  1. … 4 more files in changeset.
DEN-16037: Added - System does not Erase Treatment Logs When Folder is Full

Added a check of the treatments folder partition for disk space usage

  1. … 4 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-15859: UI: USB drive cannot be mounted or unmounted

  1. … 6 more files in changeset.
DEN-15279: Added - Cybersecurity, umount/mount USB

Added the CPP code for calling the USB umount and mount scripts

  1. … 10 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

- 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.
DEN-15296: UI: Cybersecurity: Create and mount the encrypted folder, with denali -E [Encrypted Partition]

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

  1. … 608 more files in changeset.
Code Review [ UI-DEN-14294-1 ]

Addressing the code review comments

- UI-DEN-14294-1

- UI-DEN-14294-UI BN S84

- UI-DEN-14294-UI-BN-S84

- UI-DEN-14294-UI_BN_S84

  1. … 1 more file in changeset.
DEN-14391 , DEN-14393 : Qt 5.15.10 [QML run-time issues]

- Fixed all the QML warning and errors

- Enabled the Clang-Tidy, Clazy and cppcheck and fixed some.

- Removed unused images

- made the Denali POST logo transparent.

  1. … 56 more files in changeset.
DEN-14294 UPG: New VM and tools for the new Qt 5.15.10 [C++ compile time issues]

- Fixed the C++ compile time issues.

- There are still some runtime issues reported by Qt

- There are lots of QML issues reported in run-time.

  1. … 10 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-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-13134: IMP: General Implementation for any bugs and any other implementations

DEN-12836: Treatment Report/log export modifications

- Improved the SDItem and renamed to SDCProgressItem.

- Added another separate progress circle component for the USB Driver [USBProgressItem]

- Adding Space check for USB as well to get the USBProgressCircle update.

- Optimized ExportButton and added two size for Settings screen(normal) and Treatment Review screen(small)

- Improved USB button comonent

- Added a global byte size converter in Variable.qml

- Improved MainMenu component

- Added a notification for the TreatmentFlowBase.qml main component.

- Used the notification of the TreatmentFlowBase.qml for the Treatment Review Screen Log export to display feedback to the user.

- Added an individual screen for the log export.

- Removed the Export Log and USB eject from the main settings option screen.

- Added an option for the Export log on the settings home screen which is currently enabled for non-service users too.

- Fixed the DGVersionResponse, log message.

- Put a comment in the FileHandler.cpp about the Qt API QStorageInfo::mountedVolume() which seems so slow on detecting mounted volumes when a USB derive is just plugged in (It could be system issue, since it has also been observed from shell console.)

- Added error handling to the Treatment Log/Report export

DEN-12726: Denali application crashing

- Modified the Logger Maxusage limit to keep 50% of the data/event log and 15% of the service log and keep 35% free, after the log clean up triggered by 15% free storage detected.

DEN-13051: Encounter alarm 6 and SD card detection problem after updating UI version

DEN-13156: Settings screen menu should disappear on service mode

- Improved the MainStack.qml navigation rules.

- Improved the Patient ID keyboard handling, to hide the keyboard, when not on the screen.

- Improved the SettingsStack.qml navigation rules.

DEN-13128: KBM: Cloud Sync Integration

- Saving the CS log in UTC timezone.

DEN-13127: LTS: Development Support

- Fixed the issue found on the End-Treatment screen Confirm button which didn't respect the last instruction page enable only rule.

  1. … 44 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.