Commit Graph
1101 Commits
Author SHA1 Message Date
Carl Johnsen ba702b4d5f Fixed Windows file locking failing tests 2026-03-11 14:52:53 +01:00
Carl Johnsen 2a2381d298 Added tests to increase code coverage of the DiskImage feature 2026-03-11 13:37:58 +00:00
Carl Johnsen ef636e4bdb Fixed test error with undeterministic gap bytes 2026-03-11 13:37:30 +00:00
Carl Johnsen 8c29c958bd Added some final edge case tests to the disk image unit tests 2026-03-11 12:41:34 +00:00
Carl Johnsen fe673ea1c0 Added disk image restore provider tests 2026-03-11 12:31:27 +00:00
Carl Johnsen 027c849b63 Added PooledBuffer tests 2026-03-11 12:18:35 +00:00
Carl Johnsen 8e0593c0ad Added Unknown file system stream tests 2026-03-11 12:02:45 +00:00
Carl Johnsen e01a55c252 Added UnknownFilesystem tests 2026-03-11 11:48:24 +00:00
Carl Johnsen ac02a3a475 Added GeometryMetadata serialization tests 2026-03-11 11:39:01 +00:00
Carl Johnsen 35946d4888 Added partition table synthesizer tests 2026-03-11 11:29:55 +00:00
Carl Johnsen 1eadfa5b00 Added PartitionWriteStream tests 2026-03-11 11:21:04 +00:00
Carl Johnsen 06fc4614c4 Trying to reduce the amount of times that disks are created / deleted to speed up tests. 2026-03-11 10:58:55 +00:00
Carl Johnsen c2515e1ddd Added partition table parsing tests 2026-03-11 09:37:05 +00:00
Carl Johnsen 93f483d2d5 Added PartitionTableFactory tests 2026-03-11 09:26:24 +00:00
Carl Johnsen 745d2084ac Added tests for unaligned write 2026-03-11 09:15:09 +00:00
Carl Johnsen 4d649d82a2 Added tests for unaligned reads 2026-03-11 08:53:41 +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 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 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 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
Carl Johnsen c679e77f95 Merge branch 'master' into feature/full-disk-mac 2026-03-05 19:21:57 +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 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
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 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
Carl Johnsen 6a2fd6114e Faulty unmount should throw exception 2026-03-02 16:12:35 +00: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
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 b9c221ba11 Disk helpers initialize implicitly mounts 2026-03-02 14:42:14 +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
Carl Johnsen eb6b66d97c Some XFS and Btrfs partitions were of incorrect size 2026-03-02 10:32:42 +00:00
Carl Johnsen fc05f94673 Fixed partition size computation 2026-03-02 10:32:07 +00:00
Carl Johnsen 689571a840 Added more FAT32 tests 2026-03-02 09:51:56 +00:00
Carl Johnsen 8c52e31954 Next free sector was off by one 2026-03-02 09:51:33 +00:00
Carl Johnsen 1731b3daff Btrfs needs at least 109 MB partition size 2026-03-02 09:37:59 +00:00
Carl Johnsen 68411d6b7d GPT tables need space at the end of the disk for the secondary GPT header 2026-03-02 09:13:51 +00: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
Carl Johnsen 515fff491e Added more Linux-specific disk image tests 2026-03-01 11:56:11 +01:00
Carl Johnsen 3fae2d0b1b ZFS is multi disk and currently unsupported. 2026-03-01 11:55:45 +01:00
Carl Johnsen a2931a333e Added Linux specific tests to DiskImageTests 2026-03-01 11:43:09 +01:00
Carl Johnsen 1e30e55892 First implementation of the Linux disk image test helper 2026-03-01 11:37:25 +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