Commit Graph
14111 Commits
Author SHA1 Message Date
Kenneth SkovhedeandGitHub 03f30e3f7d Merge pull request #6962 from duplicati/feature/add-auth-timeout-to-duplicatibackend
Add an auth timeout to the Duplicati backend
2026-06-16 12:09:29 +02:00
Kenneth Skovhede d08431059a Add an auth timeout to the Duplicati backend
On the first connection attempt, the autentication can be a bit slower due to the setup, causing it to time out. This PR adds a specific timeout for authentication so the calls do not time out.
2026-06-16 10:01:03 +02:00
Kenneth SkovhedeandGitHub 44ba6f8b6f Merge pull request #6956 from duplicati/feature/handle-modified-filter
Handle script modified filter
2026-06-12 21:47:40 +02:00
Kenneth SkovhedeandGitHub cdc4368c0f Merge pull request #6961 from duplicati/feature/fix-minor-issues-with-remote-sources
Fix minor issues with remote sources
2026-06-12 19:43:07 +02:00
Kenneth SkovhedeandGitHub ffd32988af Merge pull request #6960 from duplicati/feature/improve-license-flexibility
Improve license flexibility
2026-06-12 19:41:40 +02:00
Kenneth Skovhede d00166f791 Attempt to fix test issues on Windows 2026-06-12 19:40:32 +02:00
Kenneth Skovhede 4f26f77f6c Fixed failing test 2026-06-12 19:27:15 +02:00
Kenneth Skovhede 49f08bdbbe Fixed an issue with HyperV parsing failing if the filter string was null 2026-06-12 18:08:25 +02:00
Kenneth Skovhede ee92633b80 Reworked parameter mapping and passing inside Controller.cs to avoid future issues with lambda captures that prevent module modifications from being applied. 2026-06-12 17:41:17 +02:00
Kenneth Skovhede 1f155da26a Added test that verifies paths can be modified by writing --localpath options back 2026-06-12 17:15:55 +02:00
Kenneth Skovhede c5e621434c Simplify test to avoid quirks in how filters are handled internally across platforms. 2026-06-12 16:37:41 +02:00
Kenneth Skovhede c65dc52fc6 Path traversal now logs a warning instead of crashing the recovery restore. 2026-06-12 16:37:08 +02:00
Kenneth SkovhedeandGitHub 318d37e689 Merge branch 'master' into feature/handle-modified-filter 2026-06-12 16:26:49 +02:00
Kenneth Skovhede 6313471ffa Fix minor issues with remote sources
This updates some minor issues that would cause warnings or make things appear to not work, even though they would work fine when actually running a backup.
2026-06-12 13:47:49 +02:00
Kenneth SkovhedeandGitHub 3f7161873a Merge branch 'master' into feature/improve-license-flexibility 2026-06-12 13:35:50 +02:00
Kenneth SkovhedeandGitHub 6ceadf2afb Merge pull request #6959 from duplicati/feature/browse-remote
Added unified interface for remote browsing.
2026-06-12 13:35:38 +02:00
Kenneth SkovhedeandGitHub d4c2f7ad86 Merge pull request #6957 from duplicati/feature/always-install-windowsservice
Always install WindowsService.exe
2026-06-12 13:35:13 +02:00
Kenneth Skovhede 243cb62975 Improve license flexibility
This changes the way license usage is calculated. Previously the licenses would prohibit enumerating more than what was licensed. This had the benefit that the backup engine was unaware that more items exists.

However, this also prevented filtering items, as the enumeration happens before the filters are applied.

With the new approach, enumeration is applied without imposing limitations, but actually reading the items are limited. This allows filtering unwanted items, and they will not count towards usage.

The downside of this approach is that the backup will contain empty "folders" that could, at a glance, appear to contain everything, but are in fact just empty folders.

To mitigate this, the warning message now explictly mentions that some folders may be empty.
2026-06-12 13:34:04 +02:00
Kenneth Skovhede b67a73553a Added unified interface for remote browsing.
This PR adds a single API endpoint for listing contents of remote source or backend. With this API, we can greatly simplify the FE as it does not need to know about webmodules for each provider, but can just use the single API.

