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
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
186af2777c
refactor: Remove unused method
2024-03-21 22:42:01 +01:00
Lars Toenning
8ecc680dfd
refactor: Remove pre-AFV methods
2024-02-18 16:00:48 +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
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
466e0dbae4
Read VATSIM servers from servers.json
2023-02-28 08:29:58 +01: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
50eebb799d
Update VATSIM data file reader to read new JSON data file format
2020-12-05 17:30:15 +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
Klaus Basan
299859646a
VATSIM data file parser "fixes"
...
- Limit the number of parser errors going to the log
- stop parsing if no attributes can be obtained (otherwise we see too many parser messages)
2020-06-12 18:42:42 +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
5b3c011a15
Added "url" to signature "dataRead(BlackMisc::Network::CEntityFlags::Entity entity, BlackMisc::Network::CEntityFlags::ReadState state, int number, const QUrl &url)"
...
Allows to write log. messages with URL
2020-06-12 18:42:38 +01:00
Klaus Basan
0482b9883d
[DB readers] misc fixes found during "datastore down" investigation
...
* added CEntityFlags::AircraftCategoryEntity in config lists
* flag to name
* missed initial reading of categories
* style
2020-06-12 18:42:30 +01:00
Klaus Basan
e376c18b28
Ref T701, check for model string in reader
2019-09-16 22:40:18 +01:00
Klaus Basan
891d75598e
Ref T658, matching script web services wrapper
2019-09-16 20:29:53 +01:00
Klaus Basan
4951e7e35f
Ref T614, improved log
2019-05-13 11:20:37 +02:00
Klaus Basan
df686d7efc
Ref T607, detect mappings from quick mapping wizard
2019-05-13 11:20:36 +02:00
Mat Sutcliffe
21a13978a2
Remove redundant code.
2019-04-12 13:30:49 +01:00
Klaus Basan
28b6f484e4
Longer time out in dev.build
2019-04-11 22:12:12 +01:00
Klaus Basan
b57003c4e8
Style, typo
2019-04-11 22:11:35 +01:00
Klaus Basan
4c33e4d792
Ref T554, publishing function for "auto publish data"
...
* writer
* services
2019-04-11 22:11:34 +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
716cd67a2c
Ref T472, category support in web data reader
2019-02-22 20:35:58 +00:00
Mat Sutcliffe
fe7a45afcf
Ref T516 Update CStatusMessage call sites to use new syntax.
2019-02-22 20:35:51 +00:00
Klaus Basan
003ad0f0de
Ref T490, "ps_read" replacement
2019-02-22 20:35:03 +00:00
Klaus Basan
788f827110
Ref T489, Ref T484, string improvements
2019-02-22 20:35:03 +00:00
Klaus Basan
efb1ac46f2
Ref T489, added "parsing" state for entity read states
2019-02-22 20:35:02 +00:00
Klaus Basan
400a8fc2a8
Splash screen messages for web data services
2019-02-22 20:35:01 +00:00
Klaus Basan
8c3faa4ca9
Ref T489, support download progress in our readers
...
* signal for download progress per entity (DB reader)
* ProgressSlot
* changed signatures for ProgressSlot
2019-02-22 20:35:00 +00:00
Klaus Basan
8cb04e4965
Minor fixes DB loading overview
2019-02-22 20:35:00 +00:00
Mat Sutcliffe
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +00:00
Mat Sutcliffe
a65be602bb
Fixed clazy warnings: provide receiver object argument to signal/slot connection.
2019-02-22 20:23:40 +00:00
Mat Sutcliffe
9f85a7b560
Fixed clazy warnings: pass large objects by reference to const.
2019-02-22 20:23:33 +00:00
Klaus Basan
4dcb2185b4
Ref T367, info objects are also read, as the files are small and sApp->isInternetAccessible() is not fully reliable (Qt Accessibility bug)
2018-09-23 20:12:31 +02:00
Klaus Basan
ff2f653aae
Style
2018-09-23 20:12:27 +02:00
Klaus Basan
837288b874
Gracefully shutdown if destructed, slightly related to Ref T315
2018-09-09 02:55:13 +02:00
Klaus Basan
1746388560
Ref T292, Ref T285 use CEntityFlags::isFinishedReadState to also check against restricted read plus refactoring
2018-07-27 04:02:50 +02:00
Klaus Basan
f36ebbfa83
Doxygen and style
2018-07-25 02:37:12 +02:00
Klaus Basan
35a1a715d8
Ref T246, allow to load DB data per entity from resource files
2018-07-17 19:05:02 +02:00
Klaus Basan
c8aabd675e
Guard QTime::singleShot in CWebDataServices
2018-07-10 17:17:33 +02:00
Klaus Basan
abfa12c1ec
Ref T272, skip VATSIM readers if (for sure) connected to an other eco system
...
Remark: This requires the server (=> ecosystem) to be connected, otherwise VATSIM data (before that connection) are still read as default
2018-06-01 01:30:31 +02:00
Klaus Basan
1b8383bee1
Guarding QTimer::singelShot operations, avoid to access dangling pointers
2018-05-08 16:06:39 +02:00
Klaus Basan
574bc8b51b
Utility functions for entity flags and web data services
...
* multiple flags by name
* number of DB objects
* newer entities synchronized
2018-05-04 23:03:19 +02:00
Klaus Basan
d6fd53287f
Improved graceful shutdown, added "m_shutdownInProgress"
...
* no assert when wait is called in same thread, just ignore wait
* quitAndWait readers, also works if not already noved in new thread (see above)
2018-04-13 23:36:49 +02:00