Commit Graph
12195 Commits
Author SHA1 Message Date
Carl Johnsen bb87e94ffa Post merge master fixes 2025-06-24 14:38:58 +02:00
Carl Johnsen e55c36081f Merge branch 'master' into performance/mssqlite-async 2025-06-24 14:24:09 +02:00
Carl Johnsen f9111a9dde Made RestoreHandler call the DisposeAsync instead of Dispose on the LocalRestoreDatabase 2025-06-24 12:05:15 +02:00
Carl Johnsen 8c9f129b8a Removed unused parameter 2025-06-24 12:04:49 +02:00
Carl Johnsen 79b63ee4b2 Fixed race condition on creating and disposing SqliteCommands from multiple threads sharing the same SqliteConnection 2025-06-24 12:04:31 +02:00
Kenneth SkovhedeandGitHub 86acc32c1c Merge pull request #6361 from duplicati/feature/handle-transitive-folders
Transitive virtual folders
2025-06-24 07:41:51 +02:00
Kenneth SkovhedeandGitHub afc3a306af Merge pull request #6362 from duplicati/feature/dont-report-fixed-files
Remove fixed index files from output
2025-06-23 21:39:50 +02:00
Kenneth Skovhede b7a0053e5b Rewrote function to return minimal unique prefixes instead 2025-06-23 17:40:28 +02:00
Carl Johnsen 09d79512bc Handled package / assembly version mismatch due to revision numbers 2025-06-23 13:31:05 +02:00
Carl Johnsen b729a1929a SQLite no longer has to be manually patched 2025-06-23 13:30:46 +02:00
Carl Johnsen e536c73be2 Removed whitespace 2025-06-23 13:30:28 +02:00
Carl Johnsen f0b56c058f Removed duplicate project references in the SQLiteHelper project 2025-06-23 13:29:02 +02:00
Carl Johnsen e71adc8ad9 Added specific package versions to the Storj backend, as the default would pull in old sqlite packages that could conflict with the newer sqlite packages pulled in by Microsoft.Data.Sqlite 2025-06-23 13:28:37 +02:00
Kenneth SkovhedeandGitHub 582a8a2e05 Merge pull request #6363 from duplicati/feature/dont-add-extra-dashes
No extra dashes on direct restore
2025-06-23 11:02:25 +02:00
Carl Johnsen 46499033b8 Exchanged one of the known packages in the ReleaseBuilder to expect Microsoft.Data.Sqlite instead of the old SQLite package. 2025-06-23 10:28:25 +02:00
Carl Johnsen a3d2ffbcd0 Removed whitespace 2025-06-23 10:27:35 +02:00
Carl Johnsen 6ee76a29d3 Made the callback on a put command to the backend be a function returning an awaitable Task rather than an Action. 2025-06-23 10:27:09 +02:00
Kenneth Skovhede 95a8297888 More handling of encryption passphrase
This fixes #6318
2025-06-20 17:08:07 +02:00
Kenneth Skovhede 15863bdd10 No extra dashes on direct restore
This fixes #2605
2025-06-20 17:04:12 +02:00
Kenneth Skovhede 6912d89b99 Remove fixed index files from output
This removes index files that were succesfully repaired from the output, so the now-missing files are not reported as failures.

