Merged v0.5.1 develop into main.
This commit is contained in:
commit
150479e755
256 changed files with 6898 additions and 1833 deletions
|
@ -5,6 +5,7 @@ using API.DTOs.CollectionTags;
|
|||
using API.DTOs.Metadata;
|
||||
using API.DTOs.Reader;
|
||||
using API.DTOs.ReadingLists;
|
||||
using API.DTOs.Search;
|
||||
using API.DTOs.Settings;
|
||||
using API.Entities;
|
||||
using API.Entities.Enums;
|
||||
|
|
|
@ -25,17 +25,5 @@ namespace API.Helpers.Converters
|
|||
|
||||
return destination;
|
||||
}
|
||||
|
||||
// public static string ConvertFromCronNotation(string cronNotation)
|
||||
// {
|
||||
// var destination = string.Empty;
|
||||
// destination = cronNotation.ToLower() switch
|
||||
// {
|
||||
// "0 0 31 2 *" => "disabled",
|
||||
// _ => destination
|
||||
// };
|
||||
//
|
||||
// return destination;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -36,15 +36,15 @@ namespace API.Helpers.Converters
|
|||
case ServerSettingKey.EnableOpds:
|
||||
destination.EnableOpds = bool.Parse(row.Value);
|
||||
break;
|
||||
case ServerSettingKey.EnableAuthentication:
|
||||
destination.EnableAuthentication = bool.Parse(row.Value);
|
||||
break;
|
||||
case ServerSettingKey.BaseUrl:
|
||||
destination.BaseUrl = row.Value;
|
||||
break;
|
||||
case ServerSettingKey.BookmarkDirectory:
|
||||
destination.BookmarksDirectory = row.Value;
|
||||
break;
|
||||
case ServerSettingKey.EmailServiceUrl:
|
||||
destination.EmailServiceUrl = row.Value;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using System.Collections.Generic;
|
||||
using API.Entities;
|
||||
using API.Entities.Enums;
|
||||
using API.Extensions;
|
||||
using API.Parser;
|
||||
using API.Services.Tasks.Scanner;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue