Commit Graph
13528 Commits
Author SHA1 Message Date
Kenneth Skovhede a01a7ff5f7 Fixed filtering to return a null delegate when not filtering 2026-03-14 13:56:26 +01:00
Kenneth Skovhede 84cc4005b1 Fix restore without local db
This fixes a bug where restoring with `--no-local-db` and `--version=0` would fail because the database consistency check sees that data is missing.

The missing data is intentional in this case, as we deliberately recreate a partial database.

The PR adds a test for this scenario and fixes the validation to allow for the partial database. Additionally, the partial database is marked as such, in case it is not correctly deleted after the restore.
2026-03-14 12:02:53 +01:00
Kenneth SkovhedeandGitHub 45acf1a9bc Merge pull request #6798 from duplicati/feature/add-hetzner-and-do-regions
Add Hetzner and DigitalOcean regions
2026-03-12 11:37:24 +01:00
Kenneth Skovhede 668dabfc94 Add Hetzner and DigitalOcean regions
This PR adds the known regions from DO and Hetzner to the config output from S3Config
2026-03-12 11:20:46 +01:00
Kenneth SkovhedeandGitHub f3a559d190 Merge pull request #6795 from duplicati/release/canary-2.2.0.106
Version bump to v2.2.0.106-2.2.0.106_canary_2026-03-06
2026-03-10 13:52:09 +01:00
Kenneth Skovhede 80438940be Version bump to v2.2.0.106-2.2.0.106_canary_2026-03-06
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.2.0.106_canary_2026-03-06.signatures.zip
v2.2.0.106_canary_2026-03-06 v2.2.0.106-2.2.0.106_canary_2026-03-06
2026-03-06 17:54:33 +01:00
Kenneth SkovhedeandGitHub 3c7dda8432 Merge pull request #6793 from duplicati/feature/fix-tests-for-https
Added fixes to failing tests for https support
2026-03-06 14:57:41 +01:00
Kenneth SkovhedeandGitHub c6f32b8ba2 Merge pull request #6784 from carljohnsen/feature/full-disk-mac
Feature/Disk Image basic Mac support
2026-03-06 14:21:52 +01:00
Kenneth SkovhedeandGitHub 3e40980063 Merge pull request #6792 from duplicati/dependabot/nuget/Duplicati/Library/Modules/Builtin/nuget-a992533934
Bump the nuget group with 1 update
2026-03-06 14:21:32 +01:00
Kenneth Skovhede f76bc59710 Fixed one more failing test 2026-03-06 14:20:52 +01:00
Kenneth Skovhede c47c000579 Fixed more failing tests 2026-03-06 13:28:38 +01:00
Kenneth Skovhede 15c7c1c3de Added fixes to failing tests for https support 2026-03-06 11:11:01 +01:00
dependabot[bot]andGitHub f4f30447c7 Bump the nuget group with 1 update
Bumps MimeKit from 4.12.0 to 4.15.1

---
updated-dependencies:
- dependency-name: MimeKit
  dependency-version: 4.15.1
  dependency-type: direct:production
  dependency-group: nuget
- dependency-name: MimeKit
  dependency-version: 4.15.1
  dependency-type: direct:production
  dependency-group: nuget
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-05 23:29:17 +00:00
Carl Johnsen c679e77f95 Merge branch 'master' into feature/full-disk-mac 2026-03-05 19:21:57 +01:00
Carl Johnsen b627ea87c9 Changed from PInvoke call to get error messages to the Marshal library call that does the same 2026-03-05 18:11:53 +01:00
Carl Johnsen 298f916e8d Shift to plist for all diskutil commands to alleviate localization and other human-readable-related parsing errors 2026-03-05 17:42:24 +01:00
Carl Johnsen 222ec0433a Using constants rather than copied hardcoded strings 2026-03-05 16:08:32 +01:00
Carl Johnsen ca1fb3ac9b Restructured the DiskImage project to lift the OS specific disk listings to the disk interface and to centralize the functionality for running external processes 2026-03-05 15:30:36 +01:00
Carl Johnsen 5fd62b0fc2 Made the Mac system library wrapper a precompiled file that is copied alongside referencing projects output folder 2026-03-05 13:28:54 +01:00
Carl Johnsen afbecbc7f0 Do not catch abort exceptions 2026-03-05 12:20:54 +01:00
Kenneth SkovhedeandGitHub 512db4f4f1 Merge pull request #6786 from duplicati/feature/automatic-https-support
Add support for managed TLS
2026-03-05 10:17:02 +01:00
Kenneth SkovhedeandGitHub 45db3a3536 Merge pull request #6790 from duplicati/feature/restore-flow-polish
Minor polish to the new restore flow
2026-03-05 10:16:42 +01:00
Kenneth SkovhedeandGitHub 24245a0ae1 Merge pull request #6788 from duplicati/feature/improve-link-resolve-method
Improve link detection on Windows
2026-03-04 14:46:36 +01:00
Kenneth SkovhedeandGitHub 22aa3fdc39 Merge pull request #6789 from duplicati/feature/fix-issue-6688
Add tests for issue #6688
2026-03-04 14:44:49 +01:00
Kenneth Skovhede 9bd4d228f3 Minor polish to the new restore flow
This PR adds explicit validation to the size parameters so we ensure that we throw a meaningful error message instead of fail on some later step.

