Nick Craig-Wood
def411da62
build: use the release builds not master of nfpm and github-release
...
Fixes #3580
2019-10-01 16:23:36 +01:00
Nick Craig-Wood
f73dae1e77
bin/get-github-release: support tar.bz2 files
2019-10-01 16:23:36 +01:00
Nick Craig-Wood
77a520c97c
fichier: fix accessing files > 2GB on 32 bit systems - fixes #3581
2019-10-01 16:03:49 +01:00
Nick Craig-Wood
23bf6bb4d8
test_all: mark expected failures for minio, wasabi and FTP
2019-10-01 15:40:32 +01:00
Nick Craig-Wood
04eb96b50b
fichier: fix NewObject after lib/encoder changes
...
This bug was introduced as part of the lib/encoder changes in
8d8fad724b
. It caused NewObject not to work for a file with
escaped characters in it.
2019-10-01 15:30:51 +01:00
Fabian Möller
b9bd15a8c9
koofr: use lib/encoder
...
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:25 +01:00
Nick Craig-Wood
b581f2de26
sharefile: use lib/encoder
2019-09-30 22:00:25 +01:00
Nick Craig-Wood
5cef5f8b49
lib/encoder: add LeftPeriod encoding
2019-09-30 22:00:25 +01:00
Nick Craig-Wood
8d8fad724b
ficher: use lib/encoder
2019-09-30 22:00:25 +01:00
Nick Craig-Wood
4098907511
lib/encoder: add more encode symbols and split existing
2019-09-30 22:00:25 +01:00
Nick Craig-Wood
5b8a339baf
docs: Add notes on how to find out the encodings used in a backend
2019-09-30 22:00:25 +01:00
Nick Craig-Wood
3e53376a49
build_csv: fix output of control characters
2019-09-30 22:00:25 +01:00
Nick Craig-Wood
d122d1d191
qingstor: use lib/encoder
2019-09-30 22:00:25 +01:00
Nick Craig-Wood
35d6ff89bf
azureblob: use lib/encoder
2019-09-30 22:00:24 +01:00
Nick Craig-Wood
53bec33027
swift: use lib/encoder
2019-09-30 22:00:24 +01:00
Fabian Möller
3304bb7a56
googlecloudstorage: use lib/encoder
...
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
Nick Craig-Wood
f55a99218c
lib/encoder: add CrLf encoding
2019-09-30 22:00:24 +01:00
Nick Craig-Wood
6e053ecbd0
s3: only ask for URL encoded directory listings if we need them on Ceph
...
This works around a bug in Ceph which doesn't encode CommonPrefixes
when using URL encoded directory listings.
See: https://tracker.ceph.com/issues/41870
2019-09-30 22:00:24 +01:00
Nick Craig-Wood
7e738c9d71
fstest: remove WinPath as it is no longer needed
2019-09-30 22:00:24 +01:00
Fabian Möller
7689bd7e21
amazonclouddrive: use lib/encoder
...
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
Fabian Möller
33f129fbbc
s3: use lib/encoder
...
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
Nick Craig-Wood
a8adce9c59
s3: fix encoding for control characters - Fixes #3345
2019-09-30 22:00:24 +01:00
Nick Craig-Wood
6ae7bd7914
local: encode invalid UTF-8 on macOS
2019-09-30 22:00:24 +01:00
Nick Craig-Wood
32af4cd6f3
ftp: use lib/encoder
2019-09-30 22:00:24 +01:00
Nick Craig-Wood
ced2616da5
fstests: allow Purge to fail with ErrorDirNotFound
2019-09-30 22:00:24 +01:00
Nick Craig-Wood
b90e4a8769
sftp: fix hashes of files with backslashes
2019-09-30 22:00:24 +01:00
Fabian Möller
00b2c02bf4
pcloud: use lib/encoder
...
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
Fabian Möller
33aea5d43f
mega: use lib/encoder
...
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
Fabian Möller
13d8b7979d
b2: use lib/encoder
...
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2019-09-30 22:00:24 +01:00
Nick Craig-Wood
57c1284df7
fstests: make integration tests to check all backends can store any file name
...
This tests the encoder is working properly
2019-09-30 22:00:24 +01:00
Fabian Möller
f0c2249086
encoder: add edge control characters and fix edge test generation
2019-09-30 14:05:49 +01:00
Fabian Möller
6ba08b8612
info: rewrite invalid character test and reporting
2019-09-30 14:05:49 +01:00
Fabian Möller
c8d3e57418
encodings: add . and .. to all backends, except Drive
2019-09-30 14:05:49 +01:00
Fabian Möller
d5cd026547
encoder: add option to encode . and .. names
2019-09-30 14:05:49 +01:00
Fabian Möller
6c0a749a42
crypt: remove checkValidString
...
Remove the usage of checkValidString in decryptSegment to allow all
paths which can be created by encryptSegment to be decryptable.
2019-09-30 14:05:49 +01:00
Fabian Möller
4b9fdb8475
opendrive: use lib/encoder
2019-09-30 14:05:49 +01:00
Fabian Möller
dac20093c5
onedrive: use lib/encoder
2019-09-30 14:05:49 +01:00
Fabian Möller
d211347d46
dropbox: use lib/encoder
2019-09-30 14:05:49 +01:00
Fabian Möller
4837bc3546
jottacloud: use lib/encoder
2019-09-30 14:05:49 +01:00
Fabian Möller
69c51325bb
drive: use lib/encoder
2019-09-30 14:05:49 +01:00
Fabian Möller
05e4f10436
box: use lib/encoder
2019-09-30 14:05:49 +01:00
Fabian Möller
a98a750fc9
local: use lib/encoder
2019-09-30 14:05:49 +01:00
Fabian Möller
c09b62a088
encodings: add all known backend encodings
2019-09-30 14:05:49 +01:00
Fabian Möller
a56c9ab61d
docs: add section for restricted filenames
2019-09-30 14:05:48 +01:00
Fabian Möller
97a218903c
fstest: remove WinPath from fstest.Item
2019-09-30 14:05:48 +01:00
Nick Craig-Wood
4627ac5709
New backend for Citrix Sharefile - Fixes #1543
...
Many thanks to Bob Droog for organizing a test account and extensive
testing.
2019-09-30 12:28:33 +01:00
Nick Craig-Wood
1e7144eb63
docs: Add more notes on making backend docs
2019-09-30 12:27:03 +01:00
Nick Craig-Wood
f29e5b6e7d
lib/oauthutil: refactor web server and allow an auth callback
2019-09-30 11:34:30 +01:00
Nick Craig-Wood
25a0e7e8aa
lib/oauthutil: add a new redirect URL for oauth.rclone.org
...
This is for use with oauth providers which won't accept http: links.
2019-09-30 11:23:21 +01:00
Nick Craig-Wood
262ba28dec
config: add ReadNonEmptyLine utility function
2019-09-30 11:23:21 +01:00