Commit Graph
739 Commits
Author SHA1 Message Date
Kenneth Skovhede 249bb96af8 Added click event handler to tray-icon.
(Does not work on OSX).
2024-11-22 17:07:56 +01:00
Kenneth Skovhede be0ac25eef Bumped Avalonia to match latest Tmds package 2024-11-08 10:47:55 +01:00
Kenneth Skovhede 7475a68419 This adds a few safeguards to the exit.
Related to #5643
2024-11-07 14:01:35 +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 d9953852ad Fixed compile errors on Windows 2024-10-30 10:51:32 +01:00
Kenneth Skovhede ff25d91663 Simplified code a bit.
Added support for multiple cert-hashes.
Made `server-util` auto-detect hashes as well.
2024-10-29 14:38:23 +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 b9f2d16df6 Fixed incorrect reference 2024-10-29 12:24:49 +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 f77338a829 Fixed a stray namespace 2024-10-03 16:33:46 +02:00
Marcelo Ceccon 7b958a0878 Fixes to the multiple instance detection system
Exception was bundled in the innerexception and thus the catch statement was not functioning as expected.

Additionally adding ? operator to the  ApplicationExitEvent ServerStartedEvent events.
2024-10-03 10:05:15 +02:00
Max 1bb03a5673 upstream sync 2024-09-11 21:31:04 +02:00
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 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 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 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 3e3985b164 Added detection for invalid setup.
Added help message if an invalid detached configuration is provided.
This fixes #5468
2024-08-20 12:17:04 +02:00
Kenneth Skovhede b12c4d4945 Allow specifying port only for tray-icon 2024-08-20 12:15:46 +02:00
Kenneth Skovhede 5b0e22843c Fix detached tray-icon
This fixes a logic issue that prevents a detached tray-icon from obtaining a connection to a non-hosted server.
2024-08-20 12:15:18 +02:00
Kenneth Skovhede addb24a8ed When the server crashes, retain the original stack trace. 2024-08-14 16:09:29 +02:00
Kenneth Skovhede f7a804aec7 Removed unused files and methods 2024-08-13 22:37:36 +02:00
Kenneth Skovhede e980d7daee This adds back the missing ProposedSchedule to the server state.
This handles the missing information part in #5436
2024-08-13 22:24:15 +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 dfbcff5d47 Fixed error messages for requests with no response 2024-07-18 21:29:36 +02: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 c9f8e5786c Minor fixes 2024-06-20 22:22:49 +02:00
Kenneth Skovhede a47af06bb7 Added throttle for request retries on failures 2024-06-20 14:22:49 +02:00
Kenneth Skovhede edc0fb5e4b Fixed re-login for tray-icon 2024-06-20 06:57:46 +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 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
Jojo-1000 930f1c8bd3 Fix most unsupported platform warnings. 2024-05-30 01:50:02 +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
Kenneth Skovhede 5417099e04 Fixed process name not being set on MacOS 2024-05-22 11:10:43 +02:00
Kenneth Skovhede 9d43685352 Implemented Avalonia debug logger without trace facility 2024-05-21 12:23:02 +02:00
Kenneth Skovhede 279a0d3ee1 Updated with an init handler that delays all actions posted during init until after the tray icon has initialized 2024-05-15 17:34:49 +02:00
Kenneth Skovhede a76e692183 Removed trace logs from Avaloni by default.
Addded option to get logs from Avalonia via env variables `DEBUG_AVALONIA=1` or `DEBUG_AVALONIA=2`
Added 1s delay for initializing UI to counter sporadic crashes on startup.
2024-05-07 18:00:45 +02:00
Kenneth Skovhede 43e62f2479 Fixed incorrect and missing image resources 2024-05-04 07:20:31 +02:00
Kenneth Skovhede c7bde590dc Reworked tray icons.
Added support for light/dark theme.
Updated Avalonia.
Fixed issue with event firing before load.
Changed icons to specific app operating system icons.
New icons for MacOS.
This fixes #5148
2024-04-30 10:28:01 +02:00
Kenneth SkovhedeandGitHub b87ef92e37 Merge pull request #5160 from duplicati/feature/update-ssl-default-to-system-default
Updated TLS version to `None` or `SystemDefault`
2024-04-29 10:54:23 +02:00
Kenneth Skovhede 8e25c6e2ab Reduced dynamic scanning with static linking.
Cleaned up some `proj` files.
Added caching to options.
2024-04-26 14:32:41 +02:00
Kenneth Skovhede dfb6ee0f29 Updated TLS version to None or SystemDefault to use the OS "best match" versions. 2024-04-24 21:17:38 +02:00
natan 70741dc99c Merge branch 'refs/heads/master' into feature/http-server-modernization 2024-04-24 15:45:23 +02:00
Kenneth Skovhede 787b2bf04f Removed code for supporting .NET < 4.8 2024-04-24 11:21:03 +02:00
natan f9f6dfee6b Merge branch 'refs/heads/feature/kestrel-avalonia-upgrade' into feature/http-server-modernization
# Conflicts:
#	Duplicati.Library.RestAPI/UpdatePollThread.cs
#	Duplicati/Server/Program.cs
#	Duplicati/Server/webroot/ngax/scripts/services/ServerStatus.js
#	Duplicati/WebserverCore/DuplicatiWebserver.cs
2024-04-22 09:35:53 +02:00
natan 5d53eddb32 WIP 2024-03-26 18:32:56 +01:00