rclone:fix-onedrive-listing

Last commit made on 2021-03-31
Get this branch:
git clone -b fix-onedrive-listing https://git.launchpad.net/rclone

Branch merges

Branch information

Name:
fix-onedrive-listing
Repository:
lp:rclone

Recent commits

6071db5... by Nick Craig-Wood

onedrive: work around duplicated directory listing entries

When paging big directories onedrive sometimes duplicates the last
item on one page as the first item of the next page.

This patch detects that and skips the duplicated item with an error
message.

See: https://forum.rclone.org/t/unexpected-duplicates-on-onedrive-with-0s-in-filename/23164

d0f8b4f... by Nick Craig-Wood

fs/cache: fix recreation of backends after they have expired

Before this change, on the first attempt to create a backend we used a
non-canonicalized string. When the backend expired the second attempt
to create it would use the canonicalized string (because it was in the
remap cache) which would fail because it was now `name{XXXX}:`

This change makes sure that whenever we create a backend we always use
the non-canonicalized string.

See: https://forum.rclone.org/t/connection-string-inconsistencies-on-beta/23171

58d82a5... by Nick Craig-Wood

rc: allow fs= params to be a JSON blob

c0c7400... by Nick Craig-Wood

fs/cache: add --fs-cache-expire-duration to control the fs cache

This commit makes the previously statically configured fs cache configurable.

It introduces two parameters `--fs-cache-expire-duration` and
`--fs-cache-expire-interval` to control the caching of the items.

It also adds new interfaces to lib/cache to set these.

60bc7a0... by Nick Craig-Wood

rc: factor rc.Error out of rcserver for re-use in librclone #4891

20c5ca0... by Nick Craig-Wood

test_all: fix crash when using -clean

fc57648... by Nick Craig-Wood

lib/rest: fix multipart uploads stopping on context cancel

Before this change when the context was cancelled (due to
--max-duration for example) this could deadlock when uploading
multipart uploads.

This change fixes the problem by introducing another go routine to
monitor the context and close the pipe with an error when the context
errors.

8c5c91e... by Nick Craig-Wood

lib/readers: add NewContextReader to error on context errors

9dd39e8... by Nick Craig-Wood

Add x0b to contributors

9c91861... by albertony <email address hidden>

docs: add short description of configuration file format (#5142)

Fixes #572