Nick Craig-Wood
03229cf394
bin/config.py: add --rc flag for testing to an rclone rcd
#3455
2021-05-17 12:10:58 +01:00
Nick Craig-Wood
f572bf7829
Add sp31415t1 to contributors
2021-05-17 12:10:58 +01:00
sp31415t1
f593558dc2
docs: improve --disable help
2021-05-14 15:44:58 +01:00
Ivan Andreev
08040a57b0
dropbox: improve "own App IP" instructions ( #5325 )
...
Instructions in https://rclone.org/dropbox/#get-your-own-dropbox-app-id
are a little incomplete. I had to guess a few extra details to make things work.
This patch adds missing parts.
Fixes #5242
2021-05-14 17:42:30 +03:00
Alexey Ivanov
2fa7a3c0fb
dropbox: simplify chunked uploads
...
Signed-off-by: Alexey Ivanov <rbtz@dropbox.com>
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
798d1293df
Add Alexey Ivanov to contributors
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
75c417ad93
dropbox: fix async batch missing the last few entries
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
5ee646f264
dropbox: make batcher retry all errors so it doesn't exit early
...
See: https://forum.rclone.org/t/dropbox-too-many-requests-or-write-operations-trying-again-in-15-seconds/23316/18
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
4a4aca4da7
dropbox: fix deadlock in batch Commit
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
2e4b65f888
dropbox: add --dropbox-batch-mode flag to speed up uploading #5156
...
This adds 3 upload modes for dropbox off, sync and async and makes
sync the default.
This should improve uploads (especially for small files) greatly.
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
77cda6773c
config: tidy code to use UpdateRemote/CreateRemote instead of editOptions #3455
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
dbc5167281
bin: add config.py as an example of how to use the state based config #3455
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
635d1e10ae
config create: add --state and --result parameters #3455
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
296ceadda6
fs: add --all to rclone config create/update to ask all the config questions #3455
...
This also factors the config questions into a state based mechanism so
a backend can be configured using the same dialog as rclone config but
remotely.
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
7ae2891252
fs: Add Exclusive parameter to Option to choose Examples only #3455
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
99caf79ffe
config: allow config create and friends to take key=value parameters #3455
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
095cf9e4be
config create: add --non-interactive and --continue parameters #3455
...
This adds a mechanism to add external interfaces to rclone using the
state based configuration.
2021-05-14 14:07:44 +01:00
buengese
e57553930f
jottacloud: fix legacy auth with state based config system
...
...also some minor cleanup
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
f122808d86
fs: add names to each config parameter so we can override them #3455
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
94dbfa4ea6
fs: change Config callback into state based callback #3455
...
This is a very large change which turns the post Config function in
backends into a state based call and response system so that
alternative user interfaces can be added.
The existing config logic has been converted, but it is quite
complicated and folloup commits will likely be needed to fix it!
Follow up commits will add a command line and API based way of using
this configuration system.
2021-05-14 14:07:44 +01:00
Nick Craig-Wood
6f2e525821
Add Antoon Prins to contributors
2021-05-14 14:07:44 +01:00
Ivan Andreev
119bddc10b
selfupdate: fix archive name on macos
2021-05-13 22:35:39 +03:00
albertony
28e9fd45cc
vfs: avoid unnecessary subdir in cache path
...
Fixes #5316
2021-05-13 11:16:42 +02:00
Antoon Prins
326f3b35ff
webdav: add headers option
2021-05-12 09:52:07 +01:00
albertony
ce83228cb2
sftp: expand tilde and environment variables in configured known_hosts_file ( #5322 )
...
Fixes #5220
2021-05-11 19:58:26 +02:00
Chris Macklin
732bc08ced
config: replace defaultConfig with a thread-safe in-memory implementation
2021-05-07 16:04:09 +01:00
Nick Craig-Wood
6ef7178ee4
local: always use readlink to read symlink size
...
It was discovered on some Android systems, the stat size of a symlink
is different to the size that readlink returns.
This was giving errors like this
transport connection broken: http: ContentLength=30 with Body length 28
There are enough exceptions to the size of readlink being different to
the size of stat that this patch now always does readlink to work out
the size of a symlink.
Since symlinks are relatively uncommon this shouldn't affect
performance too much and will mean that the size is always correct.
This deprecates the --local-zero-size-links flag which is now
effectively always enabled.
See: https://forum.rclone.org/t/problem-with-symlinks-and-links/23840/
2021-05-04 08:53:09 +01:00
Nick Craig-Wood
9ff6f48d74
Remove accidentally committed *.orig and *.rej files and ignore
2021-05-03 07:58:29 +01:00
Nick Craig-Wood
532af77fd1
Add Chris Macklin to contributors
2021-05-03 07:58:29 +01:00
Nolan Woods
ab7dfe0c87
http: clean up Bind to better use middleware
2021-05-02 11:31:01 +01:00
Nolan Woods
e489a101f6
lib/http: add default 404 handler
2021-05-02 11:30:02 +01:00
Chris Macklin
35a86193b7
accounting: deglobalize startTime/elapsedTime - fixes #5282
2021-05-01 14:51:21 +01:00
x0b
2833941da8
build: add gomobile android build
2021-04-30 20:39:04 +01:00
Nick Craig-Wood
9e6c23d9af
fs: add --disable-http2 for global http2 disable #5253
2021-04-30 20:31:04 +01:00
Nick Craig-Wood
8bef972262
Add Gautam Kumar to contributors
2021-04-30 20:31:04 +01:00
Nick Craig-Wood
0a968818f6
Add Nolan Woods to contributors
2021-04-30 20:31:04 +01:00
Nick Craig-Wood
c2ac353183
Add lewisxy to contributors
2021-04-30 20:31:04 +01:00
Nick Craig-Wood
773da395fb
Add Tatsuya Noyori to contributors
2021-04-30 20:31:04 +01:00
Gautam Kumar
9e8cd6bff9
docs: fixed some typos
2021-04-28 22:55:27 +01:00
Nolan Woods
5d2e327b6f
http: Replace httplib with lib/http
2021-04-28 22:54:15 +01:00
Nolan Woods
77221d7528
httplib: Deprecate package
2021-04-28 22:54:15 +01:00
Nolan Woods
1971c1ef87
httplib: Move httplib/serve/data to ../serve/http/data
2021-04-28 22:54:15 +01:00
Nolan Woods
7e7dbe16c2
httplib: Add --template config and flags to serve/data
2021-04-28 22:54:15 +01:00
Nolan Woods
002d323c94
lib/http: Move HTTP object serialization logic to lib/http
2021-04-28 22:54:15 +01:00
Nolan Woods
4ad62ec016
lib/http: Add authentication middleware with basic auth implementation
2021-04-28 22:54:15 +01:00
Nolan Woods
95ee14bb2c
feat: Add lib/http
...
lib/http provides an abstraction for a central http server that services can bind routes to
2021-04-28 22:54:15 +01:00
Romeo Kienzler
88aabd1f71
docs: corrected spelling
...
from "Check the integrity of an encrypted remote." to "Check the integrity of a crypted remote."
2021-04-28 22:50:55 +01:00
Nick Craig-Wood
34627c5c7e
librclone: update docs for merge #4891
2021-04-28 20:42:00 +01:00
Nick Craig-Wood
e33303df94
librclone: add basic Python bindings with tests #4891
2021-04-28 16:55:08 +01:00
Nick Craig-Wood
665eceaec3
librclone: catch panics at the language change boundary #4891
2021-04-28 16:55:08 +01:00