Commit Graph
486 Commits
Author SHA1 Message Date
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
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 SkovhedeandGitHub 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 SkovhedeandGitHub 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 SkovhedeandGitHub 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
Kenneth Skovhede d75900fdc6 Updated tests to run on Linux.
Added test to verify blacklisted keys cannot be used.
2024-08-30 13:35:08 +02:00
Kenneth Skovhede 733193eed6 Removed one of the FIXMEGlobal's 2024-08-30 12:55:10 +02:00
Kenneth Skovhede efd30a06bf Fixed tests by allowing test code to pass a custom key for encryption 2024-08-21 21:02:42 +02:00
Marcelo Ceccon b23a1b1995 Fix to the UnitTest of AESEncryption
Parameters were with inverse order
2024-08-19 13:52:18 -03:00
Marcelo Ceccon 89ca5fb1b5 Adding library level functionality to encrypt settings
This commit only adds the functionality to the library to encrypt settings fields in the sqlite database.

Unit Tests are included in this commit.
2024-08-19 13:50:09 -03:00
Kenneth Skovhede 611066f9cb Add support for using the faster built-in .NET zip. 2024-07-29 14:09:26 +02:00
Suguru Hirahara ae57dee0f0 Remove redundant space characters from *.cs and *.html 2024-07-26 00:10:31 -04:00
Kenneth Skovhede 1de113bd2f Merge remote-tracking branch 'origin/master' into feature/remove-httpserver 2024-07-18 11:00:52 +02:00
Grzegorz Łagocki 9b19bac7da Add Copyright Property to *.csproj files 2024-07-09 00:37:18 +02:00
Kenneth Skovhede 627c270025 Merge remote-tracking branch 'origin/master' into feature/remove-httpserver 2024-07-01 22:42:20 +02:00
Kenneth Skovhede 6ab2a63218 Extended recovery tool tests to cover more combinations 2024-06-21 15:15:01 +02:00
Kenneth Skovhede e88c30edd1 Fixed import/export test 2024-06-11 22:02:45 +02:00
Kenneth Skovhede 1920b0684d Merge remote-tracking branch 'origin/master' into feature/remove-httpserver 2024-06-11 21:22:29 +02:00
Kenneth Skovhede 0e93df8e3e Fixed tests 2024-06-11 07:47:08 +02:00
Kenneth Skovhede 270f2f9cea Some work on untangling FIXMEGlobal 2024-06-09 22:00:34 +02:00
Kenneth Skovhede ca425808c5 Merge remote-tracking branch 'origin/master' into feature/remove-httpserver 2024-06-09 21:23:59 +02:00
Kenneth Skovhede 9f79025744 Removed HttpServer.
Re-implemented everything using ASP.NET.
Changed some requests to use JSON instead of FORM data.
Some work towards deleting the FIXMEGlobal instance.
Auth is missing, XSRF does not work correctly.
2024-06-07 15:56:43 +02:00
Jojo-1000 917e2cd0c4 Remove obsolete custom platform detection. 2024-05-30 02:14:05 +02:00
Jojo-1000 930f1c8bd3 Fix most unsupported platform warnings. 2024-05-30 01:50:02 +02:00
Kenneth Skovhede 2e7b8fc468 Merge remote-tracking branch 'npodbielski/feature/http-server-modernization' into feature/remove-httpserver 2024-05-28 14:45:26 +02:00
Kenneth Skovhede c890e824ee Implemented test for reproducing issue #5196
Fixed issue by changing order options are written and verified.
Some whitespace changes due to renaming a method
2024-05-21 15:48:29 +02:00
JanandGitHub f79b1f93c4 Merge branch 'master' into fix-recoverytool-empty 2024-05-11 23:49:24 +02:00
Kenneth SkovhedeandGitHub 8a39372c73 Merge pull request #5152 from duplicati/feature/update-manifest
Implemented the new manifest format
2024-04-29 10:57:09 +02:00
Kenneth SkovhedeandGitHub b32c6a4f15 Merge pull request #5161 from duplicati/feature/reduce-dynamic-loader
Reduced dynamic scanning with static linking.
2024-04-29 10:54:09 +02:00
Kenneth Skovhede f708338b2d Added tests for 7z compression 2024-04-29 08:20:24 +02:00
Kenneth Skovhede 508cd56502 Register backend for test 2024-04-27 15:04:18 +02:00
Kenneth Skovhede 2d7e89407c Added option to register custom backends for testing 2024-04-27 14:57:41 +02:00
Kenneth Skovhede 8e25c6e2ab Reduced dynamic scanning with static linking.
Cleaned up some `proj` files.
Added caching to options.
2024-04-26 14:32:41 +02:00