mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-03 21:54:47 -04:00
* When account updates occur for a user, send an event to them to tell them to refresh their account information (if they are on the site at the time). This way if we revoke permissions, the site will reactively adapt. * Some cleanup on the user preferences to remove some calls we don't need anymore. * Removed old bulk cleanup bookmark code as it's no longer needed. * Tweaked the messaging for stat collection to reflect what we collect now versus when this was initially implemented. * Implemented the ability for users to configure their servers to save bookmarks as webP. Reorganized the tabs for Admin dashboard to account for upcoming features. * Implemented the ability to bulk convert bookmarks (as many times as the user wants). Added a display of Reoccurring Jobs to the Tasks admin tab. Currently it's just placeholder, but will be enhanced further later in the release. * Tweaked the wording around the convert switch. * Moved System actions to the task tab * Added a controller just for Tachiyomi so we can have dedicated APIs for that client. Deprecated an existing API on the Reader route. * Fixed the unit tests
86 lines
3.0 KiB
C#
86 lines
3.0 KiB
C#
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,
|
|
}
|
|
}
|