Commit Graph

2601 Commits

Author SHA1 Message Date
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
2dfb6770da Ref T129, improved flight plan remarks parsing
* unit tests
* improved parsing
* return value objects instead of just strings where applicable
2017-10-10 00:28:24 +01:00
Klaus Basan
3fb2f88032 Ref T129, some more utility functions for aviation value objects
* removed static variables from SELCAL
* more finder functions for airline ICAO list
* check for IATA code
* unify callsign now public
2017-10-10 00:28:20 +01:00
Klaus Basan
686cb03170 Ref T129, SELCAL class improvements
* unify string to also allow strings like AB-FG as input
* removed static variables, replaced by "our normal static const &" style
2017-10-10 00:28:18 +01:00
Klaus Basan
6fbf601aea Ref T129, SELCAL class formatting 2017-10-10 00:28:16 +01:00
Klaus Basan
3d541a8dd1 Ref T129, SVFR/VFR discussion
* utility functions in flight plan class
* adjusted flight plan component and client
2017-10-10 00:28:09 +01:00
Klaus Basan
f98b612797 Ref T129, fixed formatting and minor tweaks 2017-10-10 00:28:06 +01:00
Klaus Basan
f95a0b60cc Ref T129, utility function to check airline ICAO against swift DB 2017-10-10 00:28:04 +01:00
Klaus Basan
7b212c65bb Ref T129, formatting and optimized CVoiceCapabilities 2017-10-10 00:28:01 +01:00
Klaus Basan
3c24d5c7f9 Ref T129, created CFlightPlanRemarks as value object and removed flight plan utils
* CFlightPlanRemarks supports the functionality of utils, but is also a valid value object
* deleted CFlightPlanUtils .h/.cpp
* CFlightPlan uses CFlightPlanRemarks
* changed classes like VATSIM data reader to use CFlightPlanRemarks (instead of utils)
2017-10-10 00:27:56 +01:00
Klaus Basan
27281e438d Ref T129, aircraft ICAO and parsed remarks can be obtained from flight plan 2017-10-10 00:27:54 +01:00
Klaus Basan
784cf287f0 Ref T129, extended flight plan utils
* renamed to CFlightPlanUtils::FlightPlanRemarks
* now parsing also SELCAL, airline ICAO
2017-10-10 00:27:46 +01:00
Klaus Basan
3b842679e7 Ref T129, flight plan list 2017-10-10 00:27:43 +01:00
Klaus Basan
1daa640972 Ref T129, added callsign in flight plan and made flight plan timestamp interface compliant 2017-10-10 00:27:39 +01:00
Klaus Basan
5f75943bbb Ref T129, removed CAircraft/CAircraftList as no longer existing 2017-10-10 00:27:37 +01:00
Klaus Basan
db9236a266 Ref T129, formatting aircraft parts/situation 2017-10-10 00:27:36 +01:00
Klaus Basan
bfa3908a99 Ref T129, utility function for timestamp based interface 2017-10-10 00:27:34 +01:00
Klaus Basan
ba8d0c1f64 Ref T129, formatted aircraftmodel and simulated aircraft 2017-10-10 00:27:32 +01:00
Klaus Basan
9b51ec251c Ref T129, force callsign type "Aircraft" for model 2017-10-10 00:27:30 +01:00
Klaus Basan
3ca352a2a1 Ref T166, identifier can be set
(in case an identifier from a higher level should be set)
2017-09-29 23:26:19 +02:00
Klaus Basan
4fcdd0e1f0 Doxygen: "core settings" -> "settings"
https://swift-project.slack.com/archives/C04J6J76N/p1506440644000057
2017-09-26 20:04:40 +02:00
Klaus Basan
ad91cecf00 Ref T160, UUID as string utility function 2017-09-25 05:23:58 +02:00
Klaus Basan
8324c2d305 Ref T160, continous worker now CIdentifiable and name is mandatory 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
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
7cdfe8c914 Settings, added TSettingTrait::humanReadable and used copydoc, T159 related 2017-09-24 20:29:22 +01:00
Klaus Basan
f07bdc204a Ref T135, moved TDistributionSetting to BlackCore::Application::TDistribution
* own file
* can use loaded distribution info in sApp
2017-09-24 20:29:15 +01:00
Klaus Basan
97f687077c Ref T135, utility functions for platform guessing and channels
* using QSet
* platform guessing
* Doxygen
* word size in CBuildConfig
* renamed to BlackMisc::Db::TDistributionsInfo
2017-09-24 20:29:14 +01:00
Klaus Basan
65bc1c00fb Formatting, "this->m_" to "m_", comments 2017-09-24 20:29:09 +01:00
Klaus Basan
8b8bc9b994 Ref T152, unified member usage: this->m_xx -> m_xx 2017-09-24 20:29:07 +01:00
Klaus Basan
e269ce5bd8 Ref T152, do not start loading if the model dir does not exists/is empty 2017-09-24 20:29:06 +01:00
Klaus Basan
725341cdbe Fixed some formatting for T152 (before changing the classes) 2017-09-24 20:29:05 +01: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
1aa8cfb1e8 Formatting, messages 2017-09-24 20:29:00 +01:00
Klaus Basan
db05d237c2 Ref T149, indentify PHP error string 2017-09-24 20:28:56 +01:00
Klaus Basan
815cf75f66 Ref T149, return number of removed elements 2017-09-24 20:28:55 +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
1baf74ebf3 Added comments based on discussion https://swift-project.slack.com/archives/C04J6J76N/p1504536854000049 2017-09-24 19:54:13 +01:00
Klaus Basan
b107617f73 Ref T148, formatting/renaming 2017-09-24 19:54:10 +01:00
Klaus Basan
c0a6574c80 Ref T148, public getName so it can be used in logging 2017-09-24 19:54:04 +01:00
Klaus Basan
782639e7c9 Allow to use status message debug() with << like info(), ...
Slack discussion: https://swift-project.slack.com/archives/C04J6J76N/p1504372206000004
2017-09-24 19:54:00 +01:00
Klaus Basan
946bdb964e Ref T146, added icons 2017-09-24 19:53:53 +01:00
Klaus Basan
b49b7f8c71 ASSERT when CContinuousWorker::quitAndWait is called by object thread -> deadlock 2017-09-24 19:53:50 +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
Mathew Sutcliffe
9da798e470 Ref T155 Log category for CValuePage. 2017-09-24 19:53:43 +01:00
Mathew Sutcliffe
de11f7fe35 Correctly remove session cache value of expired session.
Summary:
`CDataCacheRevision` stores current working timestamps in `m_timestamps` and stores complete timestamps (including unadmitted deferred values) in `m_originalTimestamps`. A value is "in" the cache if and only if its timestamp is in `m_timestamps`. In `writeNewRevision` the `.rev` file is written based on `m_originalTimestamps` so that unadmitted deferred values don't get lost.

Session cache works by removing timestamps that were not created in the current session. But it needs to remove from both `m_timestamps` and `m_originalTimestamps` so that old session cache values can't get recreated by `writeNewRevision`.

Test Plan: Currently being evaluated by @kbasan to check that it does not introduce unintended consequences.

Reviewers: #swift_pilot_client, kbasan

Reviewed By: #swift_pilot_client, kbasan

Subscribers: jenkins, kbasan

Tags: #swift_pilot_client

Differential Revision: https://dev.swift-project.org/D53
2017-09-24 19:53:41 +01:00