Commit Graph

14 Commits

Author SHA1 Message Date
Mark Liversedge
c69e2b6d8a Lower case for include 2015-10-06 19:38:43 +01:00
Mark Liversedge
564e126a06 FileStore .json.zip
.. when syncing to a FileStore the data is saved as
   a zip file that can be processed by winzip, and
   contains a single file, the activity as a json.
2015-10-06 18:06:08 +01:00
Mark Liversedge
391ed47d0e Fix Memory Exhaustion on Mass Import/Sync
.. RideCache::addRide() deletes the prior ride, which is rather meaningless
   if you are just importing a ride, but when syncing large numbers
   of rides will stop memory being exhausted.

.. similarly in the FileStoreSyncDialog we now free up the memory
   used to read the downloaded files before moving on to the next.
2015-10-06 13:06:34 +01:00
Joern
4fba4d0535 Drobox / FileStore
... translation enablement
2015-10-04 14:48:28 +02:00
Mark Liversedge
723c088912 Delete Athlete
.. as an option when choosing an athlete
.. will recursively delete the directory

Fixes #756
2015-10-03 10:27:18 +01:00
Joern
67c1794196 DropboxSupport - mintor text corrections
... Use different Shorcut in Menu (Crtl+B already in use)
... Exchange text reference to TP by generic approach
2015-10-02 19:24:48 +02:00
Mark Liversedge
17ed0815ec Dropbox Sync Tool
.. sync with a dropbox folder

   This is based upon the TPDownloadDialog but refactored for
   use with a FileStore (in this case Dropbox). It should be
   extensible to use with any kind of FileStore object.
2015-10-02 16:51:50 +01:00
Mark Liversedge
f1cc304f54 FileStoreDialog File basename
.. don't need suffix, its in type. Makes for a simpler
   listing, again more familiar and easier to scan.
2015-10-01 07:22:53 +01:00
Mark Liversedge
3ad59ac5cc FileStoreDialog Icons
.. makes it look more familiar and easier to identify
   folders when scanning the list.
2015-10-01 07:15:30 +01:00
Mark Liversedge
a55e04405c Fixup FileStoreDialog nits
.. select root folders
.. show files for context
2015-09-30 21:54:53 +01:00
Mark Liversedge
a4ec375118 Fix Async Upload to Dropbox
.. Q_OBJECT macro needed mostly.
2015-09-30 21:34:29 +01:00
Mark Liversedge
19203bba76 Upload to Dropbox
.. basic functions working to upload a single ride
   to a dropbox file store.

.. this is a safety commit before looking to resolve
   issues with async updates.

   NOTE: the upload completes but the dialog needs to
         be cancelled manually -- this is a bug and
         will be resolved in the next update.
2015-09-30 19:45:15 +01:00
Mark Liversedge
4e17a9970f FileStore File Dialog
.. so you can now choose the directory to sync
   data with. Its a very basic file dialog but
   will allow you to create and choose a folder.

.. Config is now completed with token a folders
   now configurable by the user.

.. I cannot believe we needed to write a pesky file
   chooser dialog in 2015 (!)
2015-09-30 11:33:47 +01:00
Mark Liversedge
3ab4d21a5e FileStore base class and Dropbox implementation
.. first parts of the implementation of a base class
   for working with file stores and the Dropbox
   API.

.. all we actually get in this commit is the abstract
   classes and an implementation of readdir for Dropbox
   along with a config setting which needs to browse
   directories

.. in the next commit we'll add the directory chooser
   dialog which will need to implement a ftw() across the
   associated filestore and present a gui to choose a
   directory to store athlete data in
2015-09-29 19:39:19 +01:00