rclone/fs
Nick Craig-Wood 770b3496a1 config: fix in memory config not saving on the fly backend config
Before this fix, saving a :backend config gave the error

    Can't save config "token" = "XXX" for on the fly backend ":backend"

Even when using the in-memory config `--config ""`

This fixes the problem by
- always using the in memory config if it is configured
- moving the check for a :backend config save to the file config backend

It also removes the contents of the config items being saved from the
log which saves confidential tokens being logged.

Fixes #5451
2021-07-20 12:09:38 +01:00
..
accounting accounting: calculate rolling average speed 2021-07-05 16:27:33 +01:00
asyncreader fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
cache fs/cache: fix recreation of backends after they have expired 2021-03-30 18:46:30 +01:00
chunkedreader Spelling fixes 2020-10-14 15:21:31 +01:00
config config: fix in memory config not saving on the fly backend config 2021-07-20 12:09:38 +01:00
dirtree build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
driveletter Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
filter cmd: add hashSUM file support (#5352) 2021-07-07 18:34:16 +03:00
fserrors Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
fshttp fshttp: implement graceful DSCP error handling 2021-05-28 13:43:38 +01:00
fspath fspath: fix path parsing on Windows - fixes #5143 2021-03-24 09:47:03 +00:00
hash cmd: add hashSUM file support (#5352) 2021-07-07 18:34:16 +03:00
list filter: deglobalise to put filter config into the context #4685 2020-11-27 17:28:42 +00:00
log fs/log: don't compile systemd log integration for non unix systems 2020-12-28 23:07:12 +00:00
march fs/march: improve errors when root source/destination doesn't exist 2021-05-17 16:38:03 +01:00
object Remove backend dependency from fs/hash 2019-10-01 16:29:58 +01:00
operations cmd: add hashSUM file support (#5352) 2021-07-07 18:34:16 +03:00
rc config: fixed issues with flags/options set by environment vars. 2021-07-05 16:38:20 +01:00
sync fs/sync: fix tests by only --compare-dest timestamp if have hash 2021-07-07 16:59:51 +01:00
walk filter: deglobalise to put filter config into the context #4685 2020-11-27 17:28:42 +00:00
backend_config_test.go fs: add --all to rclone config create/update to ask all the config questions #3455 2021-05-14 14:07:44 +01:00
backend_config.go bin: add config.py as an example of how to use the state based config #3455 2021-05-14 14:07:44 +01:00
bwtimetable_test.go Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
bwtimetable.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
config_list_test.go fs: fix tests for *SepList 2018-08-21 10:58:59 +01:00
config_list.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
config_test.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
config.go config: fixed issues with flags/options set by environment vars. 2021-07-05 16:38:20 +01:00
configmap.go config: fix in memory config not saving on the fly backend config 2021-07-20 12:09:38 +01:00
countsuffix_test.go Use decimal prefixes for counts 2021-04-27 02:25:52 +03:00
countsuffix.go Use decimal prefixes for counts 2021-04-27 02:25:52 +03:00
cutoffmode_test.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
cutoffmode.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
deletemode.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dir.go cmd/dedupe: make largest directory primary to minimize data moved (#3648) 2021-03-11 20:40:29 +03:00
direntries_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
direntries.go fs: Allow sync of a file and a directory with the same name 2019-06-09 15:57:05 +01:00
dump_test.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
dump.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
features.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
fingerprint_test.go test: Add context to mockfs.NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
fingerprint.go fs: add Fingerprint to detect changes in an object 2020-06-30 12:01:36 +01:00
fs_test.go fs: Add Exclusive parameter to Option to choose Examples only #3455 2021-05-14 14:07:44 +01:00
fs.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
log_test.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
log.go fs: fix logging level mentioned in docs of Logf 2021-06-21 23:30:26 +08:00
mimetype.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
newfs.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
open_options_test.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
open_options.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
pacer.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
parseduration_test.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
parseduration.go fs: Add string alternatives for setting options over the rc 2021-02-07 14:56:41 +00:00
registry.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
sizesuffix_test.go Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
sizesuffix.go Use binary prefixes for size and rate units 2021-04-27 02:25:52 +03:00
types.go fs: split overgrown fs.go (#5405) 2021-06-14 14:42:49 +03:00
version.go Start v1.56.0-DEV development 2021-03-31 19:51:43 +01:00
versioncheck.go build: raise minimum go version to go1.13 2021-02-03 17:41:06 +00:00