Commit Graph
587 Commits
Author SHA1 Message Date
Carl Johnsen 5b7314621c Reduced test file size to speed up the test. File size shouldn't matter too much here. 2025-01-05 12:17:16 +01:00
Carl Johnsen 193b5a8e64 Extended the 5825 test to verify finding an already restored but timestamp retargeted file. 2025-01-05 12:15:43 +01:00
Carl Johnsen 85ddeaba51 Fixed old assertion message in restore test 2025-01-05 11:54:38 +01:00
Carl Johnsen 23aefd51c9 Add unit test for Issue #5825 Restore behavior with overwrite option 2025-01-05 11:52:12 +01:00
Carl Johnsen 1157f7c7bd Update RestoreHandlerTests to expect warning for non-created restore folder 2025-01-03 21:38:03 +01:00
Carl Johnsen ec001e7e73 Added a test to capture issue #5826 2025-01-03 20:34:45 +01:00
Carl Johnsen 4b0033d8e8 Fixed bug where if the parent folder contained the name "10", the DisruptionTests.FilesetFiles test would fail 2024-12-20 08:23:32 +01:00
Kenneth SkovhedeandGitHub ff1b2b7990 Simplified task control (#5753)
* Simplified task control by having all logic in a single class and using async control mechanism
* Fixed the tests
* Made the marking of a backup partial explicitly communicated if the enumeration process is stopped.
* Added support for pausing active transfers
* Introduced transfer token to abort operations.
* Updated the way LiveControl is emitting events.
* Retains the paused state of the server across reboots, this fixes #5760.
* Reworked the way throttle speeds are propagated through LiveControls.
* Added option to pause transfers in the UI.
* Removed throttle settings from the LiveControls class so it is exclusively handled by the ApplicationSettings.
* Removed `thread-priority` as it does not work at all when tasks are used.
* Fixed the stop dialog and API to only support stop and abort.
* Removed unused variables
2024-12-18 08:27:59 +01:00
Carl Johnsen 345701576c Merge branch 'master' into performance/restoreopt 2024-12-05 12:33:30 +01:00
Carl Johnsen ee7e5add21 Fixed bug in CompactDisruptionTests where the DeterministicErrorBackend was used, when the intention is to use the regular backend 2024-12-05 12:11:49 +01:00
Carl Johnsen 9e62a9efe4 Fixed sleeping in between backups being too short for fast machines. 2024-12-04 06:48:26 +01:00
Carl Johnsen 2469475ef2 Added a test for when trying to restore an already existing symlink 2024-12-03 10:04:29 +01:00
Kenneth Skovhede d941ca3b7d Merge branch 'feature/fix-dst-changing-scheduled-time' of github.com:duplicati/duplicati into feature/fix-dst-changing-scheduled-time 2024-11-25 14:24:27 +01:00
Kenneth Skovhede 06329d591f Fixed test on Windows 2024-11-25 13:39:39 +01:00
Kenneth Skovhede 0a5baa127c Merge remote-tracking branch 'origin/master' into feature/fix-dst-changing-scheduled-time 2024-11-25 13:05:28 +01:00
Kenneth Skovhede 74bb22e022 Implemented support for keeping time-of-day stable across daylight savings time changes.
This fixes #1364
2024-11-05 21:26:30 +01:00
Kenneth Skovhede 68fa9afa23 Fixed tests and fixed a missing encode 2024-11-05 12:44:00 +01:00
Kenneth Skovhede a72bf27aa3 Merge remote-tracking branch 'origin/master' into feature/add-secret-provider 2024-11-05 11:48:30 +01:00
Kenneth Skovhede f9a7f2329a Added robustness to url check 2024-11-05 11:32:11 +01:00
Kenneth Skovhede 186f6a543a Fixed failing test 2024-11-05 10:39:24 +01:00
Kenneth SkovhedeandGitHub 3e3258b081 Merge pull request #5615 from duplicati/feature/fix-issue-5038
Feature/fix issue 5038
2024-11-05 10:07:00 +01:00
Kenneth SkovhedeandGitHub e959542536 Merge pull request #5623 from duplicati/feature/fix-compact-disruption-test
Fix issues with extra blocks and files being recorded after an interrupted `Compact()`
2024-11-04 16:59:23 +01:00
Kenneth SkovhedeandGitHub ababf2f84e Merge pull request #5610 from duplicati/feature/fix-leftover-index
Feature/fix leftover index
2024-11-04 16:50:05 +01:00
Kenneth Skovhede 776b127f73 Added test to check that URL replacement is done correctly 2024-11-04 16:03:51 +01:00
Kenneth Skovhede 8250a5befa Refactored SecretProviderHelper to replace in Uri instances instead of raw string.
This fixes some issues with URL encoding/decoding.
Due to the legacy class `Duplicati.Library.Utility.Uri` there are two replacements done.
2024-11-04 15:57:56 +01:00
Kenneth SkovhedeandGitHub ce4da26e9c Merge pull request #5629 from duplicati/feature/create-test-for-corrupted-data
Add a test that continuing a backup on a corrupted database should not be possible
2024-11-04 09:30:13 +01:00
Kenneth SkovhedeandGitHub d5390914ab Merge pull request #5631 from duplicati/feature/remove-7z
Removed 7z
2024-11-04 09:29:43 +01:00
Kenneth Skovhede 3f3144218f Removed 7z from the source as it has been marked experimental for 7 years.
This fixes #5630
2024-11-01 17:40:09 +01:00
Kenneth Skovhede 0ff4b97f5e Added test from #5097 testing restore with corrupted remote data. 2024-11-01 17:23:45 +01:00
Kenneth Skovhede 57c8c025d1 This fixes an issues with the recovery tool that would mangle names if no encryption module is set on the source files.
This uses a test provided in #4490 to verify.
This fixes #4490
2024-11-01 17:01:30 +01:00
Kenneth Skovhede bd13ffae73 Fixed the not-so-deterministic DeterministicErrorBacked to throw the right errors. 2024-11-01 16:53:33 +01:00
Kenneth Skovhede dedee8fd35 Hand-picked the recreate fixes from #4982.
This fixes that the recreate will move unused blocks into the `DeletedBlock` table after the database has been recreated.
Due to this, the disruption test can now be verified.
2024-11-01 15:56:14 +01:00
Kenneth Skovhede 46bc51c39d Added additional test 2024-11-01 15:11:21 +01:00
Kenneth Skovhede db517a300b Implemented a fix for compaction issues that could cause inconsistent views of the remote storage. 2024-11-01 14:50:26 +01:00
Kenneth Skovhede 779c842b9a Merge branch 'feature/fix-leftover-index' of github.com:duplicati/duplicati into feature/fix-leftover-index 2024-11-01 11:15:13 +01:00
Kenneth Skovhede 0dcb7ceab6 Fixed a test that was succeding for the wrong reason 2024-11-01 11:14:46 +01:00
Kenneth Skovhede 99f4dbcf51 Enable test as it does not fail 2024-10-31 16:51:55 +01:00
Kenneth Skovhede 734659f3f7 Implemented a fix for 5038 2024-10-31 13:42:07 +01:00
Kenneth Skovhede a18867dcd9 Updated DeterministicErrorBackend to follow the new async IBackend interface 2024-10-29 21:28:43 +01:00
Kenneth Skovhede e9c256c7f2 Merge remote-tracking branch 'origin/master' into feature/fix-leftover-index 2024-10-29 16:40:06 +01:00
Kenneth Skovhede e690364a47 Added licenses 2024-10-28 08:08:29 +01:00
Kenneth Skovhede 9a89ca5a15 Cleaned up the use of the default pattern to use a single const value.
Added support for inheriting the secret pattern as it is more logical that all settings are carried through to the application.
2024-10-26 08:37:26 +02:00
Kenneth Skovhede 7772658326 Implemented tests for the SecretProviderHelper code 2024-10-25 23:13:38 +02:00
Kenneth Skovhede 34d13a20e2 Initial version of the external secret provider 2024-10-24 16:06:59 +02:00
Kenneth Skovhede 6ab27cb870 Merge remote-tracking branch 'origin/master' into feature/backend-async-get 2024-10-03 13:22:36 +02:00
Kenneth Skovhede 3c144f5481 Merge remote-tracking branch 'origin/master' into feature/remove-thread-culture-dependence 2024-10-02 14:56:11 +02:00
Kenneth Skovhede 61ea36091a Added DNSNames as async 2024-10-02 09:37:52 +02:00
Kenneth Skovhede 586c08522e Implemented async method for Test, CreateFolder and Quota in all backends.
Still missing the List and DNSHostnames.
The AsyncRequest class is also preventing many backends from fully upgrading.
2024-10-01 09:30:02 +02:00
Kenneth Skovhede ecf2e8b551 Implemented DeleteAsync on all backends 2024-09-29 23:04:54 +02:00
Kenneth SkovhedeandGitHub 735795f020 Merge pull request #5571 from duplicati/feature/remove-piped-download
Removed piped download as it was slower than not piping.
2024-09-29 22:01:21 +02:00