Commit Graph

17 Commits

Author SHA1 Message Date
Brian Bergstrand
1dae60c331 Fix various 'unused variable' warnings 2016-01-07 21:18:50 -06:00
Magnus Gille
95d7f51077 Make OAuth scope configurable for GoogleDrive. 2016-01-02 20:42:20 -05:00
Magnus Gille
62fa11194c GoogleDrive, now with proper directory support. 2015-12-31 02:50:51 -05:00
Mark Liversedge
a77a22cdaf Lower case for include 2015-10-06 19:38:43 +01:00
Mark Liversedge
b3e9ec5a8f 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
50dcb8edb1 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
c8ff9338fa Drobox / FileStore
... translation enablement
2015-10-04 14:48:28 +02:00
Mark Liversedge
0ac168188e 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
0c2b7712e9 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
341f383a67 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
3136772937 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
e98aa975bd 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
5ce4e44148 Fixup FileStoreDialog nits
.. select root folders
.. show files for context
2015-09-30 21:54:53 +01:00
Mark Liversedge
001b034cbe Fix Async Upload to Dropbox
.. Q_OBJECT macro needed mostly.
2015-09-30 21:34:29 +01:00
Mark Liversedge
7de9ec6f2d 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
13b5a2067f 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
57116d596d 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