Commit Graph

10049 Commits

Author SHA1 Message Date
Lars Toenning
254ab22c93 refactor: Remove method without any effect 2024-03-21 22:42:01 +01:00
Lars Toenning
2edb17e6a5 refactor: Remove unused forward decl 2024-03-21 22:42:01 +01:00
Lars Toenning
186af2777c refactor: Remove unused method 2024-03-21 22:42:01 +01:00
Lars Toenning
3f825b7111 fix(qss): Set menu background color
As a black text color is enforced for the menu, we should also enforce a
white background for a good contrast.
This is more or less a workaround as this does not respect any system
style settings (dark mode, ...).
This fix will become obsolete once tackling #138 (removing/reducing stylesheet).

Fixes #139
2024-03-21 22:42:01 +01:00
Lars Toenning
8593d3bdb3 fix: Emitting signal with wrong entity flag 2024-03-21 22:42:01 +01:00
Lars Toenning
c0b0c74c3c fix: Always perform SSL peer verification
As the datastore now has real (no self-signed) TLS certificates, the host
verification should not be disabled by default. When testing locally,
one could use non-TLS connections.
2024-03-21 22:42:01 +01:00
Lars Toenning
d977223fd4 refactor: Remove unused RetrivalMode flag 2024-03-21 22:42:01 +01:00
Lars Toenning
4efb7d44e1 chore: Remove qmake references 2024-03-21 22:41:57 +01:00
Lars Toenning
09dda853b1 ci: Increase number of jobs on Windows 2024-03-10 08:49:19 +01:00
Lars Toenning
c4e609ca95 refactor: Simplify datastore.py
Use requests library
2024-03-09 22:44:52 +01:00
Lars Toenning
ad96d38389 refactor: Remove sync of updateinfo
The update info is already automatically fetched from GitHub instead of
using the distribution.json from the datastore
2024-03-09 22:21:12 +01:00
Lars Toenning
4298d38ee7 refactor: Clean up build.py 2024-03-09 22:09:10 +01:00
Lars Toenning
e38b12308c refactor: Remove unused symbolupload.py
The functionality was already integrated into build.py
2024-03-09 22:09:10 +01:00
Lars Toenning
a9e4f3073f refactor: Remove unused symbolstore.py 2024-03-09 22:09:06 +01:00
Lars Toenning
482407e4b3 chore: Update GitHub actions 2024-02-20 22:50:50 +01:00
Lars Toenning
e3262b0568 chore: Upgrade GitHub actions 2024-02-18 23:09:13 +01:00
Lars Toenning
2ba2d5bc8e refactor: Clarify CApplication method names 2024-02-18 23:09:13 +01:00
Lars Toenning
d977a6214c refactor: Remove outdated and unused CLI client
The CLI client was not updated to the new FSD client (already 5 years
old). Hence I assume it will not be used anymore. It was also disabled
for build already. To avoid confusions, this removes it.
2024-02-18 23:09:13 +01:00
Lars Toenning
a664371567 refactor: Move installer flag handling to launcher
This is only used by the launcher
2024-02-18 23:09:13 +01:00
Lars Toenning
a84e299e45 refactor: Remove unused single application flag 2024-02-18 23:09:12 +01:00
Lars Toenning
de45811d34 refactor: Remove unused private shared dir CLI arg 2024-02-18 23:09:12 +01:00
Lars Toenning
7b6f087247 refactor: Fix some clang-tidy warnings
- Mark single argument constructors as explicit
- Remove unused functions
- Avoid default parameters in virtual functions
- Clean up includes
- Do not call static methods through an instance
- And some more...
2024-02-18 23:09:12 +01:00
Lars Toenning
b939711058 refactor: Start WebServices and CoreFacade separately 2024-02-18 22:16:54 +01:00
Lars Toenning
9d3ae3e2b3 refactor: Restructure parsing and setup loading methods 2024-02-18 22:16:54 +01:00
Lars Toenning
99de8009be refactor: Emit CApplication::startUpComplete on starting event loop 2024-02-18 22:16:54 +01:00
Lars Toenning
9da0630063 refactor: Transform launcher into QMainWindow 2024-02-18 22:16:54 +01:00
Lars Toenning
b8a376701b fix: Remove help/version message dialogs for Gui application
These methods did not quit the application and hence the application
exits with code -1. Further, when calling swift with a commandline
argument, the user might expect to get a commandline output and not a
GUI popup.
2024-02-18 22:16:54 +01:00
Lars Toenning
1106365180 refactor: Remove remaining parts of dynamic splashscreen messages
The splash screen was already refactored with bfc27f6 for better readability
2024-02-18 22:16:51 +01:00
Lars Toenning
5e0f3a05d3 refactor: Read AFV URLs from bootstrap.json
This also removes the possibility to change the URL on the fly via the
UI.
Fixes #257
2024-02-18 16:33:16 +01:00
Lars Toenning
8ecc680dfd refactor: Remove pre-AFV methods 2024-02-18 16:00:48 +01:00
Lars Toenning
5f7c3efdb2 Revert "Issue #93 Reduce update offset for 5 Hz updates and rename member"
This reverts commit 8dc206d62b.
2024-02-13 22:57:26 +01:00
Lars Toenning
2f07c9313d Revert "Interpolate the dynamic offset time for aircraft situations"
This reverts commit efb6a3211d.
2024-02-13 22:57:26 +01:00
Lars Toenning
18df2a5a12 fix: Discard visual FSD updates 2024-02-13 22:57:26 +01:00
Lars Toenning
3bd3deebb1 feat: Require all global setup members from JSON 2024-02-09 14:42:18 +01:00
Lars Toenning
43b9404827 feat: Add RequiredForJson JSON 2024-02-09 14:42:18 +01:00
Lars Toenning
65e4c9742b refactor: Remove timestamp from bootstrap.json
As the bootstrap.json is now exclusivley loaded from a file, the
timestamp is not used anymore.
2024-02-09 14:42:18 +01:00
Lars Toenning
2bac39d869 fix: Remove bootstrapurl arg from installer 2024-02-08 10:24:38 +01:00
Lars Toenning
0c29b279f8 chore: Update installbuilder 2024-02-06 08:45:34 +01:00
Lars Toenning
c1ae6fe418 refactor: Remove unused NetworkSetupForm 2024-02-06 08:45:34 +01:00
Lars Toenning
9188a5857e refactor: Remove remaining ATC booking parts
Related to #252
2024-02-06 08:45:34 +01:00
Lars Toenning
975944a528 fix: Save datafile update rate in correct setting 2024-02-06 08:45:34 +01:00
Lars Toenning
298c9eeec1 refactor: Remove option to disable autologoff
Auto logoff was always enabled in normal builds anyway, even when the
user tried to disable it (see 8eff8cd).
2024-02-06 08:45:34 +01:00
Lars Toenning
882ae3b741 chore: Update AFV URL
Fixes #255
2024-02-06 08:45:34 +01:00
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
043813478a refactor: Remove unused library path helper 2024-02-06 08:45:33 +01:00
Lars Toenning
24637aea09 refactor: Remove unused method
This method is not used. The setup reader instead directly uses the
convertFromJson method from the JSON mixin.
2024-02-05 22:23:40 +01:00
Lars Toenning
6181fbe602 refactor: Remove hardcoded URLs from global setup
These hardcoded URLs increased the maintanance overhead as they must be
updated together with the URLs in the bootstrap.json
2024-02-05 22:23:40 +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
8704d463b8 feat: Show simplified StatusMessageWidget when hiding details 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