DeviceController.cpp

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 2 more files in changeset.
DENBUG-325: Machine Fails to Zip Files When Asleep, Preventing Upload to Cloud

- remove const declaration from some QString variables in logUpload fn

DENBUG-325: Machine Fails to Zip Files When Asleep, Preventing Upload to Cloud

- declare all qstring variables for logUpload fn as const

DENBUG-325: Machine Fails to Zip Files When Asleep, Preventing Upload to Cloud

- adjust comment of pending files from .p to .u

DENBUG-325: Machine Fails to Zip Files When Asleep, Preventing Upload to Cloud

- add new uploaded extension for log files

- Add change to logUpload fn to replace pending extension to uploaded extension when cloudsync triggers log is uploaded

  1. … 1 more file in changeset.
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.
DENBUG-294: UI: Log export between different devices on the same USB drive has conflict of names.

- renamed the BootPOST log before backing up so won't remain Serial-less on the device.

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.

    • -1302
    • +1323
    ./DeviceController.cpp
  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

- removing the log watch before adding it. found out some situations it could cause watch not work properly.

- Added log for the CS received message

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

- Reformat some event logs (Acks) to be aligned with the others format.

- Made the USB Drive status log to be one time log for each mount, unmount and removed events, and not to fill in the service log in each second.

    • -1311
    • +1315
    ./DeviceController.cpp
  1. … 2 more files in changeset.
CS-10: The Log upload to the cloud

- the uploadOldestFirst logic was reverse.

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.
Merge branch 'DEN-16657-UI-BN-S116-LogUpload' into staging

  1. … 1 more file in changeset.
CS-11: CloudSync Factory Reset deletes the configurations (does decommissioning)

- Reverted back the script timeout response fix, it seems the timeout responses are not handled properly and needs more work.

- Set all the scripts timeout to 10s (10000ms) by default (which for some could be too much but that is the timeout in case of failure).

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

  1. … 13 more files in changeset.
Merge branch 'DEN-16657-UI-BN-S116-LogUpload' into staging

  1. … 5 more files in changeset.
CS-11: CloudSync Factory Reset deletes the configurations (does decommissioning)

- moved the cs factory reset call for the decommissioning.

- fixed the TimedProcess timeout call.

- fixed signal emits without emit keyword.

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

- Added a command line option -L to (dis/en)able the long log name with CloudSync upload and pending feature.

- If -L is not used the system will log like before with yyyy_DD_dd_denali.(log/err) format.

- Improved the code and fixed some of TODO sections.

- Added PROPERTY for the application running environment in GuiView to use in export log.

- Utilize the MainMenu height in the settingsExportLog since that is hidden in that screen.

- Added a dynamic panel layout on the SettingsExportLogs from vertical if not using the LongLogNames to horizontal if the LongLogNames is used.

- Added getters for logger file name attributes like the path and log extension and so on, which is currently being used int he DeviceController to handle the log upload and backup.

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

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

- The first draft of the implementation.

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

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. … 19 more files in changeset.
DEN-16502: UI: CS: CloudSync out buff is created by UI which causes permission issue for CloudSync

- Reverted back the version macros to use the bamboo env variables, to be consistent with other stacks

- Changed the DeviceController addWatch method to avoid creating file if does not exist, to prevent the permission denied issue when CS writes to the file, since if the file is created by denali, cloud does not have write access any more.

- Changed the execution order of the Application to be executed before CloudSync since in the new CS 0.4.6 it will error out and stop running because UI has not been executed to prepare the encrypted folder.

- Added a Check-In for the UI and CS to check if the CS is running and the above change will delay the post to be sent later when the check-in response is received.

- Added a TIME_CALL to call the method after each x times of call (is used in TimerEvent)

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

  1. … 56 more files in changeset.
DEN-16326: UI: Add the OS Version in the information screen

- Added the Gui and MVC

  1. … 9 more files in changeset.