This also fixes an error in an exception message. Should the error scenario ever trigger, it would previously show incorrect data or cause out-of-bounds error instead of the intended error message.
2026-03-04 14:44:09 +01:00
Kenneth Skovhede 6abc4aea00 Add tests for issue #6688
Issue #6688 was already fixed by work on related issues #6552 and #6553.

This adds a test that specifically reproduces the scenario mentioned in #6688.

This fixes #6688
2026-03-03 15:50:59 +01:00
Kenneth Skovhede 2beebb6086 Improve link detection on Windows
This PR adds a check that prevents performing link lookups on drive roots as this is reported to fail on some Windows versions.

The PR also makes a link lookup failure a warning instead of failing the restore process.
2026-03-03 10:06:53 +01:00
Kenneth Skovhede e315595095 Added section that explains how to use the certificates on Linux 2026-03-02 21:37:53 +01:00
Kenneth Skovhede a0e9e3429e Fixed issues with MacOS trust install/uninstall 2026-03-02 20:29:47 +01:00
Kenneth Skovhede 8ce5707f45 Merge branch 'feature/automatic-https-support' of github.com:duplicati/duplicati into feature/automatic-https-support 2026-03-02 17:13:06 +01:00
Kenneth Skovhede 2e01880e33 Fixed an issue that prevents certificate bundle generation on Windows 2026-03-02 17:09:58 +01:00
Kenneth Skovhede 2634eb3f64 Added support for generating the database.
Added better logging.
2026-03-02 16:39:19 +01:00
Kenneth Skovhede b6ef3d1b2b Improve error handling and stuck process issues 2026-03-02 15:51:26 +01:00
Kenneth Skovhede 6ec7a24bb8 Improved settings management code.
The logic is now that the properties for each of the server settings are defined on the constant that triggers them, instead of splitting it across the API and internal database.

This makes it less error prone to introduce newsensitive server settings.
2026-03-02 13:50:43 +01:00
Kenneth Skovhede ce9a433390 Merge remote-tracking branch 'origin/master' into feature/automatic-https-support 2026-03-02 13:15:21 +01:00
Kenneth SkovhedeandGitHub 68750ca9f6 Merge pull request #6787 from duplicati/feature/avoid-reflection-access-to-settings
Streamline serversettings
2026-03-02 13:14:38 +01:00
Kenneth Skovhede 2faace5e0f Removed unused code 2026-03-02 12:57:29 +01:00
Kenneth Skovhede fae5e9a30c Streamline serversettings
This PR streamlines the access to the serversetting+serversettings so they both rely on the database key name, and not using reflection to find properties.
2026-03-02 12:35:18 +01:00
Carl Johnsen 6d8e76e44a Added retry count for Mac eject, as a busy disk will throw an error when eject is requested. 2026-03-02 08:49:50 +01:00
Kenneth Skovhede 07cd39af34 Add support for managed TLS
This PR adds support for generating a self-signed CA and then using that CA to generate TLS certificates.

A new tool `duplicati-configure` / `Duplicati.CommandLine.ConfigureTool.exe` is added to manage the certificates.  The tool saves the configuration in the database and is meant to run with elevated privileges for the initial CA installation.

The option `--configure-https` can be added to server/trayicon, and if the process has permissions, this will automatically install the CA certificate.

If a CA is configured, the server will automatically issue, renew and use a TLS certificate.

With this setup, the TLS is opt-in, but once the flow is well tested, we can switch it to opt-out.
2026-03-01 11:33:05 +01:00
Carl Johnsen e42b58b0c5 Detaching a virtual disk on Windows can take minutes. 2026-03-01 10:21:52 +01:00
Carl Johnsen 14b7d37298 WaitForMountPoints should just retry, not sleep itself 2026-03-01 10:21:22 +01:00
Carl Johnsen db05e25602 Errors shouldn't be silent 2026-03-01 10:18:59 +01:00
Carl Johnsen 1ad2344e99 ParallelScanner may be null 2026-02-27 15:36:03 +01:00
Carl Johnsen 9d77275318 Made the geometry verification also check the partitions 2026-02-27 14:59:35 +01:00
Carl Johnsen ed788a1bd8 Updated WebModule for Mac support 2026-02-27 14:33:34 +01:00
Carl Johnsen 8d55fd84fe Removed whitespace 2026-02-27 13:51:17 +01:00
Carl Johnsen 0268da5ef6 Fixed race condition where the source provider would be disposed before the parallel scanner was done accessing it. 2026-02-27 13:51:05 +01:00
Carl Johnsen 783a64cc99 Windows disks should be pulled online before reattaching 2026-02-27 11:22:58 +01:00
Carl Johnsen a1739c1bbb Removed unused Windows helper method 2026-02-27 09:29:02 +01:00