Michał Garapich
309e5c96cd
Added .astylerc file
2016-12-06 09:33:58 +01:00
Klaus Basan
cdea8cff95
refs #780 , fixes login/flightplan preset
...
* empty airline is valid
* sync with flightplan (new signal to indicate changed login values)
* better preset of own model
2016-12-06 09:33:57 +01:00
Klaus Basan
492649c061
fixes "unable to login", discovered during #780 ,
...
* fixed bootstrap file
* improved timeout of connect, now in single static function
* some minor tweaks
2016-12-06 09:33:56 +01:00
Klaus Basan
3b68a3b19d
refs #768 , fixed model form selectOnly, also hide drop area when read only
...
Reported during #780 by RW
2016-12-06 09:33:55 +01:00
Klaus Basan
9d51ee5bc8
refs #748 , further airport from DB follow up fixes
...
* Ignore mode, not all applications need to load everything (mapping tool no airports)
* removed signal in airport reader which is already in base class
* added "virtual" keyword
* fixed another syncronize typo
* added allDbEntiiesUsed() to also reflect the config (ignore flag)
* ensure allSwiftDbData are signaled correctly even with ignore flag
2016-12-06 09:33:54 +01:00
Klaus Basan
1ba42714ed
refs #768 , fixed capture as discussed
...
https://dev.vatsim-germany.org/issues/768#note-10
2016-12-06 09:33:53 +01:00
Mathew Sutcliffe
d0d1a9c8b8
refs #756 Fixed session cache concept:
...
Each new session generates an ID identifying that session, and
the .rev file annotates the ID associated with each cache value.
This is needed to avoid reading a value from a previous session
when loading for a continuing (non-new) session. The coarse-
grained approach of distinguishing new sessions from non-new
sessions was insufficient.
2016-12-06 09:33:52 +01:00
Mathew Sutcliffe
937cdbcc55
refs #756 Minor simplification and removal of unnecessary code.
2016-12-06 09:33:51 +01:00
Mathew Sutcliffe
fa76b5411e
refs #777 CApplication methods for detecting already running applications.
2016-12-06 09:33:50 +01:00
Mathew Sutcliffe
7f422eb3e4
refs #777 Utilities for reading/writing files while holding a QLockFile.
2016-12-06 09:33:49 +01:00
Mathew Sutcliffe
cf9b6f039c
refs #777 Moved enum CApplication::SwiftApplication to CApplicationInfo::Application.
2016-12-06 09:33:47 +01:00
Mathew Sutcliffe
d1c2c96c31
refs #777 Added classes CApplicationInfo and CApplicationInfoList.
2016-12-06 09:33:47 +01:00
Klaus Basan
34a68ca336
refs #748 , added airports in cache overview UI
2016-12-06 09:33:45 +01:00
Klaus Basan
35283d8887
refs #748 , fixed airport entity and reader resolution
2016-12-06 09:33:45 +01:00
Klaus Basan
14469f2d4e
Sample reg. JSON performance
...
* DB JSON vs. swift JSON
* Database reader: own function for stringToDatastoreResponse so it can be reused
2016-12-06 09:33:43 +01:00
Klaus Basan
7279772cab
refs #768 , changes to QSet<QString>
...
* based on review https://dev.vatsim-germany.org/issues/768#note-5
* changed a few signatures to QSet<QString>
2016-12-06 09:33:42 +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
85c5945aa1
refs #756 , init id to -1
2016-12-06 09:33:40 +01:00
Klaus Basan
9bf1833aac
Improved messages in reader UNIT test
...
* info about URL connected
* reflect changes in global setup for airport reader
2016-12-06 09:33:39 +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
ff1ea3826b
Improved error message when bootsrap file URL is not reachable
...
based on slack discussion during move of "shared" directory
2016-12-06 09:33:38 +01:00
Klaus Basan
ea17b2bb14
Minor Ui adjustment, giving DB login component a bit more space
2016-12-06 09:33:37 +01:00
Klaus Basan
fdc6f481d4
Changed assert message
2016-12-06 09:33:36 +01:00
Klaus Basan
d002f09da5
refs #775 , move "legal" folder out of shared
...
In same step update data files in shared
2016-12-06 09:33:34 +01:00
Klaus Basan
7e91ef8a38
refs #768 , renamed flag name to better represent its meaning
2016-12-06 09:33:32 +01:00
Klaus Basan
87e8465d6a
refs #756 , use session user object
2016-12-06 09:33:31 +01:00
Klaus Basan
5ac701274b
Show "loading" indicator when loading from backend is requested
2016-12-06 09:33:30 +01:00
Klaus Basan
b8d323226f
refs #748 , fixed airport JSON bugs and removed workaround
...
* removed workaround in web data services
* removed convertFromDatabaseJson functions, not needed
* changed to use the correct static fromDatabaseJson functions
* fixed prefixes
* load correct Country object by loading it as nested object
* key and timestamp was missing in CAirport tuple metadata
2016-12-06 09:33:29 +01:00
Klaus Basan
34d74904ff
Minor fixes
2016-12-06 09:33:28 +01:00
Klaus Basan
45a620dab5
refs #768 , some minor formatting during debugging of mapping wizard
...
(found that some unnecessary model changed events are sent, will result in some refactoring)
2016-12-06 09:33:27 +01:00
Klaus Basan
6322c6d302
refs #768 , login component
...
* opens wizard when a model is unknown
* now uses new completers
2016-12-06 09:33:26 +01:00
Klaus Basan
0c5ea48463
refs #768 , wizard allowing to map models from pilot client
...
* step by step guiding thru mapping steps
* single model write function in writer
* adjusted stylesheet
2016-12-06 09:33:25 +01:00
Klaus Basan
592e330278
refs #768 , authentication component improved
...
* access to user object
* show database name in UI
* init UI with user object at startup
2016-12-06 09:33:24 +01:00
Klaus Basan
80bbed96d4
refs #768 , allow to access view and filter of components
...
(required in wizard)
2016-12-06 09:33:23 +01:00
Klaus Basan
dfcde1158e
refs #768 , allow to clear log component
2016-12-06 09:33:21 +01:00
Klaus Basan
2d30b0b8e1
refs #768 , adjusted GUI components to previous changes
...
* such as changed completers
* also minor typo fixes, formatting
* removed outdated qss
2016-12-06 09:33:20 +01:00
Klaus Basan
91167ae2db
refs #768 , reset tab of settings component
2016-12-06 09:33:19 +01:00
Klaus Basan
a3be42f0c3
refs #768 , model form as combined form of livery/distributor and aircraft ICAO
2016-12-06 09:33:17 +01:00
Klaus Basan
50546f325a
refs #768 , minor GUI update of indicator
2016-12-06 09:33:16 +01:00
Klaus Basan
e8de55fcd5
refs #768 , updated forms
...
* set focus proxy
* use CDbLiveryColorSearchDialog
* adjusted to selector updates
2016-12-06 09:33:15 +01:00
Klaus Basan
1152502721
refs #768 , made color search a QFrame
...
* color search is a simple QFrame
* the dialog now uses this QFrame color search
* Rational: Color search can also be used in other components
2016-12-06 09:33:14 +01:00
Klaus Basan
4c6bb6e3fd
refs #768 , return DB keys as set
2016-12-06 09:33:13 +01:00
Klaus Basan
7d8f5f689f
refs #768 , some improvements of the filter
...
* allow to filter by airline only (livery filter)
* allow to hide description field
* set colors in livery filter
2016-12-06 09:33:12 +01:00
Klaus Basan
630fecf8e8
refs #768 , allow reselection of values when a view is sorted
...
* reselect callbacks
* remark: Only working in some cases as sorting is part of the model, while selection is part of the view (and sorting can take place without the view knowing the model is sorted)
* allow to sort by property index
* renamed to m_sortColumn
2016-12-06 09:33:11 +01:00
Klaus Basan
93f0e6582b
refs #768 , improved selectors
...
* added focus proxy
* using &QLineEdit::editingFinished as signal (changes value also when focus is lost)
* use enum to set how values are displayed
* search for DB values by leveraging the smart selector functions
* added isSet functions
* minor renamings/formatting
2016-12-06 09:33:10 +01:00
Klaus Basan
ac331d1d4f
refs #768 , allow to clear message form
...
(also fixed wrong reference to resources and deleted unused blackgui resources)
2016-12-06 09:33:09 +01:00
Klaus Basan
8718260623
refs #768 , update of value objects
...
* Adjusted validation
* Use default airline object when a color livery is created (refs #774 also)
* Added/improved completer strings (e.g. getVDesignatorDbKey())
* utility functions in lists
2016-12-06 09:33:07 +01:00
Mathew Sutcliffe
ab20b6c713
refs #756 Fixed mingw linker error.
2016-10-18 14:10:45 +01:00
Mathew Sutcliffe
384d59b084
refs #684 , #766 , #776 Removed CValueCacheCategory.
2016-10-17 14:37:47 +01:00
Mathew Sutcliffe
8a65a33384
refs #684 , #766 , #776 Support %OwnerName% in cache keys by allowing CCached::m_element to be a dummy
...
and by using a trick with explicit destructor call and placement new to reconstruct CCached when owner's name changes.
2016-10-17 14:37:47 +01:00