Nick Craig-Wood
306a3e0cd7
cmount: catch panics in initialization and turn into error messages
2020-07-24 15:12:05 +01:00
Nick Craig-Wood
6ff5787b40
mount: add VFS and Mount options to mount/listmounts
2020-07-24 10:48:51 +01:00
Nick Craig-Wood
3c1c6d2f01
mount: add mountOpt to mount/mount rc
2020-07-24 10:48:51 +01:00
Nick Craig-Wood
0272a7f405
mount: change interface of mount commands to take mount options
...
This is in preparation of being able to pass mount options to the rc
command "mount/mount"
2020-07-24 10:48:51 +01:00
Nick Craig-Wood
e1d34ef427
mount: factor Mount into mountlib and tidy signal handling
...
This factors common code from mount, cmount and mount2 into mountlib.
It also uses atexit for unregistering the mount.
2020-07-23 13:08:38 +01:00
Nick Craig-Wood
26b4698212
mount: make mount/mount remote control take vfsOpt option
...
See: https://forum.rclone.org/t/passing-mount-options-like-vfs-cache-mode-when-using-rclone-rc-mount-mount/17863
2020-07-23 12:30:41 +01:00
Nick Craig-Wood
2871268505
mount: change interface of mount commands to take VFS
...
This is in preparation of being able to pass options to the rc command
"mount/mount"
2020-07-23 12:30:41 +01:00
Nick Craig-Wood
8b6f2bbb4b
check,cryptcheck: add reporting of filenames for same/missing/changed #3264
...
See: https://forum.rclone.org/t/rclone-check-v-doesnt-show-once-per-minute-update-counts/17402
2020-07-21 22:08:13 +01:00
Nick Craig-Wood
db56b1bfec
serve/ftp: use refactored goftp.io/server library for binary shrink
...
This uses the refactored goftp library which doesn't include the minio
driver. This reduces the binary size by 1.5MB
See: https://gitea.com/goftp/server/pulls/120
2020-07-21 16:23:55 +01:00
Nick Craig-Wood
44ff766f98
mkdir: warn when using mkdir on remotes which can't have empty directories
...
It is a source of confusion for users that `rclone mkdir` on a remote
which can't have empty directories such as s3/b2 does nothing.
This emits a warning at NOTICE level if the user tries to mkdir a
directory not at the root for a remote which can't have empty
directories.
See: https://forum.rclone.org/t/mkdir-on-b2-consider-adding-some-output/17689
2020-07-08 17:55:58 +01:00
Nick Craig-Wood
ce065614e2
Revert "mount2,cmount: skip unreliable tests #4171 "
...
The VFS is now reliable enough so that the mount tests don't fail.
This reverts commit 4808958f93
.
2020-06-30 12:01:36 +01:00
Nick Craig-Wood
af601575cb
serve ftp: Use new facilities in goftp to fix and simplify auth proxy #4394
...
- Use Driver.CheckPasswd instead of server.CheckPasswd
- Make server.CheckPasswd return an error
- Remove awful findID to find parent function hack
- Remove Driver.Init as it is no longer called
- Fix backwards incompatible PublicIp -> PublicIP change
See: https://gitea.com/goftp/server/issues/117
2020-06-30 09:34:13 +01:00
Nick Craig-Wood
92cb21f0f2
serve ftp: Add error message if auth proxy fails #4394
2020-06-29 14:45:39 +01:00
Nick Craig-Wood
0031130111
serve ftp: don't compile on < go1.13 after dependency update
2020-06-29 14:45:39 +01:00
Tim Burke
5050c33162
dlna: Mark flags in docs as code
...
Otherwise, we get en dashes in the man page, making args more difficult
to copy/paste to a command line.
Before:
Use –addr to specify ...
After:
Use --addr to specify ...
2020-06-25 12:18:54 +01:00
Nick Craig-Wood
9445b12328
check: make it show stats by default
2020-06-24 11:23:34 +01:00
Nick Craig-Wood
d8eea0e397
build: run gofmt -s to simplify the code: suggested by Go Report Card
2020-06-18 18:45:39 +01:00
Chaitanya Bankanhal
68afa28b27
rc: Add mount to list if mount point was successfully created
2020-06-16 15:17:55 +01:00
Matteo Pietro Dazzi
62650a3eb3
serve dlna: Fix file list on Samsung Series 6+ TVs
...
This fixes the command "serve dlna" in order correctly show the list
of files on Samsung TV models starting from Series 6.
2020-06-16 14:56:02 +01:00
Nick Craig-Wood
4808958f93
mount2,cmount: skip unreliable tests #4171
2020-06-15 21:34:37 +01:00
Nick Craig-Wood
117ff1d781
serve sftp: fix race in the tests #4171
2020-06-15 21:34:33 +01:00
Nick Craig-Wood
93bd601149
touch: add ability to set nanosecond resolution times
2020-06-12 15:38:35 +01:00
Nick Craig-Wood
63e6d9d2d1
serve webdav,serve restic: Fix flags so they use environment variables
...
See: https://forum.rclone.org/t/serve-restic-append-only-environment-variable/17050
2020-06-11 19:28:51 +01:00
Chaitanya
d8d19072c5
mount: Add call for unmount all
...
mount: handle locking through single mutex.
2020-06-10 22:19:34 +01:00
Chaitanya
830ab37371
rc: Add mount list option for listing current mounts
2020-06-10 22:19:34 +01:00
Nick Craig-Wood
844b903595
docs: promote the use of -i/--interactive and "rclone sync -i" everywhere #1574
2020-06-10 12:33:53 +01:00
Nick Craig-Wood
a3b3e1f646
tree: remove -i shorthand for --noindent as it conflicts with -i/--interactive
2020-06-10 12:33:53 +01:00
Roman Kredentser
55ad1354b6
link: Add --expire and --unlink flags
...
This adds expire and unlink fields to the PublicLink interface.
This fixes up the affected backends and removes unlink parameters
where they are present.
2020-06-05 14:51:05 +01:00
Nick Craig-Wood
4c7f7582fd
obscure: write more help as we are referencing it elsewhere
2020-06-05 12:48:28 +01:00
Nick Craig-Wood
e62c032184
docs: remove manually set dates and use git dates instead
2020-06-01 13:07:46 +01:00
Nick Craig-Wood
8774381e2e
cmd: Note commands which need obscured input in the docs - fixes #4252
2020-05-31 12:59:09 +01:00
Nick Craig-Wood
d785942ed5
mountlib: fix rc tests when mount does not work
...
This fixed the Docker 1.52 build
2020-05-28 13:11:42 +01:00
Nick Craig-Wood
74b8cbfb84
docs: set unsafe HTML parsing to false and fix raw HTML insertion
...
This means that markdown files can't contain <thing> any more.
2020-05-27 17:31:09 +01:00
Nick Craig-Wood
050879f0ca
docs: make command docs titles be one higher
2020-05-27 17:31:09 +01:00
Nick Craig-Wood
6d19bbba73
docs: add description to commands and index page
2020-05-27 17:31:08 +01:00
Nick Craig-Wood
2bd786a452
docs: fix rc docs and update anchors for new Hugo version
2020-05-27 17:31:08 +01:00
Martin Michlmayr
7a5b531bd0
docs: fix cosmetics issues
2020-05-26 13:49:09 +01:00
Nick Craig-Wood
31f21551bf
mount: change maximum leaf name length to 1024 bytes - fixes #3884
...
This limit was previously 4k set in 59026c4761
however leaf
names above 1k now produce an IO error.
WinFSP seems to have its own method for dropping too long file names
above 255 long.
2020-05-25 15:41:11 +01:00
Martin Michlmayr
2b72c7f709
docs: move link to correct location
...
The link is for WinFsp, so link from "WinFsp" rather than "open
source".
2020-05-25 12:04:34 +01:00
Martin Michlmayr
041b201abd
doc: fix typos throughout docs and code
2020-05-25 11:23:58 +01:00
Martin Michlmayr
4aee962233
doc: fix typos throughout docs and code
2020-05-20 15:54:51 +01:00
Brandon McNama
19ff7c9302
cache: Fix Server Side Copy with Temp Upload
...
When wrapping a backend that supports Server Side Copy (e.g. `b2`, `s3`)
and configuring the `tmp_upload_path` option, the `cache` backend would
erroneously report that Server Side Copy/Move was not supported, causing
operations such as file moves to fail. This change fixes this issue
under these circumstances such that Server Side Copy will now be used
when the wrapped backend supports it.
Fixes #3206
2020-05-19 12:17:40 +01:00
Martin Michlmayr
fb169a8b54
doc: fix typos throughout docs
2020-05-19 12:02:44 +01:00
Nick Craig-Wood
919a180ad2
config: make config show take "remote:" as well as "remote"
2020-05-18 19:53:13 +01:00
Nick Craig-Wood
98c34e413d
config: add --obscure and --no-obscure flags to config create/update
...
Before this change there was some ambiguity about whether passwords
were obscured on not passing them into config create or config update.
This change adds the --obscure and --no-obscure flags to make the
intent clear.
It also updates the remote control and the tests.
Fixes #3728
2020-05-15 16:41:37 +01:00
Nick Craig-Wood
4006345cfb
mountlib: add tests for rc mount/mount and friends
2020-05-14 16:38:37 +00:00
Nick Craig-Wood
1319d7333c
mountlib: add rc command mount/types and rename mountOption to mountType
2020-05-14 16:38:37 +00:00
Chaitanya
5f168b3b96
rc: add mount/mount command
2020-05-14 16:38:37 +00:00
Nick Craig-Wood
995cd0dc32
backend: add --json flag to always output JSON
2020-05-13 18:07:41 +01:00
Nick Craig-Wood
5eb558e058
backend: fix output of an array of strings
2020-05-13 17:55:56 +01:00