Commit Graph
618 Commits
Author SHA1 Message Date
Marcelo Ceccon 4beafc0cc7 Added pCloud Integration
Added pCloud backend with custom interface for editing destination.
2024-11-18 13:07:01 +01:00
Kenneth SkovhedeandGitHub c96d2e0b7c Merge pull request #5655 from marceloduplicati/feature/warnings-cleanup-lowimpactwarnings
Further progress on removal of build warnings.
2024-11-08 10:54:57 +01:00
Kenneth Skovhede 2c63c0d9e8 Fixed loading slowness, caused by AmazonSecretManagerConfig performing network queries on property access. 2024-11-08 10:05:55 +01:00
Marcelo Ceccon d4d9c47824 Further progress on removal of build warnings.
None of these changes have impact on code execution, they are mainly part of the effort to remove all build warnings.

The removal of Thread.ResetAbort leaves a TODO for us to integrate CancelationToken when it gets propagated down here on future changes.
2024-11-07 18:02:15 +01:00
Kenneth Skovhede 8250a5befa Refactored SecretProviderHelper to replace in Uri instances instead of raw string.
This fixes some issues with URL encoding/decoding.
Due to the legacy class `Duplicati.Library.Utility.Uri` there are two replacements done.
2024-11-04 15:57:56 +01:00
Kenneth Skovhede c99e819d70 Merge remote-tracking branch 'origin/master' into feature/add-secret-provider 2024-11-01 08:49:52 +01:00
Kenneth Skovhede aca02f0801 Fixed upgrade path with insecure passwords 2024-10-30 10:39:48 +01:00
Kenneth Skovhede d8a98049eb Added safeguard to avoid leaking the server key 2024-10-29 14:01:07 +01:00
Kenneth Skovhede 56816abed8 Reverted to not storing the certificate as a file, since the x509Certificate loader was the broken part, not Kestrel. 2024-10-29 13:55:12 +01:00
Kenneth Skovhede e914794b30 Simplified running TrayIcon with self-signed certificate.
Added workaround method to avoid loading certificate directly as that crashes .NET with EC-based keys.
2024-10-29 13:28:44 +01:00
Kenneth Skovhede e690364a47 Added licenses 2024-10-28 08:08:29 +01:00
Kenneth Skovhede 34d13a20e2 Initial version of the external secret provider 2024-10-24 16:06:59 +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 454b1bb93b Merge remote-tracking branch 'origin/master' into feature/backend-async-get 2024-10-04 09:11:50 +02:00
Kenneth Skovhede ef0ca64d52 Merge remote-tracking branch 'origin/master' into feature/remote-control-support 2024-10-03 14:49:07 +02:00
Kenneth Skovhede 0252ebc985 Added TODO to AsyncHttpRequest 2024-10-03 14:14:16 +02:00
Kenneth Skovhede 77c64becc8 Changed wrong classname 2024-10-03 14:13:44 +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 d46188427f Merge remote-tracking branch 'origin/master' into feature/remote-control-support 2024-10-02 14:53:00 +02:00
Kenneth Skovhede ecf2e8b551 Implemented DeleteAsync on all backends 2024-09-29 23:04:54 +02:00
Kenneth Skovhede e3e3d1305f Implemented async version of Get for all backends. 2024-09-29 22:00:57 +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 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 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
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 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 Skovhede 0d4c47dfbf Added detection of invalid device Ids 2024-08-30 12:42:41 +02:00
Marcelo Ceccon a9ecff7b60 Removing unused reference to Win32.Registry of DeviceId
https://github.com/duplicati/duplicati/pull/5466#discussion_r1721727267
2024-08-19 13:53:35 -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
Suguru Hirahara 8e85c10754 Set arguments for strings 2024-07-29 11:30:43 -04:00
Kenneth SkovhedeandGitHub ffc8159a52 Merge pull request #5334 from luixxiul/eg
Fix minor details related to "e.g." and "API"
2024-07-29 07:47:59 +02:00
Suguru Hirahara 1a2de59a56 Remove MonoHelpSSL as well 2024-07-28 23:43:20 -04:00
Suguru Hirahara 556f1ee958 Change eg. to e.g. 2024-07-27 22:51:10 -04: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 4294ee3611 Removed last traces of the custom operating system detection 2024-06-11 21:30:33 +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 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
Kenneth Skovhede 7dab2f5935 Removed bundled GPG binaries for Windows.
Improved search logic for finding GPG executable on all operating systems.
This also removes the `win-tools` folder.
2024-06-04 15:21:22 +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
Jojo-1000 1dc1fd83af Add SupportedOSPlatform attribute and target windows where appropriate. 2024-05-30 01:22:16 +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
Jojo-1000 796be8ce29 Merge branch 'master' into improve-source-file-picker 2024-05-11 23:53:57 +02:00
SimonNyvall 7ee8514f7e Add SupportedOSPlatform attribute to Windows-specific classes 2024-05-04 00:31:52 +02:00
Kenneth Skovhede b5f1177bf8 Added typ to the header to align more with JWT 2024-04-24 11:32:40 +02:00