FileHandler.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
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-12426: LTS: Bug / CR / Develop Coco / Manual

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

  1. … 81 more files in changeset.
DEN-12262: INT: Support and debugging

- Fixing the DG Valves/Temperature messages

- Fixing the CloudSync RegisterDeviceRequest

- Fixed/Cherry-Picked the Dialin-log conditions.

- Cleaned up the debug messages.

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

  1. … 77 more files in changeset.
DEN-12183 KBM: Credentials messaging

- Added Credential messages

| 2003 | req save credential |1639391827,1,0,2003,3,path_to_client_certificate_pem,path_to_client_private_key_pem,path_to_client_public_key_pem |

| 2004 | req credentials | 1639391827,1,0,2004,0 |

| 1004 | send credentials | 1639391827,1,0,1004,1,path_to_credentials="/tmp/credentials" |

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

  1. … 584 more files in changeset.
DEN-9614: Meetings & Support - General Support

- Trying to have a first run after a while on the unit tests.

  1. … 2 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-8937: Meetings & Support - General Support

- Updated the main Treatment Log message parameters.

  1. … 15 more files in changeset.
DEN-7931 UI Logging: Rotation and deletion do not trigger on disk usage.

- Fixed and gave to the V&V team, Michael, to test.

- First round of test was successful.

  1. … 13 more files in changeset.
DEN-7147: preTx: Code Review 0

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

DEN-7457: Meetings & Support - General purpose

  1. … 51 more files in changeset.
Merge master into staging

  1. … 37 more files in changeset.
DEN-6621: Code Review 0

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.
DEN-4863, DEN-4865: Code Coverage and Unit Tests

  1. … 9 more files in changeset.
Merge master into DEN-4860_BLE

  1. … 23 more files in changeset.
Merge branch 'master' into DEN-4691_InLineBloodPressureAdjustments

  1. … 28 more files in changeset.
DEN-4860: Update to align better with coding standard, fixed docstring issues.

- Updated message ID to align with message lists

  1. … 6 more files in changeset.
Removed extra empty lines

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

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

  1. … 49 more files in changeset.
Merge master into DEN-3605_Create_Treatment

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

  1. … 174 more files in changeset.
Merge branch 'master' into DEN-4690_Doxygenization

  1. … 124 more files in changeset.
DEN-4690: Doxygenization

- Added more comments

- Added message table template.

- ...

  1. … 109 more files in changeset.