Commit Graph

8262 Commits

Author SHA1 Message Date
Alejandro Martinez
7d9aab2e41 HRV Measures - Direct import from EliteHRV CSV files
Test file contributed by Martin Wifling
2017-10-02 22:16:34 -03:00
Mark Liversedge
f2099f9be6 VERSION 3.5 DEV-1710
.. latest development build.
v3.5-DEV1710
2017-10-02 13:55:23 +01:00
Mark Liversedge
21125ff403 Kent University Part 3 of 3
.. Upload dialog asks for RPE, ROF, test, notes and reason
   for missing any workouts.

.. Uploads a .txt file with metadata in it, as well as the
   .csv of the time series data

.. ROF, RPE and Notes metadata is updated with the values
   selected during the upload.
2017-10-02 13:53:30 +01:00
Alejandro Martinez
857ee8cf1e Merge pull request #2639 from amtriathlon/Strava
Fix Strava lap swims and expand Smart Recording
2017-10-01 20:18:53 -03:00
Alejandro Martinez
81b7259e7d Fix Strava lap swims and expand Smart Recording
Lap swims synced from Strava don't have pool length nor precise
length by length information nor stroke rate (cadence), we use
distance and time information from the informed laps to fill the
gaps and fix distance for users unable or unwilling to import the
original file, which is the recommended approach.
For all activities expand Smart Recording if enabled.
Changed default FixGap stop parameter to work with open water swims
and runs with Smart Recording, in the future we could expand during
import like we do for other file formats.
Fixes #2605
2017-10-01 18:46:22 -03:00
Joern
0d0f5686b1 Merge pull request #2633 from leifwar/master
Remove trailing whitespace from "Lap StartTime" in tcx files

Thanks.
Joern
2017-10-01 18:06:29 +02:00
Leif Warland
beb1b2df34 Remove trailing whitespace from "Lap StartTime" in tcx files 2017-09-27 16:17:24 +02:00
Mark Liversedge
011d097cd3 Fix QTextEdit in KentUniversity.h
.. previous commit was to wrong header.
2017-09-27 13:47:55 +01:00
Mark Liversedge
dd0b677077 Fix QMessageBox header on MSVC 2017-09-27 12:11:42 +01:00
Mark Liversedge
8943c28f63 Fix QTextEdit unknown Type in KentUniversity.h 2017-09-27 12:02:46 +01:00
Mark Liversedge
caaf674ad1 Complying with DMCA takedown for WASP Packet Protocol 2017-09-26 16:48:33 +01:00
Mark Liversedge
dc21935508 AddCloudWizard Consent Page + GoogleDrive refresh bug
.. the KentUniversity service has a consent page which is
   now added to the add cloud wizard as an option.

.. in testing this also found that the refresh of the google
   drive access token in MaybeRefreshCredentials() updated
   the value in app settings but not in the cloud service
   configuration settings. This is also fixed now for both
   the google drive and kent uni cloud services.
2017-09-23 15:59:07 +01:00
Mark Liversedge
243361e7d1 AddCloudWizard Folder read-only
.. bit of a catch 22 scenario with folder being selected
   without opening the service by manually editing the
   folder name.

.. this causes problems when open is then called and the
   folder is invalid - especially when we're in the middle
   of configuring the service anyway.

.. to avoid this, the folder widget is now read-only and
   you must select the folder using the browse function.
2017-09-23 10:02:02 +01:00
Mark Liversedge
bd06ec2458 KentUniversity Fix CSV file format
.. use GC CSV (full data) instead of the PowerAgent format.
2017-09-22 18:05:38 +01:00
Mark Liversedge
36e6487568 Kent University Part 2b of 3
.. update to the uploader to force the user to set key metadata

.. 3rd part will handle upload of metadata files to associate
   with the CSV files and correct the CSV format from PT format.
2017-09-22 14:57:30 +01:00
Mark Liversedge
07d4aeef4e Fix MSVC build error KentUniversity
.. left in a reference to GOOGLE_DRIVE_DEBUG by accident.
2017-09-22 12:42:01 +01:00
Mark Liversedge
fc04c1ceea remove qdebug
.. becoming a dumb habit, sorry.
2017-09-22 12:35:28 +01:00
Mark Liversedge
9130a719f7 Fix GoogleDrive FOLDER_ID setting
.. it was lost during the refactor and means it is not possible
   to set the folder to use (!)

.. fix applied to KentUniversity as well since they use
   GoogleDrive to share files.
2017-09-22 12:32:10 +01:00
Mark Liversedge
f54b4ebbb1 Kent University Part 2 of 3
.. custom uploader, using CSV.

.. requires updating to support custom fields like RPE/ROF
   but committing whilst trying to resolve a bug related
   to the FOLDER_ID configuration setting.
