FileHandler.h

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge branch 'DEN-16533-UI-VD-S110_integration_unit_test_fix' into staging

  1. … 10 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: Updated - DFF: Improvement: Export individual log files [Demo Feedback Follow Up]

Removed the passed by pointer and use passed by reference for the cancelling controller variable

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

The canceling of single/multiple selection log file exporting

Corrected USB space check function logic

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

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.
DEN-15112: Updated - UI: UI Does not Display (Pending) Treatment Logs on Export Logs Screen

Add improved USB insert/remove handling that does not rely on polling

Add updates to models base on directory changes

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

Remove a mistaken slash from .h file

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. … 2 more files in changeset.
DEN-15167 Add DEBUG mark to debug line

DEN-15167 Add fix for mismatch export file size displayed

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