Commit Graph
10 Commits
Author SHA1 Message Date
Kenneth Skovhede 179d1ceb47 Make controller Async
This PR has a large blast radius because it takes the final step and bumps up the Controller to be fully async.

We have historically done a piece-by-piece update, so all operations were already async but the controller interface was kept synchronous.

With this update, the controller is now fully async and all tests are updated.

Most places where the new C# compiler warns about function names not ending in `Async` were also adressed, giving a massive refactor change.

Functionally, no changes are done.
2026-05-13 15:04:13 +02:00
Kenneth Skovhede c0f40e19ca Updated copyright year to 2026 across the project 2026-04-16 15:21:24 +02:00
Kenneth Skovhede 8b2475ee93 Add verify and cleanup to database tool
Adds two new commands to the database CLI tool:

- verify: Lists all databases with their status (Found, Missing, Orphaned)
  across dbconfig.json, server database, and filesystem

- cleanup: Removes orphaned database files not referenced in dbconfig.json
  or server database, with --dry-run and --force options

Includes unit tests for both commands.
2026-03-11 10:27:45 +01:00
Carl Johnsen f6ac30e831 Merge remote-tracking branch 'upstream/master' into performance/mssqlite-async 2025-06-19 12:17:30 +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
Kenneth Skovhede 8fca01f64f Updated NUnit
This closes #4939
2025-06-13 11:48:24 +02:00
Kenneth Skovhede 4c15729f6e Check exit code in dbtool tests 2025-05-16 14:20:32 +02:00
Kenneth Skovhede 32f44a1ea7 Fixed issues with compile after merges 2025-04-25 17:21:39 +02:00
Kenneth Skovhede 04b98b4be6 Added tests to database tool 2025-04-25 12:30:26 +02:00