Kenneth Skovhede
d500097e05
Added additional consistency checks to local database
2025-03-10 14:41:36 +01:00
Kenneth Skovhede
55fc5d2e6c
Added support for recreating filesets and remote lists in some scenarios
2025-03-10 14:41:12 +01:00
Kenneth Skovhede
d053470cf9
Added additional tests for repair code
2025-03-10 14:40:13 +01:00
Kenneth Skovhede
c673cba607
Cleanups in tests
2025-03-10 14:39:31 +01:00
Kenneth Skovhede
be16323f24
General cleanup, common database validation exception
2025-03-10 14:38:45 +01:00
Kenneth Skovhede
32762bec34
Fixed comment and added warning message
2025-03-10 10:59:53 +01:00
Kenneth Skovhede
9a82beaf8b
Fixed log messages to correspond to actual operation performed
2025-03-10 10:55:07 +01:00
Kenneth Skovhede
599203a269
Added check to see that injected failure is actually triggered
2025-03-09 22:01:01 +01:00
Kenneth Skovhede
12cabf8da7
Merge branch 'feature/improved-failure-resilience' of github.com:duplicati/duplicati into feature/improved-failure-resilience
2025-03-08 15:28:24 +01:00
Kenneth Skovhede
1de0a92413
Strategy is now to disallow compact/delete/purge if the remote state contains partial data.
...
Backup will auto-repair, and user otherwise need to call "repair" to recover the state, before invoking compact/delete/purge.
This is done to prevent cases where the remote state contiains partial data and the automatic cleanup process would remove remote files.
2025-03-08 15:28:02 +01:00
Kenneth Skovhede
5f8ff74bd5
Streamlined handling of previous backup's fileset and dlist file if it failed to upload.
2025-03-08 15:25:55 +01:00
Kenneth Skovhede
fce09596f3
Removed unused parameter and redundant namespace prefixes
2025-03-08 15:18:19 +01:00
Kenneth Skovhede
d019845fad
Added a number of new tests to ensure correct handling of edge cases related to missing/interrupted uploads.
2025-03-08 15:14:03 +01:00
Kenneth Skovhede
9952e31f49
Fixed a bug where retention time was incorrectly parsed when reading from the database.
...
This effectively caused the retention time to be ignored when reading from the database.
Also moved some code related to finding an unfinished fileset into the common database class.
2025-03-08 15:13:03 +01:00
Kenneth Skovhede
f6f0cf8b96
More docs
2025-03-07 15:45:51 +01:00
Kenneth Skovhede and GitHub
d03d0a7bec
Merge branch 'master' into feature/improved-failure-resilience
2025-03-07 15:44:55 +01:00
Kenneth Skovhede
c3762a57ca
Added docs
2025-03-07 15:23:06 +01:00
Kenneth Skovhede
58da574130
Moved shutdown logic into separate method so it can be called for both uploads and downloads
2025-03-07 15:19:40 +01:00
Kenneth Skovhede and GitHub
9a027e9264
Merge pull request #6019 from duplicati/feature/remove-call-context
...
Remove call context in favor of AsyncLocal
2025-03-07 14:03:34 +01:00
Kenneth Skovhede and GitHub
df511ad469
Merge pull request #6018 from duplicati/feature/handle-additional-enum-values
...
Improve import feature
2025-03-07 13:43:15 +01:00
Kenneth Skovhede
29021e9255
Remove call context in favor of AsyncLocal
...
This removes the use of the `CallContext` substitute, which was a compatibility class from .NET4 times, and replaces it with `AsyncLocal` which retains the call state.
2025-03-07 11:57:36 +01:00
Kenneth Skovhede and GitHub
17c3f9e2b0
Merge pull request #6016 from duplicati/feature/remove-image-library
...
Remove imaging library
2025-03-07 10:46:45 +01:00
Kenneth Skovhede and GitHub
0a30ba4d6c
Merge pull request #6017 from duplicati/feature/remove-awaits-from-b2
...
Removed two `Await()` calls
2025-03-07 10:46:36 +01:00
Kenneth Skovhede
3eccc56843
Improve import feature
...
This commit adds support for full names for day-of-week, as it appears that some exported documents contain the full day names instead of their three-letter abbreviations.
In case of errors, the error message now also includes the value that was found.
2025-03-07 10:46:08 +01:00
Kenneth Skovhede
02d1775a11
Removed two Await() calls
2025-03-07 08:59:19 +01:00
Kenneth Skovhede
7c78a879d9
Remove imaging library
...
The image library was used in the captcha code, which was previously removed.
2025-03-07 08:26:59 +01:00
Kenneth Skovhede and GitHub
1761322d4b
Merge pull request #6014 from duplicati/dependabot/nuget/Duplicati/WebserverCore/nuget-3a79d61093
...
Bump SixLabors.ImageSharp from 3.1.5 to 3.1.7 in /Duplicati/WebserverCore in the nuget group across 1 directory
2025-03-07 08:25:04 +01:00
dependabot[bot] and GitHub
9953f6d536
Bump SixLabors.ImageSharp
...
Bumps the nuget group with 1 update in the /Duplicati/WebserverCore directory: [SixLabors.ImageSharp](https://github.com/SixLabors/ImageSharp ).
Updates `SixLabors.ImageSharp` from 3.1.5 to 3.1.7
- [Release notes](https://github.com/SixLabors/ImageSharp/releases )
- [Commits](https://github.com/SixLabors/ImageSharp/compare/v3.1.5...v3.1.7 )
---
updated-dependencies:
- dependency-name: SixLabors.ImageSharp
dependency-type: direct:production
dependency-group: nuget
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-06 22:32:26 +00:00
Kenneth Skovhede and GitHub
f6d8ed83f0
Merge branch 'master' into feature/improved-failure-resilience
2025-03-06 22:32:37 +01:00
Kenneth Skovhede and GitHub
59072a648d
Merge pull request #6010 from duplicati/feature/debug-failing-tests
...
Fixed failing tests
2025-03-06 22:30:28 +01:00
Kenneth Skovhede
71c4527d9c
Fixed argument passing
2025-03-06 20:59:29 +01:00
marceloduplicati and GitHub
03c4f81412
Merge pull request #6013 from marceloduplicati/feature/fix-box-ci-test
...
Fix to Box CI parameter
2025-03-06 16:40:57 -03:00
Marcelo C.
57335aadaf
Fix to parameter name
...
Param is authid not auth-id
2025-03-06 16:40:09 -03:00
Kenneth Skovhede
b6f085f440
Fix for wrong tests being executed
2025-03-06 19:17:21 +01:00
Kenneth Skovhede
d75e690495
Fixed not being dependent on filesystem order
2025-03-06 18:26:56 +01:00
Kenneth Skovhede
e3727d8f18
Finding list of modified files to trace the error
2025-03-06 15:22:57 +01:00
Kenneth Skovhede
774e468287
Placed modify correctly
2025-03-06 15:12:38 +01:00
Kenneth Skovhede
ca236f03e3
Renamed flag to more precisely describe the purpose
2025-03-06 14:56:35 +01:00
Kenneth Skovhede
7beeb27ade
Extended tests and fixed a case where a left-over upload could cause errors.
2025-03-06 14:53:46 +01:00
Kenneth Skovhede
4e60a7ad49
Merge remote-tracking branch 'origin/master' into feature/improved-failure-resilience
2025-03-06 12:09:42 +01:00
Kenneth Skovhede
1321488527
Improve failure detection
...
This commit adds extra logic to prevent cases where the backup reports success but leaves behind partial files.
A new flag is recorded to track if partial files are possible. If no partial files are possible, the verification will fail if any are found.
2025-03-06 12:02:11 +01:00
Kenneth Skovhede
277362ce64
Another attempt at fixing the failing tests
2025-03-06 10:48:52 +01:00
Kenneth Skovhede and GitHub
5369b96d51
Merge pull request #6006 from duplicati/feature/show-window-with-login
...
Second instance of TrayIcon opens logged in view.
2025-03-06 08:23:20 +01:00
marceloduplicati and GitHub
f1b0eb46aa
Merge pull request #6001 from marceloduplicati/feature/add-box-to-ci
...
Adding Box.com to CI
2025-03-05 14:45:25 -03:00
Kenneth Skovhede and GitHub
3b24bd7f46
Merge pull request #6004 from duplicati/feature/locale-aware-systeminfo-cache
...
Locale aware systeminfo cache
2025-03-05 18:19:16 +01:00
Kenneth Skovhede and GitHub
07b5b0188d
Merge pull request #5998 from duplicati/feature/support-remote-log-configuration
...
Added support for handling control messages.
2025-03-05 16:53:58 +01:00
Kenneth Skovhede and GitHub
6647c143d5
Merge pull request #5994 from duplicati/feature/log-number-of-remote-filesets
...
Log remote filesets
2025-03-05 16:53:02 +01:00
Kenneth Skovhede and GitHub
35b26de715
Merge pull request #6002 from duplicati/feature/add-tests-for-lost-uploads
...
Add tests for lost uploads
2025-03-05 16:50:30 +01:00
Kenneth Skovhede
5177399bc2
Changed to UI culture by default for web output
2025-03-05 16:31:13 +01:00
Kenneth Skovhede
e74ae5555c
Removed used of callcontext in favor of direct AsyncLocal usage
2025-03-05 16:18:19 +01:00