To support this, the fulldisk module was updated slightly to return enumerable meta entries, similar to ms365 and gws providers.
2026-06-12 11:06:21 +02:00
Kenneth Skovhede a438e2d675 Update Agent MSI to not include options and no shortcuts are installed.
Since the service starts automatically, there are no options to start it either.
2026-06-10 16:44:14 +02:00
Kenneth Skovhede 3d37498a0b Always install WindowsService.exe
The MSI update to a managed service component meant that the `Duplicati.WindowsService.exe` would only be installed if the "Install as service" option was selected.

This PR fixes it by directly installing `Duplicati.WindowsService.exe` in case the service install is not selected.
2026-06-10 16:31:37 +02:00
Kenneth Skovhede 933c8924c8 Fixed filter not being passed to soem controller methods 2026-06-10 14:18:06 +02:00
Kenneth SkovhedeandGitHub 87b6f636fc Merge pull request #6955 from duplicati/feature/add-server-side-filters
Add server-side filter eval
2026-06-09 21:00:21 +02:00
Kenneth Skovhede ee371c7413 Handle script modified filter
This PR fixes a bug where a script could write a new filter, but the filter was never applied to the backup.

This also fixes an issue where the filter string was not available in scripts or emails, except on the initial call.

This PR updates the logic so the `run-script-after` and `run-script-post-backup` also have access to the filter string, if needed for reporting or other.

This fixes #5143
2026-06-09 16:29:02 +02:00
Kenneth SkovhedeandGitHub 6deed30db4 Merge pull request #6953 from duplicati/feature/block-path-traversal-in-recovery-tool
Block path traversal in recovery tool
2026-06-09 10:14:06 +02:00
Kenneth SkovhedeandGitHub 04a0619296 Merge pull request #6952 from duplicati/feature/allow-disable-default-secret-provider
Allow disable default secret provider
2026-06-09 10:13:41 +02:00
Kenneth Skovhede 2a71a1e816 Add server-side filter eval
This PR adds a service-side function to perform filter evaluation. This can be used by the FE to get more correct results when using complicated filters.

This fixes #6926
This fixes #4194
This fixes #3180
2026-06-09 10:10:03 +02:00
Kenneth Skovhede 8cb1c9562e Block path traversal in recovery tool
This adds a check that prevents restoring files outside the specified target folder when using the recovery tool.

When choosing to restore to a specific folder, the expectation is that files are not restored outside the folder, which could happen with symlinks or manually crafted entries. This blocks it the same way the regular restore does and also supports `--allow-restore-outside-target-directory` to disable the check.
2026-06-08 19:17:07 +02:00
Kenneth SkovhedeandGitHub a096b3ca24 Merge pull request #6950 from duplicati/feature/case-change-usn
Fixed a case-change issue with USN
2026-06-08 17:33:15 +02:00
Kenneth SkovhedeandGitHub 2127397001 Merge pull request #6951 from duplicati/feature/remove-async-warnings
Rename to fix warnings
2026-06-08 17:32:50 +02:00
Kenneth Skovhede 0e36faab78 Allow disable default secret provider
This PR adds a new option `--disable-default-secret-provider` that will fully disable probing for the default secret provider.

This is to assist in cases where the secret provider is broken or shows unwanted popup dialogs.
2026-06-08 17:32:21 +02:00
Kenneth Skovhede 98ce287522 Rename to fix warnings
Recent C# compilers warn if async methods are not suffixed with `Async`.

This PR fixes a number of such warnings.
2026-06-08 13:16:17 +02:00
Kenneth Skovhede ba55762261 Fixed a case-change issue with USN
This fixes a case where an unmodified file that was renamed, but only had changes to the casing (i.e., `file.txt` to `FILE.txt`) would ignore the new name.

If the file contents or metadata were changed, the filename would be updated, but for pure renames, the new name would not be picked up.

