Nick Craig-Wood
7463a7a509
Use "golang.org/x/oauth2" as oauth libary of choice - fixes #102
...
* get rid of depreprecated "code.google.com/p/goauth2/oauth"
* store tokens in config file as before
* read old format tokens and write in new format seamlessly
* set our own transport to enforce timeouts etc
2015-08-29 17:47:23 +01:00
Nick Craig-Wood
a96b522958
Implement server side copies if possible - fixes #99
...
Add optional fs.Copier interface
Implemented for
* swift
* s3
* drive
* dropbox
* google cloud storage
2015-08-23 21:18:38 +01:00
Nick Craig-Wood
fedf81c2b7
Add Name() to Fs interface to return name as passed to NewFs
2015-08-23 13:36:38 +01:00
Leonid Shalupov
3fcff32524
do not print stats in quiet mode - fixes #70
...
...unless had some errors or stats interval requested.
Add fs.ErrorLog to differentiate between Logs which should be
suppressed and errors which shouldn't.
2015-08-10 11:17:54 +01:00
Nick Craig-Wood
ba81277bbe
google cloud storage: Fix compile after API change in "google.golang.org/api/storage/v1"
...
The breaking change is: google-api-go-generator: remove underscores from identifiers.
2015-05-19 08:18:26 +01:00
Nick Craig-Wood
ecb3c7bcef
drive, googlecloudstorage: remove SeekWrapper after googleapi fix
2015-03-04 20:47:59 +00:00
Nick Craig-Wood
46d39ebaf7
Factor Mime Type guessing into fs.MimeType()
2015-03-02 09:21:15 +00:00
Nick Craig-Wood
14567952b3
google cloud storage: Fix memory leak - fixes #17
...
This was the same problem as issue #5 (which affected google drive)
2014-12-23 11:03:34 +00:00
Nick Craig-Wood
0fb35f081a
Use new location of Google API package - fixes #16
2014-12-12 20:02:08 +00:00
Nick Craig-Wood
c389616657
all: make private functions / variables / constant which shouldn't be public
2014-07-29 17:50:07 +01:00
Nick Craig-Wood
9711a5d647
google cloud storage: re-read metadata in SetModTime
2014-07-29 17:18:22 +01:00
Nick Craig-Wood
cc679aa714
google cloud storage: fix ListDir on subdirectory
2014-07-29 17:18:22 +01:00
Nick Craig-Wood
17ffb0855f
Fixes after running errcheck
2014-07-25 18:19:49 +01:00
Nick Craig-Wood
80ecea82e8
google cloud storage: Fix crash on Update error - fixes #9
2014-07-21 21:25:46 +01:00
Nick Craig-Wood
cad9479a00
google cloud storage: Update metadata on Put since we get it back
2014-07-16 12:12:36 +01:00
Nick Craig-Wood
680283d69f
google cloud storage: fix download of files in sub directories
2014-07-15 19:27:31 +01:00
Nick Craig-Wood
c71f339e01
google cloud storage: implement ACLs and delete
2014-07-15 19:27:31 +01:00
Nick Craig-Wood
c91c96565f
google cloud storage: set the Content-Type from the file name
2014-07-15 19:27:31 +01:00
Nick Craig-Wood
b72fc69fbe
google cloud storage: Make operations on single files work
2014-07-15 19:27:30 +01:00
Nick Craig-Wood
a1732c21d8
google cloud storage: Initial support for full Fs interface
2014-07-15 19:27:30 +01:00