Commit Graph

89 Commits

Author SHA1 Message Date
Klaus Basan
312d01d35b Ref T199, also cache files can be loaded
* unwrap cache JSON object
* parameter to control if cache format is allowed
2018-01-14 18:47:37 +01:00
Klaus Basan
826760e347 Bootstrap file name encapsulated 2018-01-14 18:47:28 +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
1f9337609a Ref T172, adjustments for ecosystem
* stricter equal comparison ("changed" flag)
* set VATSIM server type and ecosystem in VATSIM reader
2017-12-29 19:49:38 +01:00
Klaus Basan
2c60dfd133 Ref T172, using centralized swift test server
Remark: The credentials for the server were distributed in multiple places, now cnetralized in one
2017-12-29 19:49:30 +01:00
Klaus Basan
6242111fda Ref T199, help page URL 2017-12-25 13:10:38 +01:00
Klaus Basan
0daf4ba087 Ref T203, renamings to "update info" and "settings" 2017-12-21 19:48:30 +01:00
Roland Winklmeier
c553d24d0e Move GFS weather data url into global setup
Summary:
The GFS weather data url so far was hard coded. With this commit, it is
moved into the global setup (bootstrap file).
Also the url type was changed from QUrl to CUrl, which simplified the
generation of the url including its query by using CUrl::appendQuery().
Finally it fixes sampleweatherdata, which did not have a CApplication yet.

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: jenkins

Tags: #swift_pilot_client

Maniphest Tasks: T151

Differential Revision: https://dev.swift-project.org/D57
2017-11-20 15:57:08 +01:00
Klaus Basan
60656843f8 Ref T169, check minimum mapping tool version
* added min.version in global setup
* check in CSwiftData::checkMinimumVersion
2017-10-10 00:28:29 +01:00
Klaus Basan
6ce80bbd8e Ref T169, formatting 2017-10-10 00:28:27 +01:00
Klaus Basan
9748b5a442 Formatting, comments, Doxygen, minor tweaks 2017-10-10 00:27:03 +01:00
Klaus Basan
733ee7853d Ref T160, ping service URL in setup 2017-09-25 05:23:57 +02:00
Klaus Basan
ec77f9c64b Ref T160, further formatting 2017-09-25 05:23:57 +02:00
Klaus Basan
ad32d33aa1 Ref T157, add context for help calls and call dispatcher 2017-09-24 20:29:19 +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
a22cd134f8 Formatting 2017-09-24 19:54:16 +01:00
Klaus Basan
15f5a7f489 Ref T125, URL for XSwiftBus file info webservice 2017-09-24 19:53:12 +01:00
Klaus Basan
0bbad2ff83 Minor tweaks (found during T125)
* formatting/typos
* authentication: private slots => private
2017-09-24 19:53:10 +01:00
Klaus Basan
8119aafca4 Move URLs getter to cpp. This is a tweak so I can easily change the URLs for testing. 2017-09-24 19:52:22 +01:00
Klaus Basan
b3186d6b91 Doxygen 2017-09-24 19:50:34 +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
61a140a5a4 Ref T32, add query parameter for swift application 2017-04-21 03:12:39 +02:00
Klaus Basan
6c76e0fea6 refs #935, globalsetup.cpp(369): warning C4503 2017-04-19 19:31:16 +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
9ec452f1c4 Minor, string building 2017-04-18 00:07:10 +01:00
Klaus Basan
9faad01c8b refs #921, changed setup/reader to distribution URL 2017-04-18 00:07:08 +01:00
Klaus Basan
cbf69d9847 refs #921, remove UpdateInfo class (now distribution list) 2017-04-18 00:06:37 +01:00
Klaus Basan
d918ee4cfd refs #883, class for storing the launcher state
* removed DBus setting (causing crash as it was shared among launcher/pilot client, so using cache)
* also remember UI values
2017-02-24 15:21:54 +00:00
Klaus Basan
dd37945625 refs #883, added new "directories"
* directories for in buildconfig/globalsetup
* renamed to CBuildConfig::getSwiftShareDir
2017-02-24 15:21:47 +00: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
c02cbcb952 Updated some documentation based on a brief slack discussion with MG 2016-12-06 09:34:37 +01:00
Klaus Basan
de7821ff86 refs #781, use admit in database reader
* added amit functions in readers
* cacheHasChanged functions (needed because data of caches are loaded in background)
* pinned small caches
* CDatabaseReader::readInBackgroundThread uses admitCaches now
2016-12-06 09:34:35 +01:00
Klaus Basan
65950e4518 refs #758, updated bootstrap file and removed old URLs
* replaced some hardcoded URLs
* removed swiftTeamDefaultServers()
* bootstrap.json
2016-12-06 09:33:41 +01:00
Klaus Basan
fb8f6e9b7f refs #748, airport reader setup
* removed functions for old file URL
* added URL functions for DB data
2016-12-06 09:33:39 +01:00
Klaus Basan
87e8465d6a refs #756, use session user object 2016-12-06 09:33:31 +01:00
Michał Garapich
39dae7ed45 Fix possible memleak in CDatabaseWriter
* CApplication network methods cleanup
2016-08-26 00:18:41 +02:00
Michał Garapich
1032b2f506 refs #650 Implement CAirportDataReader
* Add BlackCore::CAirportDataReader class
* Add cache traits for airport list
* Add corresponding WebReaderFlag
* Add CAirport::convertFromDatabaseJson()
* Add CApplication::headerFromNetwork() to handle HTTP HEAD method
2016-08-26 00:18:41 +02:00
Roland Winklmeier
e47aec223e Integrate Crashpad crash handler into CApplication
Crash handler launches an external crash handler executable called
swift_crashpad_handler. It monitores the parent process and produces
a local dump in case of a crash.
For release builds, the dump is also uploaded to a crash report server.

refs #490
2016-08-09 17:51:57 +02:00
Mathew Sutcliffe
0ae1e70923 refs #697 Data cache traits renamed with T prefix. 2016-08-03 02:20:27 +01:00
Klaus Basan
ebcd738a4b refs #709, fixed initial version displayed
(was not called when data were not updated)
2016-07-28 21:08:12 +02:00
Klaus Basan
7c9328b868 URLs for airports (slack discussion with MG) 2016-07-14 18:49:30 +02:00
Klaus Basan
8412ab9917 follow up of #698 and optimized VATSIM cache
(do not set if equal)
2016-07-12 03:37:40 +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
b4a9531357 refs #690, remember last login data
* cache/setting for last values
* integrated in login component
* allow to set default value for server selection
2016-06-29 15:38:13 +02:00
Klaus Basan
c133ad04c7 refs #681, using FSD setup in server 2016-06-29 15:38:10 +02:00
Klaus Basan
83d0234d3c refs #680, call help URL from menu
* added central functionality in CGuiApplication
* function in global setup for URL
2016-06-23 20:13:36 +02:00
Klaus Basan
2a99bed0cd refs #656, MS review items https://dev.vatsim-germany.org/issues/656#note-4
Remove defaultValue where not needed
2016-06-08 18:21:03 +02:00
Klaus Basan
332d8e5fc8 refs #649, added caches to model data reader
* trait
* const fix distributor list
2016-06-08 18:21:00 +02:00
Klaus Basan
e6f0db73c5 refs #656, using deferred for large caches 2016-06-08 18:20:36 +02:00
Klaus Basan
467f37db7f refs #649, added check for changed base URL to database reader
(continued #649 after fixes of #664)
2016-06-08 18:20:35 +02:00