Dan Walters
95194adfd5
dlna: fix root XML service descriptor
...
The SCPD URL was being set after marshalling the XML, and thus coming
out blank. Now works on my Samsung TV, and likely fixes some issues
reported by others in #2648 .
2019-03-11 17:31:32 +00:00
Nick Craig-Wood
58d9a3e1b5
filter: reload filter when the options are set via the rc - fixes #3018
2019-03-10 13:09:44 +00:00
ishuah
1b52f8d2a5
copy/sync/move: add --create-empty-src-dirs flag - fixes #2869
2019-03-10 11:56:38 +00:00
Nick Craig-Wood
997654d77d
ncdu: fix display corruption with Chinese characters - #2989
2019-02-27 09:55:28 +00:00
Six
2114fd8f26
cmd: Fix tab-completion for remotes with underscores in their names
2019-02-26 16:25:45 +01:00
Nick Craig-Wood
0b9d7fec0c
lsf: add 'e' format to show encrypted names and 'o' for original IDs
...
This brings it up to par with lsjson.
This commit also reworks the framework to use ListJSON internally
which removes duplicated code and makes testing easier.
2019-02-14 14:45:35 +00:00
Nick Craig-Wood
38864adc9c
cmd: Use private custom func to fix clash between rclone and kubectl
...
Before this change, rclone used the `__custom_func` hook to control
the completions of remote files. However this clashes with other
cobra users, the most notable example being kubectl.
Upgrading cobra to master allows us to use a namespaced function
`__rclone_custom_func` which fixes the problem.
Fixes #1529
2019-02-13 23:02:22 +00:00
Fabian Möller
334f19c974
info: improve allowed character testing
2019-02-09 18:23:47 +00:00
Nick Craig-Wood
60a4a8a86d
genautocomplete: add remote path completion for bash - fixes #1529
...
Thanks to:
- Christopher Peterson (@cspeterson) for the original script
- Danil Semelenov (@sgtpep) for many refinements
2019-02-08 19:03:30 +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
weetmuts
3aa1818870
listremotes: remove -l
short flag as it conflicts with the new global flag
2019-02-03 12:17:15 +00:00
Nick Craig-Wood
d966cef14c
build: fix problems found with unconvert
2019-02-02 11:45:07 +00:00
Nick Craig-Wood
f8ced557e3
mount: print more things in seek_speed test
2019-02-02 11:30:49 +00:00
Matt Robinson
1402fcb234
fix typo in rcd docs
2019-01-29 14:37:58 +00:00
Nick Craig-Wood
184a9c8da6
mountlib: clip blocks returned to 32 bit number for Windows 32 bit - fixes #2934
2019-01-27 12:04:56 +00:00
Nick Craig-Wood
a30e80564d
config: when using auto confirm make user interaction configurable
...
* drive: don't run teamdrive config if auto confirm set
* onedrive: don't run extra config if auto confirm set
* make Confirm results customisable by config
Fixes #1010
2019-01-18 14:46:26 +00:00
Nick Craig-Wood
571b4c060b
mount: check that mountpoint and local directory to mount don't overlap
...
If the mountpoint and the directory to mount overlap this causes a
lockup.
Fixes #2905
2019-01-10 14:18:00 +00:00
nicolov
0b7fdf16a2
serve: add dlna server
2019-01-09 19:14:14 +00:00
Nick Craig-Wood
95e52e1ac3
cmd: improve error reporting for too many/few arguments - fixes #2860
...
Improve docs on the different kind of flag passing.
2018-12-29 17:40:21 +00:00
Jay
082a7065b1
Use vfsgen for static HTML templates
2018-12-26 15:07:21 +00:00
Nick Craig-Wood
9012d7c6c1
cmd: fix --progress crash under Windows Jenkins - fixes #2846
2018-12-22 18:05:13 +00:00
Nick Craig-Wood
c1dd76788d
httplib: make http serving with auth generate INFO messages on auth fail
...
2018/12/13 12:13:44 INFO : /: 127.0.0.1:39696: Basic auth challenge sent
2018/12/13 12:13:54 INFO : /: 127.0.0.1:40050: Unauthorized request from ncw
Fixes #2834
2018-12-14 13:38:49 +00:00
Nick Craig-Wood
26b5f55cba
Update after goimports change
2018-12-04 10:11:57 +00:00
Nick Craig-Wood
107293c80e
copy,move: restore --no-traverse flag
...
The --no-traverse flag was not implemented when the new sync routines
(using the march package) was implemented.
This re-implements --no-traverse in march by trying to find a match
for each object with NewObject rather than from a directory listing.
2018-12-02 20:28:13 +00:00
Nick Craig-Wood
e56c6402a7
serve restic: disallow on go1.8 because of dependent library changes
...
golang.org/x/net/http2 no longer builds on go1.8
2018-11-26 14:10:33 +00:00
Nick Craig-Wood
d0eb8ddc30
serve webdav: disallow on go1.8 due to dependent library changes
...
golang.org/x/net/webdav no longer builds with go1.8
2018-11-26 14:10:33 +00:00
Nick Craig-Wood
369a8ee17b
ncdu: fix deleting files
2018-11-22 21:41:17 +00:00
Nick Craig-Wood
84e21ade6b
cmount: fix on Linux - only apply volname for Windows and macOS
2018-11-22 20:41:05 +00:00
Nick Craig-Wood
e969505ae4
info: fix control character map output
2018-11-20 14:04:27 +00:00
Peter Kaminski
63a2a935fc
fix typos in original files, per #2727 review request
2018-11-14 22:48:58 +00:00
Nick Craig-Wood
b3704597f3
cmount: make --volname work for Windows - fixes #2679
2018-11-12 16:32:02 +00:00
Nick Craig-Wood
4f6a942595
cmd: Make --progress update the stats right at the end
...
Before this when rclone exited the stats would just show the last
printed version, rather than the actual final state.
2018-11-11 09:57:37 +00:00
Nick Craig-Wood
e6dd121f52
config: add rc operations for config
2018-11-05 15:44:40 +00:00
Nick Craig-Wood
dddfbec92a
cmd/version: factor version number parsing routines into fs/version
2018-11-05 15:44:40 +00:00
Nick Craig-Wood
46c2f55545
copyurl: factor code into operations and write test
2018-11-04 20:42:57 +00:00
Nick Craig-Wood
fc2afcbcbd
lsjson: factor internals of lsjson command into operations
2018-11-04 20:42:57 +00:00
Nick Craig-Wood
fa0a9653d2
rc: methods marked as AuthRequired need auth unless --rc-no-auth
...
Methods which can read or mutate external storage will require
authorisation - enforce this. This can be overidden by `--rc-no-auth`.
2018-11-04 20:42:57 +00:00
Nick Craig-Wood
181267e20e
cmd/rc: add --user and --pass flags and interpret --rc-user, --rc-pass, --rc-addr
2018-11-04 20:42:57 +00:00
Nick Craig-Wood
b961e07c57
rc: ensure rclone fails to start up if the --rc port is in use already
2018-11-04 15:11:51 +00:00
Nick Craig-Wood
89550e7121
rcserver: serve directories as well as files
2018-11-04 15:11:51 +00:00
Nick Craig-Wood
370c218c63
cmd/http: factor directory serving routines into httplib/serve and write tests
2018-11-04 12:46:44 +00:00
Nick Craig-Wood
b972dcb0ae
rc: implement options/blocks,get,set and register options
2018-11-03 11:32:00 +00:00
Nick Craig-Wood
0bfa9811f7
rc: factor server code into rcserver and implement serving objects
...
If a GET or HEAD request is receivied with a URL parameter of fs then
it will be served from that remote.
2018-11-03 11:32:00 +00:00
Nick Craig-Wood
aa9b2c31f4
serve/restic: factor object serving into cmd/httplib/serve
2018-11-03 11:32:00 +00:00
Nick Craig-Wood
cff75db6a4
rcd: implement new command just to serve the remote control API
2018-11-03 11:32:00 +00:00
Nick Craig-Wood
45d5339fcb
cmd/rc: add --json flag for structured JSON input
2018-11-02 17:32:20 +00:00
Nick Craig-Wood
bb5637d46a
serve http, webdav, restic: ensure rclone exits if the port is in use
2018-11-02 17:32:20 +00:00
Nick Craig-Wood
1f05d5bf4a
delete: clarify that it only deletes files not directories
2018-11-02 17:07:45 +00:00
Henning Surmeier
04a0da1f92
ncdu: remove option ('d' key)
...
delete files by pressing 'd' in the ncdu listing
GUI Improvements:
Boxes now have a border around them
Boxes can ask questions and allow the selection of options. The
selected option will be given to the UI.boxMenuHandler function.
Fixes #2571
2018-10-28 20:44:03 +00:00
Henning Surmeier
9486df0226
ncdu/scan: remove option for memory representation
...
Remove files/directories from the in memory structs of the cloud
directory. Size and Count will be recalculated and populated upwards
to the parent directories.
2018-10-28 20:44:03 +00:00