Commit Graph
1601 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub 7c6804aa52 Merge pull request #6651 from duplicati/feature/fix-aliyun-bug
Fixed a bug in AliyunOSS backend with timeouts
2025-12-01 20:36:25 +01:00
Kenneth Skovhede 3f6b1384d8 Updated SSH.NET to version 2025.1.0
This is related to #4675
2025-12-01 12:12:08 +01:00
Kenneth Skovhede e9d1630751 Updated list of known hosts 2025-11-28 12:04:47 +01:00
Kenneth Skovhede 756c98b5f5 Fixed a bug in AliyunOSS backend with timeouts 2025-11-27 15:44:01 +01:00
Kenneth Skovhede a9f3dc1137 Add support for scheme in url for S3
This adds support for supplying a url for the hostname which will also toggle the default SSL setting.

Removed providers MyCloudyPlace and dinCloud as they appear to no longer operate.
2025-11-21 11:23:27 +01:00
Kenneth Skovhede 5e9c608588 Added support for Rabata.io as an S3 provider 2025-11-21 11:01:38 +01:00
Kenneth SkovhedeandGitHub b5397e72e1 Merge pull request #6632 from duplicati/feature/timeouts-for-azure-blob-storage
Added override for AzureBlobStorage's internal timeout handling.
2025-11-20 11:06:27 +01:00
Kenneth Skovhede 57b288f204 Bump Uplink.NET to latest
This is related to #5793
2025-11-20 08:58:59 +01:00
Kenneth Skovhede 43d38efdd3 Fixed remaining warnings 2025-11-14 16:09:05 +01:00
Kenneth Skovhede 178440f869 Fixed a number of warnings 2025-11-14 16:00:06 +01:00
Kenneth Skovhede 1ea74a3c63 Updated to .NET10 2025-11-14 15:05:39 +01:00
Kenneth Skovhede da35b10455 Added override for AzureBlobStorage's internal timeout handling.
This is related to #6629
2025-11-13 11:58:13 +01:00
Kenneth Skovhede ebff630234 Minor typo fix 2025-11-10 11:47:42 +01:00
Kenneth SkovhedeandGitHub c613083352 Merge pull request #6592 from duplicati/feature/dynamic-toggle-of-streaming
Add dynamic streaming toggle
2025-11-04 10:51:14 +01:00
Kenneth SkovhedeandGitHub b537db9f28 Merge pull request #6594 from duplicati/feature/expose-pcloud-options
Expose pCloud options
2025-11-03 19:25:47 +01:00
Kenneth Skovhede 57048b7776 Merge remote-tracking branch 'origin/master' into feature/dynamic-toggle-of-streaming 2025-11-03 19:25:15 +01:00
Kenneth Skovhede 5e32ee6ef9 Expose pCloud options
This PR fixes an issue with pCloud where the timeout options were not shown as supported even though they are parsed.
2025-11-03 19:01:08 +01:00
Kenneth Skovhede 012aeed7de Add dynamic streaming toggle
This PR adds a dynamic property so a backend can signal if it supports streaming, based on the settings.

This is currently used for the File backend, so that toggling `--use-move-for-put` will disable streaming on the backend instead of relying on the `--disable-streaming-transfers` flag.
2025-11-03 12:48:37 +01:00
Kenneth Skovhede d02d7feb63 Added extended parsing for WebDAV propfind
This adreses #6576
2025-11-03 11:51:07 +01:00
Kenneth Skovhede b4e80abab1 Auto-correct S3 hostname
This PR updates the S3 backend to automatically remove leading and trailing `/` characters so upgrades are less likely to encounter the error, as the previous version did not fail on such hostnames.

The check still captures cases where the user attempts to input a path or URL into the hostname field.
2025-11-02 09:07:12 +01:00
Kenneth Skovhede 58a3884503 Fix timeout issue on MSGraph
This fixes the reported timeout issue with MicrosoftGraphBackend cause by each fragment being required to be uploaded within the `--short-timeout` value.

With this PR the overall progress is monitored with `--read-write-timeout` (as before) and each fragment's speed is not measured.

Also updated the fragment numbers with +1 so the first fragment is "1/5" instead of "0/5", such that the last fragment is "5/5".
2025-10-31 13:41:10 +01:00
Kenneth Skovhede f54ea3fa0f Added more guards on MSGraph errors
This PR handles empty responses with the status code 204 - No Content.

Prior to this PR a 204 response when cancelling an upload session would cause an error due to not being able to parse the empty body.

This should get us one step closer to figuring out what is triggering the errors.
2025-10-26 16:14:34 +01:00
Kenneth Skovhede 15db2198a9 Add explicit status code check for B2 upload
This PR adds an explicit check for the status code for a B2 upload to ensure that non-success status codes are treated as failures.

