Commit Graph
6110 Commits
Author SHA1 Message Date
Kenneth Skovhede 5620c083d8 Fixed some 9.0.6 refs 2025-11-14 17:08:19 +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 46428936c4 Various updates after the upgrade 2025-11-14 15:45:19 +01:00
Kenneth Skovhede 1ea74a3c63 Updated to .NET10 2025-11-14 15:05:39 +01:00
Kenneth Skovhede ebff630234 Minor typo fix 2025-11-10 11:47:42 +01:00
Kenneth Skovhede 68da969456 Added support for injecting custom CSS and JS into the client 2025-11-06 13:35:19 +01:00
Kenneth Skovhede bb70bbc0cc Added option to disable console control
This PR adds an option to disable control from the console.
With this option it is possible to keep a connection to the console, but not allow remote administration.
2025-11-04 14:47:28 +01:00
Kenneth SkovhedeandGitHub 5208806853 Merge pull request #6595 from duplicati/feature/protect-temporary-backups
Temporary backups return deep copies
2025-11-04 10:51:30 +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 247131118e Fixed edge cases for Clone 2025-11-03 19:24:16 +01:00
Kenneth Skovhede d39f6f4719 Temporary backups return deep copies
This PR fixes an issue with restore from config that would mask the internal objects passphrase and cause all requests to fail due to invalid passphrase.
2025-11-03 19:03:16 +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 SkovhedeandGitHub 0b5bd5a0a2 Merge pull request #6570 from carljohnsen/feature/dynamic-deadlock-timer
Feature/dynamic deadlock timer
2025-11-03 10:33:08 +01:00
Kenneth SkovhedeandGitHub 0972b64cbd Merge pull request #6589 from duplicati/feature/send-mail-password-is-a-password
Make `--send-mail-password` a password option
2025-11-03 09:27:40 +01:00
Kenneth Skovhede ca829acb31 Make --send-mail-password a password option
Prior to this PR the password was not treated as a password, but a string.
2025-11-02 16:47:56 +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 SkovhedeandGitHub 7fd16ff941 Merge pull request #6582 from duplicati/feature/fix-msgraph-timeout-issue
Fix timeout issue on MSGraph
2025-11-01 09:36:07 +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 4b3ccde3f7 Fixed parsing enum flags
This fixes #6574
2025-10-31 11:38:06 +01:00
Carl Johnsen 96921bc5fb RestoreHandler now sets up the DeadLock timer alongside the restore process network 2025-10-28 14:44:13 +01:00
Carl Johnsen dafb38443c FileProcessor id (used for debugging) started at 1, rather than 0. 2025-10-28 14:43:35 +01:00
Carl Johnsen 91009297c1 Fixed typo 2025-10-28 14:42:58 +01:00
Carl Johnsen 435792c8fa BlockManager now uses times reported by the DeadlockTimer as deadlock detection threshold instead of a hardcoded 5 minutes 2025-10-28 14:42:43 +01:00
Carl Johnsen 4e5d015e0c Added the deadlock timer task 2025-10-28 14:41:58 +01:00
Carl Johnsen ccfcffcc1e Added internal timers to keep track of maximum processing times of the restore processes 2025-10-28 14:41:39 +01:00
Kenneth SkovhedeandGitHub 9e39fab90b Merge pull request #6560 from duplicati/feature/more-robust-request-forward
Guard against sending extra header.
2025-10-27 12:31:07 +01:00
Kenneth SkovhedeandGitHub efd0b74566 Merge pull request #6566 from duplicati/feature/more-msgraph-guards
Added more guards on MSGraph errors
2025-10-27 12:30:20 +01:00
Kenneth Skovhede 777bc06842 Report remote filename on hash errors
This PR changes the reported filename to use the remote filename instead of the random temporary filename that has little value to the user as the file is deleted immediately after the error is raised.
2025-10-27 11:37: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 7769d92112 Guard against sending extra header.
If the remote client is sending an extra unwanted header, just ignore it.
2025-10-23 14:54:21 +02:00
Kenneth SkovhedeandGitHub b00a0ffbdb Merge pull request #6550 from duplicati/feature/add-power-mode-provider-selection
Add PowerMode provider selection
2025-10-20 08:25:29 +02:00
Kenneth Skovhede 8534c56581 Cleaned up comments 2025-10-18 14:04:35 +02:00
Kenneth Skovhede cbc327f09d Fixed not activating new powermode provider if using Windows older than 8.0 2025-10-18 13:59:48 +02:00
Kenneth Skovhede 379f05a568 New attempt, using powerprof callbacks 2025-10-18 13:51:16 +02:00
Kenneth Skovhede 3f4eb39a1c Re-implemented the powermode detection 2025-10-18 12:36:08 +02:00
Kenneth Skovhede 6ed507c0b3 Add option to limit modules
This PR adds the option to limit the available modules to just the set of specified choices.

If no option is set, all modules are available (default).
If the option is set, only those in the list are available (whitelisting).

The options are:
- `--allowed-backend-modules`
- `--allowed-encryption-modules`
- `--allowed-compression-modules`
2025-10-17 10:01:31 +02:00
Kenneth SkovhedeandGitHub 8e078b1c8c Merge pull request #6547 from duplicati/feature/remove-unused-upload-option
Folded `--asynchronous-upload-limit` and `--asynchronous-concurrent-upload-limit` options into one single option.
2025-10-16 18:56:23 +02:00
Kenneth Skovhede 8224d84f57 Reverted to use the shorter name --asynchronous-upload-limit and then added an alias for --asynchronous-concurrent-upload-limit. 2025-10-16 13:25:34 +02:00
Kenneth Skovhede 55c19c8752 Removed more references to the unused option 2025-10-16 13:21:40 +02:00
Kenneth Skovhede 3269c87329 Add PowerMode provider selection
This PR adds settings to choose a Power Mode provider, which will detect if the system is in a paused/suspended state and avoid starting tasks while being suspended.

This currently only works for Windows, where the previous inplementation is named `NET` (for .NET) and the new mode is named `Native` and using the Windows documented approach with a hidden window that listens for `WM_POWERBROADCAST` messages.

The default is `Native` but can now also be disabled by choosing the `None` provider.
2025-10-15 17:58:24 +02:00
Kenneth Skovhede 67c3039814 Updated example script docs 2025-10-15 12:00:04 +02:00
Kenneth Skovhede d3b15f136e Removed unused option
The option `asynchronous-upload-limit` was not used, and has been removed.
2025-10-14 21:30:02 +02: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 1f41c7af12 Moved to JsonSignature library
Code that was previously embedded in th Duplicati.Library.Utility is now in its own library.
2025-10-08 10:11:57 +02:00
Kenneth SkovhedeandGitHub 9507b57f1c Merge pull request #6534 from carljohnsen/performance/restore-lock-reduce
Performance/restore lock reduce
2025-10-03 11:46:00 +02:00