Commit Graph
13558 Commits
Author SHA1 Message Date
Carl Johnsen ec3d1b2d42 Made internals of DiskImage visible to the disk image unit tests 2026-03-11 08:21:07 +00:00
Carl Johnsen a53c93a076 Changed from nullable types as the Setup methods will initialize them prior to running a test 2026-03-11 08:17:45 +00:00
Carl Johnsen a40eba4ca4 Added sector aligned disk image unit tests 2026-03-11 08:17:02 +00:00
Carl Johnsen 62c2244faf Reordered interface definitions for a more structured order 2026-03-11 08:16:29 +00:00
Carl Johnsen 9595a927d0 Added setup and teardown for disk image unit tests 2026-03-11 07:30:03 +00:00
Carl Johnsen b17fd033a1 Made the DiskImage integration tests follow the right namespace naming scheme 2026-03-11 07:28:22 +00:00
Carl Johnsen 5e4a447f7a Started working on disk image unit tests 2026-03-11 07:27:37 +00:00
Carl Johnsen 623a6b1cf5 Updated the Linux disk interface to match the new interface 2026-03-10 08:59:49 +00:00
Carl Johnsen f64ee59111 Merge branch 'master' into feature/full-disk-linux 2026-03-10 08:28:41 +00: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
Carl Johnsen 6a2fd6114e Faulty unmount should throw exception 2026-03-02 16:12:35 +00:00
Kenneth Skovhede 2e01880e33 Fixed an issue that prevents certificate bundle generation on Windows 2026-03-02 17:09:58 +01:00
Carl Johnsen e511d0972f Added retry count for Mac eject, as a busy disk will throw an error when eject is requested. 2026-03-02 16:45:00 +01:00
Kenneth Skovhede 2634eb3f64 Added support for generating the database.
Added better logging.
2026-03-02 16:39:19 +01:00
Carl Johnsen f907c719fe During high stress, unmounting can take some time on Linux 2026-03-02 15:17:24 +00:00
Carl Johnsen 61e2317e71 No need to extract the disk number unless it's needed 2026-03-02 15:17:02 +00:00
Carl Johnsen ad66e7029d 'Disk has mounted partitions' check should only be made on drives where write access is requested 2026-03-02 15:16:43 +00:00
Kenneth Skovhede b6ef3d1b2b Improve error handling and stuck process issues 2026-03-02 15:51:26 +01:00
Carl Johnsen b9c221ba11 Disk helpers initialize implicitly mounts 2026-03-02 14:42:14 +00:00
Carl Johnsen 73404adb17 Made the Linux disk interface throw an exception when trying to restore to a device that has mounted partitions 2026-03-02 13:50:39 +00:00
Carl Johnsen 0252cf0bd4 Drive should be opened using O_DIRECT 2026-03-02 13:35:51 +00:00
Carl Johnsen ed5b3a40fe Unknown partition table type cannot be mounted as it has no partitions 2026-03-02 13:26:05 +00:00
Carl Johnsen bbf6fd01c9 XFS throws an error when trying to mount a clone with the same UUID 2026-03-02 13:22:37 +00: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