Release v1.0.0 #16

Merged
Wesser merged 492 commits from release/v1.0.0 into master 2025-02-12 09:19:32 +03:00
302 changed files with 15838 additions and 99 deletions
Showing only changes of commit dc08285ec8 - Show all commits

View File

@ -102,10 +102,18 @@ public class ScheduleController(ILogger<ScheduleController> logger, IOptionsSnap
/// </summary> /// </summary>
/// <returns>Cron update skip dates.</returns> /// <returns>Cron update skip dates.</returns>
[HttpGet("CronUpdateSkip")] [HttpGet("CronUpdateSkip")]
public ActionResult<List<CronUpdateSkip>> CronUpdateSkip() => public ActionResult<List<CronUpdateSkip>> CronUpdateSkip()
config.Value.ScheduleSettings!.CronUpdateSkipDateList {
.Filter() var generalConfig = config.Value;
generalConfig.ScheduleSettings!.CronUpdateSkipDateList =
generalConfig.ScheduleSettings.CronUpdateSkipDateList.Filter();
generalConfig.SaveSetting();
return generalConfig.ScheduleSettings!.CronUpdateSkipDateList
.ConvertToDto(); .ConvertToDto();
}
/// <summary> /// <summary>
/// Updates the list of cron update skip dates in the configuration. /// Updates the list of cron update skip dates in the configuration.