Commit Graph

1218 Commits

Author SHA1 Message Date
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
Klaus Basan
aa653e0d85 refs #475, allow to load DB data from disk.
* Will allow to load data if DB is not accessible / available
* Also allows to save, so a special set can be saved for testing/forensic.
* fixed status bar, as received data no longer means DB is alive
2015-11-19 21:00:26 +00:00
Klaus Basan
3ed2068ff5 refs #452, MS review
https://dev.vatsim-germany.org/issues/452#note-5
2015-11-19 21:00:19 +00:00
Klaus Basan
2ba061bbc0 refs #469, adjusted network context due to changes in signals and METAR naming 2015-11-19 21:00:17 +00:00
Klaus Basan
8827b68b3b refs #452 signals in reader classes. adjusted METAR reader
* renamed to connectDataReadSignal
* removed unused individual signals, e.g. vatsimMetarsRead -> replace by data read signal + entity flag
* added data in METAR class (kept there, not in airspace monitor) -> reader aware
2015-11-19 21:00:15 +00:00
Klaus Basan
2cfd3540b8 refs #469, renamed flags
* db to entity flags as it also features entities not from DB
* Flag enums singular (discussed with MS / slack)
2015-11-19 21:00:13 +00:00
Klaus Basan
24432a56c7 refs #452, integrated METAR reader in CWebDataServices
* renamed files without "_"
* added flags
* integrated URL into global reader settings
* added new parameter for connectVatsimDataSignals
* removed unused setting in settings / network.h
2015-11-19 21:00:11 +00:00
Klaus Basan
3923336da8 refs #452 changes because of the 452 branch, but only possible after merge with master
Fixed a gcc (Jenkins) warning along with that
2015-11-19 21:00:10 +00:00
Klaus Basan
c84bc457df Renamed FSD server function 2015-11-19 21:00:09 +00:00
Klaus Basan
b2d38d24e6 refs #452 Post merge: Fixed includes - without those compilation did not work at my (KB) place 2015-11-19 21:00:07 +00:00
Klaus Basan
c80f352710 refs #452, adjusted airspace monitor
* made BlackMisc::Network::CWebDataServicesAware
* adjusted to new classes / code such as CAircraft -> CSimulatedAircraft
2015-11-19 20:59:20 +00:00
Klaus Basan
5fc0c66112 refs #452 adjusted network vatlib signatures 2015-11-19 20:59:19 +00:00
Klaus Basan
898b4fc935 refs #452, changed DB read signals to combined signal with flags 2015-11-19 20:59:17 +00:00
Klaus Basan
542c93051f Removed redundant registerMetadata for simulation 2015-11-19 20:59:16 +00:00
Klaus Basan
77f1f68808 refs #452, adjust contexts
* removed classes (e.g. CAircraft -> CSimulatedAircraft)
* meet changes in signatures (e.g. updateOwnIcaoData -> updateOwnIcaoCodes)
2015-11-19 20:59:15 +00:00
Klaus Basan
07c6370819 refs #452, data readers / writers for DB (via web services)
* flags for readers (which reader is reading specific entities etc.)
* web data services: bundling multiple readers (webdataservices) and implementing IWebDataReaderProvider
* readers now able to read single entities
2015-11-19 20:59:13 +00:00