Adds book deletion and restore to the web client.

Soft deletes books so the scan keeps their paths reserved, lists the deleted books on a themed page, and lets the user restore them. Updates the API, bundled themes, localization, documentation and tests.

Closes #213
This commit is contained in:
BinaryAlley committed 2026-11-13 18:00:00 +02:00
1 parent ef5ede6325
commit f26b07d4ff
125 files changed
+9856 -378

No files matched your search

@@ -1913,6 +1913,10 @@ namespace Lumina.DataAccess.Common.Migrations
.HasColumnType("TEXT")
.HasColumnOrder(32);
b.Property<DateTime?>("DeletedOnUtc")
.HasColumnType("TEXT")
.HasColumnOrder(42);
b.Property<string>("Description")
.HasMaxLength(2000)
.HasColumnType("TEXT")
@@ -1936,6 +1940,12 @@ namespace Lumina.DataAccess.Common.Migrations
.HasColumnType("TEXT")
.HasColumnOrder(27);
b.Property<bool>("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER")
.HasDefaultValue(false)
.HasColumnOrder(41);
b.Property<string>("LCCN")
.HasColumnType("TEXT")
.HasColumnOrder(23);
@@ -2067,6 +2077,8 @@ namespace Lumina.DataAccess.Common.Migrations
b.HasIndex("LibraryId", "Path")
.IsUnique();
b.HasIndex("LibraryId", "IsDeleted", "DeletedOnUtc", "Title", "Id");
b.ToTable("Books", (string)null);
});