Commit Graph
204 Commits
Author SHA1 Message Date
Kenneth Skovhede 7e479788d7 Added the missing crashlog feature.
The crashlog feature was lost during the removal of the auto-updater.
This commit adds it back, in a slightly different way.
2024-11-21 20:23:42 +01:00
Kenneth Skovhede 1d1785fa38 Re-added the port option to the help output. 2024-11-07 15:52:08 +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 7f79a2e515 Minor renaming 2024-10-29 14:03:59 +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 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 f9154137a3 Merge remote-tracking branch 'origin/master' into feature/ex-certificates 2024-10-29 09:24:53 +01:00
Kenneth Skovhede 34d13a20e2 Initial version of the external secret provider 2024-10-24 16:06:59 +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 99a2095e41 Adding new theme to client.
Added support for loading NPM package in dev mode.
Added support for SPA style redirects.
2024-10-02 22:14:37 +02:00
Kenneth Skovhede 669e90704d Initial work on supporting a secure remote control connection. 2024-09-18 11:07:59 +02:00
Max 1bb03a5673 upstream sync 2024-09-11 21:31:04 +02:00
Kenneth Skovhede 6f7f29965d Improved logging output control.
This fixes #5539
2024-09-09 11:25:39 +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 e1c42aac5b Add missing parenthesis that causes empty help output on Windows. 2024-08-31 11:36:32 +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 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 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 Skovhede 595ac3c7ee Refactored the code to use the same method for detecting an existing server database.
This prevents creating empty databases when probing for one.
2024-08-30 13:08:37 +02:00
Kenneth Skovhede 78627103df Moved the code that locates a datafolder into a method so it can potentially be called from elsewhere 2024-08-30 12:59:49 +02:00
Kenneth Skovhede 733193eed6 Removed one of the FIXMEGlobal's 2024-08-30 12:55:10 +02:00
Kenneth Skovhede f3ec0b8d00 Implemented support for getting out of having a blacklisted key 2024-08-30 12:45:39 +02:00
Kenneth SkovhedeandGitHub 3d8ebef6da Merge pull request #5492 from duplicati/feature/support-preload-configurations
Support preload configurations
2024-08-29 16:16:53 +02:00
Kenneth SkovhedeandGitHub a55ae7aff1 Merge branch 'master' into feature/support-preload-configurations 2024-08-29 10:36:51 +02:00
Kenneth Skovhede 5af5b4d553 Added option to prevent starting with the machine serial.
This could be part of the solution to #5496
2024-08-28 22:25:23 +02:00
Kenneth Skovhede 237102003c Removed some #if DEBUG directives in favor of a boolean.
Using the flag instead ensures both DEBUG and RELEASE versions of the code is compiled.
JIT optimizations will remove the unused code during compilation just the same.
2024-08-28 12:52:33 +02:00
Kenneth Skovhede 3548475360 Implemented preload support.
This commit adds the option to provide preload/preset options that change the default values for Duplicati's commandline or environment variables.
This fixes #5480
2024-08-28 00:18:55 +02:00
Kenneth Skovhede feb77b3959 Merged the server stop signal changes 2024-08-27 18:22:53 +02:00
Kenneth Skovhede ab62db0099 Merge remote-tracking branch 'origin/feature/fix-ctrl-c-stop' into feature/windows-service-improvements 2024-08-27 18:18:46 +02:00
Kenneth Skovhede 29f96afc08 Added support for logging to Windows EventLog 2024-08-27 16:24:33 +02:00
Kenneth Skovhede 6a9d37ad9e Fixed responding to stop signals.
This fixes #5478
2024-08-27 11:33:52 +02:00
Kenneth SkovhedeandGitHub 9d6232e1dd Merge pull request #5472 from marceloduplicati/feature/settingsencryption5420
Feature/settingsencryption5420
2024-08-26 14:15:35 +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 5bbc66665d Merge pull request #5471 from duplicati/feature/custom-hostname-validation
Add custom hostname validation
2024-08-21 08:40:33 +02:00
Kenneth Skovhede b114380547 Improved error handling on crashes to avoid obscuring the actual error message 2024-08-20 21:11:59 +02:00
Kenneth Skovhede ff196eb284 Implemented support for enabling/disabling encryption 2024-08-20 17:10:34 +02:00
Kenneth Skovhede d0b35dbeee Fixed a case where an exception stack trace was lost 2024-08-20 12:16:11 +02:00
Kenneth Skovhede 2b55b3449d Add custom hostname validation
This adds a manually implemented hostname check that is applied as an endpoint filter.
With the implemented filter, the validation rules are similar to those before Kestrel was introduced.
This fixes #5469
2024-08-19 14:07:48 +02:00
Kenneth Skovhede 6ff4faf6f3 Merge remote-tracking branch 'origin/master' into feature/consistent-env-arg-names 2024-08-15 13:28:54 +02: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 06bdee0080 Added support for environment variables
This adds support for supplying the commandline settings via environment variables.
Rolled back the previous fix to support only a few variables.
Cleaned some types to use more consistent types.
This fixes #5453
2024-08-14 21:20:49 +02:00
Kenneth SkovhedeandGitHub 75203d012d Merge pull request #5433 from duplicati/feature/allow-multi-instance-debug-builds
Using separate names for server and trayicon log files in debug mode.
2024-08-13 17:43:04 +02:00
Kenneth Skovhede c6e012f4d9 Using separate names for server and trayicon log files in debug mode.
This is related to #5399
2024-08-13 16:43:53 +02:00
Kenneth Skovhede 762f4b046a Applied renaming to use allowed environment variable names for options that can be supplied via environment variables. 2024-08-13 16:41:32 +02:00
Kenneth Skovhede 5c8af042e9 Merge remote-tracking branch 'origin/master' into feature/add-option-to-disable-captcha 2024-08-13 13:56:26 +02:00
Kenneth Skovhede 9ecb3a0f17 Added option to disable visual captcha from commandline.
This fixes #5098
2024-08-13 13:50:21 +02:00
Kenneth Skovhede 14c8005ff7 Changed the database locator code to also build in debug mode.
Moved the single debug build flag into a variable.
2024-08-13 12:36:18 +02:00
Max 9d3286e240 rework certificates to support EC keys and preparation for GUI options 2024-08-06 21:37:35 +02:00
Kenneth Skovhede 7990259d58 Added alternate name to allow both webservice-allowedhostnames and webservice-allowed-hostnames.
Enabled both the hostnames and password to be supplied via environment variables as well.
2024-08-04 16:31:16 +02:00