mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-20 22:10:33 -04:00
* Refactored the design of reading list page to follow more in line with list view. Added release date on the reading list items, if it's set in underlying chapter. Fixed a bug where reordering the list items could sometimes not update correctly with drag and drop. * Removed a bug marker that I just fixed * When generating library covers, make them much smaller as they are only ever icons. * Fixed library settings not showing the correct image. * Fixed a bug where duplicate collection tags could be created. Fixed a bug where collection tag normalized title was being set to uppercase. Redesigned the edit collection tag modal to align with new library settings and provide inline name checks. * Updated edit reading list modal to align with new library settings modal pattern. Refactored the backend to ensure it flows correctly without allowing duplicate names. Don't show Continue point on series detail if the whole series is read. * Added some more unit tests around continue point * Fixed a bug on series detail when bulk selecting between volume and chapters, the code which determines which chapters are selected didn't take into account mixed layout for Storyline tab. * Refactored to generate an OpenAPI spec at root of Kavita. This will be loaded by a new API site for easy hosting. Deprecated EnableSwaggerUi preference as after validation new system works, this will be removed and instances can use our hosting to hit their server (or run a debug build). * Test GA * Reverted GA and instead do it in the build step. This will just force developers to commit it in. * GA please work * Removed redundant steps from test since build already does it. * Try another GA * Moved all test actions into initial build step, which should drastically cut down on time. Only run sonar if the secret is present (so not for forks). Updated build requirements for develop and stable docker pushes. * Fixed env variable * Okay not possible to do secrets in if statement * Fixed the build step to output the openapi.json where it's expected.
112 lines
3.6 KiB
C#
112 lines
3.6 KiB
C#
using System;
|
|
using System.ComponentModel;
|
|
|
|
namespace API.Entities.Enums;
|
|
|
|
public enum ServerSettingKey
|
|
{
|
|
/// <summary>
|
|
/// Cron format for how often full library scans are performed.
|
|
/// </summary>
|
|
[Description("TaskScan")]
|
|
TaskScan = 0,
|
|
/// <summary>
|
|
/// Where files are cached. Not currently used.
|
|
/// </summary>
|
|
[Description("CacheDirectory")]
|
|
CacheDirectory = 1,
|
|
/// <summary>
|
|
/// Cron format for how often backups are taken.
|
|
/// </summary>
|
|
[Description("TaskBackup")]
|
|
TaskBackup = 2,
|
|
/// <summary>
|
|
/// Logging level for Server. Not managed in DB. Managed in appsettings.json and synced to DB.
|
|
/// </summary>
|
|
[Description("LoggingLevel")]
|
|
LoggingLevel = 3,
|
|
/// <summary>
|
|
/// Port server listens on. Not managed in DB. Managed in appsettings.json and synced to DB.
|
|
/// </summary>
|
|
[Description("Port")]
|
|
Port = 4,
|
|
/// <summary>
|
|
/// Where the backups are stored.
|
|
/// </summary>
|
|
[Description("BackupDirectory")]
|
|
BackupDirectory = 5,
|
|
/// <summary>
|
|
/// Allow anonymous data to be reported to KavitaStats
|
|
/// </summary>
|
|
[Description("AllowStatCollection")]
|
|
AllowStatCollection = 6,
|
|
/// <summary>
|
|
/// Is OPDS enabled for the server
|
|
/// </summary>
|
|
[Description("EnableOpds")]
|
|
EnableOpds = 7,
|
|
/// <summary>
|
|
/// Is Authentication needed for non-admin accounts
|
|
/// </summary>
|
|
/// <remarks>Deprecated. This is no longer used v0.5.1+. Assume Authentication is always in effect</remarks>
|
|
[Description("EnableAuthentication")]
|
|
EnableAuthentication = 8,
|
|
/// <summary>
|
|
/// Base Url for the server. Not Implemented.
|
|
/// </summary>
|
|
[Description("BaseUrl")]
|
|
BaseUrl = 9,
|
|
/// <summary>
|
|
/// Represents this installation of Kavita. Is tied to Stat reporting but has no information about user or files.
|
|
/// </summary>
|
|
[Description("InstallId")]
|
|
InstallId = 10,
|
|
/// <summary>
|
|
/// Represents the version the software is running.
|
|
/// </summary>
|
|
/// <remarks>This will be updated on Startup to the latest release. Provides ability to detect if certain migrations need to be run.</remarks>
|
|
[Description("InstallVersion")]
|
|
InstallVersion = 11,
|
|
/// <summary>
|
|
/// Location of where bookmarks are stored
|
|
/// </summary>
|
|
[Description("BookmarkDirectory")]
|
|
BookmarkDirectory = 12,
|
|
/// <summary>
|
|
/// If SMTP is enabled on the server
|
|
/// </summary>
|
|
[Description("CustomEmailService")]
|
|
EmailServiceUrl = 13,
|
|
/// <summary>
|
|
/// If Kavita should save bookmarks as WebP images
|
|
/// </summary>
|
|
[Description("ConvertBookmarkToWebP")]
|
|
ConvertBookmarkToWebP = 14,
|
|
/// <summary>
|
|
/// If the Swagger UI Should be exposed. Does not require authentication, but does require a JWT.
|
|
/// </summary>
|
|
[Description("EnableSwaggerUi")]
|
|
[Obsolete("Being removed in v0.7 in favor of dedicated hosted api")]
|
|
EnableSwaggerUi = 15,
|
|
/// <summary>
|
|
/// Total Number of Backups to maintain before cleaning. Default 30, min 1.
|
|
/// </summary>
|
|
[Description("TotalBackups")]
|
|
TotalBackups = 16,
|
|
/// <summary>
|
|
/// If Kavita should watch the library folders and process changes
|
|
/// </summary>
|
|
[Description("EnableFolderWatching")]
|
|
EnableFolderWatching = 17,
|
|
/// <summary>
|
|
/// Total number of days worth of logs to keep
|
|
/// </summary>
|
|
[Description("TotalLogs")]
|
|
TotalLogs = 18,
|
|
/// <summary>
|
|
/// If Kavita should save covers as WebP images
|
|
/// </summary>
|
|
[Description("ConvertCoverToWebP")]
|
|
ConvertCoverToWebP = 19,
|
|
}
|