Commit Graph
2317 Commits
Author SHA1 Message Date
Kenneth Skovhede a5d53d4493 Version bump ngclient 2025-02-26 22:12:34 +01:00
Kenneth Skovhede e6ebafac14 Added link for easy switching to new UI 2025-02-26 22:11:22 +01:00
Kenneth SkovhedeandGitHub 35bd853f7a Merge pull request #5974 from duplicati/feature/report-listen-interface-on-start
Added listen interface to startup message
2025-02-24 13:07:34 +01:00
Kenneth Skovhede 12d49f6338 Version bump for ngclient 2025-02-18 11:07:39 +01:00
Kenneth Skovhede 9501470d0d Added listen interface to startup message 2025-02-14 11:28:22 +01:00
Kenneth Skovhede 36ec595fd5 Renamed method to fit naming scheme 2025-02-12 10:06:05 +01:00
Kenneth Skovhede 4b70a2e0ae Rename to default-client 2025-02-12 10:05:12 +01:00
Kenneth Skovhede 6058d0706f Clear theme cookies 2025-02-12 10:01:22 +01:00
Kenneth Skovhede 850dbd82da Bump ngclient again 2025-02-11 09:59:40 +01:00
Kenneth Skovhede 070b36dc29 Bumped ngclient 2025-02-11 09:24:51 +01:00
Kenneth Skovhede 162f09743a Make ngclient the default client 2025-02-10 21:52:20 +01:00
Kenneth Skovhede 3da02c552c Added force terminate support for Windows 2025-02-09 11:01:21 +01:00
Kenneth Skovhede da1f6562ea Added option to log to console 2025-02-09 10:29:04 +01:00
Kenneth Skovhede 273280c9b7 Added handler for ctrl+c 2025-02-09 10:28:44 +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 Skovhede abe79b1a15 Added option to disable update check
This fixes #3983
2025-02-06 11:50:38 +01:00
Kenneth Skovhede 0882a89b1d Removed comment on beta releases 2025-02-04 08:33:48 +01:00
Kenneth Skovhede 3c39744f0e Bump ngclient 2025-01-31 15:12:25 +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 fac866a5cd Merge remote-tracking branch 'origin/master' into feature/add-support-for-cors 2025-01-30 08:39:15 +01: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 Skovhede 8c105c9e92 Added help links based on review feedback 2025-01-27 23:17:43 +01:00
Kenneth Skovhede 7a78f72f19 Updated warning message based on review 2025-01-27 23:17:23 +01:00
Kenneth Skovhede 27f0bb4ea0 Unified code to find the data folder.
The `machineid.txt` and `installation.txt` files are now default located in same folder where the database is default located.
2025-01-27 22:51:45 +01:00
Kenneth Skovhede a819f34b37 Improved logging for WindowsServer 2025-01-27 22:49:29 +01:00
Kenneth Skovhede db3d74e34c Moved warning emit call as the server may not be fully configured yet 2025-01-27 13:00:10 +01:00
Kenneth Skovhede 91dd04177d Moved warning emit call as the server may not be fully configured yet 2025-01-27 12:59:51 +01:00
Kenneth Skovhede c05b00ae0b Implemented support for avoiding storing data in the Windows folder 2025-01-27 11:49:17 +01:00
Kenneth Skovhede 97d62163c5 Renamed methods for database path to better distinguish what they do 2025-01-27 11:46:24 +01:00
Kenneth Skovhede bee1f141ea Added UI warning for unencrypted database 2025-01-27 08:52:06 +01:00
Kenneth SkovhedeandGitHub 6a8edd75dc Added additional folders to MacOS. (#5899)
This adds the common "Movies" and "Public" folders to the list of special folders for MacOS (and Linux, if applicable)
2025-01-25 12:42:16 +01:00
Kenneth SkovhedeandGitHub 64aa628af9 Renaming "folders" to "items" (#5905) 2025-01-25 12:39:55 +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
Kenneth Skovhede 04205d5084 Added support for CORS 2025-01-18 11:03:52 +01: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 aa75334f35 Release/canary 2.1.0.107 (#5887)
* Bump ngclient to latest

* Version bump to v2.1.0.107-2.1.0.107_canary_2025-01-17

You can download this build from:

Binaries: https://updates.duplicati.com/canary/?version=2.1.0.107

Signature file: https://updates.duplicati.com/canary/duplicati-2.1.0.107_canary_2025-01-17.signatures.zip
2025-01-17 15:13:17 +01:00
marceloduplicatiandGitHub 08f231dd74 Fixes to timeouts on WebDav (#5878)
* Removing timeout from Webdav

The timeout will be controlled externally by the TimeoutObservingStream and or the cancellation token.

Timeout for List set to default of 10 minutes

Since filesystems may take quite sometime to list large number of files, the timeout was set to a high value.

Previous timeout of 30 seconds was triggering in a case reported by user.

Timeout for CreateFolder and DeleteAsync was kept to default of 30 seconds.

Minor formmating/refactoring was done.

* Removing timeout from Webdav

The timeout will be controlled externally by the TimeoutObservingStream and or the cancellation token.

Timeout for List set to default of 10 minutes

Since filesystems may take quite sometime to list large number of files, the timeout was set to a high value.

Previous timeout of 30 seconds was triggering in a case reported by user.

Timeout for CreateFolder and DeleteAsync was kept to default of 30 seconds.

Minor formating/refactoring was done.

* Fixes to Integrated Authentication

This is a fix to the webdav when using integrated authentication, the hint for the underlying issue was found on an old [thread] (https://github.com/dotnet/wcf/issues/2923). By setting up a vm environment with Windows 2022 Server+IIS/Webdav it was possible to reproduce the [issue](https://github.com/duplicati/duplicati/issues/5872) and fix it.

Change to validation script is to avoid the requirement of filling the username when integrated authentication is true.
2025-01-16 16:29:40 +01:00
Kenneth SkovhedeandGitHub 32a6588209 Added warning for volume size (#5877)
This adds a warning text if the user selects a very large or very small value for the `dblock-size`.

Currently "large" is over 2GiB and "small" is less than 5MiB
2025-01-16 14:27:40 +01:00
Kenneth SkovhedeandGitHub 6bbd64a655 Fixed nullability warnings in Utility.cs (#5861)
* Fixed nullability warnings in `Utility.cs`

* Fixed a number of nullability issues and warnings

* More nullable fixes

* Fixed the overwrite issue

* Fixed additional nullability issues

* Removed additional nullability issues

* More nullability fixes and added some xmldoc

* Added more xmldocs and removed an unused argument

* Removed more warnings
2025-01-14 14:03:48 +01:00
Marcelo C. 3ce642558a CIFS UI Fix on Interface
A typo in the template made the option of Netbios not work correctly, it only worked when selecting under advanced options (where the list was obtained from the Enum)
2025-01-08 21:57:55 -03: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
marceloduplicatiandGitHub 5144aaa36a Fix on JS for CIFS template (#5848)
When creating a new backup, if path was not set to any value, it would default to Undefined and end up as part of the URI.
2025-01-07 09:14:04 +01:00
marceloduplicatiandGitHub 99ee234640 Primary functionality implemented for CIFS (#5780)
* Primary functionality implemented for CIFS

This will add CIFS support to Duplicati.

One of the advantages is that the resource does not need to be mounted as the backend connects and authenticates directly to the resource via TCP/or Netbios over TCP.

The authentication supported is domain/username/password. At present integrated Windows authentication is not supported.

This implementation relies on SMBLibrary library (https://github.com/TalAloni/SMBLibrary).

* Fixes to XML documentation

* Implementing single CIFS connection + Fix on PutAsync

Single CIFS connection to avoid re-authentication on every operation.
Fix to PutAsync which only because apparent after file sizes were larger than _smb2Client.MaxWriteSize

* Adding CI tests for CIFS

The CI test for CIFS is self contained, requiring no environment variables. Also updated README.
2025-01-06 14:22:23 +01:00
Kenneth SkovhedeandGitHub 40e28f170e Added help button to login (#5839)
Added a help button to the connection dialog.
Added a help link to the login dialog.
Added a help link to the signin dialog.
2025-01-06 09:13:17 +01:00
Kenneth SkovhedeandGitHub 7f40ec46db Removed the captcha. (#5816)
This commit removes the Captcha support, and replaces with a copy-paste-able safeguard in the UI.
2024-12-28 20:03:52 +01:00
Kenneth SkovhedeandGitHub f526d39ae9 Updated translations (#5807)
* Updated translations
* Synced translations
2024-12-26 10:40:39 +01:00
Kenneth SkovhedeandGitHub 68627c06bf Feature/alternate windows eventlog (#5784)
* Improved Windows Eventlog support.

Added support for logging to a different log with a Log:Source format.
Backwards compatible by treating "Source" as "Application:Source", where "Source" is default "Duplicati".

* Changed default log-level for eventlog to `Warning`.
This fixes #5770

* Fixed issue where checking for event log would crash the process.
Changed default log to `Duplicati` (was `Application`).
New default source names for service, agent and server.

* Reverted windows log-level back to information, now that there is a separate log for it

* Using "Duplicati 2" as the log name because "Duplicati" may be registered as a source name.

* Attempt to stop service before uninstalling

* Added additional diagnostics messages

* Fixed bug with starting the agent as a service

* Default to not use WindowsService for Agent as it requires permissions to create the event log

* Reduced log message levels for ongoing communication in agent

* Prevent double-logging from agent into Windows EventLog

* Made the agent log under a separate log source name
2024-12-20 16:09:42 +01:00
Kenneth SkovhedeandGitHub cd6dae5a87 Made read-write-timeout a short time interval (#5800) 2024-12-19 22:37:20 +01:00