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
Kenneth Skovhede
40dd3c6816
Updated all license mentions to MIT
2024-02-28 15:45:30 +01:00
Thomas Suckow
235568dade
First pass at introducing kestrel and refactoring to make the RESTAPI be its own package.
2022-12-30 10:59:29 -08:00
Thomas Suckow
3f9263892b
Disable encryption of database due to closed source
2022-11-06 22:05:36 -08:00
Thomas Suckow
753f61ee1f
Don't stop at the debugger in release builds
...
* Also don't show a terminal window for the trayicon
2021-04-01 21:03:11 -07:00
Thomas Suckow
360d819c0d
Threads are not longer abortable
2021-01-03 08:54:09 -08:00
Thomas Suckow
acea2fe10f
upstream
...
Update Telegram SharpAESCrypt dep
Update SystemIOWindows to split the difference
# Conflicts:
# BuildTools/AutoUpdateBuilder/AutoUpdateBuilder.csproj
# BuildTools/AutoUpdateBuilder/packages.config
# BuildTools/DependencyFinder/DependencyFinder.csproj
# BuildTools/DependencyFinder/packages.config
# BuildTools/GnupgSigningTool/GnupgSigningTool.csproj
# BuildTools/UpdateVersionStamp/UpdateVersionStamp.csproj
# BuildTools/UpdateVersionStamp/app.config
# Duplicati/CommandLine/BackendTester/Duplicati.CommandLine.BackendTester.csproj
# Duplicati/CommandLine/BackendTester/app.config
# Duplicati/CommandLine/BackendTool/Duplicati.CommandLine.BackendTool.csproj
# Duplicati/CommandLine/BackendTool/app.config
# Duplicati/CommandLine/ConfigurationImporter/Duplicati.CommandLine.ConfigurationImporter.csproj
# Duplicati/CommandLine/Duplicati.CommandLine.csproj
# Duplicati/CommandLine/RecoveryTool/Duplicati.CommandLine.RecoveryTool.csproj
# Duplicati/CommandLine/RecoveryTool/packages.config
# Duplicati/CommandLine/app.config
# Duplicati/GUI/Duplicati.GUI.TrayIcon/Duplicati.GUI.TrayIcon.csproj
# Duplicati/GUI/Duplicati.GUI.TrayIcon/app.config
# Duplicati/GUI/Duplicati.GUI.TrayIcon/packages.config
# Duplicati/Library/AutoUpdater/Duplicati.Library.AutoUpdater.csproj
# Duplicati/Library/AutoUpdater/app.config
# Duplicati/Library/AutoUpdater/packages.config
# Duplicati/Library/Backend/AlternativeFTP/Duplicati.Library.Backend.AlternativeFTP.csproj
# Duplicati/Library/Backend/AlternativeFTP/app.config
# Duplicati/Library/Backend/AlternativeFTP/packages.config
# Duplicati/Library/Backend/AzureBlob/Duplicati.Library.Backend.AzureBlob.csproj
# Duplicati/Library/Backend/AzureBlob/packages.config
# Duplicati/Library/Backend/Backblaze/Duplicati.Library.Backend.Backblaze.csproj
# Duplicati/Library/Backend/Backblaze/packages.config
# Duplicati/Library/Backend/Box/Duplicati.Library.Backend.Box.csproj
# Duplicati/Library/Backend/Box/packages.config
# Duplicati/Library/Backend/CloudFiles/Duplicati.Library.Backend.CloudFiles.csproj
# Duplicati/Library/Backend/CloudFiles/app.config
# Duplicati/Library/Backend/Dropbox/Duplicati.Library.Backend.Dropbox.csproj
# Duplicati/Library/Backend/Dropbox/packages.config
# Duplicati/Library/Backend/FTP/Duplicati.Library.Backend.FTP.csproj
# Duplicati/Library/Backend/FTP/app.config
# Duplicati/Library/Backend/File/Duplicati.Library.Backend.File.csproj
# Duplicati/Library/Backend/File/app.config
# Duplicati/Library/Backend/GoogleServices/Duplicati.Library.Backend.GoogleServices.csproj
# Duplicati/Library/Backend/GoogleServices/packages.config
# Duplicati/Library/Backend/HubiC/Duplicati.Library.Backend.HubiC.csproj
# Duplicati/Library/Backend/Jottacloud/Duplicati.Library.Backend.Jottacloud.csproj
# Duplicati/Library/Backend/Mega/Duplicati.Library.Backend.Mega.csproj
# Duplicati/Library/Backend/Mega/packages.config
# Duplicati/Library/Backend/OAuthHelper/Duplicati.Library.OAuthHelper.csproj
# Duplicati/Library/Backend/OAuthHelper/packages.config
# Duplicati/Library/Backend/OneDrive/Duplicati.Library.Backend.OneDrive.csproj
# Duplicati/Library/Backend/OneDrive/packages.config
# Duplicati/Library/Backend/OpenStack/Duplicati.Library.Backend.OpenStack.csproj
# Duplicati/Library/Backend/OpenStack/packages.config
# Duplicati/Library/Backend/Rclone/Duplicati.Library.Backend.Rclone.csproj
# Duplicati/Library/Backend/Rclone/packages.config
# Duplicati/Library/Backend/S3/Duplicati.Library.Backend.S3.csproj
# Duplicati/Library/Backend/S3/app.config
# Duplicati/Library/Backend/S3/packages.config
# Duplicati/Library/Backend/SSHv2/Duplicati.Library.Backend.SSHv2.csproj
# Duplicati/Library/Backend/SSHv2/packages.config
# Duplicati/Library/Backend/SharePoint/Duplicati.Library.Backend.SharePoint.csproj
# Duplicati/Library/Backend/SharePoint/app.config
# Duplicati/Library/Backend/Sia/Duplicati.Library.Backend.Sia.csproj
# Duplicati/Library/Backend/Sia/packages.config
# Duplicati/Library/Backend/TahoeLAFS/Duplicati.Library.Backend.TahoeLAFS.csproj
# Duplicati/Library/Backend/TahoeLAFS/packages.config
# Duplicati/Library/Backend/Tardigrade/Duplicati.Library.Backend.Tardigrade.csproj
# Duplicati/Library/Backend/Tardigrade/packages.config
# Duplicati/Library/Backend/WEBDAV/Duplicati.Library.Backend.WEBDAV.csproj
# Duplicati/Library/Backend/WEBDAV/app.config
# Duplicati/Library/Common/Duplicati.Library.Common.csproj
# Duplicati/Library/Common/IO/SystemIOWindows.cs
# Duplicati/Library/Common/app.config
# Duplicati/Library/Common/packages.config
# Duplicati/Library/Compression/Duplicati.Library.Compression.csproj
# Duplicati/Library/Compression/app.config
# Duplicati/Library/Compression/packages.config
# Duplicati/Library/DynamicLoader/Duplicati.Library.DynamicLoader.csproj
# Duplicati/Library/DynamicLoader/app.config
# Duplicati/Library/Encryption/Duplicati.Library.Encryption.csproj
# Duplicati/Library/Encryption/packages.config
# Duplicati/Library/Interface/Duplicati.Library.Interface.csproj
# Duplicati/Library/Localization/Duplicati.Library.Localization.csproj
# Duplicati/Library/Localization/packages.config
# Duplicati/Library/Logging/Duplicati.Library.Logging.csproj
# Duplicati/Library/Logging/app.config
# Duplicati/Library/Main/Duplicati.Library.Main.csproj
# Duplicati/Library/Main/app.config
# Duplicati/Library/Main/packages.config
# Duplicati/Library/Modules/Builtin/Duplicati.Library.Modules.Builtin.csproj
# Duplicati/Library/Modules/Builtin/packages.config
# Duplicati/Library/SQLiteHelper/Duplicati.Library.SQLiteHelper.csproj
# Duplicati/Library/Snapshots/Duplicati.Library.Snapshots.csproj
# Duplicati/Library/Snapshots/app.config
# Duplicati/Library/Snapshots/packages.config
# Duplicati/Library/UsageReporter/Duplicati.Library.UsageReporter.csproj
# Duplicati/Library/UsageReporter/packages.config
# Duplicati/Library/Utility/Duplicati.Library.Utility.csproj
# Duplicati/Library/Utility/app.config
# Duplicati/Library/Utility/packages.config
# Duplicati/License/Duplicati.License.csproj
# Duplicati/Server/Duplicati.Server.Serialization/Duplicati.Server.Serialization.csproj
# Duplicati/Server/Duplicati.Server.Serialization/packages.config
# Duplicati/Server/Duplicati.Server.csproj
# Duplicati/Server/app.config
# Duplicati/Server/packages.config
# Duplicati/Service/Duplicati.Service.csproj
# Duplicati/Service/app.config
# Duplicati/Tools/Duplicati.Tools.csproj
# Duplicati/UnitTest/Duplicati.UnitTest.csproj
# Duplicati/UnitTest/RestoreHandlerTests.cs
# Duplicati/UnitTest/app.config
# Duplicati/UnitTest/packages.config
# Duplicati/WindowsService/App.config
# Duplicati/WindowsService/WindowsService.csproj
# Tools/SQLiteTool/App.config
# Tools/SQLiteTool/SQLiteTool.csproj
# thirdparty/TlsTest/TlsTest.csproj
# thirdparty/UnixSupport/UnixSupport.csproj
# thirdparty/mozroots/mozroots.csproj
2020-12-29 09:59:42 -08:00
Kenneth Hsu
6876d765b0
Remove unreachable code.
2020-11-21 13:41:57 -08:00
Max
b008aed1f3
migrate to net5 + runnable
2020-06-03 00:00:38 +02:00
Kenneth Hsu
83ac03843d
Fix spelling errors in comments.
...
In doing so, we also normalized some line endings.
2019-12-14 09:52:55 -08:00
Kenneth Hsu
2aa76881a5
Mark fields that don't need to be reassigned as readonly.
...
This makes it explicit at compile-time that these fields should not be
reassigned outside the constructor.
2019-10-19 13:59:22 -07:00
BlueBlock
d81deae8d6
when debug, on startup run after 10 seconds then run every 1 hour
2019-08-31 13:22:45 -04:00
Kenneth Hsu
6c28db687c
Fix issue reading configuration from parameters file.
...
This fixes issue #3761 .
2019-05-11 11:02:37 -07:00
verhoek
b8875f0559
Removed duplicate string.
2019-03-03 18:40:30 +01:00
verhoek
a62c2f3db4
Small fixes.
2019-02-28 20:34:19 +01:00
verhoek
59d3ceb91a
null propagation.
2019-02-28 17:56:32 +01:00
verhoek
26f42a3ea8
Extracted worker thread and webserver methods.
2019-02-28 17:51:52 +01:00
verhoek
e1e29962e3
Moved livecontrol to own method.
2019-02-25 12:34:32 +01:00
verhoek
0bea4e0289
Extract purge temp files timer logic to method.
2019-02-25 11:35:43 +01:00
verhoek
57c9805848
Extract method.
2019-02-25 11:35:43 +01:00
verhoek
8330d7bdb9
Call GenerateWebserverPasswordTrayIcon from one place only.
2019-02-25 11:35:43 +01:00
verhoek
b57f679899
Extracted method.
2019-02-25 11:35:43 +01:00
verhoek
d4de82b070
Renamed instance.
2019-02-25 11:35:43 +01:00
verhoek
d9bba6ccc3
Conver static consts to lowercase. Extract logging config to private function.
2019-02-25 11:35:43 +01:00