This issue is only present if USN was also applied, and the bug is only present on Windows.
2026-06-08 11:03:37 +02:00
Kenneth SkovhedeandGitHub 34aab9d7d1 Merge pull request #6949 from duplicati/release/canary-2.3.0.104
Version bump to v2.3.0.104-2.3.0.104_canary_2026-06-04
2026-06-05 08:35:51 +02:00
Kenneth Skovhede 996c83818b Version bump to v2.3.0.104-2.3.0.104_canary_2026-06-04
You can download this build from:

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

Signature file: https://updates.duplicati.com/canary/duplicati-2.3.0.104_canary_2026-06-04.signatures.zip
v2.3.0.104_canary_2026-06-04 v2.3.0.104-2.3.0.104_canary_2026-06-04
2026-06-05 00:04:12 +02:00
Kenneth Skovhede 37f612c1e7 Improved display from build tool 2026-06-04 21:45:09 +02:00
Kenneth SkovhedeandGitHub e783f33ec4 Merge pull request #6948 from duplicati/feature/bump-ngclient-225
Bump ngclient to 225
2026-06-04 20:36:15 +02:00
Kenneth Skovhede 736df8173b Bump ngclient to 225
This updates ngclient to 225, and also adds `--duplicati-webservice-suppress-welcome-page` to automatically disable the welcome page that is shown on new installs.
2026-06-04 20:09:04 +02:00
Kenneth SkovhedeandGitHub 732e4f63b6 Merge pull request #6947 from duplicati/feature/handle-extended-win32-fileattributes
Handle extended Win32 file attributes
2026-06-04 16:07:15 +02:00
Kenneth SkovhedeandGitHub 148558ae0d Merge pull request #6946 from duplicati/feature/s3-lockmode-fix
Get correct S3 lock mode values
2026-06-04 10:40:03 +02:00
Kenneth Skovhede aceafbd52c Fixed option name typo 2026-06-04 10:38:33 +02:00
Kenneth Skovhede ba58064de8 Handle extended Win32 file attributes
This PR extends the handling of excluded file attributes on Windows to include additional values that are present in Windows 10+11, but are not yet part of the .NET file attributes.

Specifically, this handles the `FILE_ATTRIBUTE_RECALL_ON_OPEN` and `FILE_ATTRIBUTE_RECALL_ON_DATA_ACCESS` attributes which are used to signal files are not available locally and will be fetched on access.

On Windows, a new option `--exclude-non-local-files` is added which will simply update `--exclude-files-attributes` with `Offline,RecallOnOpen,RecallOnDataAccess` such that setting the option will exclude offline files from the backup, without requiring that the user is aware of the attribute names or effects.

For all platforms, this PR also updates the parsing of the `--exclude-files-attributes` so it is now a flags-type enum and will validate the input as well as show the possible options in help and dropdowns.
2026-06-04 10:14:29 +02:00
Kenneth Skovhede 4ff6e0f5cc Get correct S3 lock mode values
This fixes an issue with reading S3 Lock Mode values, causing the UI to not display any values.

This fixes #6941
2026-06-04 09:01:52 +02:00
Kenneth SkovhedeandGitHub 09be7a4642 Merge pull request #6868 from carljohnsen/feature/full-disk-ntfs
Feature/Full disk NTFS support
2026-06-04 07:54:30 +02:00
Kenneth SkovhedeandGitHub 4cdc0d5233 Merge pull request #6925 from carljohnsen/feature/autotune-tool
Feature/AutoTune tool
2026-06-03 22:54:18 +02:00
Kenneth Skovhede 1e216110e1 Merge commit '1250b1c9641bef873c60df8a02b1194fe4ed36ca' into feature/full-disk-ntfs 2026-06-03 22:01:37 +02:00
Kenneth Skovhede bb654749b8 Merge remote-tracking branch 'origin/master' into feature/full-disk-ntfs 2026-06-03 21:51:15 +02:00
Kenneth SkovhedeandGitHub 1250b1c964 Merge pull request #6945 from duplicati/feature/context-aware-testing
Added read-only testing to backends
2026-06-03 21:35:14 +02:00
Kenneth Skovhede fb005a4bed Introduce namespace 2026-06-03 21:34:25 +02:00
Kenneth Skovhede 26a193aee1 Fixed compile issue 2026-06-03 21:33:46 +02:00