mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-30 19:54:14 -04:00
* Fixed an underline on hover of pagination link * Ensure title of companion bar eats full width if there is no filter * If a user doesn't have the Download role, they will not be able to download over OPDS. * Fixed a bug where after going into webtoon reader mode then leaving, the bookmark effect would continue using the webtoon mode styling * Fixed a bug where continuous reader wasn't being triggered due to moving scrollbar to body and a floating point percision error on scroll top * Fixed how continuous trigger is shown so that we properly adjust scroll on the top (for prev chapter) * Fixed a bad merge that broke saving any edits to series metadata * When a epub key is not correct, even after we correct it, ignore the inlining of the style so the book is at least still readable. * Disabled double rendering (this feature is being postponed to a later release) * Disabled user setting and forced it to Single on any save * Removed cache directory from UpdateSettings validation as we don't allow changing it. * Fix security issue with url parse * After all migrations run, update the installed version in the Database. Send that installed version on the stat service. * Dependency bot to update some security stuff * Some misc code cleanup and fixes on the typeahead (still broken)
43 lines
1.7 KiB
C#
43 lines
1.7 KiB
C#
using API.Services;
|
|
|
|
namespace API.DTOs.Settings
|
|
{
|
|
public class ServerSettingDto
|
|
{
|
|
public string CacheDirectory { get; set; }
|
|
public string TaskScan { get; set; }
|
|
/// <summary>
|
|
/// Logging level for server. Managed in appsettings.json.
|
|
/// </summary>
|
|
public string LoggingLevel { get; set; }
|
|
public string TaskBackup { get; set; }
|
|
/// <summary>
|
|
/// Port the server listens on. Managed in appsettings.json.
|
|
/// </summary>
|
|
public int Port { get; set; }
|
|
/// <summary>
|
|
/// Allows anonymous information to be collected and sent to KavitaStats
|
|
/// </summary>
|
|
public bool AllowStatCollection { get; set; }
|
|
/// <summary>
|
|
/// Enables OPDS connections to be made to the server.
|
|
/// </summary>
|
|
public bool EnableOpds { get; set; }
|
|
/// <summary>
|
|
/// Base Url for the kavita. Requires restart to take effect.
|
|
/// </summary>
|
|
public string BaseUrl { get; set; }
|
|
/// <summary>
|
|
/// Where Bookmarks are stored.
|
|
/// </summary>
|
|
/// <remarks>If null or empty string, will default back to default install setting aka <see cref="DirectoryService.BookmarkDirectory"/></remarks>
|
|
public string BookmarksDirectory { get; set; }
|
|
/// <summary>
|
|
/// Email service to use for the invite user flow, forgot password, etc.
|
|
/// </summary>
|
|
/// <remarks>If null or empty string, will default back to default install setting aka <see cref="EmailService.DefaultApiUrl"/></remarks>
|
|
public string EmailServiceUrl { get; set; }
|
|
public string InstallVersion { get; set; }
|
|
}
|
|
}
|