Carl Johnsen
b475eeb387
Moved formatting of the explicit log messages to occur later to alleviate having to do that when that log level is disabled, which should decrease wasted processing.
2025-09-30 21:38:04 +02:00
Carl Johnsen
36ce099e6d
Added additional toggle-able debug prints to the restore flow
2025-09-30 21:18:28 +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
Carl Johnsen
90a54a177e
Added an internal timer to the VolumeDecryptor
2025-09-30 13:11:16 +02:00
Carl Johnsen
531471e3b5
Reordered the final checks in the SleepableDictionary and lifted some warnings to errors.
2025-09-30 13:06:20 +02:00
Carl Johnsen
6402e1b4a7
Fixed deadlock when the restore-channel-size option was set to 0
2025-09-30 13:00:52 +02:00
Carl Johnsen
2b4928cf46
Automatic formatting
2025-09-30 12:59:47 +02:00
Carl Johnsen
638b725e82
MemoryCache callback wasn't attached to the entries properly
2025-09-30 12:59:34 +02:00
Carl Johnsen
f3f2d93a6e
Renamed internal variable to reflect it's a private variable
2025-09-30 12:59:15 +02:00
Carl Johnsen
3b9f0c04a0
MemoryCache.Count is expensive and is used for diagnostics.
...
Instead we keep our own counter to check for when to compact the cache.
2025-09-30 12:58:39 +02:00
Carl Johnsen
4826b800a5
Instead of keeping track of how many that are actively accessing the arrays, we now have an object wrapping the array.
...
When this object is collected by the garbage collector, the array is returned to the array pool. This moves the responsibility to the garbage collector leading to a more thread-safe approach with less locks, at the cost of potentially using memory for a longer time until the garbage collector picks up the objects.
2025-09-30 12:55:13 +02:00
Carl Johnsen
e90013f41f
Added and handled nullable to all of the restore processes
2025-09-30 12:46:08 +02:00
Kenneth Skovhede and GitHub
679802cd2c
Merge pull request #6525 from duplicati/feature/improve-masking-support
...
Fixed masked passwords breaking test function
2025-09-25 15:02:19 +02:00
Kenneth Skovhede and GitHub
eece3cfded
Merge pull request #6521 from duplicati/feature/more-lax-windows-permissions
...
Add Administrator to permitted users
2025-09-25 14:09:52 +02:00
Kenneth Skovhede
291518983f
Merge remote-tracking branch 'origin/master' into feature/more-lax-windows-permissions
2025-09-25 13:16:42 +02:00
Kenneth Skovhede and GitHub
d9b5073612
Merge pull request #6524 from duplicati/feature/fix-invariant-formatting
...
Fixed invariant formatting helpers
2025-09-25 13:12:23 +02:00
Kenneth Skovhede and GitHub
8cdbf7f1c6
Merge pull request #6523 from duplicati/feature/improve-license-tool
...
Improved license updater
2025-09-25 13:12:11 +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
39cca5c24f
Simplified calling code to not rely on extension methods
2025-09-25 11:33:56 +02:00
Kenneth Skovhede and GitHub
501b3c73b4
Merge pull request #6522 from duplicati/feature/style-cleanup
...
Updated short functions to be expressions
2025-09-25 11:16:30 +02:00
Kenneth Skovhede
4b1d2f1538
Fixed a warning
2025-09-25 11:15:43 +02:00
Kenneth Skovhede
230d80642a
Fixed invariant formatting helpers
...
This fixes an issue with formatting for invariant values that was caused by incrorrect function overload selection.
To avoid future issues, the two similar functions have been renamed to clarify what they are working for.
2025-09-25 11:14:54 +02:00
Kenneth Skovhede
08e4082653
Improved license updater
2025-09-24 17:14:09 +02:00
Kenneth Skovhede
0746f01879
Updated short functions to be expressions
...
Also removed superfluous namespaces.
2025-09-24 14:52:44 +02:00
Kenneth Skovhede
e4d691f89c
Add Administrator to permitted users
...
This PR updates the set permissions on the data folder and settings database to include the system administrator on Windows.
This fixes #6520
2025-09-24 14:49:42 +02:00
Kenneth Skovhede and GitHub
5a407920ed
Merge pull request #6519 from duplicati/release/canary-2.1.1.102
...
Release/canary 2.1.1.102
2025-09-23 15:53:22 +02:00
Kenneth Skovhede
36c72ec646
Version bump to v2.1.1.102-2.1.1.102_canary_2025-09-23
...
You can download this build from:
Binaries: https://updates.duplicati.com/canary/?version=2.1.1.102
Signature file: https://updates.duplicati.com/canary/duplicati-2.1.1.102_canary_2025-09-23.signatures.zip
v2.1.1.102_canary_2025-09-23
v2.1.1.102-2.1.1.102_canary_2025-09-23
2025-09-23 15:32:25 +02:00
Kenneth Skovhede
144a57f1c1
Bump ngclient to 0.0.158
2025-09-23 13:48:25 +02:00
Kenneth Skovhede and GitHub
ce04ca9347
Merge pull request #6518 from duplicati/feature/simplify-webmodule-lookups
...
Simplify webmodule lookups
2025-09-23 13:48:04 +02:00
Kenneth Skovhede and GitHub
060d83e0d9
Merge branch 'master' into feature/simplify-webmodule-lookups
2025-09-23 13:14:44 +02:00
Kenneth Skovhede and GitHub
cd263da4d6
Merge pull request #6517 from duplicati/feature/fix-incorrect-dindex-volumes
...
Include duplicated blocks in recreated index files
2025-09-23 13:03:15 +02:00
Kenneth Skovhede and GitHub
a70e0e914f
Merge pull request #6510 from duplicati/feature/bump-cocol-183
...
Update CoCoL to 1.8.4
2025-09-23 13:03:00 +02:00
Kenneth Skovhede
d466ebd6ca
Bumped to 1.8.4
2025-09-23 11:53:09 +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 and GitHub
d5cdfb8b18
Merge pull request #6516 from duplicati/feature/support-gcs-iam
...
Google IAM support
2025-09-23 09:04:43 +02:00
Kenneth Skovhede
48a5e8cf0e
Google IAM support
...
This adds support for using a Google Service Account JSON instead of the OAuth-based AuthID.
This fixes #3835
2025-09-22 16:07:23 +02:00
Kenneth Skovhede and GitHub
dc2200c608
Merge branch 'master' into feature/bump-cocol-183
2025-09-22 15:43:20 +02:00
Kenneth Skovhede and GitHub
1adb5a3c9b
Merge pull request #6514 from duplicati/feature/suppress-warning
...
Suppres warning in tests
2025-09-22 15:43:07 +02:00
Kenneth Skovhede and GitHub
d573bfc3c6
Merge pull request #6515 from duplicati/feature/improve-debug-logged-sql
...
Improve logging of SQL statements
2025-09-22 15:42:50 +02:00
Kenneth Skovhede and GitHub
68b5775d84
Merge pull request #6513 from duplicati/feature/fix-sqlite-downgrade-query
...
Fixed wrong downgrade script
2025-09-22 15:27:42 +02:00
Kenneth Skovhede
b2c6ef73c5
Improve logging of SQL statements
...
This updates the logging code to do invariant formatting of the SQL statements
2025-09-22 14:39:46 +02:00
Kenneth Skovhede
5df20ea6de
Suppres warning in tests
2025-09-22 14:36:14 +02:00
Kenneth Skovhede
1d772127df
Fixed wrong downgrade script
2025-09-22 14:29:52 +02:00
Kenneth Skovhede and GitHub
fb7ca3c2c7
Merge pull request #6512 from duplicati/feature/strip-null-from-path
...
Strip null characters from path
2025-09-22 14:22:04 +02:00
Kenneth Skovhede
eb870e16dc
Strip null characters from path
...
Due to a bug in .NET Core, it will sometimes return a trailing null character in the paths. Since null characters are not allowed on any OS, this PR ensures that null characters are removed before returning the path string.
This fixes #6500
2025-09-22 12:09:59 +02:00
Kenneth Skovhede
293ace6940
Fixed wrong downgrade script
2025-09-21 21:39:52 +02:00
Kenneth Skovhede
0ce519650c
Update CoCoL to 1.8.3
...
This addresses part of #6497
2025-09-20 13:17:37 +02:00
Kenneth Skovhede and GitHub
53c1c8cb14
Merge pull request #6508 from duplicati/feature/support-remotely-managed-backup-configs
...
Implemented remotely managed backup configurations
2025-09-20 10:23:33 +02:00
Kenneth Skovhede and GitHub
eaaadeff55
Merge pull request #6509 from duplicati/feature/prevent-reading-contents-when-already-read
...
Updated MSGraph parsing of JSON
2025-09-20 10:23:22 +02:00