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
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 Skovhede and GitHub
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 Skovhede and GitHub
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 Skovhede and GitHub
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
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
Kenneth Skovhede
7dab2f5935
Removed bundled GPG binaries for Windows.
...
Improved search logic for finding GPG executable on all operating systems.
This also removes the `win-tools` folder.
2024-06-04 15:21:22 +02:00
Jojo-1000
917e2cd0c4
Remove obsolete custom platform detection.
2024-05-30 02:14:05 +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
9c0ef09a39
Implemented a built-in decrypt method.
...
Ported the RC4 algorithm from BouncyCastle.
This fixes #5147
2024-04-23 17:06:32 +02:00
natan
0fefb316eb
Selenium Tests
2024-04-22 10:15:56 +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
Kenneth Skovhede
a0c0cbf3d5
Removed mentions of Mono in code, and fixed some entry paths pointing to the dll instead of the exe
2024-04-15 13:20:39 +02:00
Kenneth Skovhede
bf7aff469d
Disable loading Kestrel until the API is ready
2024-04-12 15:32:25 +02:00
Kenneth Skovhede
f0d61c0f1a
Prevent crash on failure shutdown
2024-04-08 07:47:12 +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
9377fdffc1
Unified the way the version is extracted from the SQLite library
2024-03-05 08:55:13 +01:00
Kenneth Skovhede
473c6cbbb8
Merge commit '4f577c65a4d8806f79637c50c21ca3a683c5a07a' into feature/kestrel-avalonia-upgrade
2024-03-04 12:21:53 +01:00