Commit Graph
12623 Commits
Author SHA1 Message Date
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 SkovhedeandGitHub 06016e8e09 Merge pull request #6555 from duplicati/feature/limit-enabled-providers
Add option to limit modules
2025-10-18 14:53:04 +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 SkovhedeandGitHub 80acd0162a Merge pull request #6548 from duplicati/feature/update-example-script-docs
Updated example script docs
2025-10-15 17:58:59 +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 SkovhedeandGitHub fb158e485e Merge pull request #6545 from duplicati/release/canary-2.1.1.105
Release/canary 2.1.1.105
2025-10-11 07:09:16 +02:00
Kenneth Skovhede ce1b5aaeb3 Version bump to v2.1.1.105-2.1.1.105_canary_2025-10-10
You can download this build from:

Binaries: https://updates.duplicati.com/canary/?version=2.1.1.105

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.1.105_canary_2025-10-10.signatures.zip
v2.1.1.105_canary_2025-10-10 v2.1.1.105-2.1.1.105_canary_2025-10-10
2025-10-10 23:52:35 +02:00
Kenneth Skovhede e43b009926 Bump ngclient to 0.0.161 2025-10-10 21:57:09 +02:00
Kenneth SkovhedeandGitHub c23e164f4e Merge pull request #6544 from duplicati/release/canary-2.1.1.104
Release/canary 2.1.1.104
2025-10-10 21:48:20 +02:00
Kenneth SkovhedeandGitHub 2fe2a9602d Merge pull request #6543 from duplicati/feature/prevent-b2-silent-failure
Add explicit status code check for B2 upload
2025-10-10 20:50:27 +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 SkovhedeandGitHub 4e1174b5a6 Merge pull request #6542 from duplicati/feature/avoid-clean-on-resume
Fixed logic for release builder
2025-10-10 11:56:38 +02:00
Kenneth SkovhedeandGitHub d1bb3f3c35 Merge pull request #6541 from duplicati/feature/move-to-jsonsignature-library
Moved to JsonSignature library
2025-10-10 11:56:28 +02:00
Kenneth Skovhede a61639c841 Fixed logic for release builder
If the user supplies --resume-from-upload, this now implies that the build folder should not be deleted
2025-10-08 10:12:54 +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 Skovhede a47e979d9e Version bump to v2.1.1.104-2.1.1.104_canary_2025-10-03
You can download this build from:

Binaries: https://updates.duplicati.com/canary/?version=2.1.1.104

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.1.104_canary_2025-10-03.signatures.zip
v2.1.1.104-2.1.1.104_canary_2025-10-03 v2.1.1.104_canary_2025-10-03
2025-10-03 15:14:48 +02:00
Kenneth Skovhede ab63591c64 Bumped ngclient to 0.0.160 2025-10-03 13:28:52 +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
Kenneth SkovhedeandGitHub 28139af74d Merge pull request #6536 from duplicati/feature/bump-uplink-net
Updated uplink.NET packages to 2.14.3598.
2025-10-03 11:45:47 +02:00
Carl Johnsen 91fc698314 The block manager only adds a block to the cache, if it's needed at a later point. 2025-10-03 09:50:08 +02:00
Carl Johnsen 2aa2103f33 Changed BlockManager to only use the cache if the max size is > 0 2025-10-03 09:26:38 +02:00
Carl Johnsen aafe192766 Added docstring 2025-10-03 09:26:08 +02:00
Carl Johnsen a1e1afce28 Changed the default volume cache hint to be volumesize * 100 2025-10-03 08:50:35 +02:00
Carl Johnsen 842cc00979 Added profiling stopwatch for DataBlock instantiation in volume decompressor 2025-10-03 08:32:29 +02:00
Carl Johnsen dff4b52066 Moved instantiation of the block wrapper to the volume decompressor 2025-10-03 08:32:20 +02:00
Carl Johnsen 8f056d5db9 Added profiling stopwatch for volume wrapper in the volume decryptor 2025-10-03 08:25:56 +02:00
Carl Johnsen cd4e23efc4 Moved instantiation of the volume wrapper to the volume decryptor 2025-10-03 08:25:46 +02:00
Carl Johnsen 2ad6e088ac Added another profiling stopwatch to blockmanager 2025-10-03 08:21:42 +02:00
Carl Johnsen 0c1643568e Volume cache now counts the size of the volumes, not just the count of the volumes 2025-10-03 08:11:04 +02:00
Carl Johnsen 48e5a57654 Adapted volume cache eviction to only evict on a download response 2025-10-03 07:51:24 +02:00
Carl Johnsen 42cba24bd9 Removed old decompress in flight code 2025-10-03 07:50:48 +02:00
Carl Johnsen 1f0a4617a6 The reader has to be disposed before disposing the file 2025-10-03 07:50:19 +02:00
Carl Johnsen 34cfd47ceb Added docstrings 2025-10-03 07:50:03 +02:00
Carl Johnsen 1f44b5e01b Removed old ack profiling from the block manager 2025-10-03 07:49:06 +02:00
Kenneth Skovhede 9adca8b706 Downgrade mac package 2025-10-02 21:56:31 +02:00
Carl Johnsen d03259d687 Redacted the ack channel in the restore process network in favor of a referenced counted volume wrapper that'll dispose the reader and tempfile once safe. 2025-10-02 21:40:40 +02:00
Kenneth Skovhede 817390999f Updated uplink.NET packages to 2.14.3598.
This addresses #5793
2025-10-02 21:39:12 +02:00
Carl Johnsen 03db41e392 FileProcessor had an incorrect call to logging 2025-10-02 21:36:07 +02:00
Carl Johnsen 4f2bfe1fa0 Reduced very verbose logging on errors in BlockManager 2025-10-02 21:35:35 +02:00
Carl Johnsen 4951500db4 The BlockManager wouldn't always correctly retire its request channel 2025-10-02 21:34:44 +02:00
Carl Johnsen 91f783f80f Handled compact being called multiple times due to eventual consistency of the cache count. 2025-10-02 16:53:30 +02:00