Klaus Basan
400a8fc2a8
Splash screen messages for web data services
2019-02-22 20:35:01 +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
225ff81252
Ref T485 Adjust CLogMessage and CStatusMessage call sites to use the new API.
2019-02-22 20:34:55 +00:00
Klaus Basan
158ba34936
Minor adjustments setup reader
2019-02-22 20:24:03 +00:00
Klaus Basan
e7a807efdf
Allow text messages on the splash screen, currently used with setup reader
2019-02-22 20:24:00 +00:00
Mat Sutcliffe
d6b5dca6b2
Return a default-constructed QString instead of implicitly converting an empty string literal.
2019-02-22 20:23:49 +00:00
Mat Sutcliffe
6c05c5249d
When calling arg() on a QString constructed from a literal, use QStringLiteral.
2019-02-22 20:23:47 +00:00
Mat Sutcliffe
b4724996c6
Fixed clazy warnings: unused QString.
2019-02-22 20:23:42 +00:00
Klaus Basan
3c20590293
Allow a forced update of the setup reader
...
When the network is down it can happen the bootstrap file request is not yet timed out but we use our own time out.
In that case we check the cached data upfront by faking a failed web read.
2018-12-05 04:03:43 +01:00
Klaus Basan
6ef10b92ab
Fixed non-saving crashdump setting and some improvements for setup
...
Registration for "Settings::CCrashSettings::registerMetadata()" was missing
2018-12-02 18:26:49 +01:00
Klaus Basan
2ba89ec10c
Cleaner setup load messages
2018-11-22 19:54:52 +01:00
Klaus Basan
4a82621a1d
Ref T400, swift needs to start even without network connection, especially for mapping tool
...
* count errors and call "manageSetupAvailability" to update cache availability
* minor adjustments
2018-11-04 17:42:43 +01:00
Klaus Basan
47b12b66cf
Ref T367, Ref T400 setup reader improvements
...
- guards for Qtimer::singleShot
- check empty URLs
- only skip reading if already loaded from web
2018-11-04 17:42:41 +01:00
Klaus Basan
9dfc3808c1
Ref T367, Ref T400 global setup flags for web and file reading
2018-11-04 17:42:41 +01:00
Klaus Basan
ffc903de34
Ref T367, Ref T400 style
2018-11-04 17:42:41 +01:00
Klaus Basan
7ae7d04548
Ref T367, do not read again when info/setup was just read (age)
2018-09-23 20:12:30 +02:00
Klaus Basan
8f286c4475
Ref T367, simplified bootstrap and update info reading
2018-09-22 01:26:41 +02:00
Klaus Basan
e1421622b1
Reset URL list and adjusted timeouts for for bootstrap file. Also avoid problems when shutting down.
2018-05-08 16:06:34 +02:00
Klaus Basan
922f12f141
Ref T199, sync. caches of setup reader
2018-01-14 18:47:35 +01:00
Klaus Basan
826760e347
Bootstrap file name encapsulated
2018-01-14 18:47:28 +01:00
Klaus Basan
0f8bbbbfc2
Ref T210, adjusting classes to use new functions
2017-12-21 19:49:52 +01:00
Klaus Basan
379357d5d5
Formatting
2017-12-21 19:49:34 +01:00
Klaus Basan
7cf5dcdd8a
Ref T203, renamings and improved messages in setup reader
2017-12-21 19:48:44 +01:00
Klaus Basan
0daf4ba087
Ref T203, renamings to "update info" and "settings"
2017-12-21 19:48:30 +01:00
Klaus Basan
8103df18f7
Ref T195, formatting
2017-12-21 19:45:46 +01:00
Klaus Basan
d1898b26fc
Ref T160, "private slots" to "private" in setup reader
2017-09-25 05:23:56 +02: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
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
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
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
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
a9198e4f13
Ref T103, Unified naming of directory functions
...
* some started with get/some not (removed get, get is normally used for our getters)
* some used swift, getSwiftXZY dir (removed swift)
* used full word "directory", not dir/directory mixed
2017-09-24 19:49:53 +01:00
Klaus Basan
debd9c802f
Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
...
getApplicationDir renamed to getBinDir() as it works different on MacOs
see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
2017-09-24 19:49:51 +01:00
Klaus Basan
212bb6b485
Ref T42, setup reader
...
* cache can be prefilled
* renamed to ps_readDistributionInfo
* network issues -> chance to retry
2017-05-05 23:07:40 +01:00
Klaus Basan
f2d89bf56c
Fixed misc. things for bootstrap file/reader
...
* added help URL
* added swift map URL
* fixed typo for crash report server
* added more failover servers
2017-04-19 19:30:58 +01:00
Klaus Basan
8143add432
Show distribution file URL in distribution component (tooltip)
2017-04-18 00:08:14 +01:00
Klaus Basan
9faad01c8b
refs #921 , changed setup/reader to distribution URL
2017-04-18 00:07:08 +01:00
Klaus Basan
ec297d5838
Formatting, typos
2017-04-18 00:06:53 +01:00
Klaus Basan
d1a72f8d62
refs #921 , adjusted reader to use distribution info
2017-04-18 00:06:42 +01:00
Roland Winklmeier
64a47da67f
Use CApplication::isNetworkAccessible() wherever possible
...
Up to now we had a mixture of different methods to detect whether
network is connected, accessible or both. Even if they implied a
different meaning, they were all doing the same and internally
referred to almost the same code. Almost, since our implementation
of CNetworkUtils::hasConnectedInterface refers to code from Qt 4.4.
However, all of them returned a boolean status whether a network
interface is generally up or not. Instead of maintaining our own
version, use Qt functions.
refs #869
2017-02-24 15:22:11 +00:00
Klaus Basan
5d81b23386
refs #883 , some UI finetuning / Doxygen comments
2017-02-24 15:21:57 +00:00
Klaus Basan
4a28807768
refs #853 , JSON exception handling in setup reader
2017-01-10 23:47:19 +00:00
Mathew Sutcliffe
bda0f42c60
refs #815 Mark with \todo the remaining places where CJsonException needs to be caught.
2017-01-10 23:46:37 +00:00
Klaus Basan
62f2593486
refs #846 , setup reader
...
* save last error message
* renamed to setupHandlingCompleted
* docu
2017-01-10 23:46:00 +00:00
Klaus Basan
c02cbcb952
Updated some documentation based on a brief slack discussion with MG
2016-12-06 09:34:37 +01:00
Klaus Basan
ff1ea3826b
Improved error message when bootsrap file URL is not reachable
...
based on slack discussion during move of "shared" directory
2016-12-06 09:33:38 +01:00
Klaus Basan
09d74c48b8
Changed some default URL to https://datastore.swift-project.org
2016-09-19 16:18:55 +02:00
Klaus Basan
0357dbde8f
refs #712 , improved readers
...
* only trigger read when network interface is available
* do not trigger all reads at same time but slightly shifted
* renamed to hasReceivedOkReply()
2016-07-28 21:08:25 +02:00
Klaus Basan
8d5020d78e
Some Web readers adjustemnts
...
* do not init shared URLs before needed
* do not load info objects when DB is unavailable
* adjust reader flags when DB is down
* airport URL available in setup
2016-07-03 13:22:26 +02:00
Klaus Basan
ce7362a9d9
refs #675 default URL for bootstrap file
...
* CApplication now has member function isUnitTest
* bootstrap URL has hardcoded default URL when running as unit test
* unit tests are automatically marked as "running in dev. environment"
2016-06-23 20:13:26 +02:00