88d830c7b7
vfs: create cache.opens and use it in place of cache.get to avoid potential race
2018-02-26 16:58:02 +00:00
724120d2f3
local: make DirMove return fs.ErrorCantDirMove to allow fallback
...
Before this change `rclone move localdir /mnt/different-fs` would
error. Now it falls back to moving individual files, which in turn
falls back to copying individual files across the filesystem boundary.
2018-02-26 12:55:05 +00:00
25bbc5d22b
drive: make --drive-auth-owner-only look in all directories
...
Previously it was ignoring directories which weren't owned by the user
which meant it was ignoring files owned by the user in those
directories.
2018-02-26 12:30:59 +00:00
00adf40f9f
cryptdecode: use Cipher instead of NewFs ( #2087 )
...
* crypt: extract NewCipher out of NewFs
* cryptdecode: make use of crypt.NewCipher
Fixes #2075
2018-02-25 12:57:14 +01:00
aeefa34f62
fstests: add TestInternal ( #2085 )
...
TestInternal allows to perform a custom test on the backend using the
optional InternalTester interface.
2018-02-25 10:58:06 +01:00
9252224d82
vfs: don't open the file when using a RW handle for a null Seek
...
Background: cmd/mount/file.go Open() function does a Seek(0, 1) to see
if the file handle is seekable to set a FUSE hint. Before this change
the file was downloaded before it needed to be which was inefficient
(and broke beta.rclone.org because HEAD requests caused downloads!).
2018-02-22 17:28:21 +00:00
1383df4f58
b2: add more logging on multipart upload errors to debug #2036
2018-02-21 09:05:59 +00:00
0ce81f68fe
Make a beta release for all branches on the main repo (but not pull requests)
2018-02-20 16:06:39 +00:00
20ca7d0e4f
build: update to using go1.10 as the default go version
...
Note we have to put the version number in quotes to work around
https://github.com/travis-ci/gimme/issues/132
2018-02-20 13:41:16 +00:00
4c3d42bcbb
Add Daniel Loader to contributors
2018-02-20 13:04:14 +00:00
2ef8de0843
Add Mateusz to contributors
2018-02-20 13:04:14 +00:00
a70200dd29
Add version output at end of the install.sh script
2018-02-20 13:03:50 +00:00
c99412d11e
cryptcheck: make reading of nonce more efficient with RangeOption #1825
...
...also only calculate the required hash which will speed things up slightly.
2018-02-19 18:00:39 +00:00
abc736df1d
cat: Use RangeOption for limited fetches to make more efficient #1825
2018-02-19 18:00:39 +00:00
ab0d06eb16
fs: Make RangeOption mandatory #1825
2018-02-19 18:00:39 +00:00
9ffc3898b1
fstests: Allow RangeOption tests to run everywhere #1825
2018-02-19 18:00:39 +00:00
afc963ed92
config: retry saving the config after failure - fixes #2060
2018-02-19 17:59:27 +00:00
c929de9dc4
crypt: Implement RangeOption #1825
2018-02-19 15:45:24 +00:00
451cd6d971
fs: add ChunkedReader
2018-02-19 15:45:24 +00:00
a647c54888
fs: add RangeSeeker interface
2018-02-19 15:45:24 +00:00
334bf49d30
httplib: add Close() method to shut the server down and use it in tests
2018-02-19 15:45:24 +00:00
d8f78a7266
serve http/webdav: update docs on SSL
2018-02-19 14:08:17 +00:00
62e72801be
vfs: fix race between multiple RWFileHandle ( #2052 )
...
Fixes #2034
2018-02-18 14:12:26 +01:00
358c1fbac9
serve http/webdav: support SSL/TLS
2018-02-16 18:28:10 +00:00
cc9d7156e4
serve http/webdav: add --user --pass authentication #1802
2018-02-16 18:28:10 +00:00
221a8a9c5d
serve http/webdav: add --htpasswd option for authentication #1802
2018-02-16 18:28:10 +00:00
2b6f7028a6
vendor: github.com/abbot/go-http-auth for #1802
2018-02-16 18:28:09 +00:00
5530662ccc
serve http/webdav: factor common http server creation to httplib
2018-02-16 17:48:20 +00:00
442334ba61
vfs: disable cache cleaner if --vfs-cache-poll-interval=0
...
And use this to disable the cleaner in the cache tests to make them
more reliable
2018-02-16 14:12:46 +00:00
70b4842823
Add Victor to contributors
2018-02-16 13:21:50 +00:00
2f63a9f81c
onedrive: Overwrite object size value with real size when reading file.
...
Because of a bug in the Onedrive API it will sometime report the wrong
size. If the size is wrong other remotes that depend on the size might
fail. To fix this we overwrite the objects size with the real size
from ContentLength header.
2018-02-16 13:21:26 +00:00
8a9ed57951
vfs: fix another race in cache tests
2018-02-16 12:05:59 +00:00
a5c3bcc9c7
fshttp: fix idle timeouts for HTTP connections #2057
...
Now we only nudge on the idle timeout after a successful Read or Write
which returns some bytes and no errors.
2018-02-16 10:35:41 +00:00
9b800d7184
vfs: fix race in cache tests
2018-02-15 21:34:37 +00:00
b1945d0094
swift: fix refresh of authentication token
...
Before this fix we were doing the token refresh but ignoring the new
tokens.
This bug was introduced in v1.39 by 4c0e2f9b3b
Fixes #2018
Fixes #2031
2018-02-15 19:22:45 +00:00
9a34fd984c
cache: fix dirmove with temp fs enabled
2018-02-14 23:47:45 +02:00
644313a4b9
http: Fix handling of directories with & in
...
This was caused by inconsistent escaping of the URL in the prefix
check, so check the URL links back to the correct host and scheme
instead of the prefix check.
The decoded path check will catch any URLs which are outside of the
root.
2018-02-14 11:26:37 +00:00
675e7c5d8e
docs: make downloads into a table
...
Add the scripted downloads to the download page
2018-02-13 11:23:11 +00:00
99f3c8bc93
docs: turn version into a partial so it can be reused more easily
2018-02-13 11:20:23 +00:00
ff6a7142da
Add Durval Menezes to contributors
2018-02-12 11:47:01 +00:00
691c725e8b
docs: Enhanced documentation for the --drive-shared-with-me option.
2018-02-12 11:46:29 +00:00
ee388c4331
New email address for Oliver Heyme
2018-02-12 11:43:28 +00:00
771fbbe314
docs: for --max-delete
2018-02-12 11:32:59 +00:00
ab8c0a81fa
Add a delete threshold to sync (--max-delete)
...
Fixes #959
2018-02-12 11:29:58 +00:00
cd7fd51119
vfs: fix docs - fixes #2067
2018-02-12 11:29:32 +00:00
0f787e43b0
mount: link the nssm service manager for mount under Windows
2018-02-12 11:29:32 +00:00
3a7bb7b2df
mount: update docs showing --vfs-cache-mode to work around limitations
2018-02-12 11:29:32 +00:00
54724a1362
cache: notify vfs when using temp fs - fixes #2051
2018-02-11 22:30:58 +02:00
846bbef1e9
vfs: write 0 bytes when flushing unwritten handles to avoid race conditions in FUSE - fixes #1181
2018-02-11 17:59:13 +00:00
b33e3f779c
cache: add support for polling
2018-02-10 22:01:05 +02:00