Commit Graph

12 Commits

Author SHA1 Message Date
Mark Liversedge
70593976cb 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
ccbba3e0a2 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
bf8d8a8f95 Cloud Refactor - Add Account Wizard Part 1 of 4
.. full wizard now done, will write appsettings.

.. need to now look at how OAuth can be call mid-config as
   a refactor if OAuthDialog in part 2

.. need to also look at how folder selection can be called using
   "in-progress" config in part 3

.. need to tidy up special topics in Part 4, such as google drive
   id and todays plan handling coach/athlete selection.
2017-03-31 17:34:53 +01:00
Leif Warland
16e2451e90 Added HRV metric 2017-02-28 14:18:58 +01:00
Joern
dd88dd909d RideImport
... in addition to DateTime in the .json File name (which is in local Time), also check for duplicates using UTC from RideCache to avoid duplicate imports if user changes his PC TimeZone (e.g. when travelling)
... the problem e.g. occurs in Autoimport where the same files would be imported again, if the PC TimeZone changes
2017-02-14 22:02:50 +03:00
Mark Liversedge
a38696e25d Data Processor 'On Save' and Snippets
.. a data processor can now be configured to run on save

.. in addition, the data processor is now passed the operation
   that is triggering it: "Manual", "ADD", "UPDATE", "DELETE",
   "IMPORT".

.. a new data processor has been added to write a JSON file to
   the snippet directory (added to the athlete structure).

.. this is so we can output a snippet every time an activity is
   added, updated or deleted (i.e. runs "on save").

.. these JSON snippets can be used to update external datastores
   where coaches use other analytic software but don't want to
   manually sync GC changes with there external stores.
2016-11-12 22:36:44 +00:00
Alejandro Martinez
d1ed2d7b51 Trends RideSummary Shows only Relevant Metrics on activities lists
Avoiding non relevant metrics for each sport allows to
show more relevant metrics on the available columns.
2016-10-10 10:59:53 -03:00
Alejandro Martinez
ddcbd287c7 Speedup isMetricRelevantForRides method
Shortcut or is enough
2016-10-08 09:50:26 -03:00
Alejandro Martinez
ca262a28ce Skip non relevant metrics for RideSummary in Trends view
Adds isMetricRelevantForRides(specification, metric) to RideCache
to check if a metric isRelevant for some of the activities passing
the specification
Also reduces from 3 to 1 the calls to getRideTypeCounts
2016-10-07 21:17:43 -03:00
Alejandro Martinez
f4fac0b3c3 Fixed removal of planned workouts
Rename failed due to wrong directory
2016-03-26 11:32:31 -03:00
Mark Liversedge
01d8ed9c09 Thread Safety for PD Estimates (SEGV)
.. we refresh in a thread so need to protect
   access to them via a QMutex.
2016-03-24 20:03:45 +00:00
Mark Liversedge
fbf970fa7e Move RideCache to Core
.. it was in FileIO
2016-02-25 16:37:12 +00:00