Commit Graph

116 Commits

Author SHA1 Message Date
Klaus Basan
81fa66f80d Minor style change login UI 2019-07-17 01:13:42 +02:00
Roland Rossgotterer
a7509669f9 Refactor crashpad initialization
Crashpad handler was initialized quite late since we were waiting for settings. However the settings in crashpad are persistent itself, hence we can start it at the earliest possible time and change the upload settings independently later. The only prerequisite is to have QCoreApplication constructed in order for the application name to be available.
ref T652
2019-05-13 11:21:05 +02:00
Klaus Basan
9b1c1ccf3d Logoff if simulator is disconnected (auto logoff trigger) 2019-05-13 11:20:55 +02:00
Klaus Basan
02896d06d2 Prepared for only A-Z/0-9 callsign entry 2019-05-13 11:20:52 +02:00
Klaus Basan
8eff8cd3ba Enable AUTO LOGOFF per default 2019-05-13 11:20:48 +02:00
Klaus Basan
9a0f2263cc Ref T639, unify the connect buttons
* toggle connection from button bar directly -> public
* use Qt::QueuedConnection
* allow to reset values
2019-05-13 11:20:47 +02:00
Klaus Basan
8223ddb710 Checks to avoid crash during shutdown 2019-04-11 22:12:03 +01:00
Mat Sutcliffe
e9a4c49d68 Ref T547 Update license masthead in all source code files. 2019-02-22 20:36:43 +00:00
Klaus Basan
bae7680e59 Ref T401, server info also when not connected 2019-02-22 20:36:31 +00:00
Mat Sutcliffe
fe7a45afcf Ref T516 Update CStatusMessage call sites to use new syntax. 2019-02-22 20:35:51 +00:00
Klaus Basan
970a7a0af8 Use style sheet for login model string field, remove hardcoded values 2019-02-22 20:35:45 +00:00
Klaus Basan
13c67e4838 Login UI/lookup improvements
* made tool -> push buttons as easier to spot
* reverse lookup of model before login -> always latest DB data
* use "text only" ICAO code if loading from DB yields no result
2019-02-22 20:35:33 +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
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
ace7650ebe Ref T480 No need for QStringLiteral when concatenating with %, use UTF-16 string literals. 2019-02-22 20:23:46 +00:00
Mat Sutcliffe
333ea1b8df Fixed clazy warnings: empty QStringLiteral. 2019-02-22 20:23:32 +00:00
Klaus Basan
a09d7191f3 Ref T456, user statistics monitored at backend
* values for simulator/network
* changed concept a bit so crash handler values are used for statistics as well
2018-12-16 00:22:33 +01:00
Klaus Basan
c591728e88 Aircraft ICAO code of own model is wrong
Although the reverse lookup of a model is correct, it's aircraft ICAO code is wrong

Issues found

