Commit Graph
11635 Commits
Author SHA1 Message Date
Kenneth Skovhede beaa180cc4 Bump file count for more stable results in test 2025-05-20 20:27:59 +02:00
Kenneth SkovhedeandGitHub 83fbfde40b Merge branch 'master' into feature/issue5919 2025-05-20 15:57:26 +02:00
Kenneth SkovhedeandGitHub 415a5bec67 Merge pull request #6275 from duplicati/feature/fix-tests-recursing
Fixed 4 test setups
2025-05-20 15:56:33 +02:00
Kenneth SkovhedeandGitHub 48c9c3ac45 Merge pull request #6276 from duplicati/feature/fix-parsing-bug-in-cifs-backend
Fixed incorrect buffersize parsing in CIFS backend
2025-05-20 15:56:12 +02:00
Kenneth SkovhedeandGitHub 34a529d547 Merge pull request #6274 from duplicati/feature/nullable-progress
Enabled nullable for FilterExpression and Options
2025-05-20 15:55:33 +02:00
Kenneth SkovhedeandGitHub 00b04cfc5c Merge pull request #6273 from duplicati/feature/suppress-warnings
Added feature to suppress warnings
2025-05-20 15:55:22 +02:00
Kenneth Skovhede 06ebcf85e4 Fixed incorrect buffersize parsing in CIFS backend 2025-05-20 15:24:15 +02:00
Kenneth Skovhede 9385342f8f Fixed 4 test setups 2025-05-20 15:02:59 +02:00
Kenneth Skovhede 1cfacca794 Enabled nullable for FilterExpression and Options
This adds nullability to FilterExpression and Options.
It also updates almost all properties in Options to use a common format that enforces uniform parsing of the values.

A few options have been updates to have the default values specified as a constant, to avoid replicating the value in two places.
2025-05-20 14:36:39 +02:00
Kenneth Skovhede e4689431cb Fix after moving namespace 2025-05-20 14:28:46 +02:00
Kenneth Skovhede ef631a1199 Added feature to suppress warnings
This PR adds the option to suppress warnings by their log id. Warning IDs that are supplied to `--suppress-warnings` will be converted to information messages before being logged.

If a specific warning is disabled, such as `CompressionReadErrorFallback`, this will then no longer count as a warning for the job, and the log file will see the warning as an information message.

This PR also adds two simpler filter options that makes it possible to filter log messages by supplying the log IDs. This can already be achieved with log filters, but the ID filter is a bit simpler to apply, as you only need to know the ID.

Finally, this PR also adds common logging for errors in the categories:
- Permission denied, id = `PermissionDenied`
- File locked, id = `FileLocked`
- Path not found, id = `PathNotFound`
- Path too long, id = `PathTooLong`

These new log ids makes it simpler to ignore warnings about locked or inaccesible files.
2025-05-20 14:26:10 +02:00
Kenneth Skovhede 11b26ed7a0 Added test that verifies that multi-volume compact works 2025-05-20 09:41:23 +02:00
Kenneth Skovhede 18891d8fe4 Minor cleanup in test code 2025-05-20 09:41:09 +02:00
Kenneth SkovhedeandGitHub aca3bd8508 Merge pull request #6270 from duplicati/feature/don-overwrite-rpm-config
RPM not overwriting config
2025-05-20 09:02:16 +02:00
Kenneth Skovhede e166918e87 RPM not overwriting config
This PR updates the RPM spec file to mark the config files as such. This ensures that files will not be replaced during updates if they are modified.

Also updated the description slightly to not mention now-defunct services in the description. Also applied this to Debian packages.

The agent based installation has been updated slightly to better differentiate it from the the CLI/GUI package.

Fixed a bug that prevented the preset file from being installed for the agent.

This fixes #6099
2025-05-19 17:27:21 +02:00
Kenneth Skovhede 6a188f0d0c Avoid DB queries if the is no work to do 2025-05-17 11:24:57 +02:00
Kenneth Skovhede 80ff71c856 Preserve space during compacts
This update changes the logic for deleting volumes during compacting to delete leftover volumes as soon as a new volume has been uploaded.

This ensures that the compact process will at most require space for one extra volume during the compact step.

