Klaus Basan
2d8c2ea930
Ref T149, use new signals/functions to directly change status bar
...
* timer private
* some formatting
2017-09-24 20:29:04 +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
4762a95216
Avoid unnecessary JSON exceptions
2017-09-24 20:28:58 +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
db05d237c2
Ref T149, indentify PHP error string
2017-09-24 20:28:56 +01:00
Klaus Basan
815cf75f66
Ref T149, return number of removed elements
2017-09-24 20:28:55 +01:00
Klaus Basan
f8e672b04f
Ref T154, resize rows height for overlay messages
...
* for smaller container sizes switch to row content resizing
* row content resizing is slow -> only for small container sizes
* user still can switch manually (context menu) to row resizing
* default is interactive row resizing
2017-09-24 20:28:54 +01:00
Klaus Basan
d2b364c291
Unified formatting this->m_XX -> m_XX
2017-09-24 20:28:53 +01:00
Klaus Basan
6c3a0243ab
Follow up of Ref T154, overlay messages can be appended and cleared
...
* changed signatures
* aligned naming to showOverlayMessage, ...
2017-09-24 20:28:52 +01:00
Klaus Basan
ab65039ca4
Follow up of Ref T154, messages can be exported (and hence added to a bug tracking issue for instance)
2017-09-24 20:28:50 +01:00
Klaus Basan
1aa842ad5a
Ref T150, Ref T156 unit test for connectivity, watchdog etc.
2017-09-24 20:28:49 +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
2b638caf80
Renamed to connectServer
2017-09-24 20:28:47 +01:00
Klaus Basan
b01c7d6333
Ref T150, Ref T156 overloading canPing
2017-09-24 20:28:46 +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
409a50e8a5
Ref T156, setup loading dialog allowing to resolved issues with bootstrap loading
2017-09-24 20:28:38 +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
5d2531080b
Ref T150, use new checks in load/status UI components
2017-09-24 20:28:36 +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
1c57ce87a2
Ref T149, URL log list/class to trace network calls
...
* value class
* list
* metadata registration
2017-09-24 19:54:21 +01:00
Klaus Basan
099afba8a7
Found during T149, use QScopedPointer to destroy QNetworkReply
2017-09-24 19:54:17 +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
1baf74ebf3
Added comments based on discussion https://swift-project.slack.com/archives/C04J6J76N/p1504536854000049
2017-09-24 19:54:13 +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
6f7e827492
Ref T148, in CDbLoadOverviewComponent do not trigger info object read if DB cannot be connected
...
(only results in error messages)
2017-09-24 19:54:09 +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
c0a6574c80
Ref T148, public getName so it can be used in logging
2017-09-24 19:54:04 +01:00
Klaus Basan
11abb9f481
UI, smaller LEDs for cockpit component
2017-09-24 19:54:03 +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
782639e7c9
Allow to use status message debug() with << like info(), ...
...
Slack discussion: https://swift-project.slack.com/archives/C04J6J76N/p1504372206000004
2017-09-24 19:54:00 +01:00
Klaus Basan
7946fd8d18
Ref T146, improved login component
...
* logoff countdown can be stopped
* login mode (normal, obs, ..) shown
2017-09-24 19:53:59 +01:00
Klaus Basan
adfd341cbc
Ref T146, avoid double clicks for "connect button" using disableButtonBriefly
2017-09-24 19:53:57 +01:00
Klaus Basan
b6ca59eda8
Ref T146, minor adjustments in keypad area
...
* removed keypadIdentifier()
* private slots -> private
2017-09-24 19:53:56 +01:00