This fixes #6336
2025-06-20 16:40:21 +02:00
Kenneth Skovhede 67e431a715 Implemented new query to get root paths and their transitive virtual folders 2025-06-20 11:13:12 +02:00
Kenneth SkovhedeandGitHub 66b4d34af3 Merge pull request #6358 from duplicati/feature/add-completed-task-event
Add completed-task event to websocket
2025-06-19 14:51:19 +02:00
Kenneth SkovhedeandGitHub d91476918f Merge pull request #6357 from duplicati/feature/signal-update-after-metadata-change
Signal update after metadata change
2025-06-19 14:50:50 +02:00
Carl Johnsen 6460e33787 Added missing double quotes to the SQL queries in LocalRepairDatabase.FixEmptyMetadatasets() 2025-06-19 13:23:39 +02:00
Carl Johnsen 0a047a37e3 SQL query inside GetEmptyMetadataBlocksetId had not only moved files, but had also changed 2025-06-19 13:20:44 +02:00
Carl Johnsen b9fa8bd0bb Previous version was using 'null' as a transaction, which implies a commit after each query. 2025-06-19 13:20:01 +02:00
Carl Johnsen 089dc8c53d Assert.Throws did not like async lambda functions 2025-06-19 13:19:36 +02:00
Carl Johnsen 26c48c7e62 Post merge with master fixes 2025-06-19 12:24:22 +02:00
Carl Johnsen f6ac30e831 Merge remote-tracking branch 'upstream/master' into performance/mssqlite-async 2025-06-19 12:17:30 +02:00
Carl Johnsen 322e4f15e4 Implemented a lightweight parser to the CUSTOMSQLITEOPTIONS environment variable along with new default options. 2025-06-19 11:48:05 +02:00
Carl Johnsen 2412800c0c Removed the sqlite page cache option. It should be set through the environment variable, or some other way of providing a custom database configurotion 2025-06-19 11:41:39 +02:00
Carl Johnsen 9b0d89363b Removed whitespace 2025-06-19 11:40:23 +02:00
Carl Johnsen 31c5441bdb Forwarded cancellation tokens, added some missing .ConfigureAwait() and added some missing docstrings 2025-06-19 11:04:09 +02:00
Carl Johnsen 7e979a4e9b Found some methods in LocalBackupDatabase that didn't accept a cancellation token 2025-06-19 11:01:12 +02:00
Carl Johnsen 78d649f5a3 All of the non-internal-library methods calling the database functions forwards CancellationToken.None 2025-06-19 11:00:24 +02:00
Carl Johnsen 0f0da82f28 Removed whitespace 2025-06-19 10:59:22 +02:00
Carl Johnsen 32efa4b845 Updated all of the handler calls to database methods to forward their cancellation token 2025-06-19 09:47:33 +02:00
Carl Johnsen 7c425c4649 Added some extra overloads to the async database extension methods 2025-06-19 08:08:17 +02:00
Carl Johnsen b9952281ed ReusableTransaction.RollbackAsync now also accepts cancellation tokens 2025-06-19 08:07:48 +02:00
Carl Johnsen 4f7760f092 Made the LocalTestDatabase methods accep a cancellation token 2025-06-19 08:04:20 +02:00
Carl Johnsen 488d531bd5 Made the LocalRestoreDatabase methods accept a cancellation token 2025-06-19 07:54:53 +02:00
Carl Johnsen 04c52010fe Made the LocalRepairDatabase methods accept a cancellation token 2025-06-19 07:26:54 +02:00
Carl Johnsen 1c103c18b8 Made the LocalRecreateDatabase methods accept a cancellation token 2025-06-19 07:15:28 +02:00
Carl Johnsen 736b52c2fb Made the LocalPurgeDatabase methods accept a cancellation token 2025-06-19 07:00:14 +02:00
Carl Johnsen 3ea8733a4d Made the LocalListDatabase methods accept a cancellation token 2025-06-19 06:54:24 +02:00
Kenneth SkovhedeandGitHub fa36b705cb Merge pull request #6356 from duplicati/feature/correct-version-number
Return version numbers, and not ids
2025-06-18 21:16:46 +02:00
Kenneth Skovhede dc19695ddb Add completed-task event to websocket
This adds support for subscribing to a "completed task" event, that is triggered when a task completes.

Using this subscription removes the need to poll for task state.
2025-06-18 21:15:56 +02:00
Carl Johnsen 28ca30f617 Made the LocalListChangesDatabase methods accept a cancellation token 2025-06-18 16:28:23 +02:00
Carl Johnsen 42877ebf96 Made the LocalListBrokenFilesDatabase methods accept a cancellation token 2025-06-18 16:23:10 +02:00
Carl Johnsen 936742b586 Made the LocalListAffectedDatabase methods accept a cancellation token 2025-06-18 16:11:10 +02:00