Commit Graph

7894 Commits

Author SHA1 Message Date
gcoco
ad97fbeadc Revert accidental commit
[ci skip]
2017-03-27 15:42:55 -04:00
Mark Liversedge
f96257fe2a Hi-DPI Support - About Athlete Wheelsize
.. was too small on hi-dpi displays
2017-03-27 20:24:49 +01:00
Mark Liversedge
d5dfa5e7b9 Cloud Refactor - Service Logos
.. now added to CloudService API
2017-03-27 19:48:39 +01:00
Mark Liversedge
ffaaa48977 Cloud Refactor - Service Icon Images
.. png with transparency

[ci skip]
2017-03-27 19:26:33 +01:00
gcoco
6c9bce8418 Update .travis.yml 2017-03-27 11:52:43 -04:00
Mark Liversedge
397b84d34d Cloud Refactor - Add Default URL to Settings
.. for services that let users change the URL, we offer up
   a default value.
2017-03-27 16:50:16 +01:00
Mark Liversedge
76a86e37ac Cloud Refactor - CloudService settings
.. added settings to the cloud service to inform the config
   pane the settings we need to be entered when adding an
   account for this type of service

.. includes:

   * OAuthToken - From OAuth 2.0 process
   * Key - Optional user key used during OAuth process
   * Username - Username
   * Password - Password (when not using OAuth)
   * Folder - Typically for storage like Google Drive, Dropbox
   * URL - Base URL for service (when offer private tenants)
2017-03-27 16:40:29 +01:00
Mark Liversedge
44df57434c Cloud Refactor - Selfloops
.. ShareDialog => CloudService
2017-03-27 15:02:51 +01:00
Mark Liversedge
18618d8b2e Cloud Refactor - Cycling Analytics file type
.. should be TCX.
2017-03-27 14:50:55 +01:00
Mark Liversedge
82db0bdc5d Cloud Refactor - Cycling Analytics
.. ShareDialog => CloudService
2017-03-27 14:42:24 +01:00
Mark Liversedge
87cfa9a575 Cloud Refactor - RideWithGPS
.. ShareDialog => CloudService
2017-03-27 13:16:36 +01:00
Mark Liversedge
84d353d5db Cloud Refactor - Strava
.. ShareDialog => CloudService
2017-03-27 11:51:16 +01:00
Mark Liversedge
f3083b0826 Cloud Refactor - Preserve Copyright
.. Damien was missed off by accident.
2017-03-27 11:25:11 +01:00
Mark Liversedge
f8108f546e Cloud Refactor - TrainingStageBuch
.. ShareDialog => CloudService
2017-03-27 10:59:17 +01:00
Joern
4fe423cbc1 Merge pull request #2419 from Joern-R/DataTable
Fix LTM - Data Table
2017-03-26 19:59:46 +02:00
Joern
b3d12ec7fe Fix LTM - Data Table
... combining Metrics with different starts on the X-Axis
    e.g. Stress Metrics and Ride Metrics in one chart
    causes shifts in the Data Table display
2017-03-26 19:13:04 +02:00
Mark Liversedge
938da204f9 Slightly larger preferences pane
.. was too small for hidpi on Windows
2017-03-26 15:10:28 +01:00
Mark Liversedge
08dcfeb4b0 Cloud Refactor - VeloHero
.. convert ShareDialog => CloudService
2017-03-26 14:15:35 +01:00
Joern
cfa660d2ed Merge pull request #2417 from Joern-R/BM
BodyMeasures
2017-03-26 13:44:41 +02:00
Joern
cb9b38dcc0 BodyMeasures
... add "source" and "originalSource"
... add "time" display for bodyMeasures read from cloud services
... store in /config not in /activities
... code clean-up (warnings, enum instead preprocessor constants)
2017-03-26 12:42:06 +02:00
Mark Liversedge
2c7d958253 Cloud Refactor - Copyright updated
.. to include original author for sport plus health.
2017-03-26 11:18:06 +01:00
Mark Liversedge
1cf0fdc9cc Cloud Refactor - SportsPlusHealth
.. cloud service include upload code from original
   share dialog uploader code.
2017-03-26 11:16:12 +01:00
Mark Liversedge
0efd2f03c2 Cloud Refactor - Uploaders => CloudService
.. creating the generic CloudService code for all the
   services currently implemented as "uploaders" via the
   share dialog.

.. the actual upload code and semantics need to be updated
   for each service individually in the next commit.
2017-03-26 10:24:27 +01:00
Mark Liversedge
d6830f8a15 Cloud Refactor - Add RideFile* to Upload API
.. some services want to look at metadata etc and make decisions
   about how/what to upload before calling the remote service.
2017-03-25 18:03:12 +00:00
Mark Liversedge
b16407dd9a Athlete Preferences - Model Parameters Tab
.. to clean up the About tab.
2017-03-25 17:27:46 +00:00
Mark Liversedge
d7e4151ffa Athlete Preferences - Backup tab
.. put backup options on its own tab.

