Fixed a deployment bug where we weren't listening on port properly. New way will force firewall exception dialog on Windows and work across board. Implemented user preferences and ability to update them.

This commit is contained in:
Joseph Milazzo 2021-02-06 13:08:48 -06:00
parent 3548a3811c
commit bd5a1338c4
24 changed files with 987 additions and 5 deletions

View file

@ -0,0 +1,16 @@
using System.ComponentModel;
namespace API.Entities
{
public enum LibraryType
{
[Description("Manga")]
Manga = 0,
[Description("Comic")]
Comic = 1,
[Description("Book")]
Book = 2,
[Description("Webtoon")]
Webtoon = 3
}
}

View file

@ -0,0 +1,14 @@
using System.ComponentModel;
namespace API.Entities
{
public enum MangaFormat
{
[Description("Image")]
Image = 0,
[Description("Archive")]
Archive = 1,
[Description("Unknown")]
Unknown = 2
}
}

View file

@ -0,0 +1,9 @@
namespace API.Entities.Enums
{
public enum PageSplitOption
{
SplitLeftToRight = 0,
SplitRightToLeft = 1,
NoSplit = 2
}
}

View file

@ -0,0 +1,8 @@
namespace API.Entities.Enums
{
public enum ReadingDirection
{
LeftToRight = 0,
RightToLeft = 1
}
}

View file

@ -0,0 +1,9 @@
namespace API.Entities.Enums
{
public enum ScalingOption
{
FitToHeight = 0,
FitToWidth = 1,
Original = 2
}
}

View file

@ -0,0 +1,10 @@
namespace API.Entities
{
public enum ServerSettingKey
{
TaskScan = 0,
CacheDirectory = 1,
TaskBackup = 2,
LoggingLevel = 3
}
}