Commit Graph

8051 Commits

Author SHA1 Message Date
Joern
be2edb82e6 Fix Regression DataTable
... if a column has no data - just do not try to add the missing rows
2017-04-20 14:47:14 +02:00
Joern
46151a272f Merge pull request #2461 from Joern-R/Fix-Plot
Fix "Shadow" Tmp-Exhaustion Marker
2017-04-20 12:16:21 +02:00
Mark Liversedge
bc7ad97760 Merge pull request #2462 from mtbkeith/kr-SwimRunPace
Use units specified in zone settings for run/swim/default.
2017-04-20 05:10:01 +01:00
Keith Reynolds
0980946856 Use units specified in zone settings for run/swim/default.
Using Preferences->Athlete->Zones->Pace Zones for both Run/Swim to override Preferences->General->unit.
Simplify some code with if/else blocks.
Reorganize Tooltip variable argument order to match placement in text.
Still several problems around kph being used in chart y-value despite settings.
Use const when appropriate.
2017-04-19 21:09:28 -06:00
Joern
2911d64f45 Fix "Shadow" Tmp-Exhaustion Marker
... which appears only when plot is "zoomed in"
2017-04-19 20:19:21 +02:00
Mark Liversedge
f29942afd7 Merge pull request #2459 from mtbkeith/kr-fix-cvUnits
Use correct units for CV hover dialog.
2017-04-19 17:26:42 +01:00
Keith Reynolds
499b6381db Fix CP chart to add in y-value.
Adds y-value into ‘units2’; as kph, mph has done.
Re-order heat curve creation into if/else area.
Put string args on separate lines.
2017-04-19 09:56:46 -06:00
Keith Reynolds
1f144f5364 Use correct units for CV hover dialog. 2017-04-19 01:30:27 -06:00
Mark Liversedge
4633109478 Merge pull request #2457 from stschake/bug/cloud-default-url
Fix variant check to ensure default URL is used in Cloud Service wizard
2017-04-19 05:24:18 +01:00
Stefan Schake
8b761dacae Fix variant check to ensure default URL is used 2017-04-18 23:19:34 +02:00
Mark Liversedge
da88a608fd Cloud Auto Download - Better info
.. tell the user how many and where data is being downloaded

.. tell the user when checking we only look 30 days in the past
2017-04-17 11:05:14 +01:00
Mark Liversedge
5340a6e0ab Fix import regression
.. Athlete::addRide() changes broke RideImportWizard
2017-04-16 19:32:28 +01:00
Mark Liversedge
9b41470f12 Merge pull request #2454 from sisao/master
Screenshot for RChart wiki page.
2017-04-16 18:23:45 +01:00
slorenz
158b772bc2 Screenshot for RChart wiki page. 2017-04-16 16:34:54 +02:00
Mark Liversedge
3440dfcf3e Hi-DPI Support - Cosmetic Fixups
.. some overlooked symbols, fonts and editbox sizes
2017-04-16 11:11:57 +01:00
Mark Liversedge
4b9d35c440 Merge pull request #2451 from sisao/AddZonesLowToR
Provide zoneslow and zonescolor in GC.athlete.zones().
2017-04-15 20:59:56 +01:00
Mark Liversedge
a3eb75c70d Fix auto download flicker
.. if no auto download services are selected then there is
   no need to show the auto download progress.
2017-04-15 18:41:52 +01:00
slorenz
3f59dcfe52 Provide zoneslow and zonescolor in GC.athlete.zones(). 2017-04-15 19:22:36 +02:00
Mark Liversedge
20f3bf62a0 Cloud Auto Download - 3 of 3
.. Gui notifications of background activity

.. a small notification area at the bottom of the analysis
   sidebar shows checking and download status.

.. also fixed up the ride list to not select them, since that
   is irritating if your in the middle of doing something.
2017-04-15 17:52:04 +01:00
Mark Liversedge
7da230761d SixCycle - Support Compressed Download
.. where file name is e.g. tcx_*.gz to indicate a TCX file
   using gzip compression.
2017-04-15 11:13:21 +01:00
Joern
8918de2fe5 Merge pull request #2449 from Joern-R/BM-Metrics
RideMetrics - add missing Body Measures
2017-04-15 08:56:03 +02:00
Mark Liversedge
bbb581bc9c Cloud Auto Download - 2 of 3
.. background download management, adds to the ride list
.. next commit needs to fixup GUI notifications etc.
2017-04-14 19:37:39 +01:00
Joern
196066a45b RideMetrics - add missing Body Measures
... Athlete Bones
... Athlete Muscles
2017-04-14 20:03:34 +02:00
Mark Liversedge
5f28755f88 Cloud Auto Download - 1 of 3
.. initial plumbing to get the auto downloader integrated
   into context, athlete and ridecache refresh.

.. part 2 will need to perform the download functions

.. part 3 to add the GUI / notification of progress
2017-04-14 15:40:49 +01:00
Mark Liversedge
45b3d4a722 Fix train view select ERG crash
.. regression introduced by c187bda7
2017-04-14 14:47:51 +01:00
Alejandro Martinez
278a9f3129 Updated translation files
To help translators working with development builds
2017-04-13 16:33:44 -03:00
Mark Liversedge
abe05f7c79 Strava Upload Only for Dev Build
.. disable as it is a WIP.
v3.5-DEV1704
2017-04-13 15:48:06 +01:00
Mark Liversedge
bcfeb245ac SportTracks download preserve gaps
.. the code to combine ST streams added blanks when there
   was a gap in recording, it is better to preserve such
   gaps and let the user manage with the 'fix gaps' tool.
