Commit Graph
190 Commits
Author SHA1 Message Date
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
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
Kenneth Skovhede 0848bf7cc0 Added logic to search for Duplicati-server.sqlite in the ~/.config/Duplicati folder where it was located before the .NET8 update.
This fixes #5223
2024-07-31 11:13:35 +02:00
Kenneth Skovhede b7cac4cd51 Removed mixing url with hostnames 2024-07-18 10:34:13 +02:00
natan 18ff96c5fe Merge remote-tracking branch 'origin/feature/remove-httpserver' into feature/remove-httpserver 2024-07-09 13:24:13 +02:00
Kenneth Skovhede 44a45fcd04 Only generate signin token if password is autogenerated 2024-07-07 10:36:11 +02:00
natan f7656f464e fix websocket connection 2024-07-03 22:26:03 +02:00
Kenneth Skovhede c9f8e5786c Minor fixes 2024-06-20 22:22:49 +02:00
Kenneth Skovhede 4392d84da4 Improved startup error detection 2024-06-20 14:27:09 +02:00
Kenneth Skovhede cddf0917e3 Fixed build 2024-06-19 22:37:54 +02:00
Kenneth Skovhede 3f29642f6c Implemented JWT tokens.
Added auth requirement on all endpoints.
Added SignIn-, Access- and Refresh-Tokens based on JWT.
Upgraded stored password to be based on PBKDF2.
Added default password assignment.
Updated logic to support auth-header and re-sign-in for tray-icon and web-ui.
2024-06-19 13:54:10 +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 773f3acfb3 More untangle for FIXMEGlobal 2024-06-09 22:12:03 +02:00
Kenneth Skovhede 270f2f9cea Some work on untangling FIXMEGlobal 2024-06-09 22:00:34 +02:00
Kenneth Skovhede ca425808c5 Merge remote-tracking branch 'origin/master' into feature/remove-httpserver 2024-06-09 21:23:59 +02:00