Commit Graph
9823 Commits
Author SHA1 Message Date
Kenneth Skovhede 23d74d4e18 Minor tweaks to the logic around starting the hosted instance from the TrayIcon 2024-09-07 08:25:16 +02:00
Kenneth SkovhedeandGitHub 31ad1c1284 Merge pull request #5540 from marceloduplicati/feature/migrationtohttpclient
Replacing deprecated WebClient for HttpClient
2024-09-06 17:59:20 +02:00
Marcelo Ceccon 2423289494 Merge branch 'feature/migrationtohttpclient' of https://github.com/marceloduplicati/duplicati into feature/migrationtohttpclient 2024-09-06 17:02:12 +02:00
Marcelo Ceccon 331960a3c5 Timeout corrections for Updatemanager & Report Uploader 2024-09-06 17:02:04 +02:00
Kenneth SkovhedeandGitHub 864b6bf66e Merge branch 'master' into feature/migrationtohttpclient 2024-09-06 13:32:30 +02:00
Kenneth SkovhedeandGitHub ccbc7da587 Merge pull request #5541 from duplicati/feature/fix-swagger-output
Fix Swagger exposed API.
2024-09-06 11:49:32 +02:00
Kenneth Skovhede 7e77217171 Fix Swagger exposed API.
Changed order or Json serializers to fix the parsing issue for enums.
Removed support code for controllers as we are only using minimal API.
2024-09-06 10:50:06 +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 494e291fe8 Merge pull request #5538 from duplicati/feature/yet-another-msi-fix 2024-09-05 16:57:04 +02:00
Kenneth Skovhede a72da626c5 Fixed MSI install problems by removing existing product before installing new version.
This fixes #5233
2024-09-05 15:04:14 +02:00
Kenneth SkovhedeandGitHub 41479b633c Merge pull request #5536 from duplicati/feature/support-serverutil-insecure-tls
Added support for connecting to a server with a self-signed certificate.
2024-09-04 23:03:42 +02:00
Kenneth SkovhedeandGitHub 6bf520ee23 Merge pull request #5535 from duplicati/feature/replace-armv7-binaries
Updated build process to replace ARMv7 binaries
2024-09-04 23:03:27 +02:00
Kenneth Skovhede 1b3bd236e0 Updated build process to replace ARMv7 binaries to onces compatible with GLIBC from Debian Buster.
This fixes #5533
2024-09-04 20:47:26 +02:00
Kenneth Skovhede 542a4d6e7c Added support for connecting to a server with a self-signed certificate.
This fixes #5534
2024-09-04 20:33:59 +02:00
Kenneth SkovhedeandGitHub 3a926f7dd3 Merge pull request #5531 from duplicati/feature/fix-not-finding-named-backup
Improvements to ServerUtil
2024-09-04 11:48:09 +02:00
Kenneth SkovhedeandGitHub 62896f41fb Merge pull request #5532 from duplicati/feature/localize-backup-processingfiles
Added missing transltion for `Backup_ProcessingFiles`
2024-09-04 11:47:55 +02:00
Kenneth Skovhede 43c18dfe69 Added missing transltion for Backup_ProcessingFiles 2024-09-04 09:43:13 +02:00
Kenneth Skovhede e3a8f34a67 Fixed issue with not finding backup by name.
Improved error message if it can be extracted from the server response.
2024-09-03 22:02:51 +02:00
Kenneth SkovhedeandGitHub 5cd7964d1e Merge pull request #5528 from duplicati/release/canary-2.0.9.106
Version bump to v2.0.9.106-2.0.9.106_canary_2024-09-03
2024-09-03 16:09:24 +02:00
Kenneth Skovhede 238caaf4f3 Version bump to v2.0.9.106-2.0.9.106_canary_2024-09-03
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.0.9.106_canary_2024-09-03.signatures.zip
v2.0.9.106-2.0.9.106_canary_2024-09-03
2024-09-03 15:55:23 +02:00
Kenneth SkovhedeandGitHub 1c291246e5 Merge pull request #5526 from duplicati/feature/log-failure-to-read-database
Added a check that logs finding no database is the user has supplied …
v2.0.9.106_canary_2024-09-03
2024-09-03 15:04:25 +02:00
Kenneth Skovhede 5ac0abb60b Added a check that logs finding no database is the user has supplied a database folder 2024-09-03 14:58:16 +02:00
Kenneth SkovhedeandGitHub 7ddaec499f Merge pull request #5525 from duplicati/feature/fix-msi-upgrade
Setting the version number on files inside the MSI
2024-09-03 14:36:39 +02:00
Kenneth SkovhedeandGitHub c9783fb6b4 Merge pull request #5524 from duplicati/feature/report-unauthorized-as-401
Handling an `UnauthorizedAccessException` as 401
2024-09-03 14:36:25 +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 03d3f82b8e Re-enabled the FORSERVICE conditions after a patch to wixl. 2024-09-03 13:52:04 +02:00
Kenneth Skovhede 09176dc3d1 Change strategy for upgrades with MSI, now always treating as major upgrades as we have no patches for now. 2024-09-03 13:51:18 +02:00
Kenneth Skovhede 8afeadf55b Setting the version number on files inside the MSI prevents broken upgrades.
This fixes #5233
2024-09-03 13:49:25 +02:00
Kenneth Skovhede aee07c54e6 Change to using the custom webexception for unauthorized to avoid reporting on system exceptions 2024-09-03 09:26:39 +02:00
Kenneth Skovhede 8b91b7d09e Handling an UnauthorizedAccessException as 401 2024-09-03 09:17:26 +02:00
Kenneth SkovhedeandGitHub fb4e8bfa4c Merge pull request #5521 from duplicati/feature/allow-jwt-token-drift
Added support for drifts in JWT refresh tokens.
2024-09-02 13:00:50 +02:00
Kenneth SkovhedeandGitHub 1663a28078 Merge pull request #5522 from duplicati/feature/fix-commandline-help-on-windows
Add missing parenthesis that causes empty help output on Windows.
2024-09-02 13:00:34 +02:00
Kenneth Skovhede f962bfc89b Added constraint on the issue timestamp to limit the window where
token drift is considered acceptable
2024-09-02 11:40:26 +02:00
Kenneth Skovhede 025dc5aa1e Fixed tests 2024-09-01 10:48:47 +02:00
Kenneth Skovhede e1c42aac5b Add missing parenthesis that causes empty help output on Windows. 2024-08-31 11:36:32 +02:00
Kenneth Skovhede bc9ed71ff8 Added support for drifts in JWT refresh tokens. This can happen if the user refreshes the browser during the login. 2024-08-31 11:22:10 +02:00
Kenneth Skovhede a6a1602a5f Fixed Dockerfile 2024-08-31 11:04:03 +02:00
Kenneth SkovhedeandGitHub 47e8e9847e Merge pull request #5517 from luixxiul/RestAPI/Strings.cs
Update strings on Modules/Builtin/Strings.cs and RestAPI/Strings.cs
2024-08-31 11:02:49 +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 037796e42c Merge pull request #5513 from duplicati/feature/isolate-datafolder-lookup
Simplify datafolder lookup
2024-08-30 15:44:15 +02:00
Kenneth SkovhedeandGitHub 6fcf288d49 Merge pull request #5516 from duplicati/feature/update-translations-20240830
Pulled translations from Transifex
2024-08-30 15:44:01 +02:00
Kenneth Skovhede 4052076ab1 Pulled translations from Transifex 2024-08-30 15:43:33 +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 SkovhedeandGitHub ee6d8dda01 Merge pull request #5512 from duplicati/feature/fix-some-static-stuff
Removed one of the FIXMEGlobal's
2024-08-30 14:52:33 +02:00
Kenneth SkovhedeandGitHub f514ea662a Merge pull request #5514 from duplicati/feature/add-localization-readme
Added README files to explain the localization process
2024-08-30 14:51:47 +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 d0b0d6ab9f Added README files to explain the localization process 2024-08-30 13:26:36 +02:00