Commit Graph

8063 Commits

Author SHA1 Message Date
Mark Liversedge
306c60ac2d Strava : Include from/to in date range
.. Strava API returns rides after/before the from/to dates but
   we want to include rides *on* those days.
2017-04-22 11:18:49 +01:00
Mark Liversedge
73c6d9778c Strava : Debug steals response data
.. writeFileCompleted debug statement was stealing the response
   readAll data so when it was being requested to process there
   was no data to receive.

.. changed the debug to be unobtrusive and output the data
   using local variables instead.

.. this bug is only noticeable if you have enabled Strava
   debug in gcconfig.pri
2017-04-22 10:27:10 +01:00
grauser
f4b82fd2d8 Strva : Use remotename 2017-04-22 10:22:53 +02:00
grauser
c5d276ab28 Strava : use local start date 2017-04-22 09:57:23 +02:00
grauser
fcf1946fc1 Strava : add pagination on query
result seems limited to 30 activities
2017-04-21 22:50:48 +02:00
grauser
b38874f682 Strava : Refactor Stream reading
Like Mark did with SportTracks
2017-04-21 22:23:54 +02:00
grauser
cf99b805d8 Strava : Adjust streams call 2017-04-21 17:25:59 +02:00
grauser
0bb52b1b13 Strava : Read Streams 2017-04-21 17:02:58 +02:00
Joern
50d4889102 Merge pull request #2466 from Joern-R/TP-RPE
Today's Plan RPE - fixes
2017-04-21 09:24:26 +02:00
Alejandro Martinez
730e103637 Fix download regression
.. Athlete::addRide() changes broke DownloadRideDialog
2017-04-20 19:05:42 -03:00
Joern
4e47a366ee Today's Plan RPE - fixes
... "name" does not always contain the real file name and is editable - use our filename instead
... RPE may be double (e.g. when set in TP)  - round to int for Overview Widget
2017-04-20 19:36:44 +02:00
Joern
1029e18388 Merge pull request #2465 from Joern-R/FixDT
Fix Regression DataTable
2017-04-20 15:33:26 +02:00
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