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 15818 additions and 99 deletions
Showing only changes of commit c725cfed32 - Show all commits
.editorconfig.env
.gitea/workflows
.gitignore
ApiDto
Backend.slnDockerfile
Endpoint
Backend.http
Common
Configuration
Controllers
Endpoint.csprojProgram.cs
Sync
WeatherForecast.cs
wwwroot/css/swagger
README.md
Security
SqlData
Application
Application.csproj
Common
Cqrs
Campus/Queries
Discipline/Queries
Faculty/Queries/GetFacultyList
Group/Queries
LectureHall/Queries
Professor/Queries
Schedule/Queries/GetScheduleList
TypeOfOccupation/Queries/GetTypeOfOccupationList
DependencyInjection.cs
Interfaces/DbContexts
Domain
Migrations
Persistence
nuget.config

@ -27,7 +27,7 @@ public class ScheduleController(ILogger<ScheduleController> logger, IOptionsSnap
/// <param name="depth">The depth of the next tasks to retrieve.</param>
/// <returns>Cron expression and the list of next scheduled task dates.</returns>
[HttpGet("CronUpdateSchedule")]
public ActionResult<CronUpdateScheduleResponse> CronUpdateSchedule([FromQuery][Range(0, 5)] int depth = 2)
public ActionResult<CronUpdateScheduleResponse> CronUpdateSchedule([FromQuery][Range(0, 10)] int depth = 5)
{
var cronExpression = CronExpression.Parse(config.Value.ScheduleSettings!.CronUpdateSchedule);
var nextTasks = config.Value.ScheduleSettings!.CronUpdateSkipDateList.GetNextTask(cronExpression, depth);