Commit Graph

9117 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
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
2ba2d5bc8e refactor: Clarify CApplication method names 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
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
Lars Toenning
5842cb627a refactor: Remove wrong forward declaration 2024-02-05 22:23:40 +01:00
Lars Toenning
2f93a3abe2 refactor: Remove unused signal 2024-02-05 22:23:40 +01:00
Mat Sutcliffe
9ed80948f8 Fix doxygen warnings 2024-01-29 19:35:50 +00:00
Lars Toenning
4eea539c19 refactor: Fix spelling mistakes 2024-01-27 08:55:46 +01:00
Lars Toenning
c773f2f915 fix: Wrong length check for logoff time from ATIS 2024-01-27 08:55:46 +01:00
Lars Toenning
aa3347ae8b refactor: Remove outdated VATSIM datafile URL from cache class
The cache is filled at every start with the URLs from the status file.
There should be no need to hardcode a URL here.
2024-01-27 08:55:46 +01:00
Lars Toenning
9f50aaaa4a fix: Remove broken ATC station booking overview
Related to #252
2024-01-27 08:55:46 +01:00
Lars Toenning
945ef36151 refactor: Remove navigation equipment from remark generator
The NAV/ field in the remarks (same as COM/) is a freetext field. The content
may be dependent on the air traffic authority/country.
Further, most of the equipment information is nowadays handled with the
ICAO equipment code. NAV/ is likely required in special cases only, for
example when filing equipment code Z (Other equipment).
2024-01-23 20:25:30 +01:00
Lars Toenning
d2831a17ef feat: Add voice capability to remarks for SimBrief flightplans 2024-01-23 20:25:30 +01:00
Lars Toenning
b5cdef2f4e feat: Parse ICAO equipment code from SimBrief flightplans 2024-01-23 20:25:30 +01:00