Release Polish (#1586)
* Fixed a scaling issue in the epub reader, where images could scale when they shouldn't. * Removed some caching on library/ api and added more output for a foreign key constraint * Hooked in Restricted Profile stat collection * Added a new boolean on age restrictions to explicitly allow unknowns or not. Since unknown is the default state of metadata, if users are allowed access to Unknown, age restricted content could leak. * Fixed a bug where sometimes series cover generation could fail under conditions where only specials existed. * Fixed foreign constraint issue when cleaning up series not seen at end of scan loop * Removed an additional epub parse when scanning and handled merging differently * Code smell
This commit is contained in:
parent
78762a5626
commit
9149c4cbca
46 changed files with 2504 additions and 145 deletions
9
API/Data/Misc/AgeRestriction.cs
Normal file
9
API/Data/Misc/AgeRestriction.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
using API.Entities.Enums;
|
||||
|
||||
namespace API.Data.Misc;
|
||||
|
||||
public class AgeRestriction
|
||||
{
|
||||
public AgeRating AgeRating { get; set; }
|
||||
public bool IncludeUnknowns { get; set; }
|
||||
}
|
||||
22
API/Data/Misc/RecentlyAddedSeries.cs
Normal file
22
API/Data/Misc/RecentlyAddedSeries.cs
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
using System;
|
||||
using API.Entities.Enums;
|
||||
|
||||
namespace API.Data.Misc;
|
||||
|
||||
public class RecentlyAddedSeries
|
||||
{
|
||||
public int LibraryId { get; init; }
|
||||
public LibraryType LibraryType { get; init; }
|
||||
public DateTime Created { get; init; }
|
||||
public int SeriesId { get; init; }
|
||||
public string SeriesName { get; init; }
|
||||
public MangaFormat Format { get; init; }
|
||||
public int ChapterId { get; init; }
|
||||
public int VolumeId { get; init; }
|
||||
public string ChapterNumber { get; init; }
|
||||
public string ChapterRange { get; init; }
|
||||
public string ChapterTitle { get; init; }
|
||||
public bool IsSpecial { get; init; }
|
||||
public int VolumeNumber { get; init; }
|
||||
public AgeRating AgeRating { get; init; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue