Commit Graph
862 Commits
Author SHA1 Message Date
Carl Johnsen 590b42137e Removed whitespace 2026-01-08 14:41:48 +01:00
Carl Johnsen 50f18dca84 Moved ResultSerialization from builtin modules to a shared library 2026-01-08 14:34:11 +01:00
Kenneth Skovhede d7ab1b03ac Merge remote-tracking branch 'origin/HEAD' into feature/duplicati-storage-backend
Streamlined the use of SharedRemoteOperation
2025-12-10 15:33:35 +01:00
Kenneth Skovhede cf42426d1b Store password with TrayIcon
When using the TrayIcon with no hosted server (i.e., connecting to a running server), it is now possible to save the password and url in the secret provider.

There is a checkbox that allows saving the settings, and if checked, will save the settings to the secret provider (using the OS default if none is specifically provided).

This fixes #6379
2025-12-07 22:26:37 +01:00
Kenneth SkovhedeandGitHub 179fd4da47 Merge pull request #6653 from duplicati/feature/secret-provider-write-support
Initial implementation of write-support for SecretProviders
2025-12-05 15:23:32 +01:00
Kenneth Skovhede 1ad1de65dd Fixed a failure in the HC Vault tests 2025-12-05 13:40:45 +01:00
Kenneth Skovhede 833419588a Removed faulty test lookup 2025-12-05 13:15:51 +01:00
Kenneth Skovhede 95b98e20f5 Extended test coverage and fixed nullable in the tests 2025-12-05 10:24:16 +01:00
Kenneth Skovhede 6b3811b2f1 Added retry to handle eventual consistency when reading back values immediately after changes 2025-12-04 15:40:14 +01:00
Kenneth Skovhede 772005cf40 Merge remote-tracking branch 'origin/HEAD' into feature/duplicati-storage-backend 2025-12-04 15:30:45 +01:00
Kenneth Skovhede 59593dd0b9 Don't run tests when Docker is not available 2025-12-03 14:51:55 +01:00
Kenneth Skovhede d585962f14 Fixed exception types 2025-12-03 11:38:24 +01:00
Kenneth Skovhede 7322c46861 Pre-execution check for RemoveRemoteVolumes
This PR adds a check before entering the RemoveRemoteVolumes that checks if there are dangling FilesetEntry records when calling the function.

This makes it possible to figure out if the problem is created by the RemoveRemoteVolumes code, or an already existing problem in the database.

Also added a few tests that check that the condition is correctly detected.
2025-12-03 11:34:30 +01:00
Kenneth Skovhede 4f1f254a2e Fixed some configuration issues and added HC vault testing 2025-12-03 10:44:02 +01:00
Kenneth Skovhede 1e4a1d3df3 Added support for settings override in imports
This PR adds the option to provide additional settings when importing a backup.

The ServerUtil has been expanded to support passing in the target url and backup passphrase when importing a backup.

Also clarified wording around the import passphrase as there are (at least) two passphrases related to imports.

This fixes #6640
2025-12-02 10:26:45 +01:00
Kenneth Skovhede 7243d4d52e Fixed failing test 2025-12-02 09:55:11 +01:00
Kenneth Skovhede 11ab702db0 Fixed FilePovider secret tests 2025-12-02 09:54:26 +01:00
Kenneth Skovhede 55a839fc4c Added test containers for the HC vault tests 2025-12-01 22:39:37 +01:00
Kenneth Skovhede 9fd9c425f7 Promoted notfound values to UserInformation exceptions 2025-12-01 15:39:21 +01:00
Kenneth Skovhede 695d190b91 Updated to allow IsSupported to be async 2025-12-01 15:29:24 +01:00
Kenneth Skovhede 8b122f8adf Fixed build issue 2025-12-01 14:51:31 +01:00
Kenneth Skovhede 8ac2273f21 Added OS markers to avoid accessing providers from unsupported OS.
Updated Pass provider to probe for pass via path searching.

