Nick Craig-Wood
f06ba393b8
s3: Add --s3-force-path-style - fixes #2401
2018-07-20 15:41:40 +01:00
Nick Craig-Wood
473e3c3eb8
mount/cmount: implement --daemon-timeout flag for OSXFUSE
...
By default the timeout is 60s which isn't long enough for long
transactions. The symptoms are rclone just quitting for no reason.
Supplying the --daemon-timeout flag fixes this causing the kernel to
wait longer for rclone.
2018-07-19 13:26:51 +01:00
Nick Craig-Wood
ab78eb13e4
sync: correct help for --delete-during and --delete-after
2018-07-18 19:30:14 +01:00
Nick Craig-Wood
b1f31c2acf
cmd: fix boolean backend flags - fixes #2402
...
Before this change, boolean flags such as `--b2-hard-delete` were
failing to be recognised unless they had a parameter.
This bug was introduced as part of the config re-organisation:
f3f48d7d49
2018-07-18 15:43:57 +01:00
ishuah
dcc74fa404
move: fix delete-empty-src-dirs flag to delete all empty dirs on move - fixes #2372
2018-07-17 10:34:34 +01:00
Nick Craig-Wood
6759d36e2f
vendor: get Gopkg.lock back in sync
2018-07-16 22:02:11 +01:00
Nick Craig-Wood
a4797014c9
local: fix crash when deprecated --local-no-unicode-normalization is supplied
2018-07-16 21:38:34 +01:00
Nick Craig-Wood
4d7d240c12
config: Add advanced section to the config editor
2018-07-16 21:20:47 +01:00
Nick Craig-Wood
d046402d80
config: Make sure Required values are entered
2018-07-16 21:20:47 +01:00
Nick Craig-Wood
9bdf465c10
config: make config wizard understand types and defaults
2018-07-16 21:20:47 +01:00
Nick Craig-Wood
f3f48d7d49
Implement new backend config system
...
This unifies the 3 methods of reading config
* command line
* environment variable
* config file
And allows them all to be configured in all places. This is done by
making the []fs.Option in the backend registration be the master
source of what the backend options are.
The backend changes are:
* Use the new configmap.Mapper parameter
* Use configstruct to parse it into an Options struct
* Add all config to []fs.Option including defaults and help
* Remove all uses of pflag
* Remove all uses of config.FileGet
2018-07-16 21:20:47 +01:00
Nick Craig-Wood
3c89406886
config: Make fs.ConfigFileGet return an exists flag
2018-07-16 08:50:52 +01:00
Nick Craig-Wood
85d09729f2
fs: factor OptionToEnv and ConfigToEnv into fs
2018-07-16 08:50:52 +01:00
Nick Craig-Wood
b3bd2d1c9e
config: add configstruct parser to parse maps into config structures
2018-07-16 08:50:52 +01:00
Nick Craig-Wood
4c586a9264
config: add configmap package to manage config in a generic way
2018-07-16 08:50:52 +01:00
Nick Craig-Wood
1c80e84f8a
fs: Implement Scan method for SizeSuffix and Duration
2018-07-16 08:50:52 +01:00
Nick Craig-Wood
028f8a69d3
acd: Make very clear in the docs that rclone has no ACD keys #2385
2018-07-15 14:21:19 +01:00
Nick Craig-Wood
b0d1fa1d6b
azblob: fix precedence error on testing for StorageError types
2018-07-15 13:56:52 +01:00
Nick Craig-Wood
dbb4b2c900
fs/config: don't print errors about --config if supplied - fixes #2397
...
Before this change if the rclone was running in an environment which
couldn't find the HOME directory, it would print a warning about
supplying a --config flag even if the user had done so.
2018-07-15 12:39:11 +01:00
Nick Craig-Wood
99201f8ba4
Add sandeepkru to contributors
2018-07-14 10:50:58 +01:00
sandeepkru
5ad8bcb43a
backend/azureblob: Port new Azure Blob Storage SDK #2362
...
This change includes removing older azureblob storage SDK, and getting
parity to existing code with latest blob storage SDK.
This change is also pre-req for addressing #2091
2018-07-14 10:49:58 +01:00
sandeepkru
6efedc4043
vendor: Port new Azure Blob Storage SDK #2362
...
Removed references to older sdk and added new version sdk(2018-03-28)
2018-07-14 10:49:58 +01:00
Nick Craig-Wood
a3d9a38f51
fs/fserrors: make sure Cause never returns nil
2018-07-13 10:31:40 +01:00
Yoni Jah
b1bd17a220
onedrive: shared folder support - fixes #1200
2018-07-11 18:48:59 +01:00
Nick Craig-Wood
793f594b07
gcs: fix index out of range error with --fast-list fixes #2388
2018-07-09 17:00:52 +01:00
Nick Craig-Wood
4fe6614ae1
s3: fix index out of range error with --fast-list fixes #2388
2018-07-09 17:00:52 +01:00
Nick Craig-Wood
4c2fbf9b36
Add Jasper Lievisse Adriaanse to contributors
2018-07-08 11:01:56 +01:00
Jasper Lievisse Adriaanse
ed4f1b2936
sftp: fix typo in help text
2018-07-08 11:01:35 +01:00
Nick Craig-Wood
144c1a04d4
fs: Fix parsing of paths under Windows - fixes #2353
...
Before this copyto would parse windows paths incorrectly.
This change moves the parsing code into fspath and makes sure
fspath.Split calls fspath.Parse which does the parsing correctly for
This also renames fspath.RemoteParse to fspath.Parse for consistency
2018-07-06 23:16:43 +01:00
Nick Craig-Wood
25ec7f5c00
Add Onno Zweers to contributors
2018-07-05 10:05:24 +01:00
Onno Zweers
b15603d5ea
webdav: document dCache and Macaroons
2018-07-05 10:04:57 +01:00
Nick Craig-Wood
71c974bf9a
azureblob: documentation for authentication methods
2018-07-05 09:39:06 +01:00
Nick Craig-Wood
03c5b8232e
Update github.com/Azure/azure-sdk-for-go #2118
...
This pulls in https://github.com/Azure/azure-sdk-for-go/issues/2119
which fixes the SAS URL support.
2018-07-04 09:25:13 +01:00
Nick Craig-Wood
72392a2d72
azureblob: list the container to see if it exists #2118
...
This means that SAS URLs which are tied to a single container will work.
2018-07-04 09:23:00 +01:00
Nick Craig-Wood
b062ae9d13
azureblob: add connection string and SAS URL auth - fixes #2118
2018-07-04 09:22:59 +01:00
Nick Craig-Wood
8c0335a176
build: fix for goimports format change
...
See https://github.com/golang/go/issues/23709
2018-07-03 22:33:15 +01:00
Nick Craig-Wood
794e55de27
mega: wait for events instead of arbitrary sleeping
2018-07-02 14:50:09 +01:00
Nick Craig-Wood
038ed1aaf0
vendor: update github.com/t3rm1n4l/go-mega - fixes #2366
...
This update fixes files being missing from mega directory listings.
2018-07-02 14:50:09 +01:00
Nick Craig-Wood
97beff5370
build: keep track of compile failures better in cross-compile
2018-07-02 10:09:18 +01:00
Nick Craig-Wood
b9b9bce0db
ftp: fix Put mkParentDir failed: 521 for BunnyCDN - fixes #2363
...
According to RFC 959, error 521 is the correct error return to mean
"dir already exists", so add support for this.
2018-06-30 14:29:47 +01:00
Nick Craig-Wood
947e10eb2b
config: fix error reading password from piped input - fixes #1308
2018-06-28 11:54:15 +01:00
Nick Craig-Wood
6b42421374
build: build macOS beta releases with native compiler on travis #2309
2018-06-26 09:39:44 +01:00
Nick Craig-Wood
fa051ff970
webdav: add bearer token (Macaroon) support for dCache - fixes #2360
2018-06-25 17:54:36 +01:00
Nick Craig-Wood
69164b3dda
build: move non master beta builds into branch subdirectory
2018-06-25 16:49:04 +01:00
Nick Craig-Wood
935533e57f
filter: raise --include and --exclude warning to ERROR so it appears without -v
2018-06-22 22:18:55 +01:00
Nick Craig-Wood
1550f70865
webdav: Don't accept redirects when reading metadata #2350
...
Go can't redirect PROPFIND requests properly, it changes the method to
GET, so we disable redirects when reading the metadata and assume the
object does not exist if we receive a redirect.
This is to work-around the qnap redirecting requests for directories
without /.
2018-06-18 12:22:13 +01:00
Nick Craig-Wood
1a65c3a740
rest: add NoRedirect flag to Options
2018-06-18 12:21:50 +01:00
Nick Craig-Wood
a29a1de43d
webdav: if root ends with / then don't check if it is a file
2018-06-18 12:13:47 +01:00
Nick Craig-Wood
e7ae5e8ee0
webdav: ensure we call MKCOL with a URL with a trailing / #2350
...
This is an attempt to fix rclone and qnap interop.
2018-06-18 11:16:58 +01:00
Mateusz
56e1e82005
fs: added weekday schedule into --bwlimit - fixes #1822
2018-06-17 18:38:09 +01:00