.. need to do the same for model parameters next.
2017-03-25 17:10:14 +00:00
Mark Liversedge
46c1525dcf Merge pull request #2415 from amtriathlon/Weight
Body Measures UI at Options/Preferences
2017-03-25 14:30:00 +00:00
Joern
dc7ecdb3f1 Merge pull request #2410 from Joern-R/staticchecks
Fix Static Code Check results
2017-03-25 15:22:50 +01:00
Mark Liversedge
2ed8c8af90 RideNavigatorProxy Fixup for QT4
.. thanks to Claus Assmann
2017-03-25 13:19:22 +00:00
Alejandro Martinez
1d0239cf85 Body Measures UI at Options/Preferences
Moved Height, W'bal Tau, and PMC settings to About tab
Measures tab is a Zones like UI to Body Measures model
Added fingerprint to BodyMeasure to detect changes
Fixes #1954
2017-03-25 10:15:01 -03:00
Mark Liversedge
787d22da5c Cloud Refactor - Factory for TodaysPlan, Google et al
.. a CloudServiceFactory now has all full cloud services
   registered for service we currently support for sync
   including; Local File Store, Dropbox, Google Drive,
   Todays Plan and SixCycle.

.. need to now refactors all the other cloud services
   to use the CloudService base class: Strava, Cycling
   Analytics, Ride With GPS, Withings, Web Calendar,
   Training Stage Buch, Selfloops, Velo hero and Sports
   Plus Health.
2017-03-25 13:12:52 +00:00
Mark Liversedge
4ea278b4df Merge pull request #2413 from bwalding/Issue-2408
#2408 - Prevent infinite loop
2017-03-25 10:35:27 +00:00
Mark Liversedge
23fce48d71 Cloud Refactor - Rename FileStore to CloudService
.. since thats primarily what they do.
2017-03-25 10:19:21 +00:00
Ben Walding
a2af92a589 #2408 - Prevent infinite loop if the linked field has blank replacment value 2017-03-25 15:32:18 +10:00
Joern
82154e8114 Fix compile error on non-Windows systems 2017-03-24 16:43:22 +01:00
Mark Liversedge
c6fe020aa0 Fix Navigator refresh when data changes
.. fix ridenavigator refresh on item data changed e.g. metadata

.. needed to hack in a call to update() for the ride navigator since it
   appears to be ignoring data changes, but will repaint on mouse hover.
   This needs to be investigated further as its a symptom of some a slot
   and signal issue somewhere (or updates are disabled somewhere!).
2017-03-23 20:57:24 +00:00
Joern
dba6f6f1af Fix Static Code Check results
... incomplete class initialization
... duplicate if statements
... typos in objects names (copy&paste) (AllPlot)
... missing else (CPPlot)
... missing DELETEs for objects (only if obvious that object is not used somewhere else)
... copy&paste errors (e.g. ModelPlot)
... small floats instead of integer evaluating to 0
... potential SEGV since pointer is not checked for NULL
... misleading code formatting (hard to read) in *zones.cpp
2017-03-23 20:07:09 +01:00
Joern
7f83a080f4 Merge pull request #2409 from Joern-R/TP
Body Measures - Download
2017-03-23 19:52:03 +01:00
Joern
7f593a36b2 Body Measures - Download
... improve processing of partial downloads
2017-03-23 18:54:25 +01:00
Mark Liversedge
6498032cc1 Hi-DPI Support - Fixup Font Config
.. didn't respond to font family change and the example
   text wasn't scaled to the current user scale factor.
2017-03-20 21:10:05 +00:00
Mark Liversedge
122132e85c Hi-DPI Support - Configure Font and Scale
.. just let the user choose a font and a scale.
.. we work out the base font for the display resolution
2017-03-20 20:17:56 +00:00
Mark Liversedge
9cd267338c Hi-DPI Support - Deprecate Metallic Style
.. looks horrible anyway, only folks on old releases of
   MacOS will be affected, and frankly, they should have
   upgraded by now.
2017-03-20 18:10:01 +00:00
Mark Liversedge
6f90cd9992 Hi-DPI Support - Remove Unused Font Settings
.. just reduce to default and chartlabels which are the only
   font settings used across the codebase.

.. this is in preparation for overhauling the way fonts are
   set across GC.
2017-03-20 16:14:18 +00:00
Mark Liversedge
5d31f87c0f Fix compile when no kqoauth 2017-03-19 21:01:46 +00:00
grauser
ed15b61749 Today's Plan : Coach can access there own data (2) 2017-03-19 21:45:21 +01:00
grauser
2830bd1993 Revert last CPPlot change 2017-03-19 21:17:38 +01:00
grauser
4197a72a67 Today's Plan : Coach can access there own data... 2017-03-19 17:20:25 +01:00
grauser
3ec09e36bc CPPlot : Remove FTP+rank 2017-03-19 17:20:25 +01:00
grauser
207e99ae9a FIT : Add some minor fields 2017-03-19 17:20:25 +01:00
Joern
69e8f45a2e Merge pull request #2405 from Joern-R/feature/weightcsv
BodyMeasures - CSV Import
2017-03-19 12:23:25 +01:00