Changed `IsSupported` to a method because it could take a while to evaluate
2025-12-01 13:21:44 +01:00
Kenneth Skovhede c670d74ff9 Updated tests to only pass in a single URL.
Updated tests to clean up after running
2025-12-01 09:24:57 +01:00
Kenneth Skovhede 6d9826df06 Initial implementation of write-support for SecretProviders
This updates the MacOS secret provider to use PInvoke for a more stable API than the secrets tool that was used before.
2025-11-30 23:01:57 +01:00
Kenneth Skovhede 5290fc464b Extended Uri tests slightly 2025-11-27 15:40:28 +01:00
Kenneth Skovhede e1b9015a85 Added support for exclusion of files based on xattrs
This PR adds detection of exclusion attributes on files and folders. If a file or folder has an exclusion extended attribute, the file or folder is excluded from the backup.

The option `--disable-backup-exclusion-xattr` can be used to revert to the previous behavior where the xattrs were not checked.

This has the biggest impact on MacOS where it will not perform like other backup software and avoid files that are marked as excluded from backup.

This fixes #6393
2025-11-21 10:59:28 +01:00
Kenneth Skovhede 178440f869 Fixed a number of warnings 2025-11-14 16:00:06 +01:00
Kenneth Skovhede 1ea74a3c63 Updated to .NET10 2025-11-14 15:05:39 +01:00
Kenneth SkovhedeandGitHub 56a44f304e Merge branch 'master' into feature/expand-api-integration-tests 2025-11-10 19:44:56 +01:00
Kenneth Skovhede 0594f15efa Extended tests for the server API 2025-11-10 19:43:44 +01:00
Kenneth Skovhede bc3b538724 Added coverlet collector 2025-11-07 14:46:46 +01:00
Kenneth Skovhede ed99cc7701 Fixed build error 2025-11-04 14:53:33 +01:00
Kenneth SkovhedeandGitHub 8581325368 Merge branch 'master' into feature/add-integration-tests 2025-11-04 14:52:11 +01:00
Kenneth Skovhede 5ca015e14d Added new integration tests on the API level 2025-11-04 10:50:22 +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 2762d1d015 Added tests for various option contraints 2025-11-03 09:27:06 +01:00
Kenneth Skovhede 4945f9a1f1 Add tests for UpdateOptions 2025-10-27 12:29:17 +01: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 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
Carl Johnsen e19a36800c Whitespaces 2025-09-30 15:23:58 +02:00
Carl Johnsen bc86b64149 Updated RestoreHandlerTests since some warnings have been lifted to being errors, the error count should be updated as well. 2025-09-30 15:23:50 +02:00
Kenneth Skovhede 55478523aa Fixed masked passwords breaking test function
This updates the masked password feature to be better at detecting variations of the password mask, such as removing one or more asterisks from the string.

This also updates the "Test destination" endpoints to support a backupId so the call can unmask the target urls.
2025-09-25 13:11:39 +02:00
Kenneth Skovhede f0d8677ef5 Include duplicated blocks in recreated index files
This fixes #6504
2025-09-23 11:12:36 +02:00
Kenneth Skovhede 5df20ea6de Suppres warning in tests 2025-09-22 14:36:14 +02:00
Kenneth SkovhedeandGitHub 360253c062 Merge branch 'master' into feature/hyperv-and-mssql-sources 2025-09-12 09:07:04 +02:00
Kenneth Skovhede 8ac48f0e8e Added tests for masking 2025-09-05 10:39:51 +02:00
Svend Roperos c261d3a550 feat: add server selections on MSSQL 2025-09-04 20:14:52 +02:00
Kenneth SkovhedeandSvend Roperos 7557e183e8 Fixed some leftover HyperV refs in MSSQL tests 2025-09-04 20:14:52 +02:00
Kenneth SkovhedeandSvend Roperos 37d6c3865f Added tests for HyperV and MSSQL parsers 2025-09-04 20:14:52 +02:00