Nick Craig-Wood
59e14c25df
vfs: enable rename for nearly all remotes using server side Move or Copy
...
Before this change remotes without server side Move (eg swift, s3,
gcs) would not be able to rename files.
After it means nearly all remotes will be able to rename files on
rclone mount with the notable exceptions of b2 and yandex.
This changes checks to see if the remote can do Move or Copy then
calls `operations.Move` to do the actual move. This will do a server
side Move or Copy but won't download and re-upload the file.
It also checks to see if the destination exists first which avoids
conflicts or duplicates.
Fixes #1965
Fixes #2569
2018-09-29 14:56:20 +01:00
Nick Craig-Wood
fc640d3a09
Add Frantisek Fuka to contributors
2018-09-29 14:55:11 +01:00
Frantisek Fuka
e1f67295b4
b2: add note about cleanup in docs
...
Added: "Note that `cleanup` does not remove partially uploaded filesfrom the bucket."
2018-09-29 14:47:31 +01:00
Henning Surmeier
22ac80e83a
webdav/sharepoint: renew cookies after 12hrs
2018-09-26 13:04:41 +01:00
Nick Craig-Wood
c7aa6b587b
Add xnaas to contributors
2018-09-26 10:07:13 +01:00
xnaas
8d1848bebe
docs: note --track-renames doesn't work with crypt
2018-09-26 10:06:19 +01:00
Fabian Möller
527c0af1c3
drive: cleanup changeNotifyRunner
2018-09-25 17:54:48 +02:00
Fabian Möller
a20fae0364
drive: code cleanup
2018-09-25 15:20:23 +01:00
Fabian Möller
15b1a1f909
drive: add support for apps-script to json export
2018-09-25 15:20:23 +01:00
Fabian Möller
80b25daac7
drive: add support for multipart document extensions
2018-09-25 15:20:23 +01:00
Fabian Möller
70b30d5ca4
drive: add document links
2018-09-25 15:20:23 +01:00
Fabian Möller
0b2fc621fc
drive: restructure Object type
2018-09-25 15:20:23 +01:00
Fabian Möller
171e39b230
drive: add --drive-import-formats
...
Add a new flag to the drive backend to allow document conversions oni upload.
The existing --drive-formats flag has been renamed to --drive-export-formats.
The old flag is still working to be backward compatible.
2018-09-25 15:20:23 +01:00
Fabian Möller
690a44e40e
drive: rewrite mime type and extension handling
...
Make use of the mime package to find matching extensions and mime types.
For simplicity, all extensions are now prefixed with "." to match the
mime package requirements.
Parsed extensions get converted if needed.
2018-09-25 15:20:23 +01:00
Fabian Möller
d9a3b26e47
vfs: add vfs/poll-interval rc command
...
This command can be used to query the current status of the
poll-interval option and also update the value.
2018-09-25 14:01:13 +02:00
Fabian Möller
1eec59e091
fs: update ChangeNotifier interface
...
This introduces a channel to the ChangeNotify function, which can be
used to update the poll-interval and cleanly exit the polling function.
2018-09-25 14:01:13 +02:00
Nick Craig-Wood
96ce49ec4e
Add ssaqua to contributors
2018-09-24 17:08:47 +01:00
ssaqua
ae63e4b4f0
list: change debug logs for excluded items
2018-09-24 17:08:35 +01:00
Nick Craig-Wood
e2fb588eb9
Add frenos to contributors
2018-09-24 17:05:03 +01:00
frenos
382a6863b5
rc: add support for OPTIONS and basic CORS - #2575
2018-09-24 17:04:47 +01:00
Nick Craig-Wood
7b975bc1ff
alias: Fix handling of Windows network paths
...
Before this fix, the alias backend would mangle Windows paths like
//server/drive as it was treating them as unix paths.
See https://forum.rclone.org/t/smb-share-alias/6857
2018-09-21 18:24:21 +01:00
Nick Craig-Wood
467fe30a5e
vendor: update to latest versions of everything
2018-09-21 18:23:37 +01:00
Nick Craig-Wood
4415aa5c2e
build: fix make update
2018-09-21 18:23:37 +01:00
Nick Craig-Wood
17ab38502d
Revamp issue and PR templates and CONTRIBUTING guide
...
Thanks to @fd0 of the restic project for a very useful blog post and
something to plagiarise :-)
https://restic.net/blog/2018-09-09/GitHub-issue-templates
2018-09-21 18:17:32 +01:00
Nick Craig-Wood
9fa8c959ee
local: preallocate files on linux with fallocate(2)
2018-09-19 16:04:57 +01:00
Nick Craig-Wood
f29c6049fc
local: preallocate files on Windows to reduce fragmentation #2469
...
Before this change on Windows, files copied locally could become
heavily fragmented (300+ fragments for maybe 100 MB), no matter how
much contiguous free space there was (even if it's over 1TiB). This
can needlessly yet severely adversely affect performance on hard
disks.
This changes uses NtSetInformationFile to pre-allocate the space to
avoid this.
It does nothing on other OSes other than Windows.
2018-09-19 16:04:57 +01:00
Nick Craig-Wood
e44fa5db8e
build: update git bisect scripts
2018-09-19 16:04:57 +01:00
Fabian Möller
03ea05b860
drive: add workaround for slow downloads
...
Add --drive-v2-download-min-size flag to allow downloading files via the
drive v2 API. If files are greater than this flag, a download link is
generated when needed. The flag is disabled by default.
2018-09-18 15:55:50 +01:00
Fabian Möller
b8678c9d4b
vendor: add google.golang.org/api/drive/v2
2018-09-18 15:55:50 +01:00
Fabian Möller
13823a7743
drive: fix escaped chars in documents during list
...
Fixes #2591
2018-09-18 15:53:44 +01:00
sandeepkru
b94d87ae2d
azureblob and fstests - Modify integration tests to include new
...
optional setting to test SetTier on only few supported tiers.
Remove unused optional interface ListTiers and backend and internal tests
2018-09-18 13:56:09 +01:00
sandeepkru
e0c5f7ff1b
fs - Remove unreferenced ListTierer optional interface
2018-09-18 13:56:09 +01:00
Nick Craig-Wood
b22ecbe174
Add Joanna Marek to contributors
2018-09-18 10:27:33 +01:00
Nick Craig-Wood
c41be436c6
Add Antoine GIRARD to contributors
2018-09-18 10:27:33 +01:00
Joanna Marek
e022ffce0f
accounting: change too long names cutting mechanism - fixes #2490
2018-09-18 10:27:23 +01:00
albertony
cfe65f1e72
jottacloud: minor update in docs
2018-09-18 10:25:30 +01:00
Sebastian Bünger
b18595ae07
jottacloud: Fix handling of reserved characters. fixes #2531
2018-09-17 12:42:35 +01:00
Nick Craig-Wood
d27630626a
webdav: add a small pause after failed upload before deleting file #2517
...
This fixes the integration tests for `serve webdav` which uses the
webdav backend tests.
2018-09-17 08:51:50 +01:00
Nick Craig-Wood
c473c7cb53
ftp: add a small pause after failed upload before deleting file #2517
...
This fixes the integration tests for `serve ftp` which uses the ftp
backend tests.
2018-09-17 08:51:50 +01:00
Nick Craig-Wood
ef3526b3b8
vfs: fix race condition detected by serve ftp tests
2018-09-17 08:50:34 +01:00
Nick Craig-Wood
d4ee7277c0
serve ftp: disable on plan9 since it doesn't compile
2018-09-17 08:50:34 +01:00
Antoine GIRARD
4a3efa5d45
cmd/serve: add ftp server - implement #2151
2018-09-17 08:50:34 +01:00
Nick Craig-Wood
a14f0d46d7
vendor: add github.com/goftp/server
2018-09-17 08:50:34 +01:00
Nick Craig-Wood
a25875170b
webdav: Add another time format to fix #2574
2018-09-15 21:46:56 +01:00
Alex Chen
a288646419
onedrive: fix sometimes special chars in filenames not replaced
2018-09-14 21:38:55 +08:00
Nick Craig-Wood
b3d8bc61ac
build: add example scripts for bisecting rclone and go
2018-09-14 11:17:51 +01:00
sandeepkru
7accd30da8
cmd and fs: Added new command settier which performs storage tier changes on
...
supported remotes
2018-09-12 21:09:08 +01:00
sandeepkru
9594fd0a0c
fstests: Added integration tests on SetTier operation
2018-09-12 21:09:08 +01:00
sandeepkru
aac84c554a
azureblob: Implemented settier command support on azureblob remote, this supports to
...
change tier on objects. Added internal test to check if feature flags are set correctly
2018-09-12 21:09:08 +01:00
sandeepkru
5716a58413
fs: Added new optional interfaces SetTierer, GetTierer and ListTierer, these are to
...
perform object tier changes on supported remotes
2018-09-12 21:09:08 +01:00