* in the driver the ICAO code is permanently overridden -> commented out
* there are two contexts, own aircraft and simulator, but only one uses reverse lookup -> now both
* using Qt::QueuedConnection for context -> GUI
2018-12-11 00:51:31 +01:00
Klaus Basan
556c17795d Fill in combined type if not filled in (empty) and ICAO is from DB 2018-12-10 03:41:16 +01:00
Klaus Basan
32b2059d1a Allow to refresh "other server" combobox 2018-12-10 03:41:15 +01:00
Klaus Basan
42af510342 Check for minimum mapping version
* check functions in gui application/application
* check for instance mapping wizard
* check on mapping tool's stashing component
2018-12-05 04:03:59 +01:00
Klaus Basan
1f60390cea On login page, on clear aircraft/airline fields with simulator attached 2018-12-05 04:03:43 +01:00
Klaus Basan
394147dcb9 Server handling
* added tower view as hardcoded
* renamed to predefined servers
* utility functions to add/remove FSD setup flags
2018-11-29 20:54:25 +01:00
Klaus Basan
4792dbf8d1 Ref T420, setting to save "auto logoff"
* added flag in settings
* use in login component
2018-11-29 20:54:25 +01:00
Klaus Basan
0e5dc4e12a On login page, clear aircraft/airline fields if model is not from DB
* discussion https://swift-project.slack.com/archives/CCV74GESV/p1543344801126700
* emulated driver settings allow non DB model for testing
* use "showOverlayHTMLMessage"
2018-11-29 20:54:25 +01:00
Klaus Basan
beec69281a Login component set FSD/voice details based on current server selection 2018-11-16 02:49:56 +01:00
Klaus Basan
8003a50ae5 Ref T420, trigger logoff countdown when simulator is no longer vital 2018-11-16 02:49:56 +01:00
Klaus Basan
79547efe0a Login UI improvements 2018-11-16 02:49:54 +01:00
Klaus Basan
66a1b32f0f Ref T401, login updates crashpad info 2018-11-04 17:43:06 +01:00
Klaus Basan
6755fd68dc Ref T420, logoff countdown time configurable 2018-11-04 17:42:48 +01:00
Klaus Basan
b1942282f5 Reorder login page
* 2 sections: login/logoff status
* select server, then details (not in same tab widget which is misleading)
* call readonly on subforms
2018-11-04 17:42:44 +01:00
Klaus Basan
3cbdfc1675 Ref T408, add callsign to window title when connected 2018-11-04 17:42:44 +01:00
Klaus Basan
10f0f175c8 Minor fixes in login component 2018-11-04 17:42:44 +01:00
Klaus Basan
fbfa014fff Login component style 2018-11-04 17:42:42 +01:00
Klaus Basan
d37a6cd20d Ref T376, CVoiceSetup used in login component to override 2018-10-05 17:39:55 +02:00
Klaus Basan
1b92144f40 Use Qt::QueuedConnection for reader -> UI component signal/slots
For DB load overview also text descriptions (long/short) are adjusted
2018-08-26 15:27:03 +02:00
Klaus Basan
64dc16168c Ref T301, login component can re-init and hence reconnect to core 2018-08-13 02:59:45 +02:00
Klaus Basan
418584c5e3 Style 2018-08-01 03:06:16 +02:00
Klaus Basan
1746388560 Ref T292, Ref T285 use CEntityFlags::isFinishedReadState to also check against restricted read plus refactoring 2018-07-27 04:02:50 +02:00
Klaus Basan
18041b1dc2 Ref T292, Ref T285 removed model set loader from UI components and replaced by central cache 2018-07-25 02:37:07 +02:00
Klaus Basan
ecc3f76e19 Minor adjustments of login component 2018-07-10 17:17:32 +02:00
Klaus Basan
d1782cf014 Use encapsulated network setup and display correct server tab, follow up of Ref T272 2018-06-13 13:59:19 +02:00
Klaus Basan
a2ab62a25a Shutdown guard 2018-05-08 16:06:47 +02:00
Klaus Basan
04f99d10ac Avoid issues during shutdown in login component 2018-05-08 16:06:35 +02:00
Klaus Basan
9009045dd0 Ref T249, using FSC server as obfuscated server
Only show in local builds
2018-02-11 19:47:01 +01:00
Klaus Basan
301eb79eca Renamings and adjustments of developer flag 2018-01-30 20:34:50 +01:00
Klaus Basan
3375ca1b25 Ref T219, renaming buttons/function to "override" 2018-01-17 03:33:41 +01:00
Klaus Basan
18c7d7cf59 Use overlay messages for validation 2018-01-17 03:33:39 +01:00
Klaus Basan
1cc3ae09c6 Ref T219, finetuning login component as discussed
https://swift-project.slack.com/archives/G7GD2UP9C/p1515341712000143
2018-01-14 18:46:45 +01:00
Klaus Basan
c2c6ea3ca4 Ref T219, changed login component so VATSIM and other server data can use values from pilot form
* also "other servers" can have homebase
* use pilot form
2018-01-14 18:46:34 +01:00