rclone/backend
albertony 2b67ad17aa jottacloud: fix issue with server-side copy when destination is in trash
A strange feature (probably bug) in the api used by the server-side copy implementation
in Jottacloud backend is that if the destination file is in trash, the copy request
succeeds but the destination will still be in trash! When this situation occurs in
rclone, the copy command will fail with "Failed to copy: object not found" because
rclone verifies that the file info in the response from the copy request is valid,
and since it is marked as deleted it is treated as invalid.

This commit works around this problem by looking for this situation in the response
from the copy operation, and send an additional request to a built-in deduplication
endpoint that will restore the file from trash.

Fixes #6112
2022-04-27 12:06:36 +02:00
..
alias docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
all Add Akamai Netstorage as a new backend. 2022-03-09 12:42:22 +00:00
amazonclouddrive Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
azureblob azureblob: Calculate Chunksize/blocksize to stay below maxUploadParts 2022-04-26 17:37:40 +01:00
b2 docs: add a note about the B2 download_url format 2021-11-23 17:57:34 +00:00
box Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
cache cache: fix bug after golang.org/x/time/rate update 2022-04-04 20:35:17 +01:00
chunker Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
compress compress: fix memory leak - fixes #6013 2022-03-03 17:10:21 +00:00
crypt local: fix hash invalidation which caused errors with local crypt mount 2021-11-24 12:09:34 +00:00
drive drive: when using a link type --drive-export-formats show all doc types 2022-02-25 16:08:11 +00:00
dropbox build: update dependencies 2022-04-04 20:35:17 +01:00
fichier Fix linting errors 2022-01-26 00:02:17 +01:00
filefabric Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
ftp ftp: hard fork github.com/jlaffaye/ftp to fix go get 2022-03-07 09:55:49 +00:00
googlecloudstorage googlecloudstorage: add --gcs-no-check-bucket to minimise transactions and perms 2022-04-14 11:18:36 +01:00
googlephotos drive,gcs,googlephotos: disable OAuth OOB flow (copy a token) due to google deprecation 2022-02-18 12:46:30 +00:00
hasher hasher: fix crash on object not found 2022-03-16 11:30:26 +00:00
hdfs config: remove explicit setting of required property to its default value false 2022-01-16 14:57:38 +01:00
http http: improved recognition of url pointing to a single file - fixes #5929 2022-01-26 11:41:01 +01:00
hubic Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
jottacloud jottacloud: fix issue with server-side copy when destination is in trash 2022-04-27 12:06:36 +02:00
koofr koofr: renamed digistorage to exclude the romania part. 2022-03-08 22:39:23 +00:00
local local: fix hash invalidation which caused errors with local crypt mount 2021-11-24 12:09:34 +00:00
mailru mailru: fix int32 overflow on arm32 - fixes #6003 2022-03-06 13:33:57 +00:00
mega mega: fix error handling broken by removal of github.com/pkg/errors 2021-11-09 13:43:45 +00:00
memory Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
netstorage netstorage: fix unescaped HTML in documentation 2022-03-18 14:40:12 +00:00
onedrive onedrive: Do not retry on 400 pathIsTooLong 2022-03-06 13:05:05 +00:00
opendrive Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
pcloud pcloud: fix pre-1970 time stamps - fixes #5917 2022-03-03 17:18:40 +00:00
premiumizeme Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
putio putio: fix multithread download and other ranged requests 2022-04-04 11:15:55 +01:00
qingstor Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
s3 s3: sync providers in config description with providers 2022-03-31 17:55:54 +01:00
seafile Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
sftp docs/ftp: improved default value description of port and username options 2022-01-16 14:57:38 +01:00
sharefile Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
sia Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
storj storj: fix bucket creation on Move picked up by integration tests 2022-04-15 17:57:15 +01:00
sugarsync Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
swift swift: fix about so it shows info about the current container only 2022-02-22 12:55:57 +00:00
union union: fix deadlock when one part of a multi-upload fails 2022-03-09 11:30:55 +00:00
uptobox Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
webdav webdav: don't override Referer if user sets it - fixes #6040 2022-04-26 08:58:31 +01:00
yandex yandex: add permanent deletion support 2021-11-17 16:57:41 +00:00
zoho Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00