Commit Graph

15 Commits

Author SHA1 Message Date
Joern
a147165a45 Ride File Naming with "." allowed
... fix regression allowing multiple "." in Ride File names (since some services are creating such names)
2017-12-17 19:57:32 +01:00
Mark Liversedge
96f34aabb2 Fix off by one ride duration on import 2017-11-13 22:20:25 +00:00
Keith Reynolds
58a49b6576 Fixes ZWIFT files which are not reporting local timestamp.
Secondary fix for regular expression which did not catch the ZWIFT file naming convention using dashes rather than underscores.
2017-10-25 23:32:11 -06:00
Alejandro Martinez
ccb30c7d8a Added unmatched suffix to Unknown file type error on import
Fixed #2596
2017-08-12 10:20:21 -03:00
Mark Liversedge
0aaf9f3e5a Share Menu Again
.. check looks at autoimport too (e.g. when checking a
   directory that is mounted when connecting device).

.. changed the titles to make it clearer which are about
   activities and which are about measurements.
2017-05-10 09:18:15 +01:00
Mark Liversedge
e0d95cc08e RideFile::openRideFile() supports .zip and .gz
.. to support importing rides on download from a
   web page, we now support files that are compressed
   using gzip or zip.

.. the file name will still need to have the correct
   file format encoded in the suffix but will be
   deflated before being passed to the readers.

.. for example files downloaded from TrainingPeaks
   via their webapp will likely end in .wko.gz.
2017-05-02 20:28:35 +01:00
Mark Liversedge
7d80a2cc69 Fix import regression
.. Athlete::addRide() changes broke RideImportWizard
2017-04-16 19:32:28 +01:00
Mark Liversedge
fbbffe83fe Hi-DPI Support - Size/Space tweaking
.. various updates to make sizing more comfortable.
2017-03-14 19:33:39 +00:00
Mark Liversedge
c8fb7a564b Hi-DPI Support - Ride Import Wizard
.. seems pretty straight forward.
2017-03-13 19:33:11 +00: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
grauser
75c17b9669 Small correction 2016-10-31 23:08:37 +01:00
Alejandro Martinez
ab1085bcda Set linked defaults on import
For defaults which depend, directly or indirectly, on fields automatically
set on import
Fixes #2023
2016-07-27 13:28:45 -03:00
Mark Liversedge
7097f71804 Import Wizard Error messages
.. better handling
.. manual apply of Magnus Gille PR.
2016-03-24 07:48:05 +00:00
Mark Liversedge
6c62a2e487 Reorg Wizards belong in "Gui"
.. not FileIO
2016-02-26 08:33:32 +00:00