Nick Craig-Wood
cfba337ef0
lib/pool: fix memory leak by freeing buffers on flush
2019-02-06 17:20:54 +00:00
Nick Craig-Wood
fd370fcad2
vendor: update github.com/t3rm1n4l/go-mega to add new error codes
2019-02-05 17:22:28 +00:00
Nick Craig-Wood
c680bb3254
box: document how to use rclone with Enterprise SSO
...
Thanks to Lorenzo Grassi for help with this.
2019-02-05 14:29:13 +00:00
Nick Craig-Wood
7d5d6c041f
vendor: update github.com/t3rm1n4l/go-mega to fix v2 account login
...
Fixes #2771
2019-02-04 17:33:15 +00:00
Nick Craig-Wood
bdc638530e
walk: make NewDirTree always use ListR #2946
...
This fixes vfs/refresh with recurse=true needing the --fast-list flag
2019-02-04 10:37:27 +00:00
Nick Craig-Wood
315cee23a0
http: add an example with username and password
2019-02-04 10:30:05 +00:00
Nick Craig-Wood
2135879dda
lsjson: use exactly the correct number of decimal places in the seconds
2019-02-03 20:03:23 +00:00
Nick Craig-Wood
da90069462
lib/pool: only flush buffers if they are unused between flush intervals
2019-02-03 19:07:50 +00:00
Nick Craig-Wood
08c4854e00
webdav: fix identification of directories for Bitrix Site Manager - #2716
...
Bitrix Site Manager emits `<D:resourcetype><collection/></D:resourcetype>`
missing the namespace on the `collection` tag. This causes the item
to be identified as a file instead of a directory.
To work around this look at the Microsoft extension prop
`iscollection` which seems to be emitted as well.
2019-02-03 12:34:18 +00:00
Nick Craig-Wood
a838add230
fstests: skip chunked uploading tests with -short
2019-02-03 12:28:44 +00:00
Nick Craig-Wood
d68b091170
hubic: make error message more informative if authentication fails
2019-02-03 12:25:19 +00:00
Nick Craig-Wood
d809bed438
Add weetmuts to contributors
2019-02-03 12:19:08 +00:00
weetmuts
3aa1818870
listremotes: remove -l
short flag as it conflicts with the new global flag
2019-02-03 12:17:15 +00:00
weetmuts
96f6708461
s3: add aws endpoint eu-north-1
2019-02-03 12:17:15 +00:00
weetmuts
6641a25f8c
gcs: update google cloud storage endpoints
2019-02-03 12:17:15 +00:00
Cnly
cd46ce916b
fstests: ensure Fs.Put and Object.Update don't panic on unknown-sized uploads
2019-02-03 11:47:57 +00:00
Cnly
318d1bb6f9
fs: clarify behaviour of Put() and Upload() for unknown-sized objects
2019-02-03 11:47:57 +00:00
Cnly
b8b53901e8
operations: call Rcat in Copy when size is -1 - #2832
2019-02-03 11:47:57 +00:00
Nick Craig-Wood
6e153781a7
rc: add help to show how to set log level with options/set
2019-02-03 11:47:57 +00:00
Nick Craig-Wood
f27c2d9760
vfs: make cache tests more reliable
2019-02-02 16:26:55 +00:00
Nick Craig-Wood
eb91356e28
fs/asyncreader: optionally user mmap for memory allocation with --use-mmap
#2200
...
This replaces the `sync.Pool` allocator with lib/pool. This
implements a pool of buffers of up to 64MB which can be re-used but is
flushed every 5 seconds.
If `--use-mmap` is set then rclone will use mmap for memory
allocations which is much better at returning memory to the OS.
2019-02-02 14:35:56 +00:00
Nick Craig-Wood
bed2971bf0
lib/pool: a buffer recycling library which can be optionally be used with mmap
2019-02-02 14:35:56 +00:00
Nick Craig-Wood
f0696dfe30
lib/mmap: library to do memory allocation with anonymous memory maps
2019-02-02 14:35:56 +00:00
Nick Craig-Wood
a43ed567ee
vfs: implement --vfs-cache-max-size to limit the total size of the cache
2019-02-02 12:30:10 +00:00
Nick Craig-Wood
fffdbb31f5
bin/get-github-release.go: Use GOPATH/bin by preference to place binary
2019-02-02 11:45:07 +00:00
Nick Craig-Wood
cacefb9a82
bin/get-github-release.go: automatically choose the right os/arch
...
This fixes the install of golangci-lint on non Linux platforms
2019-02-02 11:45:07 +00:00
Nick Craig-Wood
d966cef14c
build: fix problems found with unconvert
2019-02-02 11:45:07 +00:00
Nick Craig-Wood
a551978a3f
build: fix problems found with structcheck linter
2019-02-02 11:45:07 +00:00
Nick Craig-Wood
97752ca8fb
build: fix problems found with ineffasign linter
2019-02-02 11:45:07 +00:00
Nick Craig-Wood
8d5d332daf
build: fix problems found with golint
2019-02-02 11:45:07 +00:00
Nick Craig-Wood
6b3a9bf26a
build: fix problems found by the deadcode linter
2019-02-02 11:45:07 +00:00
Nick Craig-Wood
c1d9a1e174
build: use golangci-lint for code quality checks
2019-02-02 11:45:07 +00:00
Nick Craig-Wood
98120bb864
bin/get-github-release.go: enable extraction of binary not in root of tar
...
Also fix project name regexp to allow -
2019-02-02 11:34:51 +00:00
Nick Craig-Wood
f8ced557e3
mount: print more things in seek_speed test
2019-02-02 11:30:49 +00:00
Cnly
7b20139c6a
onedrive: return err instead of panic on unknown-sized uploads
2019-02-02 16:37:33 +08:00
Nick Craig-Wood
c496efe9a4
Add Wojciech Smigielski to contributors
2019-02-01 17:12:43 +00:00
Nick Craig-Wood
cf583e0237
Add Rémy Léone to contributors
2019-02-01 17:12:43 +00:00
Wojciech Smigielski
f09d0f5fef
b2: added disable sha1sum flag
2019-02-01 17:12:24 +00:00
Rémy Léone
1e6cbaa355
s3: Add Scaleway to s3 documentation
2019-02-01 17:09:57 +00:00
Nick Craig-Wood
be643ecfbc
sftp: don't error on dangling symlinks
2019-02-01 16:43:26 +00:00
Nick Craig-Wood
0c4ed35b9b
build: improve beta tidy script
2019-02-01 16:40:55 +00:00
Nick Craig-Wood
4e4feebf0a
drive: fix google docs in rclone mount in some circumstances #1732
...
Before this change any attempt to access a google doc in an rclone
mount would give the error "partial downloads are not supported while
exporting Google Documents" as the mount uses ranged requests to read
data.
This implements ranged requests for a limited number of scenarios,
just enough so that Google docs can be cat-ed from an rclone mount.
When they are cat-ed then they receive their correct size also.
2019-01-31 10:39:13 +00:00
Sebastian Bünger
291f270904
jottacloud: add support for 2-factor authentification fixes #2722
2019-01-30 08:13:46 +00:00
Nick Craig-Wood
f799be1d6a
local: fix symlink tests under Windows
2019-01-29 15:40:49 +00:00
Nick Craig-Wood
74297a0c55
local: make sure we close file handle in local tests
...
...as Windows can't remove a directory with an open file handle in
2019-01-29 15:23:42 +00:00
Nick Craig-Wood
7e13103ba2
Add kayrus to contributors
2019-01-29 14:43:25 +00:00
kayrus
34baf05d9d
Swift: introduce application credential auth support
2019-01-29 14:43:10 +00:00
kayrus
38c0018906
Bump github.com/ncw/swift to v1.0.44
2019-01-29 14:43:10 +00:00
Nick Craig-Wood
6f25e48cbb
ftp: fix docs to note ftp_proxy
isn't supported
2019-01-29 14:38:26 +00:00
Nick Craig-Wood
7e99abb5da
Add Matt Robinson to contributors
2019-01-29 14:38:26 +00:00