FileHandler.cpp

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