Nick Craig-Wood
455219f501
crypt: fix accounting when checking hashes on upload
...
In e52ecba295
we forgot to unwrap and
re-wrap the accounting which mean the the accounting was no longer
first in the chain of readers. This lead to accounting inaccuracies
in remotes which wrap and unwrap the reader again.
2018-08-21 08:57:53 +01:00
Nick Craig-Wood
1b8f4b616c
fs: move CommaSepList and SpaceSepList here from config
...
fs can't import config so having them there means they are not usable
by rclone core.
2018-08-20 17:52:05 +01:00
Fabian Möller
f818df52b8
config: add List type
2018-08-20 17:38:51 +01:00
Cnly
29fa840d3a
onedrive: Add back the check for DirMover interface
2018-08-20 17:31:28 +01:00
Nick Craig-Wood
7712a0e111
fs/asyncreader: skip some tests to work around race detector bug
...
The race detector currently detects a race with len(chan) against
close(chan).
See: https://github.com/golang/go/issues/27070
Skip the tests which trip this bug under the race detector.
2018-08-20 12:34:29 +01:00
Nick Craig-Wood
77806494c8
mount,cmount: adapt to sdnotify API change
2018-08-20 12:34:29 +01:00
Nick Craig-Wood
ff8de59d2b
vendor: update minimum number of packages so compile with go1.11 works
2018-08-20 12:34:29 +01:00
Nick Craig-Wood
c19d1ae9a5
build: fix whitespace changes due to go1.11 gofmt changes
2018-08-20 12:26:06 +01:00
Nick Craig-Wood
64ecc2f587
build: use go1.11rc1 to make the beta releases
2018-08-20 12:26:06 +01:00
Nick Craig-Wood
7c911bf2d6
b2: fix app key support on upload to a bucket - fixes #2428
2018-08-18 19:05:32 +01:00
Nick Craig-Wood
41f709e13b
yandex: fix listing/deleting files in the root - fixes #2471
...
Before this change `rclone ls yandex:hello.txt` would fail whereas
`rclone ls yandex:/hello.txt` would succeed. Now they both succeed.
2018-08-18 12:12:19 +01:00
Nick Craig-Wood
6c5ccf26b1
vendor: update github.com/t3rm1n4l/go-mega to fix failed logins - fixes #2443
2018-08-18 11:46:25 +01:00
Fabian Möller
6dc5aa7454
docs: clearify buffer-size is per transfer/filehandle
2018-08-17 18:11:40 +01:00
Fabian Möller
552eb8e06b
vfs: try to seek buffer on read only files
2018-08-17 18:10:28 +01:00
Nick Craig-Wood
7d35b14138
Add Martin Polden to contributors
2018-08-17 18:08:48 +01:00
Martin Polden
6199b95b61
jottacloud: Handle empty time values
2018-08-17 18:08:29 +01:00
Oliver Heyme
040768383b
jottacloud: fix MD5 error check
2018-08-17 18:05:04 +01:00
Nick Craig-Wood
6390dec7db
fs/accounting: add --stats-one-line flag for single line stats
2018-08-17 17:58:00 +01:00
Nick Craig-Wood
80a3db34a8
fs/accounting: show the total progress of the sync in the stats #379
2018-08-17 17:58:00 +01:00
Nick Craig-Wood
cb7a461287
sync: add a buffer for checks, uploads and renames #379
...
--max-backlog controls the queue length.
Add statistics for the check/upload/rename queues.
This means that checking can complete before the uploads which will
give rclone the ability to show exactly what is outstanding.
2018-08-17 17:58:00 +01:00
Nick Craig-Wood
eb84b58d3c
webdav: Attempt to remove failed uploads
...
Some webdav backends (eg rclone serve webdav) leave behind half
written files on error. This causes the integration tests to
fail. Here we remove the file if it exists.
2018-08-16 16:00:30 +01:00
Nick Craig-Wood
58339a5cb6
fstests: In TestFsPutError reliably provoke test failure
...
This change to go1.11 causes the TestFsPutError test to fail
https://go-review.googlesource.com/c/go/+/114316
This is because it now passes the half written file to the backend
whereas it didn't previously because of the buffering.
In this commit the size of the data written was increased to 5k from
50 bytes to provoke the test failure under go1.10 also.
2018-08-16 15:52:15 +01:00
Nick Craig-Wood
751bfd456f
box: make --box-commit-retries flag defaulting to 100 - Fixes #2054
...
Sometimes it takes many more commit retries than expected to commit a
multipart file, so split this number into its own config variable and
default it to 100 which should always be enough.
2018-08-11 16:33:55 +01:00
Andres Alvarez
990919f268
Add disclaimer about generated passwords being stored in an obscured format
2018-08-11 15:07:50 +01:00
Nick Craig-Wood
6301e15b79
Add Sebastian Bünger to contributors
2018-08-10 11:15:04 +01:00
Sebastian Bünger
007c7757d4
Add docs for Jottacloud
2018-08-10 11:14:34 +01:00
Sebastian Bünger
dd3e912731
fs/OpenOptions: Make FixRangeOption clamp range to filesize.
2018-08-10 11:14:34 +01:00
Sebastian Bünger
10ed455777
New backend: Jottacloud
2018-08-10 11:14:34 +01:00
Nick Craig-Wood
05bec70c3e
Add Matt Tucker to contributors
2018-08-10 10:28:41 +01:00
Matt Tucker
c54f5a781e
Fix typo in Box documentation
2018-08-10 10:28:16 +01:00
Nick Craig-Wood
6156bc5806
cache: fix nil pointer deref - fixes #2448
2018-08-07 21:33:13 +01:00
Nick Craig-Wood
e979cd62c1
rc: fix formatting in docs
2018-08-07 21:05:21 +01:00
Nick Craig-Wood
687477b34d
rc: add core/stats and vfs/refresh to the docs
2018-08-07 20:58:00 +01:00
Nick Craig-Wood
40d383e223
Add reddi1 to contributors
2018-08-07 20:56:55 +01:00
reddi1
6bfdabab6d
rc: added core/stats to return the stats - fixes #2405
2018-08-07 20:56:40 +01:00
Nick Craig-Wood
f7c1c61dda
Add Andres Alvarez to contributors
2018-08-07 20:52:04 +01:00
Andres Alvarez
c1f5add049
Add tests for reveal functions
2018-08-07 20:51:50 +01:00
Andres Alvarez
8989c367c4
Add reveal command
2018-08-07 20:51:50 +01:00
Nick Craig-Wood
d95667b06d
Add Cnly to contributors
2018-08-07 09:33:25 +01:00
Cnly
0f845e3a59
onedrive: implement DirMove - fixes #197
2018-08-07 09:33:19 +01:00
Fabian Möller
2e80d4c18e
vfs: update vfs/refresh rc command documentation
2018-08-07 09:31:12 +01:00
Fabian Möller
6349147af4
vfs: add non recursive mode to vfs/refresh rc command
2018-08-07 09:31:12 +01:00
Fabian Möller
782972088d
vfs: add the vfs/refresh rc command
...
vfs/refresh will walk the directory tree for the given paths and
freshen the directory cache. It will use the fast-list capability
of the remote when enabled.
2018-08-07 09:31:12 +01:00
Fabian Möller
38381d3786
lsjson: add option to show the original object IDs
2018-08-07 09:28:55 +01:00
Fabian Möller
eb6aafbd14
cache: implement fs.ObjectUnWrapper
2018-08-07 09:28:55 +01:00
Nick Craig-Wood
7f3d5c31d9
Add Ruben Vandamme to contributors
2018-08-06 22:07:40 +01:00
Ruben Vandamme
578f56bba7
Swift: Add storage_policy
2018-08-06 22:07:25 +01:00
Nick Craig-Wood
f7c0b2407d
drive: add docs for --fast-list and add to integration tests
2018-08-06 21:38:50 +01:00
Fabian Möller
dc5a734522
drive: implement ListR
2018-08-06 21:31:47 +01:00
Nick Craig-Wood
3c2ffa7f57
Add Oleg Kovalov to contributors
2018-08-06 21:14:14 +01:00