rclone:fix-6433-webdav-content-type

Last commit made on 2022-09-12
Get this branch:
git clone -b fix-6433-webdav-content-type https://git.launchpad.net/rclone

Branch merges

Branch information

Name:
fix-6433-webdav-content-type
Repository:
lp:rclone

Recent commits

f4d8226... by Nick Craig-Wood

serve webdav: fix incorrect Content-Type immediately after upload

Before this change, if the Content-Type for an object was read
immediately after upload (before the object had been uploaded to the
backing store) then the Content-Type would be returned incorrectly.

This error would be more likely with `--vfs-cache-mode full` and
`writes` but may have been possible with the other
`--vfs-cache-mode`s.

This fixes the problem by always returning a sensible guess at the
content type - the same guess we would use for uploading the object.

Fixes #6433

be53dcc... by Nick Craig-Wood

docs: add more information about --track-renames

See: https://forum.rclone.org/t/feature-question-how-does-rclone-track-renames-and-moves/32911/4

bd787e8... by Nick Craig-Wood

filter: Fix incorrect filtering with UseFilter context flag and wrapping backends

In this commit

8d1fff9a8237c64f local: obey file filters in listing to fix errors on excluded files

We started using filters in the local backend so the user could short
circuit troublesome files/directories at a low level.

However this caused a number of integration tests to fail. This turned
out to be in backends wrapping the local backend. For example the
combine backend test failed because it changes the paths passed to the
local backend so they no longer match the paths in the current filter.

To fix this, a new feature flag `FilterAware` was added and the
UseFilter context flag is only passed to backends which support it. As
the wrapping backends don't support the flag, this fixes the problems
in the integration tests.

In future the wrapping backends could modify the active filters to
match the path modifications and then they could set the FilterAware
flag.

See #6376

3cb7734... by Nick Craig-Wood

config: move locking to fix fatal error: concurrent map read and map write

Before this change we assumed that github.com/Unknwon/goconfig was
threadsafe as documented.

However it turns out it is not threadsafe and looking at the code it
appears that making it threadsafe might be quite hard.

So this change increases the lock coverage in configfile to cover the
goconfig uses also.

Fixes #6378

d08ed7d... by Nick Craig-Wood

ftp: add notes on how to avoid deadlocks with concurrency - fixes #6370

f279e4a... by Nick Craig-Wood

Add Josh Soref to contributors

3534965... by albertony <email address hidden>

docs/sftp: document use of chunk_size option in sftp remote paired with serve sftp

Related to 0008cb4934242757606b4c1305971fc51e7adef4

ce3b65e... by Josh Soref <email address hidden>

all: fix spelling across the project

* abcdefghijklmnopqrstuvwxyz
* accounting
* additional
* allowed
* almost
* already
* appropriately
* arise
* bandwidth
* behave
* bidirectional
* brackets
* cached
* characters
* cloud
* committing
* concatenating
* configured
* constructs
* current
* cutoff
* deferred
* different
* directory
* disposition
* dropbox
* either way
* error
* excess
* experiments
* explicitly
* externally
* files
* github
* gzipped
* hierarchies
* huffman
* hyphen
* implicitly
* independent
* insensitive
* integrity
* libraries
* literally
* metadata
* mimics
* missing
* modification
* multipart
* multiple
* nightmare
* nonexistent
* number
* obscure
* ourselves
* overridden
* potatoes
* preexisting
* priority
* received
* remote
* replacement
* represents
* reproducibility
* response
* satisfies
* sensitive
* separately
* separator
* specifying
* string
* successful
* synchronization
* syncing
* Å¡enfeld
* take
* temporarily
* testcontents
* that
* the
* themselves
* throttling
* timeout
* transaction
* transferred
* unnecessary
* using
* webbrowser
* which
* with
* workspace

Signed-off-by: Josh Soref <email address hidden>

0008cb4... by albertony <email address hidden>

docs: document that serve sftp uses chunk size 32 KiB

See #6404

2ea5b4f... by albertony <email address hidden>

Add YFdyh000 to contributors