Commit Graph
761 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub 88f91b5b9e Removed extra sln file 2025-02-18 22:33:47 +01:00
Alex-Heard 64dc7d094f Prevents double clicks from opening two windows by ignoring click events that happen within 1 second of last click 2025-02-17 22:11:41 -05:00
Kenneth Skovhede 68d11a2a8b Improved support for disabled signin tokens and trayicon with a hosted server 2025-02-10 10:22:16 +01:00
Kenneth Skovhede 42044543ff Added support for disabled signin tokens and trayicon 2025-02-09 11:35:27 +01:00
Kenneth Skovhede d9258bfad2 Removed desktop notifications, it did not work 2025-02-09 09:48:04 +01:00
Kenneth Skovhede 4be739ff2f Updated logic for reconnect.
This fixes a case where using a wrong password could cause an infinite loop.
2025-02-08 17:31:49 +01:00
Kenneth Skovhede 5c4a0594a5 Improved TrayIcon detached.
Implemented support for disconneted state with TrayIcon.
Added some notification support (Windows and Linux).
Changed some logic to prevent hangs on clicks.
2025-02-08 17:30:27 +01:00
Kenneth SkovhedeandGitHub 28e3fa1063 Merge pull request #5914 from duplicati/feature/prevent-windows-subfolder-storage
Improve data folder assignment
2025-01-31 14:52:45 +01:00
marceloduplicatiandGitHub 03b7fac65c Merge pull request #5889 from marceloduplicati/feature/unified-help-arguments
Help Command unification
2025-01-30 10:23:10 -03:00
Kenneth Skovhede fac12ba772 Further consolidated the data folder.
Added support for `--portable-mode` and `--server-datafolder` for the CLI, ServerUtil, and Agent.

Fixed a few places where file reads were not cached properly.

Moved some responsibilities of UpdaterManager into DataFolderManager.

This now supports storing `machineid.txt` and `installation.txt` inside the path pointed to by `--server-datafolder` or alternatively with `--portable-mode`.

It is possible that some fringe backwards compatibility is lost with this update.

Fixed an issue with AutoUpdater crashing on check/download.

This fixes #5902
2025-01-28 13:01:35 +01:00
Kenneth SkovhedeandGitHub 997891525a Updated license-updater to update csproj files (#5898)
* Updated license-updater to update csproj files

* License updates
2025-01-22 21:04:19 +01:00
Marcelo C. cee1b8428d Centralizing the check on Helper function. 2025-01-21 12:45:53 -03:00
Marcelo C. 2e502ea7be Help Command unification
All CLI tools and executables now accept a unified set of help command variants:

"help", "/help","--help", "usage", "/usage", "--usage", "/h", "-h"

Affected executables:

Duplicati.Agent
Duplicati.CommandLine
Duplicati.CommandLine.AutoUpdater
Duplicati.CommandLine.BackendTester
Duplicati.CommandLine.BackendTool
Duplicati.CommandLine.ConfigurationImporter
Duplicati.CommandLine.SecretTool
Duplicati.CommandLine.Snapshots
Duplicati.GUI.TrayIcon
Duplicati.Server
Duplicati.Service
Duplicati.WindowsService

Note that SharpAesCrypt command is not included in this because the parameter parsing is part of the SharpAesCrypt code base.
2025-01-17 14:00:14 -03:00
Kenneth SkovhedeandGitHub a49af70af0 Checking if the UI channel is disposed. (#5874) 2025-01-16 13:26:12 +01:00
Kenneth SkovhedeandGitHub 9464caf622 Feature/update license 2025 (#5851)
* Fixed some minor whitespace issues

* Updated all copyright to 2025
2025-01-07 09:40:39 +01:00
Kenneth SkovhedeandGitHub d940af1f64 Fixed TrayIcon disconnecting. (#5819)
This fixes a problem where the exception was not correctly detected causing the token to not be re-obtained.

This fixes #5818
2024-12-28 20:02:21 +01:00
Kenneth SkovhedeandGitHub b69d9ae37b Fixed a thread crash on stop (#5798) 2024-12-19 22:37:44 +01:00
Kenneth SkovhedeandGitHub 58a5fc57f4 Implemented support for emitting intermediate certificates from pfx (#5739)
* Implemented support for emitting intermediate certificates from pfx files

* Added certificate check to crash earlier

* Fixed loading certificate on Windows
2024-12-05 10:34:10 +01:00
Kenneth Skovhede 4e3af5111f Updated menu icons to be less colorfull on non-Windows 2024-11-28 14:40:27 +01:00
Kenneth Skovhede 16ecb2e2ca Implemented support for dark-mode icons on MacOS 2024-11-28 14:33:20 +01:00
Kenneth Skovhede a97a472ab2 Made password source explicit 2024-11-26 11:26:50 +01:00
Kenneth Skovhede 998c564aaf Fixed hang from detached TrayIcon.
This fixes #5703
2024-11-26 11:23:28 +01:00
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