Commit Graph
825 Commits
Author SHA1 Message Date
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
Carl Johnsen 53d78e9c19 Added a test for when trying to restore a file that is locked by someone else 2025-09-01 14:00:49 +02:00
Kenneth SkovhedeandGitHub 926ff199f4 Merge pull request #6485 from duplicati/feature/revert-allow-empty-source
Invert `--allow-empty-source`
2025-08-15 11:41:07 +02:00
Kenneth Skovhede 8e3ed18ae4 Invert --allow-empty-source
This inverts the `--allow-empty-source` to `--prevent-empty-source` so the user has to opt-in to using the check.
2025-08-15 11:05:17 +02:00
Carl Johnsen 0194d2a486 Merge branch 'master' into feature/restore-volume-cache-size-parameter 2025-08-14 17:22:41 +02:00
Carl Johnsen 3e10b8446a Changed the wording of the new volume cache parameter 2025-08-14 17:20:58 +02:00
Carl Johnsen 356eb03264 Handled nullable warning in RestoreHandlerTests 2025-08-10 21:00:48 +02:00
Carl Johnsen 4edbbda7f9 Cleaned up RestoreVolumeCache test and send an abort request on timeout (deadlock) 2025-08-10 20:56:05 +02:00
Carl Johnsen 9e7c37fb33 Fixed timeout logic in restore volume cache tests 2025-08-10 07:41:02 +02:00
Carl Johnsen 4c9f78f839 Added first try at a test of the restore volume cache 2025-08-08 15:45:52 +02:00
Carl Johnsen 309ae18782 Removed whitespace 2025-08-08 15:45:35 +02:00
Kenneth SkovhedeandGitHub dc436ee08d Merge pull request #6475 from duplicati/feature/prevent-locked-files-in-test
Prevent locked file in tests
2025-08-08 12:44:25 +02:00
Kenneth Skovhede 92cb8535b5 Prevent locked file in tests 2025-08-08 11:41:10 +02:00
Kenneth Skovhede be527b88c0 Added flag to tests that require it 2025-08-08 10:57:27 +02:00
Kenneth SkovhedeandGitHub cb77c083bc Merge branch 'master' into feature/prevent-empty-folders 2025-08-08 10:54:10 +02:00
Carl-Johannes JohnsenandGitHub 13ab4df846 Merge pull request #6457 from carljohnsen/bugfix/rsync-reinstantiate-backend
Bugfix/Remote synchronization tool reinstantiate backend
2025-08-08 06:00:37 +02:00
Kenneth SkovhedeandGitHub 2d80f8217d Merge pull request #6469 from duplicati/feature/ensure-no-pooling-on-dbs
Added explicit disabling of pooling to avoid locked files on Windows
2025-08-07 23:13:04 +02:00
Carl-Johannes JohnsenandGitHub a5c8dce21c Merge pull request #6459 from carljohnsen/bugfix/remotevolume-hash-null
Bugfix/RemoteVolume hash null
2025-08-07 21:08:54 +02:00
Carl Johnsen 4460ed45a6 Due to the error counter being reset on every operation, capturing the error has to be slightly modified. 2025-08-07 21:08:00 +02:00
Kenneth Skovhede c4cd6181d7 Added explicit disabling of pooling to avoid locked files on Windows 2025-08-07 15:26:45 +02:00
Kenneth SkovhedeandGitHub 92e2036049 Merge branch 'master' into feature/prevent-empty-folders 2025-08-07 11:53:59 +02:00
Kenneth SkovhedeandGitHub ddbea1a362 Merge branch 'master' into feature/vacuum-and-bugreport-tests 2025-08-07 11:34:26 +02:00
Kenneth Skovhede 3f04e8beaa Stabilize compact tests.
Made the test inconclusive if the compact operation was not performed, which happens randomly based on the data layout.
2025-08-07 10:26:15 +02:00
Carl Johnsen fc6a716df0 Changed X to the given PR number for finding more information 2025-08-06 10:20:38 +02:00
Carl Johnsen 1050e6b868 Added a test for recreating the issue of having a hash being null in the remote volume table 2025-08-06 10:15:13 +02:00
Kenneth Skovhede 0e707c7c81 Added tests that cover the empty source folder 2025-08-06 08:27:16 +02:00
Carl Johnsen ed2923a7ae Handled nullable warning in remote synchronization test 2025-08-06 07:53:29 +02:00
Carl Johnsen 00ed11be29 Redirected error output on the tests that are expected to fail, as the later checks will handle this, to reduce noisy output. 2025-08-06 07:53:06 +02:00
Carl Johnsen 7b192d5eac Added additional parameters to the parsing test, and reduced the waiting time during remote synchronization unit tests 2025-08-06 06:14:04 +02:00
Carl Johnsen 630f99ce72 Added remote synchronization test cases for failing more than the configured number of retries 2025-08-05 19:13:42 +02:00
Carl Johnsen 8c2f5d5d4c Added test for remote synchronization tool with a faulty backend 2025-08-05 15:06:31 +02:00
Kenneth Skovhede 25b7d190a3 Extended bugreport tests to include vacuum 2025-07-27 11:59:15 +02:00
Kenneth Skovhede 86313fd080 Added tests for the Vacuum and bugreport operations.
Fixed a bug with the vacuum command not closing the transaction first.

This fixes #6430
2025-07-23 10:56:58 +00:00
Kenneth SkovhedeandGitHub 73b42c4b36 Merge pull request #6373 from duplicati/feature/issue-6339
Added test for issue #6339
2025-07-11 18:52:47 +02:00
Kenneth Skovhede b8491845f1 Fixed test to work when there are fewer blocks created in CI 2025-07-11 17:12:26 +02:00
Kenneth Skovhede 6d0a0721a2 Merge remote-tracking branch 'origin/master' into feature/issue-6339 2025-07-11 09:27:44 +02:00
Kenneth Skovhede fc478146f3 Update ServerUtil probing
This PR updates the probing logic to not try the database if a password is supplied on the commandline.

It also fixes a crash that could happen at an unwanted place, if the user does not have write access to the supplied data folder. After this, the application will still crash due to not having  a place to write information, but it does not crash in the preloader logic. This also prevents creating the folder while probing for the database.

This PR also fixes a case where the database could become encrypted, if the ServerUtil was providing an encryption key to an unencrypted database. Before this fix, the database would be encrypted with the key provided to ServerUtil, which would most likely cause the Server/TrayIcon to fail starting and perhaps crash.

This fixes #6377
2025-07-10 21:03:16 +02:00
Kenneth Skovhede 939204e9dc Removed warning 2025-07-09 10:10:05 +02:00