This fixes #5919
2025-05-17 10:59:27 +02:00
Kenneth SkovhedeandGitHub 934bb41358 Merge pull request #6257 from duplicati/feature/issue6254
Fix issue with compact not writing full index volumes
2025-05-17 10:45:18 +02:00
Kenneth SkovhedeandGitHub faeeeb51af Merge branch 'master' into feature/issue6254 2025-05-17 09:28:30 +02:00
Kenneth SkovhedeandGitHub 9cdc2a39fb Merge pull request #6265 from duplicati/feature/add-blocksetentry-index
Added missing index for blocksetentry
2025-05-17 09:28:18 +02:00
Kenneth SkovhedeandGitHub c2c31232fa Merge pull request #6264 from duplicati/feature/dont-crash-serializing-mock-list
Prevent serialization from throwing
2025-05-17 09:07:28 +02:00
Kenneth SkovhedeandGitHub 8a2f028f7a Merge branch 'master' into feature/add-blocksetentry-index 2025-05-16 19:02:26 +02:00
Kenneth SkovhedeandGitHub e63cdb56a3 Merge pull request #6266 from duplicati/feature/sanity-check-secret-provider
Added redundant secret provider check
2025-05-16 19:02:12 +02:00
Kenneth SkovhedeandGitHub 292107b9de Merge pull request #6262 from duplicati/feature/fix-dbtool-tests-should-fail
Check exit code in dbtool tests
2025-05-16 19:01:47 +02:00
Carl-Johannes JohnsenandGitHub 3de03e51de Merge pull request #6258 from carljohnsen/cleanup/remove-legacy-dependencies 2025-05-16 18:01:27 +02:00
Kenneth SkovhedeandGitHub d69e6133e8 Merge pull request #6263 from duplicati/feature/issue6070
Fix `purge-broken-files` and `list-broken-files` not reading database config
2025-05-16 17:24:13 +02:00
Kenneth SkovhedeandGitHub bd81529400 Merge pull request #6261 from duplicati/feature/fix-logic-issue-with-purge
Fix logic issue with purge-broken-files
2025-05-16 15:55:15 +02:00
Kenneth Skovhede b768d5a226 Added redundant secret provider check
This check only verifies that the secret provider is not faulty, as each provider *should* fail if the values cannot be translated.

With this commit it is explicit, so future modules are ensured to function as expected.
2025-05-16 15:53:59 +02:00
Kenneth Skovhede 97ef8137ed Fixed some compile issues on Windows 2025-05-16 15:51:49 +02:00
Kenneth Skovhede b3f43830cf Fixed query for Windows/Linux 2025-05-16 15:51:30 +02:00
Kenneth SkovhedeandGitHub 58ff01811a Merge pull request #6259 from duplicati/feature/register-remote-for-server
Register remote control for TrayIcon
2025-05-16 15:46:27 +02:00
Kenneth Skovhede 531664cb23 Added missing index for blocksetentry 2025-05-16 15:36:24 +02:00
Kenneth Skovhede 097cbe5c7f Prevent serialization from throwing
When serializing the mock list, it needs to access the enumerators.
2025-05-16 15:23:02 +02:00
Kenneth Skovhede 642ddc7de0 Disabled test check 2025-05-16 14:58:47 +02:00
Kenneth Skovhede a986c83bbf Fixed purge-broken-files and list-broken-files not reading db settings.
This fixes #6070
2025-05-16 14:48:43 +02:00
Kenneth Skovhede 09899a0a9b Implemented test for issue #6070 2025-05-16 14:46:30 +02:00
Kenneth Skovhede 4c15729f6e Check exit code in dbtool tests 2025-05-16 14:20:32 +02:00
Kenneth SkovhedeandGitHub f507e52507 Merge pull request #6260 from duplicati/feature/issue5995
Prevent loosing a version on purge
2025-05-16 14:15:40 +02:00
Kenneth Skovhede bb628ba6ee Fixed nullability 2025-05-16 14:14:06 +02:00
Kenneth Skovhede 9471074823 Fixed issue where no volumes are missing during purge-broken-files 2025-05-16 14:13:34 +02:00
Kenneth Skovhede 948f74b57e Ensure claim link is emitted 2025-05-16 13:31:34 +02:00
Kenneth Skovhede 6750779982 Register remote control for TrayIcon
This adds the option to register for remote control on the TrayIcon or Server via commandline arguments.

This fixes #6255
2025-05-16 11:42:50 +02:00
Kenneth Skovhede d0a666a3e1 More flushing during compact to deal with transaction issues 2025-05-16 10:35:07 +02:00
Kenneth Skovhede 0d1bf6ee1a Added debug check to ensure we capture wrong blocklists 2025-05-16 10:34:46 +02:00
Kenneth Skovhede 34a034d96c Simplified recreate logic slightly 2025-05-16 10:34:19 +02:00
Kenneth Skovhede 814064d1ed Rewrote the central query that returns the blocklists needed for index volumes 2025-05-16 10:33:54 +02:00
Kenneth Skovhede a010378e71 Updated test 2025-05-16 10:31:56 +02:00
Carl Johnsen f73a1bcfcd Forward slash to backslash 2025-05-16 10:25:27 +02:00
Carl Johnsen 388e849324 Converted tabs to spaces 2025-05-16 10:25:08 +02:00
Carl Johnsen d08fbb2af8 Restructured ItemGroups 2025-05-16 10:23:48 +02:00