ApplicationController.h

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

  1. … 1 more file in changeset.
DEN-15977: UI: UI is not responding to POST result request from HD

- With the new Cybersecurity implementation UI won't respond to the POST Request message since it has been moved to the initSettings and after the device is initialized with the encrypted partition.

- The initSetting will be rejected since we don't do the init any more after the system POST is done due to the items like encrypted partition mount.

- Therefore the old slot to call the onPOST won't work and the postDoneRequest will work.

Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 15 more files in changeset.
Merge branch 'DEN-15905-UI-BN-S102-Update' into staging

  1. … 3 more files in changeset.
DEN-15487: Added - UI: POST: UI needs to report an error if the configuration files, or parameter(s) are missing.

- the checking of POST for settings CRC

- error handling when reading the settings file

- error handling when configuration parameters are incorrect

  1. … 8 more files in changeset.
DEN-15812: UI: Add an option on the Configurations setup screen to prevent the Device Registration cleanup

- Added the UI portion of the update

- Added the -U cmd-line option to get UI Application in update mode.

  1. … 12 more files in changeset.
DEN-15977: UI: UI is not responding to POST result request from HD

- added the removed line during the Cybersecurity merge.

Bamboo Commit: Updated the Copyright section and replaced tabs with 4 spaces

  1. … 16 more files in changeset.
Merge branch 'DEN-15833-UI-VD-S101-FS_io_fail_alarm' into staging

  1. … 3 more files in changeset.
DEN-13474: Updated - UI: SRSUI for SD-Card/File System Write Failure & Export Log Failure may be Outdated from PRS (SRSUI 1077-1079)

Rename the signal/slot per CR request

  1. … 3 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-13474: Updated - UI: SRSUI for SD-Card/File System Write Failure & Export Log Failure may be Outdated from PRS (SRSUI 1077-1079)

Remove unncessary signal transfer to GUIController from AppController

  1. … 3 more files in changeset.
DEN-13474: Added - UI: SRSUI for SD-Card/File System Write Failure & Export Log Failure may be Outdated from PRS (SRSUI 1077-1079)

Added code to emit an alarm to HD when the i/o operations fail (ie: write/read to SD or exportlog)

  1. … 6 more files in changeset.
DEN-15737 UI: Call the lockdown.sh before quits

- DEN-15402 is disabled for now, just to release the Cybersecurity release

# I set to always enabled for now to always go to the manufacturing mode

# 1 - Even for normal setup start is moving files to /home/root, so the lockdown needs to run to move files.

# 2 - The UI still needs to be executed to decrypt the /var/configurations, otherwise the configurations can not be updated,

# and I don't have the ability to just decrypt and exit right now.

# Note: after the Cybersecurity release I will improve the user experience and will make it easier for manufacturing.

  1. … 13 more files in changeset.
DEN-15604 : UI Encryption/Decryption during normal operation

- still needs work to clean up the execution order

- some of them have been disabled.

  1. … 17 more files in changeset.
  1. … 3 more files in changeset.
DEN-15400: UI: Cybersecurity: UI needs to auto generate the password for the Encrypted partition

- Fixed the Service password using the fixSalt

- //TODO: it needs to be appended to make ti less appear

- //TODO: work on the Encrypted Partition

  1. … 22 more files in changeset.
Maybe works for update.

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

  1. … 608 more files in changeset.
Cherry Pick [DEN-13053-S82-JI : a09496, 417f94, 76d3e8 ]

- Added request for versions when UI POST is done if POST was successful

  1. … 1 more file in changeset.
Small correction, had unsaved changes on ApplicationController.h

Added request for versions when UI POST is done if POST was successful

  1. … 1 more file 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.
DEN-13966: Improvement: Export individual log files

DEN-14044: IMP:

- Adding the type GuiStringIndexMap=QMap<quint32, QString> to the signal/slot system.

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

  1. … 95 more files in changeset.
DEN-13743: IMP: Device Registration - CloudSync POST test - Device Serial/Version req/rsp

- Added the disable functionality ( main.h SINGLETON_... macros ) for the Singleton classes, which are basically controllers, to stop their thread event loop, so they literally stop working.

- Connected the disable functionality of the controllers like, CloudSync, Bluetooth (Maybe later Logger), to the POST result.

- Improved the ./run.sh script and same on the ApplicationPOST class.

- Set the minimum of the HD/DG serial length to 1 byte, since it is not exactly at 15 or 20 char length.

- Removed the "CS" from the UI log of sending out the messages to CS, which the source is UI, not the CS and this is confusing.

- Removed the "Settings/DG Cleaning" scheduling section.

- Changed the POST version/serial request from UI to all to be identified in the log from "Versionreq" to "POSTInfReq".

- Added a new UI POST Alarm in AlarmDefs.h, ALARM_ID_UI_POST_FAILURE_CLOUDSYNC = 295, ///< UI POST CloudSync failure

- Fixed a potential bug on SD-Card not ready service logging.

  1. … 16 more files in changeset.
DEN-13645 IMP: DEN-12958: UI shall generate the POST fail alarm if the SD-Card not present and stop logging

__________

- Log Export

- Added the Alarm generation on the GuiController if SD-Card is not ready, or is/becomes read-only.

- AlarmGenerator

- Added the SD-Card failure alarm - ALARM_ID_UI_POST_FAILURE_SDCARD

- Added alarm clear - ALARM_ID_NO_ALARM

- Added a flag to stop logging if the SD-Card is not ready or is readonly.

- Removed pause on log clean up.

- Improved the DeviceController SD-Card, USB status detection.

- Fixed and improved the MVC connection betweein device/Application/Gui controllers.

- A CLI switch ( -S ) added to disable the feature that is disabling the log if the SD-Card doesn't exist. So if the -S switch is used while calling the denali application, the logging will NOT be disabled, if SD-Card fails.

- In the ExportButton and USBButton(eject) removed the enable logic and has to be done outside of the component. It has been done for the Settings/export and Post-Tx/Review.

- Added title and file count for each SD-Card and USB-Drive panels.

__________

- Run.sh

- Added a check for the CloudSync and if the folder doesn't exist it won't do the rest

- Kill the denali application, in case it is still running.

- Added SD-Card type as part of its detection and if it is not ext4 format it fails the test.

- Optimized the mount point detection.

__________

- NoCANBus

- added the NoCANBus to the fault and init modes to not to navigate to those if NoCANBus is true. Otherwise it conflict with navigate to the home.

- Added a log in case the NoCANBus is enabled.

__________

- Settings

- Converted the '\n' in the settings values to actual newline character.

__________

- Thread:

- Moved the QuiController in its own thread, _Gui_Thread.

__________

- Alarms

- Added an emit to update the Alarm Dialog with the latest title/message, received from Alarms.conf In case there was an alarm before even Alarm.conf is read.

  1. … 27 more files in changeset.
DEN-13645: IMP: General Implementation

DEN-12836: Treatment Report/log export modifications

  1. … 11 more files in changeset.