File Created Date (#1434)

* Capture date when Kavita creates a MangaFile so we can show the date on the UI.

* On startup, exit early for migration directory if it's a fresh install and we have migrations to run but no settings stored yet.

* Blur summaries should apply when there isn't any read more collapsable

* Fixed custom theme files not loading.

* Cleaned up the logic for displaying the manga file date
This commit is contained in:
Joseph Milazzo 2022-08-14 09:35:02 -05:00 committed by GitHub
parent 79b8df1112
commit 7a026e9497
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 1653 additions and 6 deletions

View file

@ -6,6 +6,7 @@ using API.Entities;
using API.Entities.Enums.Theme;
using API.SignalR;
using Kavita.Common;
using Microsoft.AspNetCore.Authorization;
namespace API.Services.Tasks;
@ -34,6 +35,7 @@ public class ThemeService : IThemeService
/// </summary>
/// <param name="themeId"></param>
/// <returns></returns>
[AllowAnonymous]
public async Task<string> GetContent(int themeId)
{
var theme = await _unitOfWork.SiteThemeRepository.GetThemeDto(themeId);