rclone/fs
Nick Craig-Wood 2d01a65e36 oauthutil: read a fresh token config file before using the refresh token.
This means that rclone will pick up tokens from concurrently running
rclones.  This helps for Box which only allows each refresh token to
be used once.

Without this fix, rclone caches the refresh token at the start of the
run, then when the token expires the refresh token may have been used
already by a concurrently running rclone.

This also will retry the oauth up to 5 times at 1 second intervals.

See: https://forum.rclone.org/t/box-token-refresh-timing/8175
2019-01-08 11:01:30 +00:00
..
accounting accounting: change too long names cutting mechanism - fixes #2490 2018-09-18 10:27:23 +01:00
asyncreader fs/asyncreader: skip some tests to work around race detector bug 2018-08-20 12:34:29 +01:00
chunkedreader fs: improve ChunkedReader 2018-05-05 12:49:42 +01:00
config oauthutil: read a fresh token config file before using the refresh token. 2019-01-08 11:01:30 +00:00
driveletter Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
filter filter: parallelise reading of --files-from - fixes #2835 2018-12-13 13:22:30 +00:00
fserrors fserrors: add "server closed idle connection" to retriable errors 2018-11-08 11:12:25 +00:00
fshttp all: fix go-critic linter suggestions 2018-08-06 21:14:03 +01:00
fspath backend: unify NewFs path handling for wrapping remotes 2018-10-10 17:50:27 +01:00
hash fs/hash: install QuickXorHash as a supported rclone hash type #2262 2018-04-20 21:02:57 +01:00
list list: change debug logs for excluded items 2018-09-24 17:08:35 +01:00
log build: fixup code formatting after goimports change 2018-10-13 22:47:12 +01:00
march copy,move: restore --no-traverse flag 2018-12-02 20:28:13 +00:00
object build: fix errors spotted by ineffassign linter 2018-05-05 17:32:41 +01:00
operations march: factor calling parameters into a structure 2018-12-02 18:07:26 +00:00
rc Use vfsgen for static HTML templates 2018-12-26 15:07:21 +00:00
sync copy,move: restore --no-traverse flag 2018-12-02 20:28:13 +00:00
version cmd/version: factor version number parsing routines into fs/version 2018-11-05 15:44:40 +00:00
walk Make --files-from only read the objects specified and don't scan directories 2018-10-20 18:13:31 +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 fs: move CommaSepList and SpaceSepList here from config 2018-08-20 17:52:05 +01:00
config.go copy,move: restore --no-traverse flag 2018-12-02 20:28:13 +00:00
deletemode.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dir.go fs: add optional ID to fs.Directory and set it in the remotes which care 2017-08-07 15:31:22 +01:00
direntries.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dump_test.go Break the fs package up into smaller parts. 2018-01-15 17:51:14 +00:00
dump.go fs: add --dump goroutines and --dump openfiles 2018-04-11 20:55:58 +01:00
fs_test.go Implement new backend config system 2018-07-16 21:20:47 +01:00
fs.go fs: Implement RegInfo.FileName to return the on disk filename for a backend 2018-10-06 11:47:46 +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 --log-format flag - fixes #2424 2018-09-02 18:11:09 +01:00
mimetype.go fs: Add MimeTypeDirEntry to return the MimeType of a DirEntry 2018-05-13 12:17:55 +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/OpenOptions: Make FixRangeOption clamp range to filesize. 2018-08-10 11:14:34 +01:00
parseduration_test.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
parseduration.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
sizesuffix_test.go fs: Implement Scan method for SizeSuffix and Duration 2018-07-16 08:50:52 +01:00
sizesuffix.go fstests: add TestFsPutChunked 2018-10-11 14:47:58 +01:00
version.go Start v1.45-DEV development 2018-11-24 15:20:24 +00:00
versioncheck.go Require go1.8 for compilation 2018-10-25 17:06:33 +01:00