In total 18 new metrics are added and 6 new charts using them are
included in charts.xml (existing users needs to remove their local
copy in config/charts.xml to activate them, reset doesn't work since
it retrieves the server copy which is v3.5 yet.)
Fixes#2555
[publish binaries]
This solves the issue when activities not having all the data
channels available are aggregated.
Forces a metric recomputation to account for these changes.
So it aggregate properly in Metric Trends Charts, currently
when one of the rides to be aggregated has 0 percent in one of
the zones the aggregate is distorted and it can be higher than 100%
which is particularly notable when the bars are stacked.
This has been reported several times at the forum.
Fixes#2745 which requests this metric plus it allows to fix the issue with
Time in Zone Percentages which don't add to 100% nor aggregate properly
when there are gaps in recording, tipically due to pauses.
When there are no gaps Time Recording equals Duration and Time in Zone
Percentages don't change.
.. slight adjustment to the scheme (before working through
303 different metrics)
.. added sport() which can return an OR'ed value of sports
the metric is relevant for (e.g. Run|Bike) and added
some shorthand values Triathlon == Run|Bike|Swim whilst
any is 0xff (matches all).
.. add classification and validity attributes to every
ridemetric with a default of Unknown and None to get
things started.
.. next step is to work through each and update based upon
available evidence. This might be best performed in 2
passes: first pass where criteria is beyond reasonable
argument and is unlikely to be disputed, and a second
pass where evidence has been identified.
Introducing a directory structure to make it a bit less
daunting for new developers and perhaps even old hands.
The main folders all start with an upper character, so src
files are now located in;
* Core - Core data structures
* Gui - Main GUI elements
* Metrics - Models and Metrics
* FileIO - Device and File I/O
* Charts - All the chart types
* Cloud - Working with Web Resources
* Train - Anything Train View specific
* ANT - Our ANT+ Stack
* Resources - Images, Translations, Web etc
Apologies to anyone who needs to merge across this update.