Nick Craig-Wood
9959c5f17f
webdav: add Content-Type to PUT requests - fixes #2664
2018-10-18 13:18:24 +01:00
Nick Craig-Wood
e8d0a363fc
opendrive: fix transfer of files with + and & in - fixes #2657
2018-10-17 14:22:04 +01:00
albertony
935b7c1c0f
jottacloud: fix bug in --fast-list handing of empty folders - fixes #2650
2018-10-17 13:58:36 +01:00
Fabian Möller
15ce0ae57c
fstests: fix maximum tested size in TestFsPutChunked
...
Before this it was possible hat maxChunkSize was incorrectly set to 200.
2018-10-16 11:50:47 +02:00
Nick Craig-Wood
67703a73de
Start v1.44-DEV development
2018-10-15 12:33:27 +01:00
Nick Craig-Wood
f96ce5674b
Version v1.44
2018-10-15 11:03:08 +01:00
Nick Craig-Wood
7f0b204292
azureblob: work around SDK bug which causes errors for chunk-sized files (again)
...
Until https://github.com/Azure/azure-storage-blob-go/pull/75 is merged
the SDK can't upload a single blob of exactly the chunk size, so
upload files of this size with a multpart upload as a work around.
The previous fix for this 6a773289e7
turned out to cause problems
uploading files with maximum chunk size so needed to be redone.
Fixes #2653
2018-10-15 09:05:34 +01:00
Nick Craig-Wood
83b1ae4833
Add buergi to contributors
2018-10-14 17:20:34 +01:00
buergi
753cc63d96
webdav: add workaround for missing mtime - fixes #2420
2018-10-14 17:19:23 +01:00
Nick Craig-Wood
5dac8e055f
union: fix --backup-dir on union backend
...
Before this fix --backup-dir would fail.
This is fixed by wrapping objects returned so that they belong to the
union Fs rather than the underlying Fs.
2018-10-14 15:19:02 +01:00
Nick Craig-Wood
c3a8eb1c10
fstests: make findObject() sleep a bit longer to fix b2 largePut tests
2018-10-14 14:45:23 +01:00
Nick Craig-Wood
0f2a5403db
acd,box,onedrive,opendrive,ploud: fix Features() retaining the original receiver
...
Before this change the Features() method would return a different Fs
to that the Features() method was called on if the remote was
instantiated on a file.
The practical effect of this is that optional features, eg `rclone
about` wouldn't work properly when called on a file, and likely this
has been causing low level problems for users of these backends for
ages.
Ideally there would be a test for this, but it turns out that this is
really hard, so instead of that all the backends have been converted
to not copy the Fs and a big warning comment inserted for future
readers.
Fixes #2182
2018-10-14 14:41:26 +01:00
Nick Craig-Wood
dcce84714e
onedrive: fix link command for non root
2018-10-14 14:17:53 +01:00
Nick Craig-Wood
eb8130f48a
fstests: update TestPublicLink comment to show how to run solo
2018-10-14 14:17:05 +01:00
Nick Craig-Wood
aa58f66806
build: add longer timeout to integration tests
2018-10-14 14:16:33 +01:00
Nick Craig-Wood
a3dc591b8e
Add teresy to contributors
2018-10-14 00:19:49 +01:00
teresy
5ee1bd7ba4
Remove redundant nil checks
2018-10-14 00:19:35 +01:00
Nick Craig-Wood
dbedf33b9f
s3: fix v2 signer on files with spaces - fixes #2438
...
Before this fix the v2 signer was failing for files with spaces in.
2018-10-14 00:10:29 +01:00
Nick Craig-Wood
0f02c9540c
s3: make --s3-v2-auth flag
...
This is an alternative to setting the region to "other-v2-signature"
which is inconvenient for multi-region providers.
2018-10-14 00:10:29 +01:00
Nick Craig-Wood
06922674c8
drive, s3: review hidden config items
2018-10-13 23:30:13 +01:00
Nick Craig-Wood
8ad7da066c
drive: when listing team drives, continue on failure
...
This means that if the team drive listing returns a 500 error (which
seems reasonably common) rclone will continue to the point where it
asks for the team drive ID.
https://forum.rclone.org/t/many-team-drives-causes-rclone-to-fail/7159
2018-10-13 23:30:13 +01:00
Nick Craig-Wood
e1503add41
azureblob, b2, drive: implement set upload cutoff for chunked upload tests
2018-10-13 22:49:12 +01:00
Nick Craig-Wood
6fea75afde
fstests: fix upload offsets not being set and redownload test files
...
In chunked upload tests:
- Add ability to set upload offset
- Read back the uploaded file to check it is OK
2018-10-13 22:49:12 +01:00
Nick Craig-Wood
6a773289e7
azureblob: work around SDK bug which causes errors for chunk-sized files
...
See https://github.com/Azure/azure-storage-blob-go/pull/75 for details
2018-10-13 22:49:12 +01:00
Nick Craig-Wood
ade252f13b
build: fixup code formatting after goimports change
2018-10-13 22:47:12 +01:00
Nick Craig-Wood
bb2e361004
jottacloud: Fix socket leak on Object.Remove - fixes #2637
2018-10-13 22:47:12 +01:00
Nick Craig-Wood
b24facb73d
rest: Fix documentation so it is clearer when resp.Body is closed
2018-10-13 22:47:12 +01:00
Nick Craig-Wood
014d58a757
Add David Haguenauer to contributors
2018-10-13 12:56:21 +01:00
David Haguenauer
1d16e16b30
docs: replace "Github" with "GitHub"
...
This the way GitHub refer to themselves.
2018-10-13 12:55:45 +01:00
Nick Craig-Wood
249a523dd3
build: fix golint install with new path
2018-10-12 11:35:35 +01:00
Nick Craig-Wood
8d72ef8d1e
cmd: Don't print non-ASCII characters with --progress on windows - fixes #2501
...
This bug causes lots of strange behaviour with non-ASCII characters and --progress
https://github.com/Azure/go-ansiterm/issues/26
2018-10-11 21:25:04 +01:00
Nick Craig-Wood
bc8f0208aa
rest: Remove auth headers on HTTP redirect
...
Before this change the rest package would forward all the headers on
an HTTP redirect, including the Authorization: header. This caused
problems when forwarded to a signed S3 URL ("Only one auth mechanism
allowed") as well as being a potential security risk.
After we use the go1.8+ mechanism for doing this instead of using our
own which does it correctly removing the Authorization: header when
redirecting to a different host.
This hasn't fixed the behaviour for rclone compiled with go1.7.
Fixes #2635
2018-10-11 21:20:33 +01:00
Nick Craig-Wood
ee25b6106a
Add jackyzy823 to contributors
2018-10-11 14:50:33 +01:00
Nick Craig-Wood
5c1b135304
Add dcpu to contributors
2018-10-11 14:50:33 +01:00
HerrH
2f2029fed5
Improved and updated the readme
...
Updated providers list, added links to docs, improved readability
2018-10-11 14:50:21 +01:00
Fabian Möller
57273d364b
fstests: add TestFsPutChunked
2018-10-11 14:47:58 +01:00
Fabian Möller
84289d1d69
readers: add NewPatternReader
2018-10-11 14:47:58 +01:00
Fabian Möller
98e2746e31
backend: add fstests.ChunkedUploadConfig
...
- azureblob
- b2
- drive
- dropbox
- onedrive
- s3
- swift
2018-10-11 14:47:58 +01:00
Fabian Möller
c00ec0cbe4
fstests: add ChunkedUploadConfig
2018-10-11 14:47:58 +01:00
Fabian Möller
1a40bceb1d
backend: unify NewFs path handling for wrapping remotes
...
Use the same function to join the root paths for the wrapping remotes
alias, cache and crypt.
The new function fspath.JoinRootPath is equivalent to path.Join, but if
the first non empty element starts with "//", this is preserved to allow
Windows network path to be used in these remotes.
2018-10-10 17:50:27 +01:00
jackyzy823
411a6cc472
onedrive: add link sharing support #2178
2018-10-09 20:11:48 +08:00
Fabian Möller
1e2676df26
union: fix ChangeNotify to support multiple remotes
...
To correctly support multiple remotes, each remote has to receive a
value on the input channel.
2018-10-07 11:13:37 +02:00
Nick Craig-Wood
364fca5cea
union: implement optional interfaces (Move, DirMove, Copy etc) - fixes #2619
...
Implement optional interfaces
- Purge
- PutStream
- Copy
- Move
- DirMove
- DirCacheFlush
- ChangeNotify
- About
Make Hashes() return the intersection of all the hashes supported by the remotes
2018-10-07 00:06:29 +01:00
Nick Craig-Wood
87e1efa997
mount, vfs: Remove EXPERIMENTAL tags
...
rclone mount and the --vfs-cache-mode has been tested extensively by
users now so removing the EXPERIMENTAL tag is appropriate.
2018-10-06 11:47:46 +01:00
Nick Craig-Wood
6709084e2f
config: Show URL of backend help page when starting config
2018-10-06 11:47:46 +01:00
Nick Craig-Wood
6b1f915ebc
fs: Implement RegInfo.FileName to return the on disk filename for a backend
...
Use it in make_backend_docs.py
2018-10-06 11:47:46 +01:00
Nick Craig-Wood
78b9bd77f5
docs: auto generate backend options documentation
...
This inserts the output of "rclone help backend xxx" into the help
pages for each backend.
2018-10-06 11:47:46 +01:00
Nick Craig-Wood
a9273c5da5
docs: move documentation for options from docs/content into backends
...
In the following commit, the documentation will be autogenerated.
2018-10-06 11:47:46 +01:00
Nick Craig-Wood
14128656db
cmd: Implement specialised help for flags and backends - fixes #2541
...
Instead of showing all flags/backends all the time, you can type
rclone help flags
rclone help flags <regexp>
rclone help backends
rclone help backend <name>
2018-10-06 11:47:45 +01:00
Nick Craig-Wood
1557287c64
fs: Make Option.GetValue() public #2541
2018-10-06 11:47:45 +01:00