Commit Graph
62 Commits
Author SHA1 Message Date
Kenneth Skovhede 97c8c8ac80 Made the status call available when running agent mode, and hiding the buttons. 2024-11-14 22:24:10 +01:00
Kenneth Skovhede 1b07fadd88 Moved systemInfo into a service with cache so it can preload 2024-11-08 10:07:03 +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 e37f0cd741 Exposed secret providers as modules 2024-11-04 14:59:35 +01:00
Kenneth Skovhede e9a516e717 Merge branch 'feature/add-secret-provider' of github.com:duplicati/duplicati into feature/add-secret-provider 2024-11-04 13:21:35 +01:00
Kenneth Skovhede d98186e1eb Implemented secret provider on the remoteoperation and webmodules calls 2024-11-04 13:20:23 +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 SkovhedeandGitHub 7631b921b4 Merge pull request #5608 from duplicati/feature/support-ec-certificates
Feature/support ec certificates
2024-10-31 09:56:41 +01:00
Kenneth Skovhede df449f9cae Added better error reporting for the test/cerate operations 2024-10-30 15:26:25 +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 7841a6026f Implemented API endpoint to update the SSL certificate via the API 2024-10-29 12:03:10 +01:00
Kenneth Skovhede 4783050d53 Simplified logic by having an option to disable https.
Simplified checks for https by having a single property that unifies the logic.
2024-10-29 11:15:06 +01:00
Kenneth Skovhede 34d13a20e2 Initial version of the external secret provider 2024-10-24 16:06:59 +02:00
Kenneth Skovhede b2332bcb31 Ensure that we report 404 when a file is not found 2024-10-05 22:30:46 +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 6ab27cb870 Merge remote-tracking branch 'origin/master' into feature/backend-async-get 2024-10-03 13:22:36 +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 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 51a9c0f0e5 Added default Url for remote control registration 2024-09-25 10:38:14 +02:00
Kenneth Skovhede efab444d94 Bugfix sending empty registration url 2024-09-23 11:45:36 +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 669e90704d Initial work on supporting a secure remote control connection. 2024-09-18 11:07:59 +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
Kenneth Skovhede 8f8aad1153 Merge remote-tracking branch 'origin/master' into feature/support-preload-configurations 2024-08-29 11:25:50 +02:00
Kenneth Skovhede 4989b5aa84 Merge branch 'feature/support-preload-configurations' of github.com:duplicati/duplicati into feature/support-preload-configurations 2024-08-29 11:24:38 +02:00
Kenneth Skovhede f618aa830a Prevent the settings hash from being exposed as it has no value outside the settings update check. 2024-08-29 11:23:31 +02:00
Kenneth Skovhede be9464f252 Added encrypted fields to guarded input.
This prevents the API from setting the field, which would cause restarts to re-write the settings, but does not affect the encrypted/decrypted state.
2024-08-29 11:20:56 +02:00
Kenneth Skovhede 653868f553 Removed unused using directives 2024-08-28 15:10:43 +02:00
Kenneth Skovhede 735b4020eb Implemented duplicati-server-util for sending various commands to a running server.
This tool replaces `ConfigurationImporter` and partially replaces `duplicati_client`.
This fixes #5474
2024-08-26 20:00:13 +02:00
Kenneth Skovhede 8810e90af1 Clarified variables and headers, as it is not returning HTML 2024-08-26 18:00:18 +02:00
Kenneth Skovhede ae6d5112f8 Reworked encryption of fields to only affect code inside Connection.cs 2024-08-20 17:08:55 +02:00
Marcelo Ceccon 67a7df45c8 Implementation of settings field encryption
With this change, TargetURL (where credentials of storage destinations were stored in plaintext), the backups passphrases as well as JWT tokens are not stored encrypted.

The encryption key is derived from the system's motherboard serial number, or can be set manually via environment variable.
2024-08-19 13:51:14 -03:00
Kenneth Skovhede cf757c5efb Merge remote-tracking branch 'origin/master' into feature/add-option-to-disable-captcha 2024-08-14 21:32:00 +02:00
Kenneth Skovhede 9d95993c73 Add a log out button
This PR re-enables the logut button, and fixes the logout call to actually revoke the token in the database.
This fixes #5445
2024-08-14 16:59:03 +02:00
Kenneth Skovhede cfc11b904a Added DTO for emitting log data.
This fixes #5435
2024-08-13 17:16:55 +02:00
Kenneth Skovhede 9ecb3a0f17 Added option to disable visual captcha from commandline.
This fixes #5098
2024-08-13 13:50:21 +02:00
natan 92f1de07ae Bring back /serverstate endpoint. Fix unauhthorized mdodal when cookie is missing.
Small code cleanup here and there.
2024-07-15 11:07:47 +02:00
natan 27ce549e75 cleanup WebsocketAccessor.cs and StatusService.cs a bit.
Remove /serverstate endpoint
2024-07-12 17:59:21 +02:00
Kenneth Skovhede 6917030417 Treat all auth operation failures as Unauthorized - 401 2024-07-07 10:36:42 +02:00
Kenneth Skovhede 8a02dc014e Fixed issue with repair 2024-06-28 10:38:21 +02:00
Kenneth Skovhede 3f51536073 Fixed issue with fetching logs 2024-06-28 10:37:47 +02:00
Kenneth Skovhede d3a8ecacad Implemented single operation token.
Fixed export and bugreport download.
2024-06-28 08:56:00 +02:00
Kenneth Skovhede 21fe0f9cfb Fixed a few logic issues, restore flow is now working 2024-06-24 16:00:05 +02:00
Kenneth Skovhede e0d93da2f5 Removed last remaining form input 2024-06-24 15:26:07 +02:00
Kenneth Skovhede 1acda72561 Fixed not creating an empty database 2024-06-24 10:14:03 +02:00
Kenneth Skovhede d6fe8c1a7d Fixed some naming issues for parameters 2024-06-21 08:00:57 +02:00
Kenneth Skovhede 8efab7f746 Fixed an optional parameter 2024-06-21 07:52:28 +02:00