FileHandler.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

Made the gStandard_tmp variable an extern

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.
DEN-16465: Fixed - TestSuites : Integration testing update

Add FileHandler unit tests

Add coverage to tst_models

Add TODO to the tst_views to be updated in the future

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

  1. … 17 more files in changeset.
DEN-16285: UI: Cybersecurity: Restrict the SD-Card Symbolic Link usage

  1. … 3 more files in changeset.
DEN-14190: Added - DFF: Improvement: Export individual log files [Demo Feedback Follow Up]

Add checking of the USB space to ensure there is enough space to copy the designated log files

  1. … 4 more files in changeset.
DEN-16235: Updated - UI Device Setup - Device Configuration screen "Confirm" button should not be allowed to be pressed more than once

Remove unnecessary whitespace added in last commit

  1. … 1 more file in changeset.
DEN-16235: Updated - UI Device Setup - Device Configuration screen "Confirm" button should not be allowed to be pressed more than once

Per Code Review Discussions:

- Remove the directory comparison function

- Remove the added variables from last commit (isExited, etc)

- Change logic for cryptSetupEnabled property setting

  1. … 7 more files in changeset.
DEN-16235: Fixed - UI Device Setup - Device Configuration screen "Confirm" button should not be allowed to be pressed more than once

Add logic to properly handle disabling the confirm button when the device configuration is complete

Add a command to compare two directories for sameness

Add correct displaying of the completion of the device configurations

  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

- Fix the issue caused by moving the Treatment Lox to Encrypted partition.

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

  1. … 5 more files in changeset.
DEN-15439 : Updated - UI: Cybersecurity: The Export from SD-Card shall not follow SymLinks

Refactor checking symlink to a static function to be used outside FileHandler

Add wrapper function in GUIView to call FileHandler function checking symlink

Add logic to not show symlink in sd card log list

Update displayed counter to reflect only visible files count

  1. … 4 more files in changeset.
DEN-15439 : Updated - UI: Cybersecurity: The Export from SD-Card shall not follow SymLinks

Refactor checking symlink to a static function to be used outside FileHandler

Add wrapper function in GUIView to call FileHandler function checking symlink

Add logic to not show symlink in sd card log list

Update displayed counter to reflect only visible files count

  1. … 4 more files in changeset.
DEN-15439 : Fixed - UI: Cybersecurity: The Export from SD-Card shall not follow SymLinks

Add note for copyFolder's cp command usage

Add a check in copyFile to skip the file if the source file is a symlink

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

  1. … 50 more files in changeset.
DEN-14584: CloudSync Retry

- Implemented the TxReport peending

- Added TxCode to the TxReport

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

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

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