Klaus Basan
909342e172
Ref T201, formatting
2017-12-21 19:47:39 +01:00
Klaus Basan
162c3d07b5
Ref T189, formatting (some slots -> private + this->m_ ->m_)
2017-12-21 19:47:32 +01:00
Klaus Basan
da6930a7b4
Ref T189, database reader renamings / status renamings
...
* plural "entities" where multiple values can occur
* LED member renamings
2017-12-21 19:47:25 +01:00
Klaus Basan
3215a2e756
Ref T177, added direct write flag because only direct writes require a consolidation
2017-10-31 15:39:36 +01:00
Klaus Basan
8473cd7eb4
Ref T118, fixed / improved watchdog
...
* deleteLater for reply
* allow to check via HTTP (avoid wrong positive checks)
2017-10-31 15:39:26 +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
28c4f14026
Ref T118, background updater subscribes simplified published models signal
...
* direct consolidation after models have been published
* renamed some syncModelOrModelSetCacheWithDbData variables
2017-10-31 15:39:21 +01:00
Klaus Basan
c54c325cce
Ref T118, database writer new simplified slot
2017-10-31 15:39:20 +01:00
Klaus Basan
f14f06317b
Ref T118, formatting database writer and utility
2017-10-31 15:39:16 +01: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
15e46ba94a
Do not trigger loads if they are doomed to fail
2017-09-27 03:01:03 +02:00
Klaus Basan
40bc75a98c
Ref T164, show (by LED) when consolidating data
...
* added LED in info bar
* signal in background updater and
* connecting them
2017-09-26 20:15:28 +02:00
Klaus Basan
e932f08547
Ref T161, network watchdog calls ping service
2017-09-25 05:23:58 +02:00
Klaus Basan
ec77f9c64b
Ref T160, further formatting
2017-09-25 05:23:57 +02:00
Klaus Basan
dabe50bcfe
Ref T160, improved / more detailed info for user-agent in requests
...
* renamed to getSwiftNetworkRequest (make clear request is tweaked)
* add details to user request
2017-09-25 05:23:56 +02:00
Klaus Basan
bdbf2e75b4
Improved DB reader log messages
2017-09-24 20:29:26 +01:00
Klaus Basan
8c68f2302c
Ref T149, improved error message for JsonDatastoreResponse able to catch PHP error messages
2017-09-24 20:29:03 +01:00
Klaus Basan
0cf308450e
Ref T149, utility functions for pending URLs
...
* Do not call read twice in info reader
* Threadsafe utility functions
2017-09-24 20:29:02 +01:00
Klaus Basan
1aa8cfb1e8
Formatting, messages
2017-09-24 20:29:00 +01:00
Klaus Basan
ec8838198f
Ref T149, improved HeaderResponse/JsonDatastoreResponse
...
* request started/received
* moved timestamp logic to Response class, like headerResponse.setValues(nwReply)
2017-09-24 20:28:57 +01:00
Klaus Basan
46d2f2c048
Ref T150, database reader using watchdog
...
* removed canConnect DB checks, using watchdog
* changed signature to: int requestHeadersOfSharedFiles
* rely on shared working URL from watchdog
2017-09-24 20:28:34 +01:00
Klaus Basan
a6855f1891
Ref T150, network watchdog check accessibility in background
...
* no need to check elsewhere with canConnect -> processEventsFor
* many checks were redundant (when I can connect the DB, no need to check internet)
* watchdog can also be connected to other read signals, if models are read elsewhere, it means DB is up
Summary: less checks, less calls of canConnect in main thread
2017-09-24 19:54:32 +01:00
Klaus Basan
fe01a9d4aa
Formatting, typos
2017-09-24 19:54:28 +01:00
Klaus Basan
17d2243e3f
Ref T149, use URL in DB writer
2017-09-24 19:54:24 +01:00
Klaus Basan
b9760b4c60
Ref T149, use URL log to log network access in threaded reader classes
...
* added getFromNetworkAndLog
* adjusted DB reader
* adjusted other readers
2017-09-24 19:54:23 +01:00
Klaus Basan
a22cd134f8
Formatting
2017-09-24 19:54:16 +01:00
Klaus Basan
a2e888546e
Ref T148, database reader extensions
...
* allow to set severity of failed reading
* get entities with cached data
* removed needsSharedInfoFileLoaded in CDatabaseReaderConfig
2017-09-24 19:54:06 +01:00
Klaus Basan
2a8e2331a3
Return background updater functions when shutting down
2017-09-24 19:53:48 +01:00
Klaus Basan
0dfe6f69fe
Minor fixes when reporting T141
...
* user authenticated must be enabled/valid
* Read only: BlackMisc::CDataReadOnly<BlackCore::Data::TAuthenticatedDbUser>
* clear user fields when not authenticated
2017-09-24 19:53:47 +01:00
Klaus Basan
12db652ccf
Ref T125, renaming areAllDataRead => areAllInfoObjectsRead
2017-09-24 19:53:17 +01:00
Klaus Basan
0bbad2ff83
Minor tweaks (found during T125)
...
* formatting/typos
* authentication: private slots => private
2017-09-24 19:53:10 +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
addb008ffa
Pass back URLs for changed URL check. This allows to display the changed locations.
2017-09-24 19:52:28 +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
f3847bd33c
Ref T121, check if Internet is accessible
...
* in case the internet provider is down, this is not detected
* extended test to detect if access is possible
* in case of downtime this indicated in status component
2017-09-24 19:51:44 +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
e72546d282
Ref T109, fix: when starting swift pilot client read mode is "cache + shared info objects"
...
Comparing with info objects only makes sense when reading shared or from DB
2017-09-24 19:51:01 +01:00
Klaus Basan
dfb6b05e9d
Ref T109, datastore object and list
...
* unified properties in int/string DB objects
* fixed typo dbKeysAsString
2017-09-24 19:50:59 +01:00
Klaus Basan
d64bfcabce
Formatting, minor tweaks
2017-09-24 19:50:54 +01:00
Klaus Basan
c276d7cd44
Private slot -> private
2017-09-24 19:50:31 +01:00
Klaus Basan
c81a56bcba
Ref T29, allow to read CDbFlags::Shared in background
2017-09-24 19:50:30 +01:00
Klaus Basan
9e4cfca2cc
Ref T29, utility function added and flag names adjusted
2017-09-24 19:50:29 +01:00
Klaus Basan
874b517e23
Ref T104, use unified log function
...
and removed some redundant log messages
2017-09-24 19:50:25 +01:00
Klaus Basan
76b3b6c0b6
Utility function to directly log warning when network not accessible
2017-09-24 19:50:18 +01:00
Klaus Basan
0bfd9a55a2
Ref T105, use timer in base class CContinuousWorker
...
* remove unused cleanup
* object name set in base class
2017-09-24 19:50:15 +01:00
Klaus Basan
b6b1b96ec4
Ref T105, use new style with threaded readers
...
* use doWorkCheck
* relaxed doWorkCheck in unit tests
* removed isShuttingDown, gracefulShutdown
* set timer object name (in case something is wrong, we might see the name in the log)
2017-09-24 19:50:08 +01:00
Klaus Basan
2fbd2c6382
Ref T105, modified background updater
...
* removed gracefulShutdown
* removed isShuttingDown
2017-09-24 19:50:07 +01:00
Klaus Basan
291af98770
Formatting
2017-09-24 19:50:04 +01:00
Klaus Basan
847fcfbb71
Ref T104, return inconsistent airports
2017-09-24 19:50:03 +01:00