Klaus Basan
ec77f9c64b
Ref T160, further formatting
2017-09-25 05:23:57 +02:00
Klaus Basan
d1898b26fc
Ref T160, "private slots" to "private" in setup reader
2017-09-25 05:23:56 +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
Mathew Sutcliffe
efe5419e9a
Refs T159 Context method to get unsaved settings keys with their human readable descriptions.
2017-09-24 20:29:30 +01:00
Mathew Sutcliffe
91f6652072
DBus registered objects need fully-qualified type names in method declarations.
2017-09-24 20:29:29 +01:00
Klaus Basan
071f327fca
Follow up of T156, improved setup loading dialog
...
* allow to load the delivered setup file if there are no other data
* display setup cache information
2017-09-24 20:29:27 +01:00
Klaus Basan
bdbf2e75b4
Improved DB reader log messages
2017-09-24 20:29:26 +01:00
Klaus Basan
7cdfe8c914
Settings, added TSettingTrait::humanReadable and used copydoc, T159 related
2017-09-24 20:29:22 +01:00
Klaus Basan
ad32d33aa1
Ref T157, add context for help calls and call dispatcher
2017-09-24 20:29:19 +01:00
Klaus Basan
f07bdc204a
Ref T135, moved TDistributionSetting to BlackCore::Application::TDistribution
...
* own file
* can use loaded distribution info in sApp
2017-09-24 20:29:15 +01:00
Klaus Basan
97f687077c
Ref T135, utility functions for platform guessing and channels
...
* using QSet
* platform guessing
* Doxygen
* word size in CBuildConfig
* renamed to BlackMisc::Db::TDistributionsInfo
2017-09-24 20:29:14 +01:00
Klaus Basan
9770792a91
Include guard renamed
2017-09-24 20:29:13 +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
52caf795d1
Renamed function to hasSuccesfullyConnectedSwiftDb()
2017-09-24 20:29:01 +01:00
Klaus Basan
1aa8cfb1e8
Formatting, messages
2017-09-24 20:29:00 +01:00
Klaus Basan
3c97d68430
Ref T149, connect reader signals as Qt::QueuedConnection;
2017-09-24 20:28:59 +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
155d436788
Ref T150, Ref T156 allow using setup reader in unit test
2017-09-24 20:28:48 +01:00
Klaus Basan
fedcd76a05
Ref T156, allow to interactively resolve setup issues
...
* interactivelySynchronizeSetup
* utility function parseAndSynchronizeSetup, explicit loading of setup
* removed m_startSetupReader;
2017-09-24 20:28:42 +01:00
Klaus Basan
428ba0975c
Ref T156, setup reader adjusted
...
* link with watchdog Ref T150
* allow to disable URL connect checks if setup dialog is used
* refactoring of CSetupReader::parseCmdLineArguments so reparsing is possible
2017-09-24 20:28:37 +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
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
fdfa2233fb
Ref T150, Ref T156 cleaned up setup reader
...
* grouped functions together if they are based on the same URLs
* renamed functions
* Doxygen comments
2017-09-24 20:28:33 +01:00
Klaus Basan
b20c44a9f3
Ref T150, use watchdog in application
...
* remove own checks
* use watchdog
* connect watchdog to other readers to avoid redundant checks
2017-09-24 20:28:28 +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
afbf3f05c8
Ref T150, utility functions in URL list
...
* renamed to withAppendedPath
* findByHost
* addFailed utility functions
2017-09-24 19:54:30 +01:00
Klaus Basan
fe01a9d4aa
Formatting, typos
2017-09-24 19:54:28 +01:00
Klaus Basan
6d11ea2435
Unified formatting of member m_XXX
2017-09-24 19:54:27 +01:00
Klaus Basan
dbe66eceb2
Ref T149, get URL logs from web data services
2017-09-24 19:54:26 +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
eab22e86b0
Based on slack discussion, pass arguments from launcher to started application
...
https://swift-project.slack.com/archives/C04J6J76N/p1504449711000040
* utility functions in CApplication and CNetworkVatlib for cmd args
* a.addVatlibOptions() in launcher
* function CSwiftLauncher::startDetached to unify startup and simplify debugging
2017-09-24 19:54:15 +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
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
5d4c022dc0
Ref T140, too many warnings when wrong XPDR code is received.
...
Demoted to debug message.
Slack: https://swift-project.slack.com/archives/C04J6J76N/p1504365879000106
2017-09-24 19:54:01 +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
Roland Winklmeier
27f97e8ac8
Implement interpolator mode for FS9
...
Summary:
This implementation will always return true if we were setting the mode,
since we cannot easily access the return value from
CInterpolatorMulti::setMode in a thread safe manner.
Reviewers: #swift_pilot_client, kbasan, msutcliffe
Reviewed By: #swift_pilot_client, kbasan, msutcliffe
Subscribers: kbasan, jenkins
Differential Revision: https://dev.swift-project.org/D52
2017-09-24 19:53:35 +01:00
Klaus Basan
2b3b173b76
Default calculation of distance/bearing for airports. Follow up of the discussion in slack/during T125
...
Summary: Default calculation of distance/bearing for airports.
Reviewers: msutcliffe, rwinklmeier
Reviewed By: msutcliffe, rwinklmeier
Subscribers: jenkins
Maniphest Tasks: T125
Differential Revision: https://dev.swift-project.org/D48
2017-09-24 19:53:31 +01:00
Klaus Basan
dec5eff0c6
Ref T125, service to download and save file in directory
2017-09-24 19:53:26 +01:00
Klaus Basan
12db652ccf
Ref T125, renaming areAllDataRead => areAllInfoObjectsRead
2017-09-24 19:53:17 +01:00
Klaus Basan
8c032fb4d7
Ref T125, allow to get distribution list by JSON string. Also setup value object directly using JSON string now.
2017-09-24 19:53:13 +01:00
Klaus Basan
15f5a7f489
Ref T125, URL for XSwiftBus file info webservice
2017-09-24 19:53:12 +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
a993ccd1c1
Fix CApplication::processEventsFor so it can be used in samples/unit tests
2017-09-24 19:53:07 +01:00
Klaus Basan
16c2881e6a
New FSD testserver (on swift machines)
2017-09-24 19:53:00 +01:00