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 Skovhede and GitHub
3e3258b081
Merge pull request #5615 from duplicati/feature/fix-issue-5038
...
Feature/fix issue 5038
2024-11-05 10:07:00 +01:00
Kenneth Skovhede and GitHub
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 Skovhede and GitHub
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 Skovhede and GitHub
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 Skovhede and GitHub
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 Skovhede and GitHub
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
Kenneth Skovhede
e3e3d1305f
Implemented async version of Get for all backends.
2024-09-29 22:00:57 +02:00
Kenneth Skovhede
313dd73b11
Added test from #4094
2024-09-28 09:26:00 +02:00
Kenneth Skovhede and GitHub
c2da097d03
Merge pull request #5344 from duplicati/feature/support-built-in-zip
...
Add support for using the faster built-in .NET zip.
2024-09-26 11:29:28 +02:00
Kenneth Skovhede
f3e2a0a902
Avoid setting Thread.CurrentCulture
...
Avoids setting deprecated `Thread.CurrentCulture` and `Thread.CurrentUICulture`, using `CultureInfo.CurrentCulture` instead.
Fixed a few legacy places where incorrect string compares were used.
2024-09-18 09:24:55 +02:00
Kenneth Skovhede
375f1875d1
Merge remote-tracking branch 'origin/master' into feature/auto-repair-locked-db-fix-v2
2024-09-10 13:54:28 +02:00
Kenneth Skovhede and GitHub
300139af55
Merge pull request #5549 from duplicati/feature/fix-repair-index-consistency
...
Feature/fix repair index consistency
2024-09-10 13:50:25 +02:00
Kenneth Skovhede
ae172a3e4e
Fixed tests being too fast which messes up the backup timestamps
2024-09-10 12:47:19 +02:00
Kenneth Skovhede
238f4beb93
Test for locked database during auto-repair
2024-09-10 10:14:22 +02:00
Kenneth Skovhede
3f88ea7074
Merge remote-tracking branch 'origin/master' into feature/support-built-in-zip
2024-09-09 17:25:22 +02:00
Kenneth Skovhede
3e2de88648
Added test to cover recreating database and index files with corrupted index data
2024-09-09 17:17:24 +02:00
Kenneth Skovhede
ff6757877f
Fixing the inconsistency check on repair.
...
Update the SQL to also group on size (just in case).
Renamed the normal read method to signal that it is unverified.
Made the verified reader use enumeration state machine to avoid materializing the list.
`var`-ified some of the test code.
2024-09-09 15:27:37 +02:00
Kenneth Skovhede
17d9b89fbb
Merge branch 'master' into fix-repair-index-consistency
...
# Conflicts:
# Duplicati/Library/Main/Operation/RecreateDatabaseHandler.cs
2024-09-09 11:49:34 +02:00
Kenneth Skovhede
6f7f29965d
Improved logging output control.
...
This fixes #5539
2024-09-09 11:25:39 +02:00
Kenneth Skovhede
025dc5aa1e
Fixed tests
2024-09-01 10:48:47 +02:00
Kenneth Skovhede
d8c8ce7988
Removed the use of DeviceId due to lack of sufficient key material.
...
Kept the infrastructure to allow re-introducing it later if a better source for a device key is found.
Added support for not having any valid settings encryption key.
Added warnings if the user is running without a settings encryption key.
Added additional checks during startup to help with troubleshooting and configuring a setup with a settings encryption key.
Docker builds will now warn if no encryption key is set.
This fixes #5518
2024-08-31 11:02:14 +02:00
Kenneth Skovhede and GitHub
f29d118742
Merge pull request #5511 from duplicati/feature/fix-missing-device-ids
...
Added blacklisting of known invalid settings encryption keys
2024-08-30 14:53:22 +02:00