.. 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.
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
.. 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.
.. 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.
.. 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.
.. 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.
.. 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.
.. 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.
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
-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.