Commit Graph

2908 Commits

Author SHA1 Message Date
Lars Toenning
d31084db3a refactor: Directly use shared URL from global setup
Previous we relyed on the watchdog providing a working shared URL (or
empty URL if no URL was reachable). This creates some overhead and
might not work in all cases because of the time between the call to
getWorkingSharedUrl() and the actual network request. Further, not all
calls that are fetching data from our servers were using the shared URL
from the watchdog anyway.
Lastly, this careful checking if the URL is available is only done for
the shared URL and not for all the other URLs that are queried by swift.
2024-04-15 22:01:45 +02:00
Lars Toenning
972de0777c refactor: Remove non-watchdog related method from WatchDog 2024-04-15 22:01:45 +02:00
Lars Toenning
6cf9dfaecf refactor: Remove aircraft highlighting/blinking functionality
This functionality was not documented. Further, this feature likely does
not work great in all simulators because adding and removing aircrafts
might take longer than a second.
2024-03-21 22:48:29 +01:00
Lars Toenning
748bfcdc15 refactor: Clean up ISimulator 2024-03-21 22:48:29 +01:00
Lars Toenning
9cdd624ae0 refactor: Remove ecosystem provider from WebDataServices
Spreading the information about the ecosystem into all
"low-level" readers, just to deactivate them when not using
a non-VATSIM ecosystem, should be avoided. Instead, the readers
should be disabled entirely from the outside . This will be done
in a upcoming refactoring (separate PR).
2024-03-21 22:42:02 +01:00
Lars Toenning
73689efa01 refactor: Use Qt::ConnectionType directly 2024-03-21 22:42:02 +01:00
Lars Toenning
995509bdfb refactor: Remove unused members from CWebDataServices 2024-03-21 22:42:02 +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
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
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
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
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
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
9188a5857e refactor: Remove remaining ATC booking parts
Related to #252
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
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
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
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
23e2dc9057 feat: Add ICAOEQ capability to FSD client 2024-01-23 20:25:30 +01:00
Lars Toenning
1f4f60d793 feat: Add wake turbulence category enum 2024-01-23 20:25:30 +01:00
Lars Toenning
fae215ba26 refactor: Move FSD Test server information to test case 2024-01-23 20:25:30 +01:00
Lars Toenning
e4a8e44701 refactor: Remove old AFV test server 2023-12-28 18:27:25 +01:00
Lars Toenning
cb0912ebc0 refactor: Move QJsonWebToken lib to third_party/ 2023-12-21 22:58:30 +01:00
Lars Toenning
e1cf40463f Remove ATC tune in/out notification sound
Related to #156
2023-11-16 11:45:06 +01:00
Lars Toenning
b57dfa1cb8 Remove unused "no audio transmission" notification sound
Related to #156
2023-11-16 11:45:06 +01:00
Lars Toenning
1deaeba584 Add CMake support 2023-11-12 21:36:21 +01:00
Lars Toenning
3ffb8f689b Remove qmake files 2023-11-01 22:23:15 +01:00