Commit Graph

783 Commits

Author SHA1 Message Date
Roland Winklmeier
e51757cbf8 Rename vatlib2 to vatlib (v0.9.5)
refs #468
2015-11-22 21:13:27 +01:00
Michał Garapich
1b06e15b61 refs #510 Remove underscores from all the source file names 2015-11-22 12:53:09 +01:00
Klaus Basan
1fc7300982 refs #507, split up blackmiscfreefunctions
* single register metadata functions
* string utils
* metadata utils
* some formatting / license header where applicable
2015-11-22 02:42:29 +01:00
Klaus Basan
025457c43b refs #509,renamed CDownload to CUpdateInfo
* as discussed in meeting
* follow up adjustments (file renaming, msg. renaming)
2015-11-20 22:38:50 +01:00
Michał Garapich
5611304f09 refs #462 Remove Q_ASSERT for plugin loading failure 2015-11-20 18:34:44 +01:00
Michał Garapich
a0b4d47736 refs #392 Added BlackGui::IPluginConfig
* BlackGui::IPluginConfig is an interface for plugin configurations
* Added plugin_xplane_config target
* Adapted IPluginManager
* Adapted CPluginManagerSimulator
* Adaptem CSettingsSimulatorComponent
2015-11-19 21:08:21 +00:00
Michał Garapich
4d772050b0 refs #443 Add simulator enable/disable option
* Added CPluginSelector widget
* IContextSimulator starts/stops only specified listener(s)
* No more "auto" CSimulatorPluginInfo
2015-11-19 21:08:15 +00:00
Michał Garapich
a4f0007414 refs #442 Add CPluginManagerSimulator
* Rename CPluginManager to IPluginManager, it is an abstract class now
* Move plugin-related code to CPluginManagerSimulator
* Remove plugin validation from CSimulatorPluginInfo
2015-11-19 21:08:12 +00:00
Klaus Basan
6dd8fb333e refs #507, checks if URLs / DBus can be connected / reached
* new class CFailoverUrlList
* improved utility methods
* CDBusServer: utility function to check server / DBus can be connected
* check in swift GUI if DBus is available
2015-11-19 21:08:06 +00:00
Klaus Basan
d131cd2d33 refs #507, changed setup reader and simplied global setup and setup reader
* a single base URL (shared), derived URLs by appended path
* simplified dir structure shared with sub directories
* renamed functions
* automatically synchronize setup with DB when initialized
* trigger download info loading when setup is completed
* allow to automatically read after setup data have been synchronized
* read DB data when setup has been loaded
* allow to reload from threaded reader
* improved handling (log messages, skip reading) when data are not available
2015-11-19 21:07:58 +00:00
Klaus Basan
f448d50e29 refs #507 download value object for download information 2015-11-19 21:07:53 +00:00
Klaus Basan
4d3d9fa6be refs #476, improvements on gracefulShutdown
* gracefulShutdown in metar reader and other readers
* made m_shutdown thread safe
* Demoted log level for reader
* helper function finished or shutdown
2015-11-19 21:07:33 +00:00
Klaus Basan
54448fd2b2 refs #337, added missing empty contexts 2015-11-19 21:07:31 +00:00
Klaus Basan
de011dab1e Formatting / style 2015-11-19 21:07:28 +00:00
Roland Winklmeier
6ff9df5c05 Launch shipped dbus-daemon if first connection attempt was unsuccessful 2015-11-19 21:07:25 +00:00
Roland Winklmeier
5eddef0f12 Add install targets
refs #486
2015-11-19 21:07:14 +00:00
Roland Winklmeier
6474261c3c Remove unnecessary includes 2015-11-19 21:07:00 +00:00
Klaus Basan
a33558987c Added swift header / formatting / fixed mixing registerMetatype 2015-11-19 21:06:38 +00:00
Klaus Basan
dda64d0879 refs #502, cookie manager
* use authenticated user data objects in databaseauthentication
* shared threadsafe cookie manager across the QNetworkAccessManagers
* use cookie manager in existing readers
2015-11-19 21:06:22 +00:00
Klaus Basan
98b86b6f27 refs #502, move the thread checks into own class in blackmisc
* we want to clean up the freefunctions anyway
* allows to use check in blackmisc namespace
2015-11-19 21:06:19 +00:00
Klaus Basan
87a55edc04 refs #502, added role support and user as data object (for distribution) 2015-11-19 21:06:13 +00:00
Klaus Basan
23b310ac9b Formatting, typos 2015-11-19 21:06:11 +00:00
Mathew Sutcliffe
0ca4797bcf refs #494 Get the filename used for serializing a specific cached value, or list of all files used by whole cache. 2015-11-19 21:05:44 +00:00
Mathew Sutcliffe
966eed9044 refs #494 Using CValueCachePacket, cache values are given timestamps. 2015-11-19 21:05:38 +00:00
Mathew Sutcliffe
a4dfc4ba9d refs #494 Use QFileSystemWatcher to watch for remote changes to the data store. 2015-11-19 21:05:29 +00:00
Klaus Basan
5ae502af34 refs #497 Login component integrated with authentication service 2015-11-19 21:04:48 +00:00
Klaus Basan
7cb4c6a6c6 refs #497, improved URL and network utils
* utility functions
* URL, allow to switch to https
* Adjusted database writer
2015-11-19 21:04:45 +00:00
Klaus Basan
03f4aa6889 refs #497, changed and improved handling of bootstrap files
* changed global setup (port, root directory)
* version for bootstrap files
2015-11-19 21:04:43 +00:00
Klaus Basan
23856bbc57 Connection guard (detected during #477)
Disconnects Qt signal/slot conenction when destroyed
2015-11-19 21:04:40 +00:00
Klaus Basan
1e57ce7ecb MS' review items from here ( refs #478 )
https://dev.vatsim-germany.org/issues/478#note-3
2015-11-19 21:04:31 +00:00
Klaus Basan
cef3a7f1cb refs #497, new functions for global setup 2015-11-19 21:04:26 +00:00
Klaus Basan
a9fc21af2f refs #478, refs #470 setup reader now detects when data version or data type changes 2015-11-19 21:04:20 +00:00
Klaus Basan
bcf1bed1d0 Improved log level when DB reading fails
(Mapping between severity and read status flags)
2015-11-19 21:04:12 +00:00
Klaus Basan
ac61a3458d Removed settings context
* removed old settings related classes
* moved notifications to BlackMisc::Audio
* added audio settings where needed

refs #464
refs #337
2015-11-19 21:04:06 +00:00
Klaus Basan
955b8bafea Moved smart selector functions to lists 2015-11-19 21:03:55 +00:00
Klaus Basan
53ba50dd3a refs #478, use data cache in readers
* URLs no longer have to be passed
* watchdog for DB readers to check DB status

In same step:
* fixed some log messages and comments
* allow to self signed SSL certificates
* adjusted namespace for CNetworkUtils (now in network)
2015-11-19 21:03:39 +00:00
Klaus Basan
2d46a93676 refs #478, fixes for datacache and containerbase discussed with MS via slack 2015-11-19 21:03:34 +00:00
Klaus Basan
54ed4140d3 refs #470, read and update URLs from server 2015-11-19 21:03:28 +00:00
Klaus Basan
cba40a8ca4 refs #478, setup class containing the fundamental URLs and locations
Removed the old class CGlobalNetworkSettings
2015-11-19 21:03:25 +00:00
Klaus Basan
19df8a5d71 refs #478, CUrl class and moved network utils
* moved network utils into network folder
* CUrl / CUrlList as DBus/JSON compliant class for locations
* Added support for selsigned certificates in network utils
2015-11-19 21:03:20 +00:00
Klaus Basan
805ebb109b refs #483, call in background via QTimer::singleShot
As proposed https://dev.vatsim-germany.org/issues/483
2015-11-19 21:03:14 +00:00
Mathew Sutcliffe
6b75de0b3f refs #482 Project files changed to use new qmake feature files and build directory structure. 2015-11-19 21:02:41 +00:00
Roland Winklmeier
c51d7c28a1 Fix asserts in CWebDataServices 2015-11-19 21:02:33 +00:00
Roland Winklmeier
c8a914eb7a Fix initial reading of Vatsim metars 2015-11-19 21:02:30 +00:00
Mathew Sutcliffe
a6d17efc31 refs #472 Removed static_cast<int> for enums in blackcore, no longer needed. 2015-11-19 21:02:19 +00:00
Mathew Sutcliffe
1735ec9ff0 refs #467 Only send a log message via DBus if it matches a pattern to which another process has subscribed. 2015-11-19 21:02:04 +00:00
Mathew Sutcliffe
3aa3a2a892 refs #467 Mechanism for processes to notify each other of which log patterns they are subscribed to. 2015-11-19 21:02:02 +00:00
Mathew Sutcliffe
df6b5b4929 refs #466 Resolved TODO items in INetwork. 2015-11-19 21:01:07 +00:00
Mathew Sutcliffe
b1a3793c2f refs #466 Resolved miscellaneous TODO items. 2015-11-19 21:01:02 +00:00
Klaus Basan
2507ce6715 Fixes as discussed in the meeting
* hasXXMessage performance
* remove id ASSERT_X
2015-11-19 21:00:34 +00:00