Fred
f31ab6d178
seafile: renew library password - fixes #6662
...
Passwords for encrypted libraries are kept in memory in the server
and flushed after an hour.
This MR fixes an issue when the library password expires after 1 hour.
2023-01-15 16:26:29 +00:00
Kaloyan Raev
1cafc12e8c
storj: implement public link
2023-01-10 17:40:04 +00:00
Nick Craig-Wood
ec3cee89d3
fstest: switch to port forwarding now Owncloud disallows wildcards
...
A recent security fix in the Owncloud container now causes it to
disallow wildcards in the OWNCLOUD_TRUSTED_DOMAINS setting.
This patch works around the problem by using port forwarding from the
host so we can keep the domain name constant.
2022-12-15 11:34:12 +00:00
Eng Zer Jun
8e507075d1
test: replace defer cleanup with t.Cleanup
...
Reference: https://pkg.go.dev/testing#T.Cleanup
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-12-09 14:38:05 +00:00
Nick Craig-Wood
ec2024b907
fstest: use WithMetadata / WithMimeType
2022-11-10 12:04:35 +00:00
albertony
5d6b8141ec
Replace deprecated ioutil
...
As of Go 1.16, the same functionality is now provided by package io or
package os, and those implementations should be preferred in new code.
2022-11-07 11:41:47 +00:00
Bachue Zhou
66ed0ca726
s3: add Qiniu KODO to s3 provider list - fixes #6195
2022-10-13 15:49:22 +01:00
Manoj Ghosh
b16e50851a
Add a native backend for oracle object storage - fixes #6299
2022-10-13 13:04:56 +01:00
Nick Craig-Wood
4e79de106a
hubic: remove backend as service has now shutdown - fixes #6481
2022-10-05 13:33:37 +01:00
Lesmiscore
2aa264b33c
smb: backend to support SMB - fixes #2042
2022-09-30 16:10:57 +01:00
Josh Soref
ce3b65e6dc
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 <2119212+jsoref@users.noreply.github.com>
2022-08-30 11:16:26 +02:00
albertony
555def2da7
build: add package comments to silence revive linter
2022-08-28 13:43:51 +02:00
Nick Craig-Wood
77e3512714
fstests: Make InternalTestFiles so the internal tests know the current state
2022-08-05 16:42:30 +01:00
Nick Craig-Wood
337b43e7e4
fstests: make ReadObject publically accessible
2022-08-05 16:42:30 +01:00
Nick Craig-Wood
6fd9e3d717
build: reformat comments to pass go1.19 vet
...
See: https://go.dev/doc/go1.19#go-doc
2022-08-05 16:35:41 +01:00
Ovidiu Victor Tatar
b4d847cadd
new backend: hidrive - fixes #1069
2022-07-08 18:24:54 +01:00
albertony
a1fd60ec2b
staticcheck: empty branch
2022-07-04 11:24:59 +02: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
866c873daa
backend: allow wrapping backend tests to run in make quicktest
2022-06-29 17:30:37 +01:00
Nick Craig-Wood
78d52882ca
fs: add --metadata/-M flag to control whether metadata is copied
2022-06-29 14:29:36 +01:00
Nick Craig-Wood
0652ec95db
fs: implement MetadataInfo to show info about metadata in help and rc
...
Info about this will appear in operations/fsinfo and in the backend
help (`rclone help backend s3`).
2022-06-29 14:29:36 +01:00
Nick Craig-Wood
6a0e021dac
fs: implement optional Metadata interface for Objects #111
...
This implements integration tests for the feature also.
2022-06-29 11:21:29 +01:00
Nick Craig-Wood
461d041c4d
fstest: remove spurious contents return from PutTestContents and friends
2022-06-29 11:18:02 +01:00
albertony
fdd2f8e6d2
Error strings should not be capitalized
...
Reported by staticcheck 2022.1.2 (v0.3.2)
See: staticcheck.io
2022-06-23 23:26:02 +02:00
Nick Craig-Wood
14e0396fcb
test_all: allow internet archive backend more time
2022-06-18 15:13:18 +01:00
Nick Craig-Wood
100acc570a
test_all: fix -clean so it works on remotes with paths
2022-06-18 15:10:09 +01:00
Nick Craig-Wood
b9de37af80
test_all: Only run backend tests for Internet Archive as it is too slow
2022-06-17 16:52:30 +01:00
albertony
ec117593f1
Fix lint issues reported by staticcheck
...
Used staticcheck 2022.1.2 (v0.3.2)
See: staticcheck.io
2022-06-13 21:13:50 +02:00
Nick Craig-Wood
4b358ff43b
combine: backend to combine multiple remotes in one directory tree
...
Fixes #5600
2022-06-08 14:57:25 +01:00
Nick Craig-Wood
fb58737142
fstests: check for wrapped errors in ListR test
2022-06-08 14:57:25 +01:00
Eng Zer Jun
4f0ddb60e7
refactor: replace strings.Replace with strings.ReplaceAll
...
strings.ReplaceAll(s, old, new) is a wrapper function for
strings.Replace(s, old, new, -1). But strings.ReplaceAll is more
readable and removes the hardcoded -1.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-05-17 11:08:37 +01:00
Nick Craig-Wood
edf0412464
test_all: correct path for Internet Archive test
...
This is to make it use the rclone project's account and to remove the
/ in the remote name which was crashing the integration tester!
2022-05-12 20:38:05 +01:00
Nick Craig-Wood
6f91198b57
s3: Support Cloudflare R2 - fixes #5642
2022-05-12 08:49:20 +01:00
Lesmiscore
598364ad0f
backend/internetarchive: add support for Internet Archive
...
This adds support for Internet Archive (archive.org) Items.
2022-04-28 10:25:38 +01:00
Nick Craig-Wood
bab91e4402
putio: ignore URL encoded files as these fail in the integration tests
2022-04-15 17:57:15 +01:00
Nick Craig-Wood
fde40319ef
koofr: remove digistorage from integration tests as no account
2022-04-15 17:57:15 +01:00
Nick Craig-Wood
94e330d4fa
onedrive: remove onedrive China from integration tests as we no longer have an account
2022-04-15 17:57:15 +01:00
Nick Craig-Wood
087543d723
sftp: ignore failing entries in rsync.net integration tests
2022-04-15 17:57:15 +01:00
Nil Alexandrov
65652f7a75
Add Akamai Netstorage as a new backend.
2022-03-09 12:42:22 +00:00
jaKa
fd453f2c7b
koofr: renamed digistorage to exclude the romania part.
2022-03-08 22:39:23 +00:00
jaKa
5d06a82c5d
koofr: add digistorage service as a koofr provider.
2022-03-08 10:36:18 +00:00
Nick Craig-Wood
f22b703a51
storj: rename tardigrade backend to storj backend #5616
...
This adds an alias for backwards compatibility and leaves a stub
documentation page to redirect people to the new documentation.
2022-02-11 11:04:15 +00:00
Niels van de Weem
df09c3f555
pcloud: add support for recursive list
2021-12-01 15:58:44 +00:00
Cnly
51c952654c
fstests: treat accountUpgradeRequired as success for OneDrive PublicLink
2021-11-17 17:35:17 +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
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
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
f51a5eca2e
fstests: add encoding test for URL encoded path name #5768
...
Add an encoding test to make sure backends can deal with a URL encoded
path name. This is a fairly common failing in backends and has been an
intermittent problem with onedrive itself.
2021-11-02 15:59:36 +00:00
Nick Craig-Wood
e77dcb7f52
test_all: remove stray debug
2021-10-31 19:18:55 +00:00
Nick Craig-Wood
4ab842198a
Revert "premiumizeme: attempt to fix integration tests"
...
This reverts commit 1eff0eef7a
.
Now that the test account is premium again it is very fast and this is
no longer needed.
2021-10-31 19:18:54 +00:00