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
Klaus Basan
d995bcf59c
Ref T126, fixed too early timeout
...
* use timeout timestamp
* used approch with trials was wrong, as number of trials also depends on number of reader
2017-09-24 19:52:58 +01:00
Klaus Basan
f694ded5f2
Preparation of T126: Minor tweaks, renaming and formatting of InfoDataReader
...
* unified member access (this->m_xy => m_xy)
* set object name of readers
* waitForSharedInfoObjectsThenRead (not just waiting, also reading afterwards)
2017-09-24 19:52:56 +01:00
Klaus Basan
5a67276fbb
Ref T117, utility functions for reader
...
* isDbModelEqualForPublishing
* getModelForDbKey(int
2017-09-24 19:52:16 +01:00
Klaus Basan
ccdfa8e12f
Ref T111, allow to search for location in coordinate form
2017-09-24 19:52:07 +01:00
Klaus Basan
b1295cd457
Ref T111, added utility functions used for swift plugin (dummy driver)
...
* new reader functions
* plugin info
2017-09-24 19:51:04 +01:00
Klaus Basan
880cedec5d
Some reader improvements
...
* Log when VATSIM status file has been read
* fix: read VATSIM status file after initReaders completes
* some private slots -> normal private functions
* removed copy/paste error illegalIcaoCodes
follow up of Ref T105
2017-09-24 19:50:19 +01:00
Klaus Basan
5270dce266
Ref T26, telephony designator and manufacturers from web service
2017-09-24 19:49:05 +01:00
Klaus Basan
65a716a61d
Ref T28, renaming to getLatestDbEntityTimestamp
2017-05-05 23:07:49 +01:00
Klaus Basan
0696eed04f
Ref T24, adjusted web data services
...
* no longer using header timestamps, removed functions
* renamed functions to distinguish shared/DB info data
* added 2nd reader m_sharedInfoDataReader
2017-04-20 20:41:29 +02:00
Klaus Basan
485c95101b
Ref T24, preparations to read dbinfo.json for shared files
...
This will replace http header file timestamps
* read function in info reader has retrieval mode flag, unused parameters removed
* waitForDbInfoObjects/getDbInfoDataReader (added "Db"), there will be a 2nd reader
* CWebReaderFlags::DbInfoDataReader (added "Db")
* removed ps_read, only read (public)
2017-04-20 20:38:06 +02:00
Klaus Basan
90396e012f
refs #820 , get all getAircraftIcaoCodesForDesignator
2016-12-13 19:01:45 +01:00
Klaus Basan
fc3ac8b323
refs #787 , MS review items + discussion on slack
...
https://dev.vatsim-germany.org/issues/787#note-4
2016-12-13 19:01:39 +01:00
Klaus Basan
4ed2b82630
refs #787 , support for headers / shared files in web data services
...
* allow to load shared files
* utility functions for timestamps
* some functions renamed
2016-12-13 19:01:28 +01:00
Klaus Basan
1f57f7ca61
refs #812 , use individual signals for web services
...
* trigger other operations directly when data have been read (do not wait for "all data read")
* avoid retriggering for no reason
* new entity flag for all data req. for model matching
2016-12-13 19:01:16 +01:00
Klaus Basan
b6a59decc7
refs #811 , get count in readers/services
2016-12-13 19:01:14 +01:00
Klaus Basan
04a5a74dc3
ref #803 , do not use synchronize from another thread
...
* changed info component to use admit
* removed web service synchronize
2016-12-13 19:00:10 +01:00
Klaus Basan
ff394f4785
refs #787 , support for Header / shared files in database reader / web services
...
* split JsonDatastoreResponse in subclass HeaderResponse
* support for request newtwork request duration ("started") in application
* removed ps_setupChanged because it was unused
2016-12-06 09:35:02 +01:00