Commit Graph

175 Commits

Author SHA1 Message Date
Klaus Basan
93d1dcfc1d Ref T219, added some utility functions in value classes 2018-01-14 18:46:14 +01:00
Klaus Basan
fa6f83d87b Ref T218, sequence replaceOrAdd overloads 2018-01-14 18:45:50 +01:00
Klaus Basan
2fb7bde447 Ref T215, some adjustments of user object
* remove "valid" from some functions, because no validity is checked
* homebase + real name string
2018-01-13 05:04:34 +01:00
Klaus Basan
0975abcc46 Ref T215, remember last server and model as cache value
* also remember last server not VATSIM server
* remember last model used
* server list selector uses remembered value
* login component sets those values
2018-01-13 05:04:11 +01:00
Klaus Basan
b68e232f38 Ref T215, utility functions
* CServer
* ICAO List
2018-01-13 05:04:03 +01:00
Klaus Basan
c1df30fc55 Ref T172, added ecosystem in CServer class 2017-12-29 19:49:22 +01:00
Klaus Basan
8724e3dc3a Ref T172, ecosystem value class 2017-12-28 20:00:01 +01:00
Klaus Basan
efd4e110b7 Ref T172, formatting
* this->m_ => m_
* formatting
* comments / doxygen
2017-12-28 18:44:32 +01:00
Klaus Basan
06f5de205c Ref T203, utility functions for remote files 2017-12-21 19:48:07 +01:00
Klaus Basan
6445444fbf Ref T203, utility functions for URL 2017-12-21 19:48:03 +01:00
Klaus Basan
6374e5e10a Some formatting like "this->m_" => "m_"
During Ref T203
2017-12-21 19:47:46 +01:00
Klaus Basan
d4b4b48a55 Ref T190, improved display of text messages
* tooltip
* using QStringBuilder
2017-12-21 19:45:22 +01:00
Klaus Basan
c2eeff6193 Ref T189, formatting 2017-12-21 19:45:17 +01:00
Klaus Basan
48adb52082 Ref T190, text messages can be appended
(same sender sends one message in multiple parts)
2017-12-21 19:44:57 +01:00
Klaus Basan
f55332b1ec Ref T190, text message formatting 2017-12-21 19:44:49 +01:00
Mathew Sutcliffe
0b67466480 Removed workarounds in metaclass system that were needed for GCC 4.9 and old MSVC. 2017-11-14 17:51:07 +00:00
Mathew Sutcliffe
0cae43197c Consume all console output of ping process, to avoid noise in test output. 2017-11-12 21:20:09 +00:00
Klaus Basan
822ef11c02 Ref T180, formatting 2017-11-09 04:42:11 +01:00
Klaus Basan
5ac8a24e74 Ref T118, formatted authenticated user 2017-10-31 15:39:29 +01:00
Klaus Basan
22e1a974a1 Ref T171, formatted user 2017-10-18 22:58:33 +02:00
Klaus Basan
500be2f7d1 Improved beautify name function (fixed during T171) 2017-10-18 22:58:32 +02:00
Klaus Basan
5682c9cb58 Ref T169, set http USER-AGENT version in a defined way, so we can use it for checks at the backend 2017-10-10 00:28:35 +01:00
Klaus Basan
7b212c65bb Ref T129, formatting and optimized CVoiceCapabilities 2017-10-10 00:28:01 +01: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
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
db05d237c2 Ref T149, indentify PHP error string 2017-09-24 20:28:56 +01:00
Klaus Basan
b01c7d6333 Ref T150, Ref T156 overloading canPing 2017-09-24 20:28:46 +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
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
a22cd134f8 Formatting 2017-09-24 19:54:16 +01:00
Klaus Basan
b107617f73 Ref T148, formatting/renaming 2017-09-24 19:54:10 +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
Klaus Basan
50442e6f13 Ref T125, value class for remote files (i.e. files downloaded). Corresponds with backend service T132 2017-09-24 19:53:24 +01:00
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