Klaus Basan
d2d44085ba
Formatting
2017-09-24 19:49:03 +01:00
Klaus Basan
36037c4c04
Ref T85, minor improvements on server type
...
* UI: generic generation of combobox
* UI: Read only for combobox
* CServer utility functions
2017-06-27 20:50:28 +02:00
Klaus Basan
2746b0a5f9
Improved VATSIM datafile parsing
...
* removed empty split value at end
* some formatting
* columns to lower case at 1st parsing, not always
2017-06-18 22:51:09 +02:00
Klaus Basan
699a8d0f9f
Ref T82, removed add button for servers, only save
...
* save will add a new server when not already existing
* when saved with same name, it will override values
* default values for FSD setup
* adjusted validation
2017-06-18 22:51:04 +02:00
Klaus Basan
e45ad3b7e9
Fix missing arg
2017-06-18 22:51:03 +02:00
Roland Winklmeier
5d1b5dba38
Allow to select server type in FSD settings
...
Summary:
With this change the server type is a dynamic setting per server and
replaces the hardcoded global server type in CNetworkVatlib. This allows
the user to select the server type in settings ui and configures
the vatlib session accordingly.
This also removes the command line argument to set the server type since
it doesn't make sense anymore.
Reviewers: msutcliffe
Reviewed By: msutcliffe
Subscribers: jenkins
Differential Revision: https://dev.swift-project.org/D24
2017-06-09 12:27:58 +02:00
Mathew Sutcliffe
e848459ccb
Avoiding QRegularExpression for simple stuff [follow-up D11]
...
Summary: Fixing a snag I noticed while reviewing D11. There is no need to use a regex for such a simple thing as removing `[^A-Z]`. Some other minor optimizations in the same function.
Reviewers: rwinklmeier, kbasan
Reviewed By: rwinklmeier
Subscribers: jenkins
Tags: #swift_pilot_client
Differential Revision: https://dev.swift-project.org/D20
2017-05-14 15:04:32 +01:00
Klaus Basan
afbb87298f
Ref T77, prefix for getDbKeyAsStringInParentheses
2017-05-09 19:13:53 +02:00
Mathew Sutcliffe
d5ab73e1bc
Replace QRegExp with QRegularExpression
...
Reviewers: kbasan, msutcliffe
Reviewed By: kbasan, msutcliffe
Subscribers: jenkins
Differential Revision: https://dev.swift-project.org/D11
2017-05-05 23:08:35 +01:00
Klaus Basan
c0320609b3
Ref T28, minor improvements
2017-05-05 23:08:06 +01:00
Klaus Basan
6fc48ab160
Ref T53, "bulkadd" role in UI/user
2017-05-05 23:08:02 +01:00
Klaus Basan
d46257f670
Ref T42, util function to create network report
2017-05-05 23:07:38 +01:00
Klaus Basan
8ad7c1e3c7
Fixed issue with still using header instead of info object data
...
plus some utility functionality
2017-05-05 22:40:10 +01:00
Klaus Basan
640ad99520
Allow to pass timeout to obtainNextWorkingUrl
...
Sometimes timeout for news in launcher, needs to be investigated
2017-05-05 22:39:56 +01:00
Klaus Basan
88ef2ee019
Ref T32, utility functions for URL/URL list
...
* keep error messages of failed URLs
* append query
2017-04-21 03:11:00 +02:00
Klaus Basan
db3370f8f7
Ref T24, shared info file name and flag for SharedInfoObjectEntity
2017-04-20 20:38:30 +02:00
Klaus Basan
65f4d1f9e2
Increase timeout a bit (WLAN experience)
2017-04-20 20:35:48 +02:00
Mathew Sutcliffe
e3fe8ec39f
refs #937 Resolved clazy warnings: miscellaneous.
2017-04-19 19:31:50 +01:00
Mathew Sutcliffe
b20ebd6dfd
refs #937 Resolved clazy warnings: rule of three.
2017-04-19 19:31:44 +01:00
Mathew Sutcliffe
3ea9e33e6b
refs #937 Resolved clazy warnings: pass-by-value/reference.
2017-04-19 19:31:42 +01:00
Mathew Sutcliffe
b7f69c6887
refs #937 Resolved clazy warnings: unnecessary memory allocation.
2017-04-19 19:31:39 +01:00
Klaus Basan
f2602a8915
Formatting, const, Doxygen
...
#930
2017-04-18 00:08:02 +01:00
Klaus Basan
660798e43c
refs #930 , moved multipart functions to database utils and added support for compression
2017-04-18 00:08:00 +01:00
Klaus Basan
f85501c7bf
refs #921 , use QVersionNumber
...
* CVersion removed
* remaining utility functions moved to CBuildConfig
* patch version -> micro version (Qt naming)
* using classes adjusted
2017-04-18 00:06:58 +01:00
Mathew Sutcliffe
c1a82ad60e
Fixed undescriptive error message generated by CNetworkUtils::canConnect.
2017-04-18 00:06:08 +01:00
Klaus Basan
8cc683386f
refs #897 , set timestamp for sent message and default "all messages"
2017-04-17 23:58:21 +01:00
Roland Winklmeier
66cf96d47f
Use CEventLoop to process events until a signal is received
...
refs #869
2017-02-24 15:22:18 +00:00
Roland Winklmeier
7faffc520d
Remove obsolete network connection checks
...
refs #869
2017-02-24 15:22:15 +00:00
Roland Winklmeier
98b2061d3d
Remove redundant checks in CNetworkUtils::getKnownLocalIpV4Addresses()
...
refs #869
2017-02-24 15:22:14 +00:00
Klaus Basan
c460505d2e
refs #883 , refs #869 using ping as socket is slow/sometimes has trouble
2017-02-24 15:21:59 +00:00
Klaus Basan
92100c85f7
refs #883 , added utility function ping
2017-02-24 15:21:53 +00:00
Klaus Basan
74db515802
refs #882 , support for 30x redirect and some more utility functions
...
* CNetworkUtils::setSwiftClientSslCertificate for shared URLs
* redirect functions
2017-02-24 15:21:34 +00:00
Klaus Basan
f71cb04cd2
Formatting ( #879 )
2017-02-24 15:21:23 +00:00
Klaus Basan
9beb6c79e1
refs #875 , renamed to getKnownLocalIpV4Addresses()
2017-02-24 15:21:04 +00:00
Roland Winklmeier
7be604741c
Add swift client ssl certificate
...
refs #762
2017-02-24 00:19:36 +00:00
Klaus Basan
1ced7f3c0b
refs #857 , check if network is accessible in readers
...
* new read state "skipped"
* renamed to "isNetworkConnectedAndAccessible"
* checking before reading, which would only fail if network is not accessible
2017-02-24 00:08:55 +00:00
Mathew Sutcliffe
a0e59546f0
fixed mistakes caught by clang
2017-01-11 01:28:42 +00:00
Klaus Basan
9eff387207
Removed deprecated funtions and changed code to use new functions
2017-01-10 23:47:10 +00:00
Klaus Basan
dcfaca431c
refs #849 , use timestamp with server to indicate when login started
...
* CServer -> ITimestampBased
* added compare functions
2017-01-10 23:46:48 +00:00
Klaus Basan
5f18707c9c
Minor fixes: Formatting, string generation
2017-01-10 23:46:47 +00:00
Mathew Sutcliffe
bbdbd26f82
refs #815 Throw CJsonException when required JSON objects are not found.
2017-01-10 23:46:33 +00:00
Mathew Sutcliffe
b252673928
refs #837 Using new abbreviated syntax for null units.
2017-01-10 23:44:30 +00:00
Klaus Basan
f839421bdd
refs #787 , utility functions for shared files
...
* get file name from URL
* service and file names in CDbInfo
* adjusted DB flags, allow to load headers only
* set of entity flags
2016-12-13 19:01:24 +01:00
Klaus Basan
1f57f7ca61
refs #812 , use individual signals for web services
...
* trigger other operations directly when data have been read (do not wait for "all data read")
* avoid retriggering for no reason
* new entity flag for all data req. for model matching
2016-12-13 19:01:16 +01:00
Klaus Basan
dcaa745e7b
refs #787 , utility functions for shared files
...
* entity to shared file, shared file for DB Info
* CUrl path function
* removed redundant code in CDbInfo::getEntity() and fixed CEntityFlags::singleEntityByName
2016-12-06 09:35:00 +01:00
Klaus Basan
cdea8cff95
refs #780 , fixes login/flightplan preset
...
* empty airline is valid
* sync with flightplan (new signal to indicate changed login values)
* better preset of own model
2016-12-06 09:33:57 +01:00
Klaus Basan
492649c061
fixes "unable to login", discovered during #780 ,
...
* fixed bootstrap file
* improved timeout of connect, now in single static function
* some minor tweaks
2016-12-06 09:33:56 +01:00
Klaus Basan
9d51ee5bc8
refs #748 , further airport from DB follow up fixes
...
* Ignore mode, not all applications need to load everything (mapping tool no airports)
* removed signal in airport reader which is already in base class
* added "virtual" keyword
* fixed another syncronize typo
* added allDbEntiiesUsed() to also reflect the config (ignore flag)
* ensure allSwiftDbData are signaled correctly even with ignore flag
2016-12-06 09:33:54 +01:00
Klaus Basan
35283d8887
refs #748 , fixed airport entity and reader resolution
2016-12-06 09:33:45 +01:00
Klaus Basan
85c5945aa1
refs #756 , init id to -1
2016-12-06 09:33:40 +01:00