2017-04-13 15:28:50 +01:00
Mark Liversedge
9027a8c944 Merge pull request #2448 from bwalding/master
Vertically align cells in the upload / download / synchronise table
2017-04-13 13:58:47 +01:00
Ben Walding
e271504239 Vertically align cells in the upload / download / synchronise table 2017-04-13 22:09:02 +10:00
Mark Liversedge
7340b872f6 SportTracks - Part 4 Upload
.. last part, upload isn't compressed, we can fix that
   up later. It is supposed to be supported.
2017-04-12 19:34:59 +01:00
Mark Liversedge
341f128f1c SportTracks - Part 3 readFile
.. needs to combine streams of data into a newly created
   ridefile, which is painful, but done.

.. we may need to review the resolution of the data and
   derivation of missing series in a later refining update
2017-04-12 18:20:15 +01:00
Mark Liversedge
f5d84e1353 SportTracks Fixups
.. Secrets.h for appveyor CI build

.. duration/distance in readdir

.. beginnings of readFile, need to write a parser for
   the SportTracks format (streams not samples). sigh.
2017-04-12 14:36:57 +01:00
Mark Liversedge
3e6a716dcf SportTracks - Part 2 Refresh token and readdir()
.. also fixed up saveSettings in CloudServiceFactory to
   support saving of the refresh token in open().
2017-04-12 11:17:18 +01:00
Mark Liversedge
809a149209 SportTracks OAuth Fixup
.. set raw headers when I shouldn't.

.. added when trying to resolve issues earlier and didnt
   remove them when they had no effect.

.. SportTracks OAuth config now works.
2017-04-12 08:00:18 +01:00
Joern
3387829a71 Merge pull request #2447 from Joern-R/CI
Update CI (Windows) Build environment to Qt 5.8
2017-04-11 19:43:01 +02:00
Joern
80d82862ad Update CI (Windows) Build environment to Qt 5.8 2017-04-11 19:41:32 +02:00
Mark Liversedge
959790c020 SportTracks.mobi - Part 1 of 4
.. CloudService and OAuthDialog.

.. Still needs:
   2) readdir
   3) readFile
   4) writeFile
2017-04-11 17:20:11 +01:00
Mark Liversedge
28b5da33f3 PolarFlow Integration On Hold
.. API compatibility issues with desktop applications.
2017-04-11 14:23:23 +01:00
Mark Liversedge
c8357a45f5 TodaysPlan less debug
.. reduced the amount of debug data output when downloading
   data. It now only shows first 500 bytes of received
   file instead of the whole thing.
2017-04-11 10:55:30 +01:00
Mark Liversedge
416997442e TodaysPlan - rename response when converting
.. because we convert the file to json in the response
   when adding RPE data we need to update the name used
   in the notifyReadComplete.

.. this fixes a bug where downloaded FIT files are
   converted to JSON but the sync tool tries to parse
   the returned data as FIT and fails.
2017-04-11 10:13:52 +01:00
Mark Liversedge
adcf0a9cc9 TodaysPlan - Resolve Memory Leak
.. resolve a memory leak re-allocating the storage
   for the returned byte array.

.. couple of other minor tidyups that were vestiges
   from my refactor of the code.

.. their is a bug downloading FIT files now -- the
   response is always converted to JSON, so we should
   not list as .FIT in readdir.
2017-04-11 09:55:55 +01:00
grauser
2eaf990143 Today's Plan : Correction for Fetch RPE 2017-04-11 00:03:34 +02:00
grauser
ca7710507e Strava : Correct readdir parameters 2017-04-10 22:41:36 +02:00
Mark Liversedge
8fbaad6881 CloudService - Sorted List
.. when working with the factory get a sorted list of
   service names so they can be offered in order

.. the addcloudwizard now list in alphabetical order

.. fixed up CloudService::type() to const
2017-04-10 17:19:20 +01:00
Alejandro Martinez
3de7ee8adf Merge pull request #2445 from amtriathlon/PeakPaceHr
Adds Peak Pace Hr metrics
2017-04-10 11:18:56 -03:00
Mark Liversedge
3b90316d04 PolarFlow Cloud Service - 3 of 6
.. configuration dialog complete

.. will always attempt to bind user to service, if
   that has already occurred it fails, so we always
   ignore the response.
2017-04-10 15:00:53 +01:00
Alejandro Martinez
6fd5fea66d Adds Peak Pace Hr metrics
Useful to track Pace to Hr relationships for running, similar
to Peak Power Hr metrics, both used in a Sample chart based on
https://alancouzens.com/blog/VO2Scores.html
2017-04-10 08:48:45 -03:00
Mark Liversedge
6afd39f717 Fix Qt4 build error
.. and remove a couple of c++11 extension warnings.
2017-04-10 10:44:05 +01:00
Mark Liversedge
77abca5268 Disable TodaysPlan RPE file I/O
.. lets find a better solution to updating the ride
   after it is received from TodaysPlan.
2017-04-10 09:55:02 +01:00