Lars Toenning
14c045e7b4
refactor: Remove CUrlList
...
Nowadays most of the loadbalancing is done on the server-side and hence
there is only a single datafile URL (and other URLs) inside the
boostrap.json.
The features of the CUrlList are hence not really used. This is also a
step into removing CUrl and using QUrl instead, to avoid maintaining a
separate URL class.
2024-02-09 16:32:45 +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
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
8ecc680dfd
refactor: Remove pre-AFV methods
2024-02-18 16:00:48 +01:00
Lars Toenning
9188a5857e
refactor: Remove remaining ATC booking parts
...
Related to #252
2024-02-06 08:45:34 +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
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
2ae0352e75
[doxygen] Fix broken groupings
2020-08-01 19:48:37 +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
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
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
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
Mat Sutcliffe
9f85a7b560
Fixed clazy warnings: pass large objects by reference to const.
2019-02-22 20:23:33 +00:00
Klaus Basan
837288b874
Gracefully shutdown if destructed, slightly related to Ref T315
2018-09-09 02:55:13 +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
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
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
0b4637054a
Formatting
2018-05-04 23:03:16 +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
Klaus Basan
e001b0338f
Ref T242, utility functions for matching
...
* search among airline aircraft
* improved logging information
* search among airline ICAO aircraft (which aircraft does the airline use?)
* check ecosystem before merging with VATSIM data
2018-02-09 04:43:47 +01:00
Klaus Basan
bb65b7c280
Ref T226, renamed to swiftDbAllDataRead
2018-02-02 21:26:52 +01:00
Klaus Basan
0101e31db2
Ref T237, find latest DB cache ts and only init caches if there are no or old cache data
2018-01-30 23:34:12 +01:00
Klaus Basan
f3afde76ff
Ref T237, init/read from JSON files
...
* multi format compatible (automatically detect format)
* flag if cache values shall be overridden
* init from resource files (those are the files coming with the installer)
* automatically read in background if reader is (already) in its own thread (otherwise cache.set() ASSERT)
2018-01-30 20:35:32 +01:00
Klaus Basan
5829917694
Ref T89, signal when server (flight network) connects
...
* server contains the ecosystem
* connect server signal with web data services (so ecosystem is available)
2018-01-30 20:34:38 +01:00
Klaus Basan
d2389c15cc
Ref T224, allow to check for empty caches
2018-01-15 22:50:33 +01:00
Klaus Basan
8bb47a555c
Formatting comments and "private slots" -> "private"
2018-01-15 22:50:26 +01:00
Klaus Basan
638c8bcf83
Ref T219, fixed missing include in web data services
2018-01-14 18:46:41 +01:00
Klaus Basan
a2f985e308
Ref T215, containsAircraftIcaoDesignator web service function
2018-01-13 05:04:13 +01:00
Klaus Basan
4166982954
Ref T118, allow to just provide an id (from backend) and set the entity on swift side
...
* added getDistributorForDbKey
* added fillInMissingAircraftAndLiveryEntities
* fromDbJson function adjusted
2017-10-31 15:39:26 +01:00
Klaus Basan
b6333e69d8
Ref T171, made remote aircraft provider and web service "protected slots" -> "protected"
...
* Unlike in other cases, the remote aircraft provider slots are also very frequently called. So besides "style", it might be also useful here to avoid the extra MOC layers.
* Also renamed 2 web service signals and made web service connections Qt::QueuedConnection
2017-10-18 22:58:24 +02:00
Klaus Basan
b047004470
Ref T129, added functions for swift DB reader / web data services
...
* added getAirlineIcaoCodeForUniqueDesignatorOrDefault and getAirlineIcaoCodeForUniqueIataCodeOrDefault from reader/web data services
* rearranged order of functions in ICAO reader
* added some more functions like "containsXX" in reader
2017-10-10 00:28:22 +01:00
Klaus Basan
f95a0b60cc
Ref T129, utility function to check airline ICAO against swift DB
2017-10-10 00:28:04 +01:00
Klaus Basan
15e46ba94a
Do not trigger loads if they are doomed to fail
2017-09-27 03:01:03 +02:00
Klaus Basan
52caf795d1
Renamed function to hasSuccesfullyConnectedSwiftDb()
2017-09-24 20:29:01 +01:00
Klaus Basan
a4de52852d
Ref T150, use network watchdog with web data services
...
* removed own checks and use watchdog
* connect with readers to avoid redundant checks
2017-09-24 20:28:35 +01:00
Klaus Basan
dbe66eceb2
Ref T149, get URL logs from web data services
2017-09-24 19:54:26 +01:00
Klaus Basan
7c723b8b79
Ref T148, adjusted web data services
...
* get info about cached entities
* demote error messages if objects are cached
* no longer trigger reads during shutdown
2017-09-24 19:54:12 +01:00
Klaus Basan
b107617f73
Ref T148, formatting/renaming
2017-09-24 19:54:10 +01:00
Klaus Basan
961f47b700
Ref T148, renamed/added hasConnectedSwiftDb / canConnectSwiftDb
2017-09-24 19:54:07 +01:00