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
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
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 Skovhede and GitHub
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
Kenneth Skovhede
115e887802
Implemented new updater logic that supports multi-arch distributions.
2024-03-15 14:18:56 +01:00
Kenneth Skovhede
a8ee4f2ba1
Post merge build fixes
2024-03-08 11:44:38 +01:00
Kenneth Skovhede
b27323c705
Merge remote-tracking branch 'origin/master' into feature/kestrel-avalonia-upgrade
2024-03-08 11:40:33 +01:00
Kenneth Skovhede
a18e16d722
Merged the delay approach and added arguments for C# 7 compatibility
2024-03-08 08:23:45 +01:00
Kenneth Skovhede
37d18983ef
Added event handler to prevent empty form being visible
2024-03-08 08:17:57 +01:00
Kenneth Skovhede and GitHub
94f9e2c3e0
Merge pull request #5106 from trueai-org/master-github-alioss
...
add aliyunoss
2024-03-07 22:23:10 +01:00
Kenneth Skovhede
cbe8c43414
Minor updates to tray icon
2024-03-06 22:18:03 +01:00
Kenneth Skovhede
bbbf77427e
Fixed build
2024-03-06 15:09:31 +01:00
Kenneth Skovhede
989aa925a0
Fixes to Avalonia runner.
...
Added cross-thread calling support.
2024-03-06 12:37:07 +01:00
Kenneth Skovhede
52265395c5
Using only Avalonia for TrayIcon
2024-03-04 14:34:38 +01:00
Kenneth Skovhede
2303f9151f
Cleanup after merge
2024-03-04 14:00:55 +01:00
Kenneth Skovhede
473c6cbbb8
Merge commit '4f577c65a4d8806f79637c50c21ca3a683c5a07a' into feature/kestrel-avalonia-upgrade
2024-03-04 12:21:53 +01:00
Kenneth Skovhede
8e1347c52c
Disable MacOS support for trayicon as it will be replaced
2024-03-03 15:42:32 +01:00
Thomas Suckow
4f577c65a4
Fix backward logic to try to fix mac build
2024-03-01 22:27:03 -08:00
Thomas Suckow
bc5f17ebf1
Try fix mac build
2024-03-01 21:57:36 -08:00