.. when authorising via SSL we may get handshake "errors" as
the protocol is established, this seems to occur with
openssl on Sierra and Mavericks.
.. since the request is completed then some form of protocol was
established so we ignore it in this instance.
.. even if there is a problem its likely the tokens will be blank
and that will trigger another error, so fairly safe to ignore
.. a data processor can now be configured to run on save
.. in addition, the data processor is now passed the operation
that is triggering it: "Manual", "ADD", "UPDATE", "DELETE",
"IMPORT".
.. a new data processor has been added to write a JSON file to
the snippet directory (added to the athlete structure).
.. this is so we can output a snippet every time an activity is
added, updated or deleted (i.e. runs "on save").
.. these JSON snippets can be used to update external datastores
where coaches use other analytic software but don't want to
manually sync GC changes with there external stores.
.. add a reference count for clones and originals, noting
that for user metrics the factory gets a clone and the
original is always deleted at startup.
.. additionally when the clone in the factory is deleted
on metric changes we finally delete the program that
was created initially.
.. note there is also a fix to let the configuration
settings spot when aggregate zero and istime change
in options as these were not spotted before.
fixes#2158
Issue:
The contents of the combo box, the array holding the raw mm values and
the index range checks were out of sync.
This led to wrong or no values at all during the wheel perimeter
calculation.
Changes:
* Add missing rim diameter 584mm
* Adjust rouding error in tire casing diameter
* Make index range checks more robust by using the actual array size
instead of just assuming a length
* Display ISO5775/ETRTO mm values in combo box
Combined with the Group By feature, it allows a simple way
to see weekly, monthly and yearly averages for cumulative
metrics s.t. Duration, Distance, TSS, etc.
.. lots of warnings about unused global variables that
are being used to call functions before main
.. a few other smaller nits that could be fixed easily
.. now get fewer warnings and more meaningful to then
review and resolve them
It is a more natural unit is most cases and allows enhanced
plotting in LTM charts since seconds are converted to hours.
Labels and ToolTip are shown in sexagesimal format.