Nick Craig-Wood
52e1bfae2a
oauth: Allow auth_url and token_url to be set in the config file
...
If set in the config file, these override the ones configured into the
remote. This enables alternative oauth servers to be used for all
oauth remotes. This can only be altered by editing the config file
for the moment.
2017-06-08 20:35:32 +01:00
Nick Craig-Wood
9c1e703777
swift, b2, gcs, s3: Fix moveto and copyto
...
We now make sure the container/bucket is created before creating any objects.
2017-06-07 14:34:59 +01:00
Nick Craig-Wood
b49821956a
Fix copyto/moveto test error (see #1261 )
2017-06-07 14:08:46 +01:00
Nick Craig-Wood
a61ba1e7c4
moveto, copyto: report transfers and checks as per move and copy
2017-06-07 13:02:21 +01:00
Nick Craig-Wood
d30cc1e119
Factor RemoteSplit into fs
2017-06-07 12:27:33 +01:00
Nick Craig-Wood
74a3dfc4e1
Fix TestHashSums
2017-06-06 23:21:47 +01:00
Nick Craig-Wood
3fe9448229
drive, acd, onedrive: Cache the directory IDs when reading the parent directory
...
This makes directory listings much more efficient (one less
transaction needed) and also fixes #1439 (which was caused by having
to look up a directory name with quotes in which isn't dealt with well
by the list routine) by not doing a directory lookup at all.
2017-06-05 12:26:30 +01:00
Nick Craig-Wood
a5cfdfd233
drive: add team drive support - fixes #885
2017-06-04 22:38:29 +01:00
Nick Craig-Wood
bdc19b7c8a
fstests: fix -remote flag to override test target
2017-06-04 22:38:29 +01:00
Nick Craig-Wood
e92cc8fe2b
Add Edward Q. Bridges to contributors
2017-06-04 22:38:10 +01:00
Edward Q. Bridges
6ee4c62cae
Add section on required IAM permissions.
...
cf.: https://github.com/ncw/rclone/issues/1455
2017-06-04 22:37:17 +01:00
Nick Craig-Wood
b047402294
config: Fix save of temp file under Windows - fixes #1458
2017-06-01 16:38:19 +01:00
Nick Craig-Wood
7693cecd17
Add Fabian Möller to contributors
2017-06-01 16:23:48 +01:00
Fabian Möller
558f014d43
migrate Gopkg.toml and Gopkg.lock to new format
...
Update Gopkg.toml and Gopkg.lock to follow the breaking changes
introduced by https://github.com/golang/dep/pull/644
2017-06-01 16:23:13 +01:00
Nick Craig-Wood
48508cb5b7
Add Ruwbin to contributors
2017-06-01 09:03:56 +01:00
Ruwbin
44c98e8654
fix docs typos
2017-06-01 09:03:19 +01:00
Stefan Breunig
9782c264e9
hand dirCacheTime through again
2017-06-01 09:02:22 +01:00
Stefan
9cede6b372
fully write new config file before moving to target location ( fixes #1287 )
...
* fully write new config file before moving to target location (fixes #1287 )
* do not fail if there is no previous config; print temporary config path on failure
2017-06-01 08:57:10 +01:00
Stefan Breunig
decd960867
make moveto/copyto no-ops when source and destination are the same ( fixes #1261 )
2017-05-30 23:01:19 +01:00
Nick Craig-Wood
71028e0f06
dropbox/dbhash: fix errcheck warning
2017-05-30 22:08:49 +01:00
Nick Craig-Wood
52e96bc0e2
dropbox: add missing dbhashsum command
...
This was missed from 6381959850
2017-05-30 19:26:06 +01:00
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