Nick Naumann
11be920e90
sync: add filter-sensitivity to --backup-dir option
...
The old Overlapping function and corresponding tests have been removed, as it has been completely replaced by the OverlappingFilterCheck function.
2022-07-13 16:04:53 +01:00
albertony
8c19b355a5
docs: fix links to mount command from install docs
2022-07-13 12:33:54 +02:00
r-ricci
67fd60275a
union: fix panic due to misalignment of struct field in 32 bit architectures
...
`FS.cacheExpiry` is accessed through sync/atomic.
According to the documentation, "On ARM, 386, and 32-bit MIPS, it is
the caller's responsibility to arrange for 64-bit alignment of 64-bit
words accessed atomically. The first word in a variable or in an
allocated struct, array, or slice can be relied upon to be 64-bit
aligned."
Before commit 1d2fe0d856
this field was
aligned, but then a new field was added to the structure, causing the
test suite to panic on linux/386.
No other field is used with sync/atomic, so `cacheExpiry` can just be
placed at the beginning of the stuct to ensure it is always aligned.
2022-07-11 18:34:06 +01:00
Nick Craig-Wood
b310490fa5
union: fix multiple files being uploaded when roots don't exist
...
See: https://forum.rclone.org/t/union-backend-copying-to-all-remotes-while-it-shouldnt/31781
2022-07-11 18:19:36 +01:00
Nick Craig-Wood
0ee0812a2b
union: fix duplicated files when using directories with leading /
...
See: https://forum.rclone.org/t/union-backend-copying-to-all-remotes-while-it-shouldnt/31781
2022-07-11 18:19:36 +01:00
Nick Craig-Wood
55bbff6346
operations: add --server-side-across-configs global flag for any backend
2022-07-11 18:17:42 +01:00
Nick Craig-Wood
9c6cfc1ff0
combine: throw error if duplicate directory name is specified
...
See: https://forum.rclone.org/t/v1-59-combine-qs/31814
2022-07-10 15:40:30 +01:00
Nick Craig-Wood
f753d7cd42
combine: fix docs showing remote=
instead of upstreams=
...
See: https://forum.rclone.org/t/v1-59-combine-qs/31814
2022-07-10 15:34:48 +01:00
Nick Craig-Wood
f5be1d6b65
Start v1.60.0-DEV development
2022-07-09 20:43:17 +01:00
Nick Craig-Wood
00a684d877
Version v1.59.0
2022-07-09 18:09:25 +01:00
Nick Craig-Wood
1c4ee2feee
gcs: add --gcs-decompress flag to download gzip-encoded files
...
By default these will be downloaded compressed.
This changes the default of the previous commit
2781f8e2f1
gcs: Fix download of "Content-Encoding: gzip" compressed objects
But will fit in better with the metadata framework when copying
gzip-encoded objects from backend to backend.
2022-07-09 17:31:12 +01:00
Nick Craig-Wood
876f12f2c4
Add Ovidiu Victor Tatar to contributors
2022-07-09 12:35:59 +01:00
Nick Craig-Wood
6e9c1eebd9
Add Claudio Maradonna to contributors
2022-07-09 12:35:59 +01:00
Lesmiscore (Naoya Ozaki)
42dfadfa1b
internetarchive: add support for Metadata
2022-07-08 23:47:50 +01:00
Ovidiu Victor Tatar
b4d847cadd
new backend: hidrive - fixes #1069
2022-07-08 18:24:54 +01:00
Ovidiu Victor Tatar
502226bfc8
pacer: add ZeroDelayCalculator
2022-07-08 18:24:54 +01:00
Ovidiu Victor Tatar
53400d7edc
oauthlib: add method to set a token as expired
...
This can be used by backends to trigger a refresh of an access token if
they detect an invalid token.
2022-07-08 18:24:54 +01:00
Claudio Maradonna
62bcc84f6f
vfs: add --vfs-disk-space-total-size option to manually set the total disk space
...
Now you can specify --vfs-disk-space-total-size to set the total disk
space (default to -1)
fixes #3270
2022-07-08 17:26:54 +01:00
Nick Craig-Wood
2e54b56a01
rcat: check checksums by default like copy does #6305
...
Before this change we were calculating the checksum for an rcat
transfer but never checking it.
See: https://forum.rclone.org/t/optimize-rclone-on-raspberry-pi-4-8gb/31741
2022-07-07 16:09:09 +01:00
Nick Craig-Wood
2515039e18
Add Lorenzo Maiorfi to contributors
2022-07-07 16:09:09 +01:00
Nick Craig-Wood
a9c531b9eb
Add Paul Norman to contributors
2022-07-07 16:09:09 +01:00
Nick Craig-Wood
0db50ecb2f
Add zzr93 to contributors
2022-07-07 16:09:09 +01:00
Nick Craig-Wood
388da82762
Add Anthrazz to contributors
2022-07-07 16:09:09 +01:00
Lorenzo Maiorfi
b5efffee9d
azureblob: allow remote emulator (azurite) - fixes #6290
2022-07-06 11:54:04 +01:00
Paul Norman
3ec07d5db9
docs: fix typo in license webpage
2022-07-06 11:25:31 +01:00
albertony
5c6a958ad8
go mod tidy: github.com/pkg/xattr should be direct
2022-07-04 11:24:59 +02:00
albertony
ad8c94e982
staticcheck: redundant return statement
2022-07-04 11:24:59 +02:00
albertony
e5bf6a813c
staticcheck: google api New is deprecated: please use NewService instead
2022-07-04 11:24:59 +02:00
albertony
f18095b004
staticcheck: ignore deprecations that are not relevant
2022-07-04 11:24:59 +02:00
albertony
c70e890966
staticcheck: TLS config NameToCertificate is deprecated, should instead let library select the first compatible chain from Certificates
2022-07-04 11:24:59 +02:00
albertony
986bb17656
staticcheck: awserr.BatchError is deprecated: Replaced with BatchedErrors
2022-07-04 11:24:59 +02:00
albertony
92a43c5f7b
staticcheck: should use a simple channel send/receive instead of select with a single case
2022-07-04 11:24:59 +02:00
albertony
9612ca6110
staticcheck: ignore unused if platform dependent
2022-07-04 11:24:59 +02:00
albertony
1f9560e873
selfupdate: replace deprecated x/crypto/openpgp package with ProtonMail/go-crypto
2022-07-04 11:24:59 +02:00
albertony
c9d67c86fb
staticcheck: ignore suggestion to use context.TODO instead of nil when testing nil Context
2022-07-04 11:24:59 +02:00
albertony
3e9c5eca3b
yandex: handle api error on server-side move
2022-07-04 11:24:59 +02:00
albertony
a1fd60ec2b
staticcheck: empty branch
2022-07-04 11:24:59 +02:00
albertony
7b8c974dec
staticcheck: ineffective break statement
2022-07-04 11:24:59 +02:00
albertony
5b579cea47
staticcheck: use golang.org/x/text/cases instead of deprecated strings.Title
...
strings.Title has been deprecated since Go 1.18 and an alternative has been
available since Go 1.0. The rule Title uses for word boundaries does not handle
Unicode punctuation properly. Use golang.org/x/text/cases instead.
2022-07-04 11:24:59 +02:00
albertony
7822df565e
staticcheck: unused func
2022-07-04 11:24:59 +02:00
albertony
3435bf7f34
staticcheck: no value of type int64 is greater than math.MaxInt64
2022-07-04 11:24:59 +02:00
albertony
0772cae314
staticcheck: use result of type assertion to simplify cases
2022-07-04 11:24:59 +02:00
zzr93
060c8dfff0
operations: use correct src/dst in some log messages
...
Most of the time this will make no difference to user logs, however
the difference may be visible in JSON logs and on the rare occasions
src and dst are pointing to different file names.
2022-07-04 10:18:04 +01:00
Anthrazz
424a1f39eb
sftp: add Hetzner Storage Boxes to supported sftp backends
2022-07-04 10:08:33 +01:00
Nick Craig-Wood
06182a3443
s3: actually compress the payload for content-type gzip test
2022-07-04 09:42:49 +01:00
Nick Craig-Wood
a58b482061
fstests: fix Metadata tests on remotes with additional config
2022-07-04 09:42:49 +01:00
Nick Craig-Wood
accf91742c
fs: add Type and FindFromFs to manage Fs and RegInfo
2022-07-04 09:42:49 +01:00
albertony
9dbed02329
jottacloud: always store username in config and use it to avoid initial api request
...
Existing version did save username in config, but only when entering the custom
device/mountpoint sequence in config. Regardless of that, it did always look up the
username at startup with an api request.
This commit improves it so that the username will always be stored in config,
and when using standard authentication it picks it from the login token instead of
requesting it from the remote api, and also in fs constructor it picks it from config
instead of requesting it from remote api (again).
2022-07-03 12:56:25 +02:00
albertony
73e3bb09d7
http: fix missing response when using custom auth handler
2022-07-02 15:29:50 +02:00
Nick Craig-Wood
7e7a8a95e9
hasher: support metadata
2022-06-29 17:30:37 +01:00