rclone/fs
Nick Craig-Wood f1347139fa config: check config names more carefully and report errors - fixes #3506
Before this change it was possible to make a remote with an invalid
name in the config file, either manually or with `rclone config
create` (but not with `rclone config`).

When this remote was used, because it was invalid, rclone would
presume this remote name was a local directory for a very suprising
user experience!

This change checks remote names more carefully and returns errors
- when the user tries to use an invalid remote name on the command line
- when an invalid remote name is used in `rclone config create/update/password`
- when the user tries to enter an invalid remote name in `rclone config`

This does not prevent the user entering a remote name with invalid
characters in the config manually, but such a remote will fail
immediately when it is used on the command line.
2019-09-06 12:07:09 +01:00
..
accounting accounting: fix locking in Transfer to avoid deadlock with --progress 2019-09-06 10:00:44 +01:00
asyncreader build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
cache fs/cache: test for fix cached values pointing to files #3424 2019-08-10 08:39:56 +01:00
chunkedreader build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
config config: check config names more carefully and report errors - fixes #3506 2019-09-06 12:07:09 +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 Revert "filter: Add BoundedRecursion method" 2019-08-08 14:15:50 +01:00
fserrors error: make "bad record MAC" a retriable error - Fixes #3338 2019-08-12 20:37:10 +01:00
fshttp build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
fspath config: check config names more carefully and report errors - fixes #3506 2019-09-06 12:07:09 +01:00
hash hash: add CRC-32 support 2019-08-23 12:11:36 +01:00
list build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
log build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
march fstest: add precision to CompareItems so it works on non-local remotes 2019-08-17 10:30:38 +01:00
object build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
operations operations: fix -u/--update with google photos / files of unknown size 2019-09-04 17:31:17 +01:00
rc build: apply gofmt from go1.13 to change case of number literals 2019-09-05 13:59:06 +01:00
sync fstest: remove -subdir flag as it no longer tests anything useful #3421 2019-08-17 09:54:19 +01:00
version build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
walk walk: fix listing with filters listing whole remote 2019-08-08 14:15:50 +01:00
bwtimetable_test.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01:00
bwtimetable.go fs: added weekday schedule into --bwlimit - fixes #1822 2018-06-17 18:38:09 +01: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.go fs: make sure config is persisted to the config file when using config.Mapper 2019-08-14 20:54:08 +01:00
deletemode.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dir.go Add context propagation to rclone 2019-06-19 11:59:46 +01: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 Fix broken flag type tests 2019-02-07 16:42:26 +00:00
dump.go Make flags show up with their proper names, eg SizeSuffix rather than int 2019-02-07 11:57:26 +00:00
fs_test.go build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
fs.go config: check config names more carefully and report errors - fixes #3506 2019-09-06 12:07:09 +01:00
log_test.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
log.go log: add object and objectType to json logs 2019-08-02 15:57:09 +01:00
mimetype.go Add context propagation to rclone 2019-06-19 11:59:46 +01:00
options_test.go fs: Adjust RangeOption.Decode to return -1 for read to end 2018-01-27 14:31:29 +00:00
options.go fs: fix FixRangeOption so it works with 0 length files 2019-08-03 18:25:44 +01:00
parseduration_test.go fs: Higher units for ETA - fixes #3221 2019-07-01 12:09:19 +01:00
parseduration.go fs: Higher units for ETA - fixes #3221 2019-07-01 12:09:19 +01:00
sizesuffix_test.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
sizesuffix.go fix spelling 2019-04-30 14:12:18 +02:00
version.go Start v1.49.1-DEV development 2019-09-02 13:10:47 +01:00
versioncheck.go build: drop support for go1.9 2019-09-04 10:23:48 +01:00