Commit Graph

223 Commits

Author SHA1 Message Date
Lars Toenning
bebd5600bb refactor: Remove unused and outdated SSL certificates
Methods are unused since commit 0d0e09333
CNetworkUtils::setSwiftClientSslCertificate was removed with ac48e64
2024-02-06 08:45:34 +01:00
Lars Toenning
389431ccef refactor: Clean up setup file reader
Previously we already switch to loading the bootstrap file only from the
local file (ec42553910).
This removes the remaining parts of loading the bootstrap file from a
remote location.
This also updates the UI in case of parsing errors of the bootstrap.json.
2024-02-05 22:23:40 +01:00
Lars Toenning
da552d60cc refactor: Remove dev flag from bootstrap json
With this, the database debug flag can only be activated when using swift
with a development build. Setting the development flag in the json also
didn't worked previously as expected because the corresponding function
to get the flag in application.cpp was called before the setup was loaded.
2024-02-05 22:23:40 +01:00
Lars Toenning
2f93a3abe2 refactor: Remove unused signal 2024-02-05 22:23:40 +01:00
Lars Toenning
bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00
Lars Toenning
970b7c3650 clang-format src 2023-04-18 16:07:19 +02:00
Lars Toenning
c4cfdc1fcc Remove EOL feature 2023-02-28 21:12:24 +01:00
Lars Toenning
a62da56d5f Use HTTP to get VATSIM IP in automatic mode 2023-02-28 08:29:58 +01:00
Lars Toenning
fbd9255f56 Add getter for server file to CApplication 2023-02-27 15:31:11 +01:00
Mat Sutcliffe
4a94f61f73 Removed ctor that constructed an invalid CSlot 2022-01-29 14:41:12 +00:00
Mat Sutcliffe
2ac222f700 Issue #11 CEventLoop uses QPointer trick to guard against use-after-free
See https://blogs.kde.org/2009/03/26/how-crash-almost-every-qtkde-application-and-how-fix-it-0
2021-10-11 14:20:06 +01:00
Mat Sutcliffe
002cd1d5b9 Issue #11 Improve CEventLoop API 2021-10-11 14:20:06 +01:00
Mat Sutcliffe
a592bb2bbe Include style 2021-09-18 15:07:49 +01:00
Mat Sutcliffe
eb6b0ff289 Fix clang-tidy and clazy warnings 2021-08-29 17:02:27 +01:00
Mat Sutcliffe
611b7547c0 Issue #77 Break dependency of CFileLogger on CLogHandler 2020-12-19 18:50:38 +00:00
Mat Sutcliffe
371c1f4f7c Issue #77 Break cyclic dependency between CLogCategory and numerous classes 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
63e8de8f00 Issue #77 getLogCategories returns a simple QStringList instead of our own class 2020-12-19 18:50:34 +00:00
Mat Sutcliffe
8e065a8fef Issue #77 Factor out parts of CDirectoryUtils into CSwiftDirectories
CDirectoryUtils is utilities for manipulating directories.
CSwiftDirectories is getters that return directories used by swift.
2020-08-29 14:16:12 +01:00
Mat Sutcliffe
802576eda9 Issue #77 Rename 2020-08-29 14:16:11 +01:00
Mat Sutcliffe
936e869c94 Issue #77 Remove unused code 2020-08-29 14:16:10 +01:00
Mat Sutcliffe
92edbb90c2 Issue #77 Refactor to inline functions 2020-08-29 14:16:10 +01:00
Mat Sutcliffe
86dd91a064 Issue #15 [GUI] Use CLogHistoryReplica in CLogComponent and swift applications 2020-08-01 19:48:36 +01:00
Mat Sutcliffe
ee4e41d0a6 Issue #15 CCoreFacade owns an instance of CDataLinkDBus 2020-08-01 19:48:35 +01:00
Mat Sutcliffe
38a1d24411 #42 Enable reading update info from GitHub Packages REST API 2020-07-04 21:33:23 +01:00
Mat Sutcliffe
8375881941 Remove dead code 2020-07-04 21:30:53 +01:00
Lars Toenning
1d4aa96e9b Add warning about expire and redesign warning/error popup
Fixes Github Issue #38
2020-06-29 17:22:09 +01:00
Klaus Basan
cb78453e7c Make sure contexts are "gracefulShutdown"
The shutdown was NOT called as it was canceled because of being in shutdown mode
2020-06-12 18:42:42 +01:00
Mat Sutcliffe
2f1e3f47f9 Track worker construction and destruction
Added debug log messages in case a worker still exists when the `qApp` is destroyed.
This would mean that a `quitAndWait` is missing or is being skipped somewhere.
2020-06-12 18:42:41 +01:00
Klaus Basan
0ee522426a Create "shutdown" message to find how far we get if swift hangs during shutdown 2020-06-12 18:42:41 +01:00
Klaus Basan
76e42cc16e Minor fixes related to the SSL lib issue
https://discordapp.com/channels/539048679160676382/539925070550794240/691469857891418202
2020-06-12 18:42:39 +01:00
Klaus Basan
4378b6c959 Detect if running with DBus (core + GUI) or just "standalone" (no swift DBus) 2020-01-22 19:46:14 +01:00
Klaus Basan
5150fb4e86 [AFV] Ref T739, cmd.line args for "no audio" 2020-01-07 19:05:42 +00:00
Klaus Basan
383352f79c [AFV] Ref T739, remove implementation details from IContextAudio to keep the DBus interface "pure"
* This was an approach to avoid registration of "local signals"
* that part DID NOT work as planned, as all object's signals are registered
* the refactoring itself nevertheless is NOT a bad idea and has been kept
* as the audio context has this special "concept" and CAfvClient can run on both sides (proxy AND impl.side)
2019-10-18 10:36:23 +02:00
Klaus Basan
6cbd2d9486 [AFV] Ref T739 remove unused old coreaudio arguments 2019-10-18 10:36:15 +02:00
Mat Sutcliffe
ec0a20b1d1 [AFV] Fixed context unittest that was broken by audio context changes 2019-10-11 19:00:40 +01:00
Klaus Basan
ff6b7f8deb Ref T730, added deleteResourceFromNetwork and modified CSlot (directly accept object witb std::function) 2019-10-11 19:00:34 +01:00
Roland Rossgotterer
acf540be34 Long live FsdClient 2019-09-18 13:49:37 +02:00
Klaus Basan
33cd96c2e3 Allow to test an ASSERT (like the crashdump test) 2019-09-16 22:40:54 +01:00
Klaus Basan
235508ec98 Ref T673, incognito flag/menu 2019-09-16 22:39:57 +01:00
Roland Rossgotterer
a7509669f9 Refactor crashpad initialization
Crashpad handler was initialized quite late since we were waiting for settings. However the settings in crashpad are persistent itself, hence we can start it at the earliest possible time and change the upload settings independently later. The only prerequisite is to have QCoreApplication constructed in order for the application name to be available.
ref T652
2019-05-13 11:21:05 +02:00
Klaus Basan
0d0e093330 Download related:
* Info which URL failed
* log redirects
* disabled CNetworkUtils::setSwiftClientSslCertificate(copiedReques
2019-04-11 22:12:05 +01:00
Roland Rossgotterer
04787bbf39 Fix MinGW build failure 2019-04-11 22:11:49 +01:00
Klaus Basan
94513951e1 Added backtrace attributes for Qt version and platform 2019-04-11 22:11:38 +01:00
Klaus Basan
f080f0bb86 Cmd.line arg --skipsa to skip "single application check". Allows to run multiple clients on one machine. 2019-04-11 22:11:37 +01:00
Klaus Basan
60b3c16120 Ref T401, crash simulation improvements
* sub-directory paths in directory utils
* no UI simulated crash in release builds
* no upload rate in local developer builds
2019-04-11 22:11:31 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
16dd6d7451 Ref T401, crash handling in application
* function to simulate crash
* init crash info so file is written + add arguments for handler
* enable / disable uploads
2019-02-22 20:36:31 +00:00
Roland Rossgotterer
50e82c26c6 Add current log file as file attachment to crash dump
ref T401
2019-02-22 20:36:24 +00:00
Klaus Basan
ddd44edebd Ref T528, test if simulator interface can be used (only possible in local UI, not in remote UI) 2019-02-22 20:36:08 +00:00
Klaus Basan
1b7f1b1662 Minor reader formatting/comments 2019-02-22 20:36:07 +00:00