albertony
555def2da7
build: add package comments to silence revive linter
2022-08-28 13:43:51 +02:00
Nick Craig-Wood
6fd9e3d717
build: reformat comments to pass go1.19 vet
...
See: https://go.dev/doc/go1.19#go-doc
2022-08-05 16:35:41 +01:00
albertony
ec117593f1
Fix lint issues reported by staticcheck
...
Used staticcheck 2022.1.2 (v0.3.2)
See: staticcheck.io
2022-06-13 21:13:50 +02:00
Nick Craig-Wood
e43b5ce5e5
Remove github.com/pkg/errors and replace with std library version
...
This is possible now that we no longer support go1.12 and brings
rclone into line with standard practices in the Go world.
This also removes errors.New and errors.Errorf from lib/errors and
prefers the stdlib errors package over lib/errors.
2021-11-07 11:53:30 +00:00
albertony
f3e71f129c
config: convert --cache-dir value to an absolute path
2021-10-11 15:08:35 +02:00
negative0
6272ca74bc
plugins: Move plugins cache path initialization to initPluginsOrError.
...
Fixes #4951 .
2021-01-28 16:58:23 +00:00
negative0
ed7af3f370
plugins: Create plugins files only if webui is enabled. Fixes #4592 . May fix #4600 .
2020-12-27 15:05:41 +00:00
Chaitanya Bankanhal
6231beefc5
webui: Fix broken webui because of plugins redirection
2020-08-31 13:45:06 +01:00
Aaron Gokaslan
bf685f600e
webgui: fixes previously unhandled error in JSON marshall in fs/rc/webgui/plugins.go:writeToFile
2020-08-30 17:15:03 +01:00
Chaitanya Bankanhal
d6996e3347
plugins: Add url query params to regex for referrer path
2020-08-24 10:56:04 +01:00
Chaitanya Bankanhal
dffcc99373
plugins: Create availablePlugins config file if it does not exist.
2020-08-24 10:56:04 +01:00
Chaitanya Bankanhal
09b79679cd
plugins: restructure and add tests for pluginsctl/* calls
2020-08-24 10:56:04 +01:00
Chaitanya Bankanhal
f9ee0dc3f2
plugins: allow installation and use of plugins and test plugins with rclone-webui
2020-08-24 10:56:04 +01:00