Commit Graph
5316 Commits
Author SHA1 Message Date
Kenneth Skovhede 072f89c747 Remove WorkerThread class
This removes the WorkerThread class and many of the complications around it.

Instead of having a generic worker, there is now the `QueueRunnerService` which takes on all the resposibilities for handling queued tasks.

This is one step towards removing `FIXMEGlobal`
2025-05-03 15:01:09 +02:00
Kenneth Skovhede 4ecb85d2de Added task metadata
This adds the task start and finish time.

The tracking of completed tasks has been moved to a separate service to reduce the use of FIXMEGlobal.
2025-05-02 15:11:34 +02:00
Kenneth SkovhedeandGitHub 7f2df8dcf3 Merge pull request #6224 from duplicati/feature/resilient-box-error-parsing
Resillient box error parsing
2025-05-02 09:32:49 +02:00
Kenneth SkovhedeandGitHub ea16becc04 Merge pull request #5053 from Jojo-1000/fix-regexp-combine
Fix incorrect filter behavior when combining multiple regexp
2025-05-01 14:42:43 +02:00
Kenneth Skovhede 5d16081940 Resillient box error parsing
When an error is thrown from box.com, it is sometimes not formatted according to the API documentation (most likely html/xml output).

This commit handles an invalid JSON response and returns the body contents in the error message.

This fixes #4283
2025-05-01 14:40:40 +02:00
Kenneth Skovhede 02eac71e41 Also show a folder in the suggested format 2025-05-01 10:21:30 +02:00
Kenneth Skovhede 181b79c0b8 Fixed pCloud OAuth url from commandline 2025-05-01 10:18:58 +02:00
Kenneth SkovhedeandGitHub a15c3262be Merge branch 'master' into fix-regexp-combine 2025-04-30 16:14:17 +02:00
Kenneth Skovhede ab6ef6c60b Fixed minor issues with the listing method 2025-04-30 16:11:46 +02:00
Kenneth SkovhedeandGitHub 9b3328daef Merge pull request #6210 from duplicati/feature/improve-backup-listing-speed
Improve backup listing speed for restore
2025-04-30 12:47:13 +02:00
Kenneth Skovhede 4cf2486bc8 Included fix from #4990
This closes #4990
2025-04-30 09:26:58 +02:00
Kenneth Skovhede 39dca1eb79 Improve list-broken-files output
This hand-picks the changes from #5049 by @gpatel-fr.

The change is to use a left-join to include all broken files, even if there are no entries in the Blockset table.

The update is only visual but makes the results consistent with the actual operation performed by purge-broken-files.

This close #5049
2025-04-30 09:22:24 +02:00
Kenneth Skovhede f533e3d300 Moved fragment back 2025-04-29 15:49:38 +02:00
Kenneth Skovhede 2f0a5af416 Implemented a new API for the new list operations.
The new API avoids using HTTP status codes and verbs.

Added new structure for having a similar response envelope and pagination support for V2 calls.

