Titano: Library completion, remote editing, accessibility and RTL pass, remaining translations #3

Merged
Alby96 merged 117 commits from claude/keen-knuth-uhxv8w into main 2026-10-12 09:24:21 +02:00
Showing only changes of commit 5aa7ed1e6f - Show all commits
+6 -4
View File
@@ -4,6 +4,7 @@ using System.Text.Json.Nodes;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Titano.Protocol;
using Titano.Server.Hosting;
using Titano.Testing;
namespace Titano.Server.Tests.Api;
@@ -75,13 +76,14 @@ public sealed class AdminTests(TestContext context)
var admin = await server.AdminAsync();
using var files = await admin.GetAsync("/api/v1/logs/files");
var name = (await files.ReadAsync(ProtocolJson.Default.ListLogFileDto)).First().Name;
var logger = server.Services.GetRequiredService<ILoggerFactory>().CreateLogger("Titano.Server.Tests");
// Jobs, uploads and sign-ins keep writing to the file an administrator downloads. Only to the file: a flood on
// the console would hold up the loggers of the tests running alongside.
var logger = server.Services.GetServices<ILoggerProvider>().OfType<FileLoggerProvider>().Single().CreateLogger("Titano.Server.Tests");
using var stop = new CancellationTokenSource();
// Jobs, uploads and sign-ins keep writing to the file an administrator downloads.
var logging = Task.Run(() =>
var logging = Task.Factory.StartNew(() =>
{
while (!stop.IsCancellationRequested) logger.LogInformation("Busy");
});
}, TaskCreationOptions.LongRunning);
try
{
for (var i = 0; i < 5; i++)