Nick Craig-Wood
4daf8b7083
Changelog updates from Version v1.53.4
2021-01-20 22:34:04 +00:00
Nick Craig-Wood
0be69018b8
drive: log that emptying the trash can take some time - fixes #4915
2021-01-19 18:09:36 +00:00
Nick Craig-Wood
9b9ab5f3e8
gcs: Fix Entry doesn't belong in directory "" (same as directory) - ignoring
...
This change allows directory markers to be non-zero in size.
See: https://forum.rclone.org/t/public-gcs-bucket-and-entry-doesnt-belong-in-directory-same-as-directory/21753/
2021-01-19 16:50:37 +00:00
Nick Craig-Wood
072464cbdb
gcs: fix anonymous client to use rclone's HTTP client
2021-01-19 16:50:37 +00:00
Nick Craig-Wood
b0491dec88
Add new email address for buengese to contributors
2021-01-19 16:50:28 +00:00
Nick Craig-Wood
ccfefedb47
Add Patrik Nordlén to contributors
2021-01-19 16:48:37 +00:00
Nick Craig-Wood
2fffcf9e7f
Add Janne Johansson to contributors
2021-01-19 16:48:37 +00:00
buengese
a39a5d261c
docs/compress: but a warning at the top
2021-01-18 21:42:58 +01:00
buengese
45b57822d5
compress: improve testing
2021-01-18 21:42:58 +01:00
buengese
d8984cd37f
compress: correctly handle wrapping of remotes without PutStream
...
Also fixes ObjectInfo wrapping for Hash and Size - fixes #4928
2021-01-18 21:42:58 +01:00
Patrik Nordlén
80e63af470
jottacloud: Add support for Telia Cloud ( #4930 )
2021-01-17 02:38:57 +01:00
Janne Johansson
db2c38b21b
docs: fix small spelling nit, file -> find in FAQ
2021-01-13 17:36:57 +00:00
Nick Craig-Wood
cef51d58ac
jottacloud: fix token refresh failed: is not a regular file error
...
Before this change the jottacloud token renewer would run and give the
error:
Token refresh failed: is not a regular file
This is because the refresh runs on the root and it isn't a file.
This was fixed by ignoring that specific error.
See: https://forum.rclone.org/t/jottacloud-crypt-3-gb-copy-runs-for-a-week-without-completing/21173
2021-01-12 17:09:44 +00:00
Nick Craig-Wood
e0b5a13a13
jottacloud: fix token renewer to fix long uploads
...
See: https://forum.rclone.org/t/jottacloud-crypt-3-gb-copy-runs-for-a-week-without-completing/21173
2021-01-11 16:44:11 +00:00
Nick Craig-Wood
de21356154
Add Denis Neuling to contributors
2021-01-11 16:44:11 +00:00
Ivan Andreev
35a4de2030
chunker: fix case-insensitive NewObject, test metadata detection #4902
...
- fix test case FsNewObjectCaseInsensitive (PR #4830 )
- continue PR #4917 , add comments in metadata detection code
- add warning about metadata detection in user documentation
- change metadata size limits, make room for future development
- hide critical chunker parameters from command line
2021-01-10 22:29:24 +03:00
Ivan Andreev
847625822f
chunker: improve detection of incompatible metadata #4917
...
Before this patch chunker required that there is at least one
data chunk to start checking for a composite object.
Now if chunker finds at least one potential temporary or control
chunk, it marks found files as a suspected composite object.
When later rclone tries a concrete operation on the object,
it performs postponed metadata read and decides: is this a native
composite object, incompatible metadata or just garbage.
2021-01-10 21:55:15 +03:00
Nick Craig-Wood
3877df4e62
s3: update help for --s3-no-check-bucket #4913
2021-01-10 17:54:19 +00:00
Denis Neuling
ec73d2fb9a
azure-blob-storage: utilize streaming capabilities - #1614
2021-01-10 17:02:42 +00:00
Nick Craig-Wood
a7689d7023
rcserver: fix 500 error when marshalling errors from core/command
...
Before this change attempting to return an error from core/command
failed with a 500 error and a message about unmarshable types.
This is because it was attempting to marshal the input parameters
which get _response added to them which contains an unmarshalable
field.
This was fixed by using the original parameters in the error response
rather than the one modified during the error handling.
This also adds end to end tests for the streaming facilities as used
in core/command.
2021-01-10 16:34:46 +00:00
Nick Craig-Wood
847a44e7ad
fs/rc: add Copy method to rc.Params
2021-01-10 16:34:46 +00:00
Nick Craig-Wood
b3710c962e
rc: fix core/command giving 500 internal error - fixes #4914
...
Before this change calling core/command gave the error
error: response object is required expecting *http.ResponseWriter value for key "_response" (was *http.response)
This was because the http.ResponseWriter is an interface not an object.
Removing the `*` fixes the problem.
This also indicates that this bit of code wasn't properly tested.
2021-01-10 16:34:46 +00:00
Nick Craig-Wood
35ccfe1721
Add kice to contributors
2021-01-10 16:34:46 +00:00
kice
ef2bfb9718
onedrive: Support addressing site by server-relative URL ( #4761 )
2021-01-09 03:26:42 +08:00
Nick Craig-Wood
a97effa27c
build: add go1.16beta1 to the build matrix
2021-01-08 12:22:37 +00:00
Nick Craig-Wood
01adee7554
build: raise minimum go version to go1.12
2021-01-08 12:17:09 +00:00
Alex Chen
78a76b0d29
onedrive: remove % and # from the set of encoded characters ( #4909 )
...
onedrive: remove % and # from the set of encoded characters
This fixes #4700 , fixes #4184 , fixes #2920 .
2021-01-08 12:07:17 +00:00
Nick Craig-Wood
e775328523
ftp,sftp: Make --tpslimit apply - fixes #4906
2021-01-08 10:29:57 +00:00
Nick Craig-Wood
50344e7792
accounting: factor --tpslimit code into accounting from fshttp
2021-01-08 10:29:57 +00:00
Nick Craig-Wood
d58fdb10db
onedrive: enhance link creation with expiry, scope, type and password
...
This change makes the --expire flag in `rclone link` work.
It also adds the new flags
--onedrive-link-type
--onedrive-link-scope
--onedrive-link-password
See: https://forum.rclone.org/t/create-share-link-within-the-organization-only/21498
2021-01-08 09:22:50 +00:00
Nick Craig-Wood
feaacfd226
hdfs: correct username parameter in integration tests
2021-01-08 09:05:25 +00:00
Nick Craig-Wood
e3c238ac95
build: add -buildmode to cross-compile.go
...
This builds on
768e4c4735
build: Temporary fix for Windows build errors
But passes the -buildmode flag down to the cross-compile.go command
too.
2021-01-08 08:58:50 +00:00
Nick Craig-Wood
752997c5e8
Add Yury Stankevich to contributors
2021-01-08 08:58:50 +00:00
Yury Stankevich
71edc75ca6
HDFS (Hadoop Distributed File System) implementation - #42
...
This includes an HDFS docker image to use with the integration tests.
Co-authored-by: Ivan Andreev <ivandeex@gmail.com>
Co-authored-by: Nick Craig-Wood <nick@craig-wood.com>
2021-01-07 09:48:51 +00:00
Ivan Andreev
768e4c4735
build: Temporary fix for Windows build errors
...
Applies a temporary fix similar to https://github.com/grafana/grafana/pull/28557
before go 1.15.6+ fixes https://github.com/golang/go/issues/40795
2021-01-07 09:48:51 +00:00
Nick Craig-Wood
c553ad5158
serve sftp: fix authentication on one connection blocking others - fixes #4882
...
Before this change, if one connection was authenticating this would
block any others from authenticating.
This was due to ssh.NewServerConn not being called in a go routine
after the Accept call.
This is fixed by running the ssh authentication in a go routine.
Thanks to @FiloSottile for advice on how to fix this.
See: https://github.com/golang/go/issues/43521
2021-01-06 15:34:07 +00:00
Alex Chen
c66b901320
onedrive: (business only) workaround to replace existing file on server-side copy ( #4904 )
2021-01-06 10:50:37 +08:00
Nick Craig-Wood
dd67a3d5f5
operations: add size if known to skipped items and JSON log - fixes #4624
2021-01-05 19:44:25 +00:00
Nick Craig-Wood
e972f2c98a
log: make it easier to add parameters to JSON logging
2021-01-05 19:44:25 +00:00
Nick Craig-Wood
acbcb1ea9d
Add Ilyess Bachiri to contributors
2021-01-05 19:44:25 +00:00
Nick Craig-Wood
d4444375ac
Add Kerry Su to contributors
2021-01-05 19:44:25 +00:00
Cnly
00bf40a8ef
onedrive: fix server-side copy completely disabled on OneDrive for Business
...
This fixes a little problem in PR #4903 , which is a fix for #4342
2021-01-06 02:57:51 +08:00
Ilyess Bachiri
5d1f947f32
docs: fix a typo in the dedupe docs
2021-01-05 15:46:57 +00:00
Alex Chen
b594cb9430
onedrive: fall back to normal copy if server-side copy unavailable ( #4903 )
...
Fixes #4342 by:
* Disabling server-side copy if either drive isn't OneDrive Personal
* Falling back to normal copy if server-side copy fails
2021-01-05 21:26:00 +08:00
Kerry Su
add7a35e55
b2: docs for download_url with private buckets
...
The current authentication scheme works without creating
a public download endpoint for a private bucket as in the B2 official blog.
On the contrary, if the existing authorization header gets duplicated
in the Cloudflare Workers script, one might receive 401 Unauthorized errors.
2021-01-02 11:33:48 +00:00
Nick Craig-Wood
2af7b61fc3
cmd: fix wording for no retries message
...
See: https://forum.rclone.org/t/immutable-should-set-retries-1-when-source-and-dest-are-different/21326/
2021-01-02 11:20:02 +00:00
Nick Craig-Wood
cb97c2b0d3
azureblob: fix crash on startup
...
This was introduced by accidental code deletion in
08b9ede217
azureblob: add support for managed identities
2020-12-31 18:39:09 +00:00
Nick Craig-Wood
35da38e93f
operations: fix --immutable error message
...
This was accidentally changed in
53a1a0e3ef
accounting: add reference to completed transfers
2020-12-31 18:16:51 +00:00
Nick Craig-Wood
963c0f28b9
sync: Only print "There was nothing to transfer" if no errors
...
See: https://forum.rclone.org/t/immutable-should-set-retries-1-when-source-and-dest-are-different/21326
2020-12-31 18:16:51 +00:00
Nick Craig-Wood
b3815dc0c2
sync: fix --immutable errors retrying many times
...
See: https://forum.rclone.org/t/immutable-should-set-retries-1-when-source-and-dest-are-different/21326
2020-12-31 18:16:51 +00:00