MapQuest API reaches EOL on Aug-31, let's test the replacement
in all the supported platforms.
Reveal Controls are disabled in this build for all charts,
with Show Console on chart settings for R and Python charts.
[publish binaries]
Since MapQuest elevation service reaches end of life on aug-31,
it is replaced by Open-Elevation public API with minimum changes.
TODO: use Post instead of Get to request more points at a time
Fixes#4206
.. clarify how to make updates in the README
.. replace the fit_example.h from the current SDK
.. added Garmin devices not yet supported in the SDK to
the nongarmin.json file
.. updated the makefile to use python3 and update when
the python program is changed.
For R and Python charts the Show Console setting is now
part of regular settings, and it is replaced by a warning
label when R or Python are disabled to help users.
Since for remaining charts reveal controls are redundant,
they are globally disabled in Perspective class.
TODO: remove all reveal code to simplify charts,
eventually after v3.6 release to minimize risks?
Fixes#4256
[skip AppVeyor]
To avoid rebuild when after_success is cancelled,
so restarting the job can complete the packaging.
Drawback is we need to clear the cache to rebuild
[publish binaries]
.. second release candidate with no open defects in the
backlog for 3.6 this is likely the last release candidate
before we release (unless we find a major defect that
needs to be corrected and tested).
- General is what we have with updated default Trends Overview minus
CP related charts moved to Power Duration perspective.
- Power Duration includes CP related charts in previous layout plus
some useful charts from CloudDB for modelling and profiling.
- Triathlon includes a multisport Overview, TriScore PMC, VO2 Scores
for Bike and Run, CV chart for run and swim and Run profile for now.
- Measures include Weight, HRV and Nutrition charts.
Complements 5e4189f and fixes#3899
Run perspective includes Power analysis, Swim includes HR,
and General defaults for Bike and remaining sport.
Map is an experimental tiled perspective including Map and
Performance charts, intended to create and analize intervals.
To enable workout preview in the more specific layout,
provided the current perspective allows switching,
to avoid unwanted swithing when using the Workout Editor.
Reorder perspectives in default layout.
So workouts with GPS data but no video can use LiveMap chart,
without messing with basic slope workouts
Update default layout to include a perspective for each mode
Part of #3899
.. since it is a generated file lets symlink FITmetadata.json
to the source maintained in util/fit to save having to copy it etc.
.. also removed unused variable 'write' that was left behind from
some unused code during development
.. we try and download the latest from the website when
the first FIT file is opened.
Since importing data is generally not a time critical
action and we only try for the first file this is more
appropriate than checking at each launch.
.. the version number is not checked, it is assumed the
version on the website will always be the very latest.
.. the file is now baked in to the GC binary and loaded
the first time a FIT file is parsed.
.. the getManuProd() function has been changed to use the
loaded metadata to derive product descriptions.
.. we still need to update the code to check the version
available a www.goldencheetah.org and use it if it is
newer than the one cached/baked in.
Different warnings for 2 cases:
- When the imported filename already exists in the library
- When the copy fails for other reasons
They were merged with different messages.
Add erg2 extension as one of admited workout formats to avoid
Scan Workouts removing all referenes to them.
Also uncheck Select All setting by default since currently
there are hundreds of workouts and downloading all of them is unlikely
what the users want to do, besides they are not that easy to remove.
events(date|name|priority|description) returns a vector with the
required field for each event in the current date range span.
For example, to create vertical lines in a Trends User Chart:
sapply(events(date), { annotate(vline, events(name)[i], solid, x); });
When GPS data was available before the first distance tick,
includes test file contributed at the forum.
Fixes#4251
Also reverts the TCX part of 1f094f5 since it is incomplete,
and not such a good idea anyway.
.. a well known issue with deletion of datafilters that
was a side-effect of the old metric refresh code and
threading.
.. now the computation no longer uses QConcurrent::map
the issue with deletion of the datafilter is removed.
.. have tested with metric refreshes and removal and
addition of new user metrics.
.. more testing is required to be sure the problem is
now completely gone.
.. data point allocated twice on heap in appendOrUpdatePoint
which is always called by RideFile::append
.. this leak has been present since v3.4 (!)
Fixes#4248