Prior to this PR an upload would be considered a success if it has a failed status code but returns a valid JSON document with a `contentLength` property.
2025-10-10 18:48:34 +02:00
Kenneth Skovhede 9adca8b706 Downgrade mac package 2025-10-02 21:56:31 +02:00
Kenneth Skovhede 817390999f Updated uplink.NET packages to 2.14.3598.
This addresses #5793
2025-10-02 21:39:12 +02:00
Kenneth Skovhede 4b1d2f1538 Fixed a warning 2025-09-25 11:15:43 +02:00
Kenneth SkovhedeandGitHub 060d83e0d9 Merge branch 'master' into feature/simplify-webmodule-lookups 2025-09-23 13:14:44 +02:00
Kenneth Skovhede 48a5e8cf0e Google IAM support
This adds support for using a Google Service Account JSON instead of the OAuth-based AuthID.

This fixes #3835
2025-09-22 16:07:23 +02:00
Kenneth Skovhede cdc3b88b03 Updated MSGraph parsing of JSON
This PR updates the parsing code for errors/messags to avoid trying to read the stream twice.

This also removes the support for the unused HttpWebResponse (which is deprecated).
2025-09-19 15:34:40 +02:00
Kenneth SkovhedeandGitHub 360253c062 Merge branch 'master' into feature/hyperv-and-mssql-sources 2025-09-12 09:07:04 +02:00
Smyja 067ac5554d fix(S3): validate endpoint does not contain path 2025-09-11 08:43:04 +01:00
Kenneth Skovhede 0497de7e9f Revert MinIO to version 6.0.0
This fixes #6489
2025-09-06 15:34:38 +02:00
Kenneth Skovhede 2822e95626 Simplify webmodule lookups
This PR adds the lookup data to the module output, such that the FE does not need to call a webmodule to get the dictionaries with lookup values.
2025-09-05 10:49:20 +02:00
Svend Roperos c1e22faa03 fix: make string.Split calls explicit to resolve ambiguous overloads 2025-09-04 20:14:52 +02:00
Kenneth Skovhede 69157d7ba8 Add override for sigv4 hash in AWS client 2025-08-18 10:03:12 +02:00
Kenneth Skovhede bee147c79e Don't lowercase base64 2025-08-15 11:34:08 +02:00
Kenneth Skovhede a673bd0fab Fixed pre-calc SHA256 on AWS S3
This fixes pre-calculating the SHA256 hash for AWS SDK requests to S3.
This fixes an issue where a throttled stream would not be throttled correctly, because the AWS library would read the throttled stream twice (once for hashing, and once for transmitting).

To ensure compatibility with Wasabi S3, the hash is also lowercased.
2025-08-15 10:59:38 +02:00
Kenneth Skovhede 94058f8ac0 Handle nulls in file paths
This PR updates the File backend to sanitize filenames returned when listing the directory. For now, the sanitization only removes trailing/leading null characters.

This fixes #6449
2025-08-12 08:36:10 +02:00
Kenneth Skovhede 21061b15a6 Fixed more incorrect nullability in AWS S3 2025-08-08 15:16:22 +02:00
Kenneth Skovhede 79c03d4601 Avoid null values in commonprefixes (defective nullable marker in AWS library) 2025-08-08 14:07:14 +02:00
Kenneth SkovhedeandGitHub 61b7e806fc Merge branch 'master' into 0nbrsf-codex/find-outdated-packages 2025-08-07 23:17:33 +02:00
Kenneth Skovhede d94ca804ea Fixed CodeQL compile issue + a warning 2025-08-07 11:24:10 +02:00
Kenneth SkovhedeandGitHub ba7bee397c Merge branch 'master' into 0nbrsf-codex/find-outdated-packages 2025-08-07 10:48:59 +02:00
Kenneth Skovhede c1bef62d8b Bumped AWSSDK libraries to be in sync 2025-08-07 10:47:35 +02:00
Kenneth Skovhede 3a294d95fb Fixed compile warnings 2025-08-07 08:06:24 +02:00
Marcelo C. 0a545120cc Removing chunksize from B2 backend
This fixes issue #6438
2025-07-30 09:44:31 -03:00
Kenneth Skovhede 79811dc4c6 Added correct encode and decode of paths in urls.
The URLs passed to the custom URL parser were not decoding the path part, but passing it directly. This caused problems if the input was correctly URL encoded.

The updated code now correctly decodes the hostname+path parts, and encodes them again.
2025-07-11 12:08:04 +02:00
Kenneth Skovhede 4fe678b5e1 Improve OAuth error handling
This PR updates OAuth handling to not retry if the request has been cancelled, as no further attempts will work, but the wait delay would still be applied.

Now the cancellation triggers immediately, even if we are in the wait stage.

If the server returns an error message, that message is now propagated to the client so the user can see what the problem might be.
2025-07-07 15:40:32 +02:00
Kenneth Skovhede fa19725a9a Fixed creating folder with Google Drive
This fixes #6389
2025-07-07 11:46:20 +02:00
Kenneth Skovhede 1692428406 Fix build by reverting breaking package updates 2025-06-25 20:03:02 +02:00