FileHandler.cpp

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

- Fixed a typo in read file error.

- Changed the logic for the dissdcardspacechanged to be an OR instead of and, so either of the available and percent change of the sd-card can now trigger the signal, although it may get higher frequency but seems like necessary.

  1. … 1 more file 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. … 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.
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

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