Nick Craig-Wood
178ff62d6a
vendor: add github.com/ncw/dropbox-sdk-go-unofficial and remove github.com/stacktic/dropbox
...
In due course this will become github.com/dropbox/dropbox-sdk-go-unofficial
when the fate of https://github.com/dropbox/dropbox-sdk-go-unofficial/pull/14
has been decided.
2017-05-30 15:49:29 +01:00
Nick Craig-Wood
9d335eb5cb
dropbox: add low level retries
2017-05-30 14:49:09 +01:00
Nick Craig-Wood
20da3e6352
Add options to Put, PutUnchecked and Update, add HashOption and speed up local
...
* Add options to Put, PutUnchecked and Update for all Fses
* Use these to create HashOption
* Implement this in local
* Pass the option in fs.Copy
This has the effect that we only calculate hashes we need to in the
local Fs which speeds up transfers significantly.
2017-05-29 12:04:52 +01:00
Nick Craig-Wood
6381959850
dropbox: support Dropbox content hashing scheme - fixes #1302
...
* add support to hashing module
* add dbhashsum to list the hashes
* add support to dropbox module
This means objects up and downloaded to/from Dropbox will have their
hashes checked.
Note after this change local objects are calculating MD5, SHA1 and
DBHASH which is excessive and needs to be fixed.
2017-05-29 12:04:44 +01:00
Nick Craig-Wood
8916455e4f
dropbox: implement dropbox hasher #1302
2017-05-29 12:04:34 +01:00
Nick Craig-Wood
8e214e838e
dropbox: Update dropbox to use the v2 API #349
...
This is feature complete with the old version but now supports modification times.
2017-05-29 12:04:33 +01:00
Nick Craig-Wood
23acd3ce01
oauthutil: Don't expect tokens to have refresh URL
2017-05-29 12:04:33 +01:00
Stefan Breunig
a2e3af0523
poll for Google Drive changes when mounted
2017-05-28 17:54:52 +01:00
Nick Craig-Wood
5455d34f8c
Fix ssh agent on Windows - fixes #1279
2017-05-26 10:21:07 +01:00
Nick Craig-Wood
84512ac77d
vendor: add github.com/xanzy/ssh-agent for #1279
2017-05-26 10:21:06 +01:00
Nick Craig-Wood
1ec0327ed7
vendor: update cgofuse (because dep wanted to!)
2017-05-26 10:15:14 +01:00
Nick Craig-Wood
0f07b63fd1
ftp: convert the old config style to the new config style
2017-05-25 10:16:51 +01:00
Nick Craig-Wood
88ef475629
config: allow keys to be deleted from the config file
2017-05-25 10:15:22 +01:00
Sjur Fredriksen
ade61fa756
Updated FTP to follow SFTP standards, updated documentation
2017-05-25 09:30:15 +01:00
Nick Craig-Wood
cfc5f7bb2d
Document another file to edit when making a remote
2017-05-25 09:28:18 +01:00
Nick Craig-Wood
ae9f8304fa
Attempt to make async buffer test more reliable
2017-05-24 16:24:06 +01:00
Nick Craig-Wood
55755a8e5b
Add Sjur Fredriksen to contributors
2017-05-24 15:59:49 +01:00
Sjur Fredriksen
080050fac2
Update ftp.md
...
Added information regarding non-standard FTP ports.
2017-05-24 15:59:18 +01:00
Nick Craig-Wood
a243ea6353
sftp: fix under Windows #1432
...
This was caused by erroneous use of filepath to parse unix standard paths
2017-05-24 15:39:17 +01:00
Nick Craig-Wood
51d2174c0b
ftp: check connection before returning it to the pool #1435
...
If the last FTP command caused an error, and if the error wasn't a
regular FTP error code, then we check the connection is working using
a NOOP call before returning it to the connection pool.
2017-05-24 14:47:13 +01:00
Nick Craig-Wood
e75db0b14d
Add Steven Lu to contributors
2017-05-24 08:44:42 +01:00
Steven Lu
c59a292719
Obtain a refresh token for GCD
2017-05-24 08:44:00 +01:00
Nick Craig-Wood
be5b8b8dff
Add Bob Potter to contributors
2017-05-24 07:36:38 +01:00
Bob Potter
525220b14e
Add --local-no-unicode-normalization flag
...
Fixes #1411
2017-05-24 07:36:06 +01:00
Nick Craig-Wood
a9d29c2264
ftp: don't pool the connection if file download failed
2017-05-19 17:45:22 +01:00
Nick Craig-Wood
8f54dc06a2
Use build tags to control when and where cmount is built
2017-05-19 17:08:04 +01:00
Nick Craig-Wood
7daf97f90a
Add CircleCI badge to README
2017-05-19 16:06:43 +01:00
Nick Craig-Wood
2cae017738
mountlib: fix race condition in cache clear
2017-05-19 15:47:52 +01:00
Nick Craig-Wood
e172f00e0e
ftp: fix errors from Close of a stream which hasn't been fully read
2017-05-19 12:28:47 +01:00
Nick Craig-Wood
412dacf8be
Add a test for partial reads to all remotes
2017-05-19 12:28:47 +01:00
Nick Craig-Wood
cdacf026e4
ftp: implement server side move and directory move
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
0ca6408580
ftp: rework mkdir to be more efficient
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
9627a6142d
ftp: support --contimeout
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
6cc783f20b
ftp: stop rmdir being recursive
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
3136a75f4d
ftp: add connection pool and remove excess locking
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
a9101f8608
ftp: Fix for go1.6 and go1.7
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
af043eda15
Vendor github.com/jlaffaye/ftp for ftp backend
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
35c210d36f
ftp: fix remaining issues to make tests work
...
* fix root
* factor ftpConnection
* fix path munging
* fix recursive dir loops after update
* use fs.Trace and comment out debugs
* re-arrange and supplement docs
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
3ed0440bd2
ftp: use path instead of filepath
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
c13cff37ef
ftp: replace URL parser with url.URL
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
fce734662f
ftp: fix golint/go vet/errchk errors and move methods into standard order
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
e0ba1a2cd2
ftp: fix bitrot
2017-05-18 20:49:36 +01:00
Antonio Messina
c72fca2711
Add ftp backend - fixes #540
2017-05-18 20:49:36 +01:00
Nick Craig-Wood
ae17d88518
Add Bill Zissimopoulos to contributors
2017-05-18 20:48:47 +01:00
Bill Zissimopoulos
e19fc49a5f
add circleci configuration
2017-05-18 20:45:08 +01:00
Bill Zissimopoulos
95c0378e3c
update cgofuse dependency to v1.0.1
2017-05-18 20:45:08 +01:00
Nick Craig-Wood
7ee3cfd7c9
Add Igor Kharin to contributors
2017-05-15 21:03:16 +01:00
Igor Kharin
bd2cdeeeab
sftp: specify HostKeyCallback in ClientConfig
2017-05-15 21:02:05 +01:00
Nick Craig-Wood
77cd93ef89
Fix tag to 8 digits of commit to make Appveyor and Travis consistent
2017-05-15 20:58:48 +01:00
Nick Craig-Wood
5b063679b5
travis: install libfuse for cmount build and disable on OS X
2017-05-15 17:41:16 +01:00