Added extensions to the systemInfo call so the client knows if the V2 methods are available.
2025-04-29 14:41:51 +02:00
Kenneth Skovhede a3bc9b80ca Implemented 4 new list methods that are optimized for a single operation 2025-04-29 10:03:57 +02:00
Kenneth SkovhedeandGitHub 5464dc0940 Merge pull request #5133 from duplicati/feature/support-cachedir-tag
Added `CACHEDIR.TAG` as the default marker for ignoring directories
2025-04-26 10:39:01 +02:00
Kenneth Skovhede 385581a16c Fixed minor issue with clearing metadata 2025-04-25 17:32:52 +02:00
Kenneth SkovhedeandGitHub af9465d8e3 Merge pull request #6187 from duplicati/feature/fix-throttle-speeds
Fixed throttle support
2025-04-25 15:36:44 +02:00
Kenneth SkovhedeandGitHub 2837a105ee Merge pull request #6186 from duplicati/feature/add-sqlite-cache-value
Added option to set the SQLite page cache
2025-04-25 14:45:43 +02:00
Kenneth SkovhedeandGitHub 4515e13342 Merge pull request #6199 from duplicati/feature/add-downgrade-db-tool
Added a database downgrade tool
2025-04-25 14:43:59 +02:00
Kenneth SkovhedeandGitHub 70b177318a Merge pull request #6201 from duplicati/feature/support-azure-access-tier
Support Azure Access Tier
2025-04-25 14:00:09 +02:00
Kenneth SkovhedeandGitHub 39b12b958d Merge pull request #6191 from duplicati/feature/warn-more-on-extra-files
Warn more on extra files
2025-04-25 13:59:20 +02:00
Kenneth SkovhedeandGitHub da02a93978 Merge branch 'master' into feature/fix-throttle-speeds 2025-04-25 13:58:53 +02:00
Kenneth SkovhedeandGitHub 1bbe04a782 Merge branch 'master' into feature/add-sqlite-cache-value 2025-04-25 13:58:24 +02:00
Kenneth SkovhedeandGitHub 32025984ee Merge pull request #5925 from duplicati/feature/support-glacier-style-non-readable-files
Adds support for a flag to mark remote files as "Archived".
2025-04-25 13:57:02 +02:00
Kenneth Skovhede a906787c74 Bumped streamutil package 2025-04-25 13:55:15 +02:00
Kenneth Skovhede 5f2f20f3b3 Only Cold and Archive are treated as archived by default. 2025-04-25 12:45:52 +02:00
Kenneth Skovhede ba298df915 Added an upgrade command to the database tool 2025-04-25 12:30:03 +02:00
Kenneth Skovhede 1eb95c046f Added option to scan for databases that are not connected to CLI or server database. 2025-04-25 11:13:50 +02:00
Kenneth Skovhede f88635717d Merge remote-tracking branch 'origin/master' into feature/fix-throttle-speeds 2025-04-24 21:49:11 +02:00
Kenneth Skovhede 631a34066b Report all available storage classes 2025-04-24 21:46:02 +02:00
Kenneth Skovhede 0d5bd3027e Fixed reporting all available tiers 2025-04-24 21:45:06 +02:00
Kenneth Skovhede c4e6891e31 Don't cast null to access tier 2025-04-24 21:31:38 +02:00
Kenneth Skovhede ebaf725598 Fixed a case where ArchiveTime could be created as nullable 2025-04-24 21:26:24 +02:00
Kenneth Skovhede fa55a1ed23 Support Azure Access Tier
This adds support for Azure Access Tiers, similar to AWS Storage Class.

This update adds the option to set a custom storage class, as well as the option to define which storage classes are considered archive classes.
2025-04-24 21:14:47 +02:00
Kenneth Skovhede 69df1d5eec Fixed logic to correctly see if ArchiveTime is set 2025-04-24 20:30:56 +02:00
Kenneth Skovhede 2ef04e43ee Simplified new ArchiveTime column to not allow null 2025-04-24 20:30:08 +02:00
Kenneth Skovhede 75f7582014 Fixed passing transaction to more places 2025-04-24 20:28:26 +02:00
Kenneth Skovhede a0ecc5e05d Added a database downgrade tool 2025-04-24 16:36:14 +02:00
Kenneth SkovhedeandGitHub 55d3e8f299 Merge pull request #6197 from duplicati/feature/fix-re-update-to-existing-version
Added flag to ignore updating to existing version
2025-04-24 10:59:44 +02:00
Kenneth Skovhede 46f5efd178 Merge branch 'master' into feature/support-glacier-style-non-readable-files 2025-04-23 22:37:31 +02:00
Kenneth SkovhedeandGitHub f3d7905f0e Merge branch 'master' into feature/support-cachedir-tag 2025-04-23 22:04:06 +02:00
Kenneth SkovhedeandGitHub b2aa9a44a8 Merge pull request #6196 from duplicati/feature/ignore-any-error-on-pragma-optimize
Ignore any error on pragma optimize.
2025-04-23 21:28:32 +02:00
Kenneth Skovhede 23db3fd090 Added flag to ignore updating to existing version
This fixes #4604

This fixes #3587

This fixes #2275
2025-04-23 17:05:40 +02:00
Kenneth Skovhede e0475f3a9c Ignore any error on pragma optimize.
Previous logic would only catch SQLite exceptions, but it is just a performance thing, so we can ignore any errors (they are still logged)
2025-04-23 16:40:36 +02:00
Kenneth SkovhedeandGitHub 171eb1bb12 Merge branch 'master' into feature/add-sqlite-cache-value 2025-04-23 16:34:55 +02:00
Kenneth SkovhedeandGitHub e0730b253f Merge branch 'master' into feature/make-file-backend-compliant 2025-04-23 16:34:36 +02:00
Kenneth SkovhedeandGitHub a1de1d9983 Merge branch 'master' into feature/warn-more-on-extra-files 2025-04-23 16:34:29 +02:00
Kenneth Skovhede 18477c572d Fixed some nullability warnings 2025-04-23 15:40:16 +02:00
Kenneth Skovhede 3ff868b0f9 Removed tracking of files sizes, and implemented it with a database lookup 2025-04-23 15:39:32 +02:00