6f5c8103e4When checking the sanity of the customer repository, check also for existence of etc-directory inside repository.Gerhard Hoffmann2023-12-13 13:42:12 +01:00
07dcf0ba30Minor: add some GUI debug output when checking ISMAS trigger.Gerhard Hoffmann2023-12-13 13:41:06 +01:00
1e379cf086Fix: set directory of application for directory of the ini-file.Gerhard Hoffmann2023-12-13 13:38:34 +01:00
33d45eab2e
Merge branch 'master' of git.mimbach49.de:GerhardHoffmann/UpdatePTUDevCtrlSiegfried Siegert2023-12-08 13:01:03 +01:00
d2e11d8f07Replace the last line of the text edit when the new line is the last line followed by a suffix.
v1.3.20
Gerhard Hoffmann2023-11-29 14:18:01 +01:00
fbffdc923fMinor: When appendig text, scroll down the text edit.Gerhard Hoffmann2023-11-29 14:17:28 +01:00
8faf5af2bfTypo: replace m_files_to_update with m_files_to_download.Gerhard Hoffmann2023-11-29 12:07:25 +01:00
1d532c13a4Minor: show files to update with a direct qCritical()Gerhard Hoffmann2023-11-29 12:06:17 +01:00
d2d3afc28eShow debug output in text-edit only when at least one file to update.Gerhard Hoffmann2023-11-29 12:05:09 +01:00
0888c1b525Read machine-nr, customer-nr and zone-nr from /mnt/system_data/ rather then the deprecated /etc-directory.Gerhard Hoffmann2023-11-29 11:29:52 +01:00
a6faf9ce21Init triggerValue with "NOT CHECKED YET" otherwise one might be confused.Gerhard Hoffmann2023-11-29 11:28:35 +01:00
c15cebf503Add parsing for alwaysDownloadConfig and alwaysDownloadDC.Gerhard Hoffmann2023-11-21 09:49:47 +01:00
5ee1308c9dAdd parsing for alwaysDownloadConfig and alwaysDownloadDC.Gerhard Hoffmann2023-11-21 09:48:23 +01:00
746d96ca7cAdd parsing for flags: alwaysDownLoadDC and alwaysDownloadConfig.Gerhard Hoffmann2023-11-21 09:46:11 +01:00
f387eaedeaAdded flags: always-download-config and always-download-dc. Download DC and Json files even without any change in customer-repository. Not tested by now.Gerhard Hoffmann2023-11-21 09:44:15 +01:00
3ccdcbae51Removed generation of upodate-object. This will be donw inside worker(-thread), and only when it is really needed, i.e. when there are json-files to be updated (or a deveice-controller).Gerhard Hoffmann2023-11-06 16:20:27 +01:00
8c50e6cf59Added command-line option no-psa-hardware-update (future use for multipass).Gerhard Hoffmann2023-11-06 16:19:36 +01:00
003bd0bf77Check if repository is corrupted: do not check for etc/ or opt/-directories, as they may be not existent inside of the repository.Gerhard Hoffmann2023-11-03 13:44:15 +01:00
721c5dd7a5MAke sure removeDuplicates() is called for list containing file to be updated.Gerhard Hoffmann2023-10-31 09:16:24 +01:00
4b3a39b0e6Set version to 1.3.14. Add compile flag -C (so it is possible to use /*fall through*/ without having the proprocessor to remove this comment.
v1.3.14
Gerhard Hoffmann2023-10-30 15:35:38 +01:00
a44b780d93Minor: Add header for using RAII in sending SEND-LAST-VERSION to ISAMS.Gerhard Hoffmann2023-10-30 15:29:23 +01:00
19dfae9b56Use output functions ISMAS(), GUI() and CONSOLE(), which point to friend operators<< in Worker-class.Gerhard Hoffmann2023-10-30 15:28:25 +01:00
bef0d4fe12Refactor the update process: streamline code. When WAIT button is not active, the a clone or a fix of a defunct repository is possible, but not more. If WAIT button is active, the at least the opkg_commnds are executed. If there are chenged files, they are handkled as wll.Gerhard Hoffmann2023-10-30 15:25:49 +01:00
7d0fdf4d6dSmall fixes: 1: fixed wrong parameters of a connect(). 2: Minor: improved onQuit().Gerhard Hoffmann2023-10-30 15:17:59 +01:00
c2ce44c79bAdding three friend operator<< functions to output status information of the update process: the first on outputs to CONSOLE(), the second one outputs to ISMAS() and the last one to GUI(), i.e. the text edit of the main window.Gerhard Hoffmann2023-10-30 15:15:30 +01:00