2017-09-22 11:49:21 +01:00
Alejandro Martinez
0f05572890 Merge pull request #2630 from amtriathlon/DropBox
Migrate to Dropbox API v2 - Use list_folder/continue
2017-09-21 19:08:22 -03:00
Alejandro Martinez
5374af8cdb Migrate to Dropbox API v2 - Use list_folder/continue
Once a cursor has been retrieved from list_folder,
use this to paginate through all files.
2017-09-21 14:59:07 -03:00
Mark Liversedge
cf41bd1b17 remove qdebug 2017-09-21 17:59:27 +01:00
Mark Liversedge
0910bb7aa6 University of Kent Support 1 of 3
.. just add as a Google Drive service

.. need to do upload dialog and file formats as subsequent
   commits.

NOTE: this is a variant of Google Drive, not just subclassed
      at this point. We may simplify this later to avoid two
      classes that need bug fixes / changes as the Google API
      changes over time.
2017-09-21 17:56:57 +01:00
Mark Liversedge
6f39a59c38 Compile error on major(dev_t)
Fixes #2627
2017-09-18 19:06:34 +01:00
Joern
ac515b633b Merge pull request #2626 from Joern-R/Dropbox_API_V2
Migrate to Dropbox API v2 - Part 2 of 2
2017-09-17 13:47:06 +02:00
Joern
4fa3e5bea8 Migrate to Dropbox API v2 - Part 2 of 2
... updates the upload, download, file list endpoints
2017-09-16 18:46:49 +02:00
Alejandro Martinez
f70660dd24 Merge pull request #2612 from riccioclista/fix_build_with_withings
Fix Withings API related defines
2017-09-11 10:45:01 -03:00
Alejandro Martinez
438622c92d Merge pull request #2616 from amtriathlon/XData
Preserve XData on Activity Split&Combine
2017-09-11 10:43:52 -03:00
Alejandro Martinez
528e062140 Preserve XData on Combine Activities (Merge)
Part 3 of #2406
Just preserve XData from first ride and add XData from the second,
if not already present, in the future we could let the user to
choose, like for standard series
2017-09-10 13:04:06 -03:00
Alejandro Martinez
ebdc42c692 Fix integer division on pNNx HRV Metrics
Value was always zero
2017-09-10 12:21:55 -03:00
Alejandro Martinez
71176bd0dd Preserve XData on Combine Activities (Join)
Part 2 of #2406
2017-09-09 22:08:02 -03:00
Alejandro Martinez
12d44e9c03 Preserve XData on Activity Split
Part 1 of #2406
2017-09-09 11:39:27 -03:00
Alejandro Martinez
bc783ed4a7 Preserve XData on Activity Split
Part 1 of #2406
2017-09-08 19:45:49 -03:00
Alejandro Martinez
0d30428f47 Merge pull request #2614 from amtriathlon/HRV
Add support for R-R txt files import (HRV)
2017-09-05 19:29:57 -03:00
Alejandro Martinez
c5cf5e102e Add support for R-R txt files import (HRV)
Fixes #2613
Test files contributed by forum users Mike and Ron
2017-09-05 17:14:16 -03:00
riccioclista
f54303a192 Fix Withings API related defines 2017-09-03 21:51:03 +02:00
Mark Liversedge
f70ab21104 QT >= 5.8 stop ride summary stealing focus
.. its annoying!
2017-09-01 12:20:21 +01:00
Joern
2139fb41ee Merge pull request #2608 from Joern-R/FixPowerAbs
FixPower
2017-08-27 11:47:44 +02:00
Joern
2c62390740 FixPower
... allow fix power value to be added/subtracted in addition to percentage values
2017-08-27 11:08:31 +02:00
Alejandro Martinez
429de11137 Merge pull request #2602 from amtriathlon/HRV
More flexible HRV CSV file parsing
2017-08-20 20:03:56 -03:00
Alejandro Martinez
12fe082518 More flexible HRV CSV file parsing
-Allow lines ending in CR as generated by HRV4Training iPhone app.
-Allow ";" additionally to "," as separator.
-Skip unsupported columns.
-Skip empty lines and values.
-Recognize the alternative names generated by HRV4Training when
orthostatic test is selected.
2017-08-20 18:40:31 -03:00
Alejandro Martinez
e97dbf2312 BikeScore is relevant only for rides
Fixes #2329
2017-08-17 10:37:02 -03:00
Alejandro Martinez
b668cb4ed0 Honour Sport tag even when run specific data are present
Fixes 2367
2017-08-15 15:08:13 -03:00
Alejandro Martinez
87adf87d5c Merge pull request #2599 from lumanz/master
zh-cn translation update
2017-08-13 10:31:50 -03:00
sping
eb67f17446 zh-cn translation update 2017-08-13 15:47:58 +08:00
Alejandro Martinez
cb52390603 Increased precision for HRV Recovery Points 2017-08-12 10:30:21 -03:00
Alejandro Martinez
ccb30c7d8a Added unmatched suffix to Unknown file type error on import
Fixed #2596
2017-08-12 10:20:21 -03:00
grauser
e06ce3ebe8 Fit : Device info - display manufacturer when no product number 2017-08-09 23:51:24 +02:00
grauser
fe737f67c0 Strava : Correct lap start end index
fix #2505
2017-08-09 23:22:14 +02:00
grauser
14459cb9b8 Joule : Correct log 2017-08-09 18:59:32 +02:00