Commit Graph
2357 Commits
Author SHA1 Message Date
Kenneth Skovhede 734659f3f7 Implemented a fix for 5038 2024-10-31 13:42:07 +01:00
Kenneth SkovhedeandGitHub 61a04d34ab Merge pull request #5604 from duplicati/feature/exclude-sqlite-journal-file
Added detection of the SQLite journal file for the active database.
2024-10-31 12:05:15 +01:00
Kenneth Skovhede aae4feadb3 Updated logic for handling repair with index files that are missing block files. 2024-10-29 21:30:06 +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 372b06cfee Moved the transaction abort up so it happens before the connection is disposed.
This fixes #5585
2024-10-28 21:30:18 +01:00
Kenneth Skovhede 300752652f Added detection of the SQLite journal file for the active database.
This fixes #5603
2024-10-28 09:00:40 +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 d641b3cb68 Added support for pass-type keys 2024-10-25 08:00:53 +02:00
Kenneth Skovhede f7e473e67e Fixed signature and nullability issues 2024-10-24 16:52:09 +02:00
Kenneth Skovhede 4b84135622 Merge remote-tracking branch 'origin/master' into feature/add-secret-provider 2024-10-24 16:11:41 +02:00
Kenneth Skovhede 34d13a20e2 Initial version of the external secret provider 2024-10-24 16:06:59 +02:00
Kenneth SkovhedeandGitHub 783794505c Merge pull request #5592 from duplicati/feature/improved-remote-control-registration
Feature/improved remote control registration
2024-10-24 15:03:16 +02:00
Carl Johnsen 20aea95007 Fixed inconsistent variable naming 2024-10-21 17:50:18 +02:00
Carl Johnsen ce64b7e549 Sped up preliminary work in DoCompact.
The first optimization was to add guards around the queries in case the second collection is empty (which is was when the slow path was found).
The second optimization is to use a HashSet for the second collection, as this speeds up lookup, compared to using two List of string.
2024-10-21 14:27:18 +02:00
Kenneth Skovhede f251d34b57 Implemented support for including the machine hostname in reports for simpler identification. 2024-10-16 16:22:47 +02:00
Kenneth SkovhedeandGitHub dec473eab3 Merge pull request #5588 from marceloduplicati/feature/webdav-ignore-invalid-certificates
Solves Webdav issue with self signed certificates and accepts appropriate options
2024-10-15 11:10:25 +02:00
Kenneth SkovhedeandGitHub 366016ec2d Merge pull request #5578 from marceloduplicati/feature/unix-file-lock
Proposed change to open locked files on linux
2024-10-15 11:08:11 +02:00
Marcelo Ceccon fd591d9af2 Fix to Webdav issue around certificate validation
Fix to Webdav to process the options accept-specified-ssl-hash and accept-any-ssl-certificate

Minor refactoring
2024-10-10 10:36:47 +02:00
Kenneth Skovhede 91ea81f537 Added commandline option to toggle locks 2024-10-08 09:35:00 +02:00
Kenneth Skovhede be0e4d2ed1 Fixed an incorrect string quote 2024-10-05 17:36:42 +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 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 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 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 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 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
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 538f6a88de Add support for multi-sink logging in server 2024-08-27 15:44:41 +02:00
Kenneth Skovhede 0b76d28d1e Default to using project-relative folders to store data for debug builds (instead of system folders) 2024-08-26 17:59:47 +02:00
Kenneth Skovhede bc4e9a1c77 Made the database locator and server-database location code the same. 2024-08-23 17:53:17 +02:00
Kenneth SkovhedeandGitHub d60bbeb215 Merge pull request #5428 from luixxiul/Strings.cs
Remove conjugation from Strings.cs files
2024-08-14 21:27:25 +02:00
Suguru Hirahara 778c04e681 Fix the wrong description of DisableOnBatteryLong 2024-08-14 05:20:36 -04:00
Suguru Hirahara 0a9425b944 Remove remaining conjugation 2024-08-13 10:16:20 -04:00
Suguru Hirahara 786c1ea625 Change 'DisableStreamingLong' to clarify the description 2024-08-13 08:09:18 -04:00
Suguru Hirahara d84bbfb571 Change 'Does not' and 'Don't' 2024-08-13 08:09:12 -04:00
Suguru Hirahara ee44ca23c5 Remove conjugation - Main/Strings.cs 2024-08-13 08:08:42 -04:00