Add log truncate buttons to admin (#180)

This commit is contained in:
Leendert de Borst
2024-09-01 17:11:52 +02:00
parent df72068e5c
commit eca61933bf
22 changed files with 511 additions and 59 deletions

View File

@@ -15,6 +15,7 @@ using AliasVault.Admin.Main;
using AliasVault.Admin.Services;
using AliasVault.AuthLogging;
using AliasVault.Logging;
using AliasVault.RazorComponents.Services;
using Cryptography.Server;
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Identity;
@@ -48,6 +49,7 @@ builder.Services.AddScoped<NavigationService>();
builder.Services.AddScoped<AuthenticationStateProvider, RevalidatingAuthenticationStateProvider>();
builder.Services.AddHttpContextAccessor();
builder.Services.AddScoped<AuthLoggingService>();
builder.Services.AddScoped<ConfirmModalService>();
builder.Services.AddSingleton(new VersionedContentService(Directory.GetCurrentDirectory() + "/wwwroot"));
builder.Services.AddAuthentication(options =>