mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-02 13:14:28 -04:00
* Added --card-list-item-bg-color for the card list items * Updated the card list item progress to match how cards render * Implemented the ability to configure how many backups are retained. * Fixed a bug where odd jump keys could cause a bad index error for jump bar * Commented out more code for the pagination route if we go with that. * Reverted a move of DisableConcurrentExecution to interface, as it seems to not work there. * Updated manga format utility code to pipes * Fixed bulk selection on series detail page * Fixed bulk selection on all other pages * Changed card item to OnPush * Updated image component to OnPush * Updated Series Card to OnPush * Updated Series Detail to OnPush * Lots of changes here. Integrated parentscroll support on card detail layout. Added jump bar (custom js implementation) on collection, reading list and all series pages. Updated UserParams to default to no pagination. Lots of cleanup all around * Updated some notes on a module use * Some code cleanup * Fixed up a broken test due to the mapper not being configured in the test. * Applied TabID pattern to edit collection tags * Applied css from series detail to collection detail page to remove double scrollbar * Implemented the ability to sort by Time To Read. * Throw an error to the UI when we extract an archive and it contains invalid characters in the filename for the Server OS. * Tweaked how the page scrolls for jumpbar on collection detail. We will have to polish another release * Cleaned up the styling on directory picker * Put some code in but it doesn't work for scroll to top on virtual scrolling. I'll do it later. * Fixed a container bug
56 lines
2.2 KiB
C#
56 lines
2.2 KiB
C#
using System.Collections.Generic;
|
|
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; }
|
|
|
|
public bool ConvertBookmarkToWebP { get; set; }
|
|
/// <summary>
|
|
/// If the Swagger UI Should be exposed. Does not require authentication, but does require a JWT.
|
|
/// </summary>
|
|
public bool EnableSwaggerUi { get; set; }
|
|
|
|
/// <summary>
|
|
/// The amount of Backups before cleanup
|
|
/// </summary>
|
|
/// <remarks>Value should be between 1 and 30</remarks>
|
|
public int TotalBackups { get; set; } = 30;
|
|
}
|
|
}
|