Nick Craig-Wood
a80287effd
crypt: fix tests after introduction of no data encryption
2021-11-15 18:03:13 +00:00
Nick Craig-Wood
4216d55a05
test: make sure we run wrapping backend tests in "make quicktest"
2021-11-15 18:03:13 +00:00
Nick Craig-Wood
ba6730720d
Fix repeated error messages after pkg/errors removal
2021-11-15 17:58:40 +00:00
Nick Craig-Wood
7735b5c694
Add Sinan Tan to contributors
2021-11-15 17:58:40 +00:00
Nick Craig-Wood
d45b3479ee
Add Andy Jackson to contributors
2021-11-15 17:58:40 +00:00
Nick Craig-Wood
4c5df0a765
Add Fredric Arklid to contributors
2021-11-15 17:58:40 +00:00
Sinan Tan
8c61a09be2
crypt: add test cases and documentation for base64 and base32768 filename encoding #5801
2021-11-15 17:57:02 +00:00
Max Sum
c217145cae
crypt: add base64 and base32768 filename encoding options #5801
2021-11-15 17:57:02 +00:00
thomae
4c93378f0e
serve sftp: update docs on --stdio
2021-11-12 10:49:35 +00:00
thomae
f9e54f96c3
docs/sftp: fix typo
2021-11-11 19:20:15 +01:00
Andy Jackson
af0fcd03cb
hdfs: add file and directory move/rename support
2021-11-11 16:41:43 +00:00
albertony
00aafc957e
sftp: add rclone to list of supported md5sum/sha1sum commands to look for
...
See #5781
2021-11-11 15:16:45 +01:00
albertony
29abbd2032
hashsum: support creating hash from data received on stdin
...
See #5781
2021-11-11 15:16:45 +01:00
Fredric Arklid
663b2d9c46
jottacloud: Add support for Tele2 Cloud
2021-11-11 12:32:23 +00:00
Nick Craig-Wood
f36d6d01b5
rc: fix operations/publiclink default for expires parameter
...
Before this change the expires parameter was defaulting to 0 if not
provided.
This change makes it default to fs.DurationOff which is the same as
the `rclone link` command.
See: https://forum.rclone.org/t/operations-publiclink-from-dropbox-error-not-autorized/27374
2021-11-11 11:14:22 +00:00
Nick Craig-Wood
0c03aa3a8b
dropbox: speed up directory listings by specifying 1000 items in a chunk
2021-11-11 11:14:22 +00:00
Nick Craig-Wood
caa2b8bf40
dropbox: save an API request when at the root
...
Before this change, rclone always emitted an API request to discover
what type of thing the root is.
This is unecessary as it is always a directory.
2021-11-11 11:14:22 +00:00
Nick Craig-Wood
421e840e37
Add Borna Butkovic to contributors
2021-11-11 11:14:22 +00:00
Nick Craig-Wood
9b57d27be4
Add David to contributors
2021-11-11 11:14:22 +00:00
Borna Butkovic
627ac1b2d9
ftp: add --ftp-ask-password to prompt for password when needed
2021-11-10 17:34:14 +00:00
David
ae395d8cf0
rc: error on web GUI update won't be fatal - fixes #5385
2021-11-10 17:05:13 +00:00
Ankur Gupta
f04520a6e3
operations: fix goroutine leak in case of copy retry
...
Whenever transfer.Account() is called, a new goroutine acc.averageLoop()
is started. This goroutine exits only when the channel acc.exit is closed.
acc.exit is closed when acc.Done() is called, which happens during tr.Done().
However, if tr.Reset is called during a copy low level retry, it replaces
the tr.acc, without calling acc.Done(), which results in the goroutine
mentioned above never exiting.
This commit calls acc.Done() during a tr.Reset()
2021-11-10 16:44:29 +00:00
Nick Craig-Wood
c968c3e41c
build: raise minimum go version to go1.15
...
This was necessary because go1.14 seems to have a modules related bug
which means it tries to build modules even though the uses of them are
all disabled with build constraints. This seems to be fixed in go1.15.
2021-11-10 16:11:12 +00:00
Nick Craig-Wood
3661791e82
serve restic: disable for go1.16 and earlier after update
2021-11-10 15:42:50 +00:00
Nick Craig-Wood
4198763c35
build: update all dependencies
2021-11-10 10:34:56 +00:00
Nick Craig-Wood
3de47b8ed4
build: upgrade go.mod file to go1.17
2021-11-10 10:34:56 +00:00
Nick Craig-Wood
71b8e1e80b
build: more docs on upgrading dependencies
2021-11-10 10:34:56 +00:00
Nick Craig-Wood
7366e97dfc
mega: fix error handling broken by removal of github.com/pkg/errors
...
There were instances of errors.Wrap being called with a nil error
which the conversion didn't deal with correctly.
2021-11-09 13:43:45 +00:00
Nick Craig-Wood
21ba4d9a18
onedrive: fix error handling broken by removal of github.com/pkg/errors
...
There were instances of errors.Wrap being called with a nil error
which the conversion didn't deal with correctly.
2021-11-09 13:43:45 +00:00
Nick Craig-Wood
96e099d8e7
union: fix error handling broken by removal of github.com/pkg/errors
...
There were instances of errors.Wrap being called with a nil error
which the conversion didn't deal with correctly.
2021-11-09 13:43:45 +00:00
Nick Craig-Wood
2a31b5bdd6
Add bbabich to contributors
2021-11-09 13:43:45 +00:00
Nick Craig-Wood
9bdfe4c36f
Add Vitor Arruda to contributors
2021-11-09 13:43:45 +00:00
Nick Craig-Wood
e3a2f539fe
Add Chris Lu to contributors
2021-11-09 13:43:45 +00:00
Nick Craig-Wood
ffa943e31f
Add Carlo Mion to contributors
2021-11-09 13:43:45 +00:00
bbabich
b16f603c51
s3: Add RackCorp object storage to providers
2021-11-09 11:46:58 +00:00
database64128
a7a8372976
🧪 fstest: fix time tests on Windows and add convenience methods to check local and remote fs with precision
...
Previously only the fs being checked on gets passed to
GetModifyWindow(). However, in most tests, the test files are
generated in the local fs and transferred to the remote fs. So the
local fs time precision has to be taken into account.
This meant that on Windows the time tests failed because the
local fs has a time precision of 100ns. Checking remote items uploaded
from local fs on Windows also requires a modify window of 100ns.
2021-11-09 11:43:36 +00:00
Vitor Arruda
9beb0677e4
backend: Fix union eplus policy returned nil
2021-11-08 11:55:27 +00:00
Nick Craig-Wood
e43b5ce5e5
Remove github.com/pkg/errors and replace with std library version
...
This is possible now that we no longer support go1.12 and brings
rclone into line with standard practices in the Go world.
This also removes errors.New and errors.Errorf from lib/errors and
prefers the stdlib errors package over lib/errors.
2021-11-07 11:53:30 +00:00
Chris Lu
97328e5755
Improve description for SeaweedFS
2021-11-06 21:01:50 +03:00
Carlo Mion
7b7d780fff
stats: fix missing StatsInfo fields in the computation of the group sum
2021-11-05 15:33:00 +00:00
Carlo Mion
c2600f9e4d
stats: fix missing computation of transferQueueSize when summing up statistics group - fixes #5749
2021-11-05 15:33:00 +00:00
Ivan Andreev
7bd853ce35
Add Roberto Ricci to contributors
2021-11-05 18:29:47 +03:00
Roberto Ricci
05150cfb1d
backend/ftp: increase testUploadTimeout.maxTime to 10 seconds
...
On slow machines (e.g. Github CI), especially if GOARCH=386,
the test for cmd/serve/ftp could fail if this value is too small.
Fixes #5783
2021-11-05 18:27:44 +03:00
albertony
25366268fe
Add Atílio Antônio to contributors
2021-11-04 12:55:49 +01:00
Atílio Antônio
c08d48a50d
docs: improve grammar and fix typos ( #5361 )
...
This alters some comments in source files, but is interested mainly in documentation files and help messages.
2021-11-04 12:50:43 +01:00
Nick Craig-Wood
454574e2cc
s3: collect the provider quirks into a single function and update
...
This removes the checks against the provider throughout the code and
puts them into a single setQuirks function for easy maintenance when
adding a new provider.
It also updates the quirks with the results of testing against
backends we have access to.
This also adds a list_url_encode parameter so that quirk can be
manually set.
2021-11-03 21:44:09 +00:00
Nick Craig-Wood
9218a3eb00
fs: add a tristate true/false/unset configuration value
2021-11-03 21:44:09 +00:00
Nick Craig-Wood
1e4ef4b4d5
Add Felix Bünemann to contributors
2021-11-03 21:44:09 +00:00
Nick Craig-Wood
8d92f7d697
s3: fallback to ListObject v1 on unsupported providers
...
This implements a quirks system for providers and notes which
providers we have tested to support ListObjectsV2.
For those providers which don't support ListObjectsV2 we use the
original ListObjects call.
2021-11-03 19:13:50 +00:00
Felix Bünemann
fd56abc5f2
s3: Use ListObjectsV2 for faster listings
...
Using ListObjectsV2 with a continuation token is about 5-6x faster than
ListObjectsV2 with a marker.
2021-11-03 19:13:50 +00:00