Mat Sutcliffe
e9a4c49d68
Ref T547 Update license masthead in all source code files.
2019-02-22 20:36:43 +00:00
Klaus Basan
a1bea413f4
Style
2018-12-10 03:41:15 +01:00
Mat Sutcliffe
62634e1e0e
Ref T314 Style: correct parameter name.
2018-10-05 17:39:56 +02:00
Klaus Basan
09ab653cf9
Reduced number of (unnecessary) network status messages
2018-09-08 15:36:21 +02:00
Klaus Basan
3f1e2940a2
Ref T295, 2nd connect check if one failed
...
Experimental: See if this finds false warnings
2018-08-21 22:10:30 +02:00
Klaus Basan
c0ca56ee93
Ref T295, fix for the "no network config" issue
...
* details: https://stackoverflow.com/questions/51686943/no-qnetworkconfiguration-although-i-can-connect-to-wifi
* network accessibility check can be disabled if network config looks suspicious
* using QNetworkConfigurationManager
2018-08-09 01:25:18 +02:00
Klaus Basan
c282d4e1f8
Ref T295, network watchdog optimizations
...
* constructor can pass network accessibility as default
* ping URL now constructed in global setup
* watchdog will prevent unnecessary signals by checking if state has really changed (there are redundant QAM signals for QNetworkAccessManager::networkAccessibleChanged)
* refactorings, thread checks
2018-07-31 01:43:32 +02:00
Klaus Basan
f252729fdd
Network watchdog improvements
...
- QPointer checks
- renamings
- count failed pings
2018-07-09 22:30:46 +02:00
Klaus Basan
66bf45eb9c
Unit tests, skip if DB is not reachable
2018-05-08 16:06:37 +02:00
Klaus Basan
57b3760b61
Make "CanConnect" timeout configurable in watchdog
...
* see also https://swift-project.slack.com/archives/G7GD2UP9C/p1522624024000024
* added signatures
* changed timeout
2018-05-04 23:03:22 +02:00
Klaus Basan
b6b37c9c0f
DB watchdog also emits URL in signal (allows to display the failed URL)
2018-05-04 23:03:18 +02:00
Klaus Basan
c42b325d54
Watchdog allows to obtain info string about the statistics
2018-01-17 05:00:09 +01:00
Klaus Basan
cca275b278
Doxygen
2017-12-21 19:49:11 +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
15e46ba94a
Do not trigger loads if they are doomed to fail
2017-09-27 03:01:03 +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
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