Commit Graph
10149 Commits
Author SHA1 Message Date
Kenneth Skovhede 938fc16509 Updated protocol 2024-09-28 16:08: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 313dd73b11 Added test from #4094 2024-09-28 09:26:00 +02:00
Kenneth Skovhede 227b8d6dca Added feature to keep the remote control setting, and reconnect on startup.
Updated message types to fit the procotol.
2024-09-27 16:14:40 +02:00
Kenneth Skovhede 1272d44a63 Moved RemoteControl in the sln file 2024-09-27 16:11:59 +02:00
Kenneth Skovhede cdbc3619d7 Added additional key-guard to prevent access to the API when running in Agent mode 2024-09-27 11:19:10 +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 SkovhedeandGitHub 8a043c8c0d Merge pull request #5564 from duplicati/feature/remove-environment-osversion
Removed use of `Environment.OSVersion` which is now deprecated.
2024-09-26 11:28:30 +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 4f21937b42 Updated message types to fit procotol 2024-09-25 11:35:03 +02:00
Kenneth Skovhede 51a9c0f0e5 Added default Url for remote control registration 2024-09-25 10:38:14 +02:00
Kenneth Skovhede 3bafe74c0a More work on getting the protocol fixed 2024-09-23 23:18:36 +02:00
Kenneth Skovhede efab444d94 Bugfix sending empty registration url 2024-09-23 11:45:36 +02:00
Kenneth Skovhede 68c57bc64f Added certificate url for obtaining new certificates 2024-09-23 11:45:12 +02:00
Kenneth Skovhede 42fa5078e4 Fixed merging certificates when new certificates arrive 2024-09-20 16:58:05 +02:00
Kenneth Skovhede 550397cd70 Switched to using a single common certificate implementation 2024-09-20 09:42:21 +02:00
Kenneth Skovhede eae1988d0b Improved the flow so the claim will be detected even if the browser closes after the claim link is opened. 2024-09-19 14:51:39 +02:00
Kenneth Skovhede 5c0d297687 Implemented support for enabling remote control via settings 2024-09-19 14:33:17 +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 ecd22ac264 Added support for building agent packages.
Still lacking support for Windows MSI + MacOS pkg as they are currently tied to the TrayIcon being the base.
2024-09-18 15:29:52 +02:00
Kenneth Skovhede 8c0e4329f7 Fixed additional ReadOnly issues 2024-09-18 11:39:26 +02:00
Kenneth Skovhede 669e90704d Initial work on supporting a secure remote control connection. 2024-09-18 11:07:59 +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 e3579312e2 Added healt checks to server.
Added health command to server-util.
This fixes #5560
2024-09-17 14:01:08 +02:00
Kenneth SkovhedeandGitHub 5ee6ca17ba Merge pull request #5556 from duplicati/feature/add-export-to-server-util
Added command to export configurations from the server
2024-09-13 14:32:56 +02:00
Kenneth SkovhedeandGitHub d4a266ec26 Merge pull request #5557 from duplicati/feature/fix-backendtool-debugging
Added section for debugging BackendTool.
2024-09-13 14:32:44 +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
Max 1bb03a5673 upstream sync 2024-09-11 21:31:04 +02:00
Max b7488d22a9 https ssl password autogenerated 2024-09-11 21:23:15 +02:00
Kenneth Skovhede 1e6eea5758 Added command to export configurations from the server 2024-09-11 16:41:25 +02:00
Kenneth SkovhedeandGitHub c64a394121 Merge pull request #5555 from duplicati/release/canary-2.0.9.107
Version bump to v2.0.9.107-2.0.9.107_canary_2024-09-11
2024-09-11 16:10:22 +02:00
Kenneth Skovhede 9398e5b13c Version bump to v2.0.9.107-2.0.9.107_canary_2024-09-11
You can download this build from:

Binaries: https://updates.duplicati.com/canary/

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.9.107_canary_2024-09-11.signatures.zip
v2.0.9.107-2.0.9.107_canary_2024-09-11
2024-09-11 16:07:33 +02:00
Kenneth SkovhedeandGitHub 2827be6bb8 Merge pull request #5552 from duplicati/feature/auto-repair-locked-db-fix-v2
Auto-repair fix, different solution
v2.0.9.107_canary_2024-09-11
2024-09-11 15:14:39 +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 9729b1442b Made the pre-backup verify method static to reduce possible side-effects 2024-09-10 12:11:05 +02:00
Kenneth SkovhedeandGitHub ae9d8ef2a3 Merge pull request #5551 from duplicati/feature/fix-usn-deprecation-issues
Fixed two deprecation issues in USNJournal
2024-09-10 11:39:19 +02:00
Kenneth Skovhede 757dbcade2 Implemented different take on PreBackupVerify 2024-09-10 11:38:38 +02:00
Kenneth Skovhede 238f4beb93 Test for locked database during auto-repair 2024-09-10 10:14:22 +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 3e2de88648 Added test to cover recreating database and index files with corrupted index data 2024-09-09 17:17:24 +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 SkovhedeandGitHub 721c4abe74 Merge pull request #5544 from duplicati/feature/improve-trayicon-startup
Minor tweaks to the logic around starting the hosted instance from the TrayIcon
2024-09-09 13:15:29 +02:00
Kenneth SkovhedeandGitHub c7abea83aa Merge pull request #5548 from duplicati/feature/fix-swagger-casing
Improve Swagger setup
2024-09-09 13:13:11 +02:00
Kenneth Skovhede cc044673b5 Improve Swagger setup
Re-added controllers to be able to control swagger casing on JSON.
Changed to a single debug variable to reduce use of  `#if DEBUG`
2024-09-09 12:50:18 +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