FileHandler.h

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DENBUG-294: UI: Log export between different devices on the same USB drive has conflict of names.

- after the reboot the newly created BootPOST could not get renamed because of the same file already exists, therefore application is now append the new one to the oldone with serial and deletes the new one.

- since the BootPOST log files are small in size like 5~10K this should affect the performance of the system.

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

  1. … 619 more files in changeset.
DENBUG-294: UI: Log export between different devices on the same USB drive has conflict of names.

- Added functionality to properly backup the BootPOST log which is the log before getting the HDSerial.

- It will get backed up if it is in the current day and system just has changed to the new log file due to receiving of the serial.

- When trying to back up the normal logs (logs with serial), will try for its BootPOST log, if exists will get backed up.

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

  1. … 23 more files in changeset.
CS-10: The Log upload to the cloud

- refactored the name of global cli option values.

- added two other options for better debugging by [dis/en]able them.

- added optional gzip compression.

- added different approcahes for the log upload in case may need a change.

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

  1. … 11 more files in changeset.
DEN-16675: UI: Log export between different devices on the same USB drive has conflict of names.

- The Log Cycle naming has been added for each defined cycle.

- it partially has implementation but has been took out to the CS-10: The Log upload to the cloud

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

  1. … 12 more files in changeset.
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.
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-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.
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.
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.