Commit Graph
4364 Commits
Author SHA1 Message Date
Kenneth Skovhede 77c64becc8 Changed wrong classname 2024-10-03 14:13:44 +02:00
Kenneth Skovhede 9939926a99 Fixed S3 backend throwing the FileMissingException 2024-10-03 14:13:29 +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 8bdb85e261 Implemented RenameAsync on all backends supporting rename 2024-09-29 23:21:50 +02:00
Kenneth Skovhede ecf2e8b551 Implemented DeleteAsync on all backends 2024-09-29 23:04:54 +02:00
Kenneth Skovhede e323c646f5 Fixed botched line 2024-09-29 22:05:49 +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 b280432476 Changed logic to use HashCalculatingStream instead of CryptoStream, which should fix #4094.
Removed VolumeHashFactory as it dit not support using another hashing algorithm for volumes.
2024-09-28 11:13:06 +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 627bccbb94 Removed piped download as it was slower than not piping.
It can be re-added later if a better way is found.
2024-09-26 08:43:01 +02:00
Kenneth Skovhede f49359eaf3 Removed use of Environment.OSVersion which is now deprecated.
Fallback to getting Windows version with `cmd /v ver`, which should be supported way back to DOS v6.
2024-09-18 16:02:01 +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 692836cf97 Added section for debugging BackendTool.
Fixed an issue with loading an HTTP client outside the webserver.
2024-09-13 14:32:06 +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 9729b1442b Made the pre-backup verify method static to reduce possible side-effects 2024-09-10 12:11:05 +02:00
Kenneth Skovhede 757dbcade2 Implemented different take on PreBackupVerify 2024-09-10 11:38:38 +02:00
Kenneth Skovhede 092e28811b Fixed two deprecation issues in USNJournal 2024-09-10 08:57:38 +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 7d43687090 Reverted to materializing the blocklist as we cannot check the hash before, and we need to throw the exception before we insert any entries. 2024-09-09 17:13:59 +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
Marcelo Ceccon 331960a3c5 Timeout corrections for Updatemanager & Report Uploader 2024-09-06 17:02:04 +02:00
Marcelo Ceccon c7c46aed7d Replacing deprecated WebClient for HttpClient
This is a proposal for replacing the deprecated WebClient with the HttpClient.

This commit implements the core functionality following the HttpClientFactory pattern as suggested by the framework. It also supports an alternative approach in areas where the HttpClient pattern is not desirable.

The first backend component to be migrated is WebDav, and the HttpClient pattern is also applied to the update downloader.

Once merged, other backend components can be migrated, eventually removing the deprecated WebClient from the codebase.

Additionally, the debug-profind-file option from webdav, which was a remnant from early development, is removed as it is no longer useful for debugging different webdav server responses.
2024-09-06 10:46:46 +02:00
Kenneth SkovhedeandGitHub 05f0a4cefa Merge pull request #5520 from duplicati/feature/remove-deviceid-encryption-key-source
Removed the use of DeviceId due to lack of sufficient key material.
2024-09-03 13:55:26 +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
Suguru Hirahara 6a703689a2 Replace 'channel id' with 'channel ID'
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-30 13:14:20 -04:00
Suguru Hirahara d8cb7ddf5e Add periods to the long ones
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-30 13:14:03 -04:00
Suguru Hirahara ace80d3408 Sort short strings after long ones
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
2024-08-30 13:13:45 -04: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 733193eed6 Removed one of the FIXMEGlobal's 2024-08-30 12:55:10 +02:00
Kenneth Skovhede f3ec0b8d00 Implemented support for getting out of having a blacklisted key 2024-08-30 12:45:39 +02:00
Kenneth Skovhede 7d5ed6deb7 Added support for blacklisting keys.
Blacklisted keys can only be used for decryption.
2024-08-30 12:43:21 +02:00
Kenneth Skovhede 0d4c47dfbf Added detection of invalid device Ids 2024-08-30 12:42:41 +02:00
Kenneth SkovhedeandGitHub 3d8ebef6da Merge pull request #5492 from duplicati/feature/support-preload-configurations
Support preload configurations
2024-08-29 16:16:53 +02:00
Kenneth Skovhede 1e8bffbb67 Fixed an issue where the option value would be parsed case-sensitive.
This fixes #5500
2024-08-29 14:35:03 +02:00
Kenneth SkovhedeandGitHub a55ae7aff1 Merge branch 'master' into feature/support-preload-configurations 2024-08-29 10:36:51 +02:00
Kenneth Skovhede 5af5b4d553 Added option to prevent starting with the machine serial.
This could be part of the solution to #5496
2024-08-28 22:25:23 +02:00
Kenneth Skovhede dd3d734063 Fixed %HOME% to use UserProfile 2024-08-28 17:06:57 +02:00
Kenneth SkovhedeandGitHub c3795210b8 Merge pull request #5490 from duplicati/feature/windows-service-improvements
Feature/windows service improvements
2024-08-28 11:47:27 +02:00
Kenneth Skovhede 71053c6b94 Improved debugging support for preload 2024-08-28 09:45:37 +02:00
Kenneth Skovhede 3548475360 Implemented preload support.
This commit adds the option to provide preload/preset options that change the default values for Duplicati's commandline or environment variables.
This fixes #5480
2024-08-28 00:18:55 +02:00
Kenneth Skovhede 4f332ea075 Added the missing duplicati-service binary 2024-08-28 00:15:53 +02:00
Kenneth SkovhedeandGitHub 2674fd0b19 Merge pull request #5483 from duplicati/feature/add-server-util
Add server comandline utility
2024-08-27 18:26:14 +02:00
Kenneth Skovhede feb77b3959 Merged the server stop signal changes 2024-08-27 18:22:53 +02:00