Nick Craig-Wood
6ecb5794bc
rc: add _config parameter to set global config for just this rc call
2021-02-07 14:56:41 +00:00
Nick Craig-Wood
ae3963e4b4
fs: Add string alternatives for setting options over the rc
...
Before this change options were read and set in native format. This
means for example nanoseconds for durations or an integer for
enumerated types, which isn't very convenient for humans.
This change enables these types to be set with a string with the
syntax as used in the command line instead, so `"10s"` rather than
`10000000000` or `"DEBUG"` rather than `8` for log level.
2021-02-07 14:56:41 +00:00
Nick Craig-Wood
7f5ee5d81f
Version v1.54.0
2021-02-02 14:17:09 +00:00
Nick Craig-Wood
5ae5e1dd56
docs: add an extra paragraph with links to rclone rc and the HTTP API
...
See: https://forum.rclone.org/t/rcd-endpoint-documenation/20949
2020-12-11 10:58:59 +00:00
Josh Soref
e4a87f772f
docs: spelling: e.g.
...
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2020-10-28 18:16:23 +00:00
Nick Craig-Wood
344bce7e2a
docs: fix formatting of rc docs page
...
See: https://forum.rclone.org/t/rclone-1-53-release/18880/24
2020-09-03 11:53:24 +01:00
Nick Craig-Wood
510ac341e1
Version v1.53.0
2020-09-02 17:00:18 +01:00
Nick Craig-Wood
744828a4de
rc: allow JSON parameters to simplify command line usage
...
If the parameter being passed is an object then it can be passed as a
JSON string rather than using the `--json` flag which simplifies the
command line.
rclone rc operations/list fs=/tmp remote=test opt='{"showHash": true}'
Rather than
rclone rc operations/list --json '{"fs": "/tmp", "remote": "test", "opt": {"showHash": true}}'
2020-07-22 18:40:52 +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
4d6af44045
docs: update all auto generated docs
2020-05-27 17:31:09 +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
2bd786a452
docs: fix rc docs and update anchors for new Hugo version
2020-05-27 17:31:08 +01:00
Martin Michlmayr
fb169a8b54
doc: fix typos throughout docs
2020-05-19 12:02:44 +01:00
Gary Kim
38a4d50e73
rcd: Add Prometheus metrics support - fixes #3858
...
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-03-01 09:58:34 +00:00
Nick Craig-Wood
43daecd89b
Version v1.51.0
2020-02-01 10:40:01 +00:00
Xiaoxing Ye
ccaca04a5d
rcd: move webgui apart; option to disable browser
...
Fix #3601 , #3785
2020-01-20 12:27:55 +00:00
Maciej Zimnoch
f5443ac939
accounting: clear finished transfer in stats-reset
...
In order to reduce memory usage `stats-reset` also
clears finished transfers.
Fixes #3734
2019-11-18 14:25:32 +00:00
Nick Craig-Wood
199ac61bde
rc: add methods to turn on blocking and mutex profiling
2019-10-28 22:11:38 +00:00
Nick Craig-Wood
1868c77e16
rc: fix formatting of docs
2019-10-27 10:43:40 +00:00
Nick Craig-Wood
6fabf476cf
Version v1.50.0
2019-10-26 11:04:54 +01:00
Chaitanya
b63e9befe8
rc docs: fix code section not rendering properly due to missing quotes
2019-10-13 12:26:37 +01:00
Nick Craig-Wood
5932acfee3
rc: fix docs for config/create /update /password
2019-09-03 08:34:15 +01:00
Nick Craig-Wood
8247c8a6af
rc: add anchor tags to the docs so links are consistent
2019-08-13 11:57:01 +01:00
Chaitanya
bbb8d43716
rc: (docs) Add new parameters --rc-web-gui and --rc-allow-origin, --rc-web-fetch-url and rc-web-gui-update to documentation.
2019-08-12 19:04:12 +01:00
Aleksandar Jankovic
6a3e301303
accounting: add call to clear stats
...
- Make calls more consistent by changing path to kebab case.
- Add stacktrace information to job panics
2019-08-02 16:56:19 +01:00
Nick Craig-Wood
57d5de6fba
build: fix up package paths after repo move
...
git grep -l github.com/ncw/rclone | xargs -d'\n' perl -i~ -lpe 's|github.com/ncw/rclone|github.com/rclone/rclone|g'
goimports -w `find . -name \*.go`
2019-07-28 18:47:38 +01:00
Aleksandar Jankovic
ff235e4e56
docs: update documentation for stats
2019-07-28 14:48:19 +01:00
Nick Craig-Wood
245fed513a
Version v1.48.0
2019-06-15 13:55:41 +01:00
Aleksandar Jankovic
93207ead9c
rc/jobs: make job expiry timeouts configurable
2019-06-15 09:55:32 +01:00
Nick Craig-Wood
2b05bd9a08
rc: implement operations/publiclink the equivalent of rclone link
...
Fixes #3042
2019-03-17 09:41:31 +00:00
Nick Craig-Wood
eb85ecc9c4
Version v1.46
2019-02-09 10:42:57 +00:00
Nick Craig-Wood
c4b0a37b21
rc: improve docs on debugging
2018-11-10 10:18:13 +00:00
Nick Craig-Wood
2b1194c57e
rc: update docs with new methods
2018-11-05 15:44:40 +00:00
Nick Craig-Wood
75a88de55c
rc/rcserver: with --rc-files if auth set, pass on to URL opened
...
If `--rc-user` or `--rc-pass` is set then the URL that is opened with
`--rc-files` will have the authorization in the URL in the
`http://user:pass@localhost/ ` style.
2018-11-05 15:44:40 +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
89550e7121
rcserver: serve directories as well as files
2018-11-04 15:11:51 +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
2089405e1b
fs/rc: add more infrastructure to help writing rc functions
...
- Fs cache for rc commands
- Helper functions for parsing the input
- Reshape command for manipulating JSON blobs
- Background Job starting, control, query and expiry
2018-11-02 17:32:20 +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
f96ce5674b
Version v1.44
2018-10-15 11:03:08 +01:00
frenos
382a6863b5
rc: add support for OPTIONS and basic CORS - #2575
2018-09-24 17:04:47 +01:00
Nick Craig-Wood
e979cd62c1
rc: fix formatting in docs
2018-08-07 21:05:21 +01:00
Nick Craig-Wood
687477b34d
rc: add core/stats and vfs/refresh to the docs
2018-08-07 20:58:00 +01:00
Nick Craig-Wood
3a2248aa5f
rc: add core/gc to run a garbage collection on demand
2018-05-24 15:10:28 +01:00
Nick Craig-Wood
573ef4c8ee
rc: enable go profiling by default on the --rc port
...
This means you can use the pprof tool on a running rclone, eg
go tool pprof http://localhost:5572/debug/pprof/heap
2018-05-24 15:10:28 +01:00
Nick Craig-Wood
9ab2521ef2
rc: autogenerate and tidy the docs and commands
...
* Rename rc/pid -> core/pid
* Sort the output of `rc list`
* Make a script to autogenerate the docs
* Tidy docs
2018-04-23 20:57:17 +01:00
Michael P. Dubner
92b266d361
rc: new call rc/pid - closes #2211
2018-04-09 13:33:04 +01:00
Daniel Loader
ce91289b09
docs: tweak rc cache documentation to give an example
2018-03-22 15:10:34 +00:00
Nick Craig-Wood
4295428a0f
fs/accounting: add remote control of bwlimit
2018-03-17 10:34:02 +00:00
Nick Craig-Wood
2db0c4dd95
vfs: add remote control for directory cache flushing
2018-03-17 10:34:02 +00:00