Nick Craig-Wood
dcf8334673
fs: add --dump goroutines and --dump openfiles
...
These are developer flags useful for tracking down resource leaks.
2018-04-11 20:55:58 +01:00
Nick Craig-Wood
37be78705d
fs/fshttp: limit MaxIdleConns and MaxIdleConnsPerHost
...
Before this change mega (which uses a different host per download)
would open too many sockets.
2018-04-11 20:51:28 +01:00
Nick Craig-Wood
4b5ff33125
fstest: retry cleaning the integration test directory if necessary
2018-04-11 20:51:13 +01:00
Nick Craig-Wood
d5b2ec32f1
local: add --local-no-check-updated to disable update checks #2206
...
This disables the `can't copy - source file is being updated` checks.
2018-04-09 15:27:58 +01:00
Nick Craig-Wood
aeedacfb50
Add Michael P. Dubner to contributors
2018-04-09 13:33:27 +01:00
Michael P. Dubner
92b266d361
rc: new call rc/pid - closes #2211
2018-04-09 13:33:04 +01:00
Nick Craig-Wood
05e32cfcf9
dropbox: Fix crypt+obfuscate on dropbox - fixes #2191
...
Before this change we lowercased the dropbox root directory. This was
likely a leftover from when we used to build a dictionary to translate
the cases of dropbox files. Now with the v2 API we can rely on
dropbox to do that for us, so we no longer need to lowercase the root.
This fixes issues using crypt with name obfuscation on dropbox.
2018-04-09 11:53:41 +01:00
Nick Craig-Wood
cbec59146a
lsf: make sure we use localtime in tests - fixes Box integration tests
...
This problem was introduced with eca99b33c0
. It seems Box is the only
remote which converts time zones, so if you give it a GMT time zone,
it returns a PST time zone which represents the same instant.
2018-04-09 11:46:49 +01:00
Nick Craig-Wood
06e3fa3aba
mounttest: reduce duplicated code and improve test output #2154
...
The written out list of tests was replaced with a nested test for
mount and cmount. The tests for each VFS cache mode were also replaced
with nested tests which makes the output and the code much cleaner.
2018-04-08 15:04:14 +01:00
Nick Craig-Wood
0fa700b3cf
Make integration tests use go1.7+ nested tests #2154
...
* Removed generated code and code generator
* Updated docs on how to write integration tests
* Tidied up the actual integration tests
2018-04-08 15:04:14 +01:00
Nick Craig-Wood
42f0963bf9
local: retry remove on Windows sharing violation error #2202
...
Before this change asynchronous closes in cmount could cause sharing
violations under Windows on Remove which manifest themselves
frequently as test failures.
This change lets the Remove be retried on a sharing violation under
Windows.
2018-04-07 17:36:26 +01:00
Nick Craig-Wood
be54fd8f70
Remove builds conditional on go1.7 since that is now guaranteed #2154
...
Old fallback code was deleted and the go1.7 style code inlined where
appropriate.
2018-04-07 11:42:55 +01:00
Nick Craig-Wood
e5be471ce0
Use io.SeekStart/End/Current constants now for go1.7+ #2154
2018-04-07 11:42:36 +01:00
Nick Craig-Wood
80588a5a6b
Replace "golang.org/x/net/context" with "context" for go1.7+ #2154
2018-04-07 11:42:08 +01:00
Nick Craig-Wood
67023f0040
Require go1.7 for compilation #2154
...
* Update the travis tests to exclude go1.6
* Update the compile check to require go1.7+
* Update misc go1.6 workarounds marked in the source
2018-04-06 20:18:14 +01:00
Nick Craig-Wood
32e02bd367
fstests: Fix TestObjectRemove failures
...
This was failing because TestPublicLink was causing the file to be
modified with Google drive.
2018-04-06 16:27:19 +01:00
Nick Craig-Wood
c749cf8d99
dropbox: fix repeatedly uploading the same files - fixes #2218
...
In #2134 and dfd0f4c5a4
some testing
changes got committed by accident which caused this regression.
This patch reverts it to how it was before.
2018-04-06 15:34:56 +01:00
Nick Craig-Wood
92cfb57fbd
fstest/test_all: make -clean work better with google cloud storage
2018-04-06 14:54:33 +01:00
Nick Craig-Wood
0cb5c4aa73
gcs: detect bucket presence by listing it - fixes #2193
...
Doing it like this enables the use of a service account that only has
the "Storage Object Admin" role.
2018-04-06 12:45:15 +01:00
Nick Craig-Wood
0358e9e724
Add Eri Bastos to contributors
2018-04-05 20:20:53 +01:00
Eri Bastos
a69d8ec93b
Fixed typo on ownCloud description
2018-04-05 20:20:31 +01:00
Nick Craig-Wood
92c5aa3786
s3: add --s3-chunk-size option - fixes #2203
2018-04-05 15:40:08 +01:00
Nick Craig-Wood
fbe1c7f1ea
dropbox: remove unused code
2018-04-05 15:23:23 +01:00
Nick Craig-Wood
c4531daa43
local: work on spurious "can't copy - source file is being updated" errors #2206
...
Update all the time comparisons to use time.Time.Equal instead of ==
Improve the logging for that error so we can see exactly what has changed
2018-04-05 14:57:30 +01:00
remusb
6e11a25df5
cache: flush the memory cache after close
2018-04-04 23:25:53 +03:00
Nick Craig-Wood
0865e38917
Add Matt Holt to contributors
2018-04-04 14:56:50 +01:00
Nick Craig-Wood
ab2fa59fc4
Add Alexander Neumann to contributors
2018-04-04 14:56:50 +01:00
Matt Holt
e13f65b953
serve restic: Print actual listener address
2018-04-04 14:56:26 +01:00
Alexander Neumann
5b8977a053
serve restic: Disallow overwriting files in append-only mode - Fixes #2195
...
* Disallow overwriting files in append-only mode
* Add tests for append-only mode
2018-04-04 14:49:13 +01:00
remusb
1dea99ab20
cache: purge file data on notification
2018-04-03 23:24:45 +03:00
Nick Craig-Wood
06a8d3011d
Add Chih-Hsuan Yen to contributors
2018-04-02 11:43:22 +01:00
Chih-Hsuan Yen
e7fd607078
Fix make tarball
2018-04-02 11:42:53 +01:00
Nick Craig-Wood
eca99b33c0
lsd,lsf: make sure all times we output are in local time - fixes #2183
...
Previous to this change times from lsd/lsf were output in whatever
timezone they were in whereas times from lsl were converted to
localtime.
2018-04-01 15:40:04 +01:00
remusb
e42cee5e02
cache: always forget parent dir for notifications - for #2117
2018-03-31 12:44:09 +03:00
Nick Craig-Wood
d45c750f76
Add Steve Kriss to contributors
2018-03-30 19:55:49 +01:00
Steve Kriss
2c2bb0f750
cmd/serve/restic: add append-only mode
2018-03-30 19:54:52 +01:00
Stefan
a8267d1628
link: allow creating public link to files and folders - closes #1562
2018-03-29 09:10:19 +02:00
Nick Craig-Wood
9df266a6b4
onedrive: Fix socket leak in multipart session upload
...
This had gone unnoticed until recently when we changed to uploading
all files with a multipart session.
2018-03-28 21:03:19 +01:00
Stefan Breunig
4d553ef701
drive: when initialized with a filepath, optional features used incorrect root path – see #2182
2018-03-28 20:33:39 +02:00
Nick Craig-Wood
1ba3ffdc59
Add Keith Goldfarb to contributors
2018-03-26 21:03:18 +01:00
Nick Craig-Wood
72f1b097a7
Add gbadanahatti to contributors
2018-03-26 21:03:18 +01:00
Nick Craig-Wood
885044d0a5
Add seuffert to contributors
2018-03-26 21:03:18 +01:00
Keith Goldfarb
6c10312c75
ncdu: added a "refresh" key - for #2174
...
Added Control+L key to refresh screen. Not sure if this is the
best choice, but it appears to be somewhat common.
2018-03-26 21:02:39 +01:00
gbadanahatti
e5aa5fe7d8
s3: docs: Minor format and URL changes to IBM COS Documentation content
2018-03-26 20:49:53 +01:00
Nick Craig-Wood
9b140b42c9
docs: fix current download link
2018-03-26 17:45:45 +01:00
Nick Craig-Wood
0bfbde8856
fstest: make ChangeNotify test clean up after itself and be more reliable
...
Previous to this fix old notifications could creep in and cause the
test to fail. It also left files around which upset the TestObjectRemove test.
Fixes #2177
2018-03-24 19:57:44 +00:00
Nick Craig-Wood
98a924602f
mount, cmount: set --attr-timeout default to 1s - fixes #2157
...
This works around these 3 problems:
* rclone using too much memory #2157
* rclone not serving files to samba
* https://forum.rclone.org/t/rclone-1-39-vs-1-40-mount-issue/5112
* excessive time listing directories #2095
2018-03-23 22:42:51 +00:00
Nick Craig-Wood
7e80e609e8
docs: install.sh add macOS fallback for mktemp - fixes #2173
2018-03-23 22:24:28 +00:00
Mateusz Pabian
91b068ad3a
sync: implement --ignore-errors - fixes #642
2018-03-23 22:01:10 +00:00
remusb
b52e34ef5e
cache: add info log on notification - for #2150
2018-03-23 22:41:01 +02:00