diff --git a/src/Lumina.Presentation.Web/Common/DTO/Scheduling/ScheduledJobDto.cs b/src/Lumina.Presentation.Web/Common/DTO/Scheduling/ScheduledJobDto.cs
new file mode 100644
index 00000000..137e8445
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/DTO/Scheduling/ScheduledJobDto.cs
@@ -0,0 +1,34 @@
+#region ========================================================================= USING =====================================================================================
+using Lumina.Presentation.Web.Common.Enums.Scheduling;
+using System;
+using System.Diagnostics;
+#endregion
+
+namespace Lumina.Presentation.Web.Common.DTO.Scheduling;
+
+///
+/// Data transfer object for a scheduled job.
+///
+/// The unique identifier of the scheduled job.
+/// The name of the scheduled job.
+/// The type of the task executed by the scheduled job.
+/// The type of the schedule of the scheduled job.
+/// The interval in minutes of the schedule of the scheduled job.
+/// The hour of the schedule of the scheduled job.
+/// The minute of the schedule of the scheduled job.
+/// The status of the scheduled job.
+/// The optional date and time when the task of the scheduled job last started its execution.
+/// The optional date and time when the task of the scheduled job last completed its execution.
+[DebuggerDisplay("Id: {Id}, Name: {Name}, Status: {Status}")]
+public record ScheduledJobDto(
+ Guid Id,
+ string Name,
+ ScheduledTaskType TaskType,
+ ScheduleType ScheduleType,
+ int? IntervalMinutes,
+ int? Hour,
+ int? Minute,
+ ScheduledJobStatus Status,
+ DateTime? LastStartedOnUtc,
+ DateTime? LastCompletedOnUtc
+);
diff --git a/src/Lumina.Presentation.Web/Common/DTO/Scheduling/ScheduledJobExecutionDto.cs b/src/Lumina.Presentation.Web/Common/DTO/Scheduling/ScheduledJobExecutionDto.cs
new file mode 100644
index 00000000..c3d68e9f
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/DTO/Scheduling/ScheduledJobExecutionDto.cs
@@ -0,0 +1,26 @@
+#region ========================================================================= USING =====================================================================================
+using Lumina.Presentation.Web.Common.Enums.Scheduling;
+using System;
+using System.Diagnostics;
+#endregion
+
+namespace Lumina.Presentation.Web.Common.DTO.Scheduling;
+
+///
+/// Data transfer object for an execution of the task of a scheduled job.
+///
+/// The unique identifier of the execution.
+/// The unique identifier of the scheduled job whose task was executed.
+/// The type of the task that was executed.
+/// when the execution was triggered by the execution cycle of the scheduled job.
+/// The date and time when the execution started.
+/// The optional date and time when the execution completed.
+[DebuggerDisplay("Id: {Id}, ScheduledJobId: {ScheduledJobId}")]
+public record ScheduledJobExecutionDto(
+ Guid Id,
+ Guid ScheduledJobId,
+ ScheduledTaskType TaskType,
+ bool IsCycleRun,
+ DateTime StartedOnUtc,
+ DateTime? CompletedOnUtc
+);
diff --git a/src/Lumina.Presentation.Web/Common/Enums/Scheduling/ScheduleType.cs b/src/Lumina.Presentation.Web/Common/Enums/Scheduling/ScheduleType.cs
new file mode 100644
index 00000000..b1832d92
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/Enums/Scheduling/ScheduleType.cs
@@ -0,0 +1,17 @@
+namespace Lumina.Presentation.Web.Common.Enums.Scheduling;
+
+///
+/// Enumeration for the types of schedules of scheduled jobs.
+///
+public enum ScheduleType
+{
+ ///
+ /// The scheduled job repeats with an interval measured in minutes.
+ ///
+ WithIntervalInMinutes,
+
+ ///
+ /// The scheduled job repeats daily at a fixed hour and minute.
+ ///
+ DailyAtHourAndMinute
+}
diff --git a/src/Lumina.Presentation.Web/Common/Enums/Scheduling/ScheduledJobStatus.cs b/src/Lumina.Presentation.Web/Common/Enums/Scheduling/ScheduledJobStatus.cs
new file mode 100644
index 00000000..0f1eb0fd
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/Enums/Scheduling/ScheduledJobStatus.cs
@@ -0,0 +1,27 @@
+namespace Lumina.Presentation.Web.Common.Enums.Scheduling;
+
+///
+/// Enumeration for the statuses of scheduled jobs.
+///
+public enum ScheduledJobStatus
+{
+ ///
+ /// The scheduled job was added, but its execution cycle was not started.
+ ///
+ Added,
+
+ ///
+ /// The execution cycle of the scheduled job is active, and the job is waiting for its next scheduled execution.
+ ///
+ Active,
+
+ ///
+ /// The task of the scheduled job is currently being executed.
+ ///
+ Running,
+
+ ///
+ /// The scheduled job finished its latest one time execution.
+ ///
+ Completed
+}
diff --git a/src/Lumina.Presentation.Web/Common/Enums/Scheduling/ScheduledTaskType.cs b/src/Lumina.Presentation.Web/Common/Enums/Scheduling/ScheduledTaskType.cs
new file mode 100644
index 00000000..23330b75
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/Enums/Scheduling/ScheduledTaskType.cs
@@ -0,0 +1,17 @@
+namespace Lumina.Presentation.Web.Common.Enums.Scheduling;
+
+///
+/// Enumeration for the types of tasks a scheduled job can execute.
+///
+public enum ScheduledTaskType
+{
+ ///
+ /// The scheduled job scans all enabled media libraries.
+ ///
+ ScanMediaLibraries,
+
+ ///
+ /// The scheduled job cleans the temporary directory of the application.
+ ///
+ CleanTemporaryFiles
+}
diff --git a/src/Lumina.Presentation.Web/Common/Requests/Scheduling/AddScheduledJobRequest.cs b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/AddScheduledJobRequest.cs
new file mode 100644
index 00000000..e1c2b735
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/AddScheduledJobRequest.cs
@@ -0,0 +1,26 @@
+#region ========================================================================= USING =====================================================================================
+using Lumina.Presentation.Web.Common.Enums.Scheduling;
+using System;
+using System.Diagnostics;
+#endregion
+
+namespace Lumina.Presentation.Web.Common.Requests.Scheduling;
+
+///
+/// Request for adding a scheduled job.
+///
+/// The name of the scheduled job. Required.
+/// The type of the task executed by the scheduled job. Required.
+/// The type of the schedule of the scheduled job. Required.
+/// The interval in minutes of the schedule, when the schedule type is .
+/// The hour of the schedule, when the schedule type is .
+/// The minute of the schedule, when the schedule type is .
+[DebuggerDisplay("Name: {Name}")]
+public record AddScheduledJobRequest(
+ string Name,
+ ScheduledTaskType TaskType,
+ ScheduleType ScheduleType,
+ int? IntervalMinutes,
+ int? Hour,
+ int? Minute
+);
diff --git a/src/Lumina.Presentation.Web/Common/Requests/Scheduling/FireScheduledJobRequest.cs b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/FireScheduledJobRequest.cs
new file mode 100644
index 00000000..188458f1
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/FireScheduledJobRequest.cs
@@ -0,0 +1,15 @@
+#region ========================================================================= USING =====================================================================================
+using System;
+using System.Diagnostics;
+#endregion
+
+namespace Lumina.Presentation.Web.Common.Requests.Scheduling;
+
+///
+/// Request for firing the task of a scheduled job once.
+///
+/// The unique identifier of the scheduled job whose task is fired. Required.
+[DebuggerDisplay("ScheduledJobId: {ScheduledJobId}")]
+public record FireScheduledJobRequest(
+ Guid ScheduledJobId
+);
diff --git a/src/Lumina.Presentation.Web/Common/Requests/Scheduling/GetScheduledJobHistoryRequest.cs b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/GetScheduledJobHistoryRequest.cs
new file mode 100644
index 00000000..6d3082b9
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/GetScheduledJobHistoryRequest.cs
@@ -0,0 +1,17 @@
+#region ========================================================================= USING =====================================================================================
+using System;
+using System.Diagnostics;
+#endregion
+
+namespace Lumina.Presentation.Web.Common.Requests.Scheduling;
+
+///
+/// Request for getting the history of the executions of the tasks of scheduled jobs.
+///
+/// The inclusive lower bound of the interval for which the history is requested. Optional.
+/// The inclusive upper bound of the interval for which the history is requested. Optional.
+[DebuggerDisplay("From: {From}, To: {To}")]
+public record GetScheduledJobHistoryRequest(
+ DateTime? From,
+ DateTime? To
+);
diff --git a/src/Lumina.Presentation.Web/Common/Requests/Scheduling/RemoveScheduledJobRequest.cs b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/RemoveScheduledJobRequest.cs
new file mode 100644
index 00000000..d55cf0c5
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/RemoveScheduledJobRequest.cs
@@ -0,0 +1,15 @@
+#region ========================================================================= USING =====================================================================================
+using System;
+using System.Diagnostics;
+#endregion
+
+namespace Lumina.Presentation.Web.Common.Requests.Scheduling;
+
+///
+/// Request for removing a scheduled job.
+///
+/// The unique identifier of the scheduled job to remove. Required.
+[DebuggerDisplay("ScheduledJobId: {ScheduledJobId}")]
+public record RemoveScheduledJobRequest(
+ Guid ScheduledJobId
+);
diff --git a/src/Lumina.Presentation.Web/Common/Requests/Scheduling/StartScheduledJobRequest.cs b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/StartScheduledJobRequest.cs
new file mode 100644
index 00000000..735213e6
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/StartScheduledJobRequest.cs
@@ -0,0 +1,15 @@
+#region ========================================================================= USING =====================================================================================
+using System;
+using System.Diagnostics;
+#endregion
+
+namespace Lumina.Presentation.Web.Common.Requests.Scheduling;
+
+///
+/// Request for starting the execution cycle of a scheduled job.
+///
+/// The unique identifier of the scheduled job whose execution cycle is started. Required.
+[DebuggerDisplay("ScheduledJobId: {ScheduledJobId}")]
+public record StartScheduledJobRequest(
+ Guid ScheduledJobId
+);
diff --git a/src/Lumina.Presentation.Web/Common/Requests/Scheduling/StopScheduledJobRequest.cs b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/StopScheduledJobRequest.cs
new file mode 100644
index 00000000..a081384a
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/Requests/Scheduling/StopScheduledJobRequest.cs
@@ -0,0 +1,15 @@
+#region ========================================================================= USING =====================================================================================
+using System;
+using System.Diagnostics;
+#endregion
+
+namespace Lumina.Presentation.Web.Common.Requests.Scheduling;
+
+///
+/// Request for stopping the execution cycle of a scheduled job.
+///
+/// The unique identifier of the scheduled job whose execution cycle is stopped. Required.
+[DebuggerDisplay("ScheduledJobId: {ScheduledJobId}")]
+public record StopScheduledJobRequest(
+ Guid ScheduledJobId
+);
diff --git a/src/Lumina.Presentation.Web/Common/Routes/ApiRoutes.Scheduling.cs b/src/Lumina.Presentation.Web/Common/Routes/ApiRoutes.Scheduling.cs
new file mode 100644
index 00000000..973de0a4
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/Routes/ApiRoutes.Scheduling.cs
@@ -0,0 +1,21 @@
+namespace Lumina.Presentation.Web.Common.Routes;
+
+///
+/// Class for the collection of remote API routes called by this Web application.
+///
+public static partial class ApiRoutes
+{
+ ///
+ /// Routes for the scheduled job endpoints of the remote API.
+ ///
+ public static class ScheduledJobs
+ {
+ public const string GET_SCHEDULED_JOBS = "scheduled-jobs";
+ public const string ADD_SCHEDULED_JOB = "scheduled-jobs";
+ public const string GET_SCHEDULED_JOB_HISTORY = "scheduled-jobs/history";
+ public const string REMOVE_SCHEDULED_JOB = "scheduled-jobs/{scheduledJobId}";
+ public const string START_SCHEDULED_JOB = "scheduled-jobs/{scheduledJobId}/start";
+ public const string STOP_SCHEDULED_JOB = "scheduled-jobs/{scheduledJobId}/stop";
+ public const string FIRE_SCHEDULED_JOB = "scheduled-jobs/{scheduledJobId}/fire";
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Authentication.cs b/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Authentication.cs
index 60cb1ced..a545d7ba 100644
--- a/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Authentication.cs
+++ b/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Authentication.cs
@@ -17,6 +17,7 @@ public static partial class WebRoutes
public const string PROFILE_VIEW = "{culture}/auth/profile";
public const string ACCESS_DENIED_VIEW = "{culture}/auth/access-denied";
public const string LOGOUT = "{culture}/auth/logout";
+ public const string GET_API_ACCESS_TOKEN = "{culture}/auth/api-access-token";
public const string REGISTER = "{culture}/auth/api-register";
public const string LOGIN = "{culture}/auth/api-login";
public const string RECOVER_PASSWORD = "{culture}/auth/api-recover-password";
diff --git a/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Scheduler.cs b/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Scheduler.cs
new file mode 100644
index 00000000..f92e6ccb
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Common/Routes/WebRoutes.Scheduler.cs
@@ -0,0 +1,22 @@
+namespace Lumina.Presentation.Web.Common.Routes;
+
+///
+/// Class for the collection of routes defined in the Web application.
+///
+public static partial class WebRoutes
+{
+ ///
+ /// Routes for the scheduled jobs pages.
+ ///
+ public static class Scheduler
+ {
+ public const string INDEX = "{culture}/admin/scheduled-jobs";
+ public const string GET_SCHEDULED_JOBS = "{culture}/admin/api-scheduled-jobs";
+ public const string ADD_SCHEDULED_JOB = "{culture}/admin/api-scheduled-jobs/add";
+ public const string GET_SCHEDULED_JOB_HISTORY = "{culture}/admin/api-scheduled-jobs/history";
+ public const string REMOVE_SCHEDULED_JOB = "{culture}/admin/api-scheduled-jobs/{scheduledJobId}";
+ public const string START_SCHEDULED_JOB = "{culture}/admin/api-scheduled-jobs/{scheduledJobId}/start";
+ public const string STOP_SCHEDULED_JOB = "{culture}/admin/api-scheduled-jobs/{scheduledJobId}/stop";
+ public const string FIRE_SCHEDULED_JOB = "{culture}/admin/api-scheduled-jobs/{scheduledJobId}/fire";
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/AddScheduledJob/AddScheduledJobEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/AddScheduledJob/AddScheduledJobEndpoint.cs
new file mode 100644
index 00000000..c2c74146
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/AddScheduledJob/AddScheduledJobEndpoint.cs
@@ -0,0 +1,56 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.Api;
+using Lumina.Presentation.Web.Common.Authorization;
+using Lumina.Presentation.Web.Common.DTO.Scheduling;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using Lumina.Presentation.Web.Common.Routes;
+using Lumina.Presentation.Web.Core.Endpoints.Common;
+using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Http;
+using System.Threading;
+using System.Threading.Tasks;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.AddScheduledJob;
+
+///
+/// API endpoint for the /{culture}/admin/api-scheduled-jobs/add route.
+///
+public class AddScheduledJobEndpoint : BaseEndpoint
+{
+ private readonly IApiHttpClient _apiHttpClient;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Injected service for interactions with the API.
+ public AddScheduledJobEndpoint(IApiHttpClient apiHttpClient)
+ {
+ _apiHttpClient = apiHttpClient;
+ }
+
+ ///
+ /// Configures the endpoint.
+ ///
+ public override void Configure()
+ {
+ base.Configure();
+ Verbs(Http.POST);
+ Routes(WebRoutes.Scheduler.ADD_SCHEDULED_JOB);
+ DontAutoTag();
+ Options(options => options.WithTags("Admin"));
+ Policies(AuthorizationPolicies.REQUIRE_ADMIN_ROLE);
+ }
+
+ ///
+ /// Adds a scheduled job.
+ ///
+ /// The request object.
+ /// Cancellation token that can be used to stop the execution.
+ public override async Task ExecuteAsync(AddScheduledJobRequest request, CancellationToken cancellationToken)
+ {
+ ScheduledJobDto scheduledJob = await _apiHttpClient.PostAsync(ApiRoutes.ScheduledJobs.ADD_SCHEDULED_JOB, request, cancellationToken).ConfigureAwait(false);
+ return JsonSuccess(scheduledJob);
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/AddScheduledJob/AddScheduledJobEndpointSummary.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/AddScheduledJob/AddScheduledJobEndpointSummary.cs
new file mode 100644
index 00000000..c3e60663
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/AddScheduledJob/AddScheduledJobEndpointSummary.cs
@@ -0,0 +1,45 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.DTO.Common;
+using Lumina.Presentation.Web.Common.DTO.Scheduling;
+using Lumina.Presentation.Web.Common.Enums.Scheduling;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using System;
+using System.Diagnostics.CodeAnalysis;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.AddScheduledJob;
+
+///
+/// Class used for providing a textual description for the endpoint, for OpenAPI.
+///
+[ExcludeFromCodeCoverage]
+public class AddScheduledJobEndpointSummary : Summary
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public AddScheduledJobEndpointSummary()
+ {
+ Summary = "Adds a scheduled job.";
+ Description = "Adds a scheduled job that can run its task periodically or once.";
+
+ RequestParam(r => r.Name, "The name of the scheduled job. Required.");
+ RequestParam(r => r.TaskType, "The type of the task executed by the scheduled job. Required.");
+ RequestParam(r => r.ScheduleType, "The type of the schedule of the scheduled job. Required.");
+ RequestParam(r => r.IntervalMinutes, "The interval in minutes of the schedule, when the schedule type is WithIntervalInMinutes.");
+ RequestParam(r => r.Hour, "The hour of the schedule, when the schedule type is DailyAtHourAndMinute.");
+ RequestParam(r => r.Minute, "The minute of the schedule, when the schedule type is DailyAtHourAndMinute.");
+
+ ExampleRequest = new AddScheduledJobRequest(
+ Name: "Rescan media libraries",
+ TaskType: ScheduledTaskType.ScanMediaLibraries,
+ ScheduleType: ScheduleType.DailyAtHourAndMinute,
+ IntervalMinutes: null,
+ Hour: 3,
+ Minute: 0
+ );
+
+ Response(200, "The scheduled job was successfully added.", example: new SuccessResponse(true, default));
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/FireScheduledJob/FireScheduledJobEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/FireScheduledJob/FireScheduledJobEndpoint.cs
new file mode 100644
index 00000000..134aab46
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/FireScheduledJob/FireScheduledJobEndpoint.cs
@@ -0,0 +1,55 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.Api;
+using Lumina.Presentation.Web.Common.Authorization;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using Lumina.Presentation.Web.Common.Routes;
+using Lumina.Presentation.Web.Core.Endpoints.Common;
+using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Http;
+using System.Threading;
+using System.Threading.Tasks;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.FireScheduledJob;
+
+///
+/// API endpoint for the /{culture}/admin/api-scheduled-jobs/{scheduledJobId}/fire route.
+///
+public class FireScheduledJobEndpoint : BaseEndpoint
+{
+ private readonly IApiHttpClient _apiHttpClient;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Injected service for interactions with the API.
+ public FireScheduledJobEndpoint(IApiHttpClient apiHttpClient)
+ {
+ _apiHttpClient = apiHttpClient;
+ }
+
+ ///
+ /// Configures the endpoint.
+ ///
+ public override void Configure()
+ {
+ base.Configure();
+ Verbs(Http.PUT);
+ Routes(WebRoutes.Scheduler.FIRE_SCHEDULED_JOB);
+ DontAutoTag();
+ Options(options => options.WithTags("Admin"));
+ Policies(AuthorizationPolicies.REQUIRE_ADMIN_ROLE);
+ }
+
+ ///
+ /// Fires the task of a scheduled job once, without affecting its execution cycle.
+ ///
+ /// The request object.
+ /// Cancellation token that can be used to stop the execution.
+ public override async Task ExecuteAsync(FireScheduledJobRequest request, CancellationToken cancellationToken)
+ {
+ await _apiHttpClient.PutAsync(ApiRoutes.ScheduledJobs.FIRE_SCHEDULED_JOB.Replace("{scheduledJobId}", request.ScheduledJobId.ToString()), new Lumina.Presentation.Web.Common.Requests.Common.EmptyRequest(), cancellationToken).ConfigureAwait(false);
+ return JsonSuccess();
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/FireScheduledJob/FireScheduledJobEndpointSummary.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/FireScheduledJob/FireScheduledJobEndpointSummary.cs
new file mode 100644
index 00000000..0b1e792a
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/FireScheduledJob/FireScheduledJobEndpointSummary.cs
@@ -0,0 +1,31 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.DTO.Common;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using System;
+using System.Diagnostics.CodeAnalysis;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.FireScheduledJob;
+
+///
+/// Class used for providing a textual description for the endpoint, for OpenAPI.
+///
+[ExcludeFromCodeCoverage]
+public class FireScheduledJobEndpointSummary : Summary
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public FireScheduledJobEndpointSummary()
+ {
+ Summary = "Fires the task of a scheduled job.";
+ Description = "Runs the task of the scheduled job identified by the request once immediately, without affecting its execution cycle.";
+
+ RequestParam(r => r.ScheduledJobId, "The unique identifier of the scheduled job whose task is fired. Required.");
+
+ ExampleRequest = new FireScheduledJobRequest(ScheduledJobId: Guid.NewGuid());
+
+ Response(200, "The task of the scheduled job was successfully fired.", example: new SuccessResponse(true));
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobHistory/GetScheduledJobHistoryEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobHistory/GetScheduledJobHistoryEndpoint.cs
new file mode 100644
index 00000000..b554dd25
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobHistory/GetScheduledJobHistoryEndpoint.cs
@@ -0,0 +1,81 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.Api;
+using Lumina.Presentation.Web.Common.Authorization;
+using Lumina.Presentation.Web.Common.DTO.Scheduling;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using Lumina.Presentation.Web.Common.Routes;
+using Lumina.Presentation.Web.Core.Endpoints.Common;
+using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Http;
+using System;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.GetScheduledJobHistory;
+
+///
+/// API endpoint for the /{culture}/admin/api-scheduled-jobs/history route.
+///
+public class GetScheduledJobHistoryEndpoint : BaseEndpoint
+{
+ private readonly IApiHttpClient _apiHttpClient;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Injected service for interactions with the API.
+ public GetScheduledJobHistoryEndpoint(IApiHttpClient apiHttpClient)
+ {
+ _apiHttpClient = apiHttpClient;
+ }
+
+ ///
+ /// Configures the endpoint.
+ ///
+ public override void Configure()
+ {
+ base.Configure();
+ Verbs(Http.GET);
+ Routes(WebRoutes.Scheduler.GET_SCHEDULED_JOB_HISTORY);
+ DontAutoTag();
+ Options(options => options.WithTags("Admin"));
+ Policies(AuthorizationPolicies.REQUIRE_ADMIN_ROLE);
+ }
+
+ ///
+ /// Gets the history of the executions of the tasks of scheduled jobs.
+ ///
+ /// The request object.
+ /// Cancellation token that can be used to stop the execution.
+ public override async Task ExecuteAsync(GetScheduledJobHistoryRequest request, CancellationToken cancellationToken)
+ {
+ ScheduledJobExecutionDto[] executions = await _apiHttpClient.GetAsync(BuildHistoryEndpoint(request), cancellationToken).ConfigureAwait(false);
+ return JsonSuccess(executions);
+ }
+
+ ///
+ /// Builds the API endpoint used to get the history of the executions of the tasks of scheduled jobs, from the provided .
+ ///
+ /// The request object.
+ /// The API endpoint to which the history request is sent.
+ private static string BuildHistoryEndpoint(GetScheduledJobHistoryRequest request)
+ {
+ StringBuilder endpoint = new(ApiRoutes.ScheduledJobs.GET_SCHEDULED_JOB_HISTORY);
+ if (request.From is not null || request.To is not null)
+ {
+ endpoint.Append('?');
+ if (request.From is not null)
+ endpoint.Append($"from={Uri.EscapeDataString(request.From.Value.ToString("o"))}");
+ if (request.To is not null)
+ {
+ if (request.From is not null)
+ endpoint.Append('&');
+ endpoint.Append($"to={Uri.EscapeDataString(request.To.Value.ToString("o"))}");
+ }
+ }
+ return endpoint.ToString();
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobHistory/GetScheduledJobHistoryEndpointSummary.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobHistory/GetScheduledJobHistoryEndpointSummary.cs
new file mode 100644
index 00000000..49182352
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobHistory/GetScheduledJobHistoryEndpointSummary.cs
@@ -0,0 +1,33 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.DTO.Common;
+using Lumina.Presentation.Web.Common.DTO.Scheduling;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using System;
+using System.Diagnostics.CodeAnalysis;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.GetScheduledJobHistory;
+
+///
+/// Class used for providing a textual description for the endpoint, for OpenAPI.
+///
+[ExcludeFromCodeCoverage]
+public class GetScheduledJobHistoryEndpointSummary : Summary
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public GetScheduledJobHistoryEndpointSummary()
+ {
+ Summary = "Gets the history of the executions of the tasks of scheduled jobs.";
+ Description = "Retrieves the executions of the tasks of scheduled jobs that started in the requested time interval.";
+
+ RequestParam(r => r.From, "The inclusive lower bound of the interval for which the history is requested. Optional.");
+ RequestParam(r => r.To, "The inclusive upper bound of the interval for which the history is requested. Optional.");
+
+ ExampleRequest = new GetScheduledJobHistoryRequest(From: DateTime.UtcNow.AddDays(-1), To: DateTime.UtcNow);
+
+ Response(200, "The execution history of the tasks of the scheduled jobs is returned.", example: new SuccessResponse(true, default));
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobs/GetScheduledJobsEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobs/GetScheduledJobsEndpoint.cs
new file mode 100644
index 00000000..d227e45a
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobs/GetScheduledJobsEndpoint.cs
@@ -0,0 +1,55 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.Api;
+using Lumina.Presentation.Web.Common.Authorization;
+using Lumina.Presentation.Web.Common.DTO.Scheduling;
+using Lumina.Presentation.Web.Common.Routes;
+using Lumina.Presentation.Web.Core.Endpoints.Common;
+using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Http;
+using System.Threading;
+using System.Threading.Tasks;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.GetScheduledJobs;
+
+///
+/// API endpoint for the /{culture}/admin/api-scheduled-jobs route.
+///
+public class GetScheduledJobsEndpoint : BaseEndpoint
+{
+ private readonly IApiHttpClient _apiHttpClient;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Injected service for interactions with the API.
+ public GetScheduledJobsEndpoint(IApiHttpClient apiHttpClient)
+ {
+ _apiHttpClient = apiHttpClient;
+ }
+
+ ///
+ /// Configures the endpoint.
+ ///
+ public override void Configure()
+ {
+ base.Configure();
+ Verbs(Http.GET);
+ Routes(WebRoutes.Scheduler.GET_SCHEDULED_JOBS);
+ DontAutoTag();
+ Options(options => options.WithTags("Admin"));
+ Policies(AuthorizationPolicies.REQUIRE_ADMIN_ROLE);
+ }
+
+ ///
+ /// Gets the list of scheduled jobs.
+ ///
+ /// The request object.
+ /// Cancellation token that can be used to stop the execution.
+ public override async Task ExecuteAsync(EmptyRequest request, CancellationToken cancellationToken)
+ {
+ ScheduledJobDto[] scheduledJobs = await _apiHttpClient.GetAsync(ApiRoutes.ScheduledJobs.GET_SCHEDULED_JOBS, cancellationToken).ConfigureAwait(false);
+ return JsonSuccess(scheduledJobs);
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobs/GetScheduledJobsEndpointSummary.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobs/GetScheduledJobsEndpointSummary.cs
new file mode 100644
index 00000000..c4f3ffaa
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/GetScheduledJobs/GetScheduledJobsEndpointSummary.cs
@@ -0,0 +1,27 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.DTO.Common;
+using Lumina.Presentation.Web.Common.DTO.Scheduling;
+using System;
+using System.Diagnostics.CodeAnalysis;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.GetScheduledJobs;
+
+///
+/// Class used for providing a textual description for the endpoint, for OpenAPI.
+///
+[ExcludeFromCodeCoverage]
+public class GetScheduledJobsEndpointSummary : Summary
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public GetScheduledJobsEndpointSummary()
+ {
+ Summary = "Gets the list of scheduled jobs.";
+ Description = "Retrieves the list of scheduled jobs and their status.";
+
+ Response(200, "The list of scheduled jobs is returned.", example: new SuccessResponse(true, default));
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/RemoveScheduledJob/RemoveScheduledJobEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/RemoveScheduledJob/RemoveScheduledJobEndpoint.cs
new file mode 100644
index 00000000..6a3791ed
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/RemoveScheduledJob/RemoveScheduledJobEndpoint.cs
@@ -0,0 +1,55 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.Api;
+using Lumina.Presentation.Web.Common.Authorization;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using Lumina.Presentation.Web.Common.Routes;
+using Lumina.Presentation.Web.Core.Endpoints.Common;
+using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Http;
+using System.Threading;
+using System.Threading.Tasks;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.RemoveScheduledJob;
+
+///
+/// API endpoint for the /{culture}/admin/api-scheduled-jobs/{scheduledJobId} route.
+///
+public class RemoveScheduledJobEndpoint : BaseEndpoint
+{
+ private readonly IApiHttpClient _apiHttpClient;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Injected service for interactions with the API.
+ public RemoveScheduledJobEndpoint(IApiHttpClient apiHttpClient)
+ {
+ _apiHttpClient = apiHttpClient;
+ }
+
+ ///
+ /// Configures the endpoint.
+ ///
+ public override void Configure()
+ {
+ base.Configure();
+ Verbs(Http.DELETE);
+ Routes(WebRoutes.Scheduler.REMOVE_SCHEDULED_JOB);
+ DontAutoTag();
+ Options(options => options.WithTags("Admin"));
+ Policies(AuthorizationPolicies.REQUIRE_ADMIN_ROLE);
+ }
+
+ ///
+ /// Removes a scheduled job.
+ ///
+ /// The request object.
+ /// Cancellation token that can be used to stop the execution.
+ public override async Task ExecuteAsync(RemoveScheduledJobRequest request, CancellationToken cancellationToken)
+ {
+ await _apiHttpClient.DeleteAsync(ApiRoutes.ScheduledJobs.REMOVE_SCHEDULED_JOB.Replace("{scheduledJobId}", request.ScheduledJobId.ToString()), cancellationToken).ConfigureAwait(false);
+ return JsonSuccess();
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/RemoveScheduledJob/RemoveScheduledJobEndpointSummary.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/RemoveScheduledJob/RemoveScheduledJobEndpointSummary.cs
new file mode 100644
index 00000000..3e18499e
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/RemoveScheduledJob/RemoveScheduledJobEndpointSummary.cs
@@ -0,0 +1,31 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.DTO.Common;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using System;
+using System.Diagnostics.CodeAnalysis;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.RemoveScheduledJob;
+
+///
+/// Class used for providing a textual description for the endpoint, for OpenAPI.
+///
+[ExcludeFromCodeCoverage]
+public class RemoveScheduledJobEndpointSummary : Summary
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public RemoveScheduledJobEndpointSummary()
+ {
+ Summary = "Removes a scheduled job.";
+ Description = "Removes the scheduled job identified by the request, after stopping its execution cycle, if it has one.";
+
+ RequestParam(r => r.ScheduledJobId, "The unique identifier of the scheduled job to remove. Required.");
+
+ ExampleRequest = new RemoveScheduledJobRequest(ScheduledJobId: Guid.NewGuid());
+
+ Response(200, "The scheduled job was successfully removed.", example: new SuccessResponse(true));
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/SchedulerIndexViewEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/SchedulerIndexViewEndpoint.cs
new file mode 100644
index 00000000..3f757800
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/SchedulerIndexViewEndpoint.cs
@@ -0,0 +1,41 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.Authorization;
+using Lumina.Presentation.Web.Common.Routes;
+using Lumina.Presentation.Web.Core.Endpoints.Common;
+using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Http;
+using System.Threading;
+using System.Threading.Tasks;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler;
+
+///
+/// API endpoint for the /{culture}/admin/scheduled-jobs route.
+///
+public class SchedulerIndexViewEndpoint : BaseEndpoint
+{
+ ///
+ /// Configures the endpoint.
+ ///
+ public override void Configure()
+ {
+ base.Configure();
+ Verbs(Http.GET);
+ Routes(WebRoutes.Scheduler.INDEX);
+ DontAutoTag();
+ Options(options => options.WithTags("Admin"));
+ Policies(AuthorizationPolicies.REQUIRE_ADMIN_ROLE);
+ }
+
+ ///
+ /// Displays the scheduled jobs dashboard.
+ ///
+ /// The request object.
+ /// Cancellation token that can be used to stop the execution.
+ public override Task ExecuteAsync(EmptyRequest request, CancellationToken cancellationToken)
+ {
+ return Task.FromResult(View("/Core/Views/Admin/Scheduler.cshtml"));
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/SchedulerIndexViewEndpointSummary.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/SchedulerIndexViewEndpointSummary.cs
new file mode 100644
index 00000000..6fbd3034
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/SchedulerIndexViewEndpointSummary.cs
@@ -0,0 +1,25 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using System;
+using System.Diagnostics.CodeAnalysis;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler;
+
+///
+/// Class used for providing a textual description for the endpoint, for OpenAPI.
+///
+[ExcludeFromCodeCoverage]
+public class SchedulerIndexViewEndpointSummary : Summary
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public SchedulerIndexViewEndpointSummary()
+ {
+ Summary = "Renders the scheduled jobs dashboard view.";
+ Description = "Renders the view for managing the scheduled jobs and their execution cycle.";
+
+ Response(200, "The view for managing the scheduled jobs and their execution cycle is rendered.");
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StartScheduledJob/StartScheduledJobEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StartScheduledJob/StartScheduledJobEndpoint.cs
new file mode 100644
index 00000000..61b61967
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StartScheduledJob/StartScheduledJobEndpoint.cs
@@ -0,0 +1,55 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.Api;
+using Lumina.Presentation.Web.Common.Authorization;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using Lumina.Presentation.Web.Common.Routes;
+using Lumina.Presentation.Web.Core.Endpoints.Common;
+using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Http;
+using System.Threading;
+using System.Threading.Tasks;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.StartScheduledJob;
+
+///
+/// API endpoint for the /{culture}/admin/api-scheduled-jobs/{scheduledJobId}/start route.
+///
+public class StartScheduledJobEndpoint : BaseEndpoint
+{
+ private readonly IApiHttpClient _apiHttpClient;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Injected service for interactions with the API.
+ public StartScheduledJobEndpoint(IApiHttpClient apiHttpClient)
+ {
+ _apiHttpClient = apiHttpClient;
+ }
+
+ ///
+ /// Configures the endpoint.
+ ///
+ public override void Configure()
+ {
+ base.Configure();
+ Verbs(Http.PUT);
+ Routes(WebRoutes.Scheduler.START_SCHEDULED_JOB);
+ DontAutoTag();
+ Options(options => options.WithTags("Admin"));
+ Policies(AuthorizationPolicies.REQUIRE_ADMIN_ROLE);
+ }
+
+ ///
+ /// Starts the execution cycle of a scheduled job.
+ ///
+ /// The request object.
+ /// Cancellation token that can be used to stop the execution.
+ public override async Task ExecuteAsync(StartScheduledJobRequest request, CancellationToken cancellationToken)
+ {
+ await _apiHttpClient.PutAsync(ApiRoutes.ScheduledJobs.START_SCHEDULED_JOB.Replace("{scheduledJobId}", request.ScheduledJobId.ToString()), new Lumina.Presentation.Web.Common.Requests.Common.EmptyRequest(), cancellationToken).ConfigureAwait(false);
+ return JsonSuccess();
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StartScheduledJob/StartScheduledJobEndpointSummary.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StartScheduledJob/StartScheduledJobEndpointSummary.cs
new file mode 100644
index 00000000..030d2f1a
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StartScheduledJob/StartScheduledJobEndpointSummary.cs
@@ -0,0 +1,31 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.DTO.Common;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using System;
+using System.Diagnostics.CodeAnalysis;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.StartScheduledJob;
+
+///
+/// Class used for providing a textual description for the endpoint, for OpenAPI.
+///
+[ExcludeFromCodeCoverage]
+public class StartScheduledJobEndpointSummary : Summary
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public StartScheduledJobEndpointSummary()
+ {
+ Summary = "Starts the execution cycle of a scheduled job.";
+ Description = "Starts the execution cycle of the scheduled job identified by the request, which runs its task once immediately and then on its schedule.";
+
+ RequestParam(r => r.ScheduledJobId, "The unique identifier of the scheduled job whose execution cycle is started. Required.");
+
+ ExampleRequest = new StartScheduledJobRequest(ScheduledJobId: Guid.NewGuid());
+
+ Response(200, "The execution cycle of the scheduled job was successfully started.", example: new SuccessResponse(true));
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StopScheduledJob/StopScheduledJobEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StopScheduledJob/StopScheduledJobEndpoint.cs
new file mode 100644
index 00000000..246de104
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StopScheduledJob/StopScheduledJobEndpoint.cs
@@ -0,0 +1,55 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.Api;
+using Lumina.Presentation.Web.Common.Authorization;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using Lumina.Presentation.Web.Common.Routes;
+using Lumina.Presentation.Web.Core.Endpoints.Common;
+using Microsoft.AspNetCore.Builder;
+using Microsoft.AspNetCore.Http;
+using System.Threading;
+using System.Threading.Tasks;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.StopScheduledJob;
+
+///
+/// API endpoint for the /{culture}/admin/api-scheduled-jobs/{scheduledJobId}/stop route.
+///
+public class StopScheduledJobEndpoint : BaseEndpoint
+{
+ private readonly IApiHttpClient _apiHttpClient;
+
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ /// Injected service for interactions with the API.
+ public StopScheduledJobEndpoint(IApiHttpClient apiHttpClient)
+ {
+ _apiHttpClient = apiHttpClient;
+ }
+
+ ///
+ /// Configures the endpoint.
+ ///
+ public override void Configure()
+ {
+ base.Configure();
+ Verbs(Http.PUT);
+ Routes(WebRoutes.Scheduler.STOP_SCHEDULED_JOB);
+ DontAutoTag();
+ Options(options => options.WithTags("Admin"));
+ Policies(AuthorizationPolicies.REQUIRE_ADMIN_ROLE);
+ }
+
+ ///
+ /// Stops the execution cycle of a scheduled job.
+ ///
+ /// The request object.
+ /// Cancellation token that can be used to stop the execution.
+ public override async Task ExecuteAsync(StopScheduledJobRequest request, CancellationToken cancellationToken)
+ {
+ await _apiHttpClient.PutAsync(ApiRoutes.ScheduledJobs.STOP_SCHEDULED_JOB.Replace("{scheduledJobId}", request.ScheduledJobId.ToString()), new Lumina.Presentation.Web.Common.Requests.Common.EmptyRequest(), cancellationToken).ConfigureAwait(false);
+ return JsonSuccess();
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StopScheduledJob/StopScheduledJobEndpointSummary.cs b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StopScheduledJob/StopScheduledJobEndpointSummary.cs
new file mode 100644
index 00000000..53729520
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/Admin/Scheduler/StopScheduledJob/StopScheduledJobEndpointSummary.cs
@@ -0,0 +1,31 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.DTO.Common;
+using Lumina.Presentation.Web.Common.Requests.Scheduling;
+using System;
+using System.Diagnostics.CodeAnalysis;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.Admin.Scheduler.StopScheduledJob;
+
+///
+/// Class used for providing a textual description for the endpoint, for OpenAPI.
+///
+[ExcludeFromCodeCoverage]
+public class StopScheduledJobEndpointSummary : Summary
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public StopScheduledJobEndpointSummary()
+ {
+ Summary = "Stops the execution cycle of a scheduled job.";
+ Description = "Stops the execution cycle of the scheduled job identified by the request, without removing it.";
+
+ RequestParam(r => r.ScheduledJobId, "The unique identifier of the scheduled job whose execution cycle is stopped. Required.");
+
+ ExampleRequest = new StopScheduledJobRequest(ScheduledJobId: Guid.NewGuid());
+
+ Response(200, "The execution cycle of the scheduled job was successfully stopped.", example: new SuccessResponse(true));
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/UsersManagement/Authentication/GetApiAccessToken/GetApiAccessTokenEndpoint.cs b/src/Lumina.Presentation.Web/Core/Endpoints/UsersManagement/Authentication/GetApiAccessToken/GetApiAccessTokenEndpoint.cs
new file mode 100644
index 00000000..7c1d0e0d
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/UsersManagement/Authentication/GetApiAccessToken/GetApiAccessTokenEndpoint.cs
@@ -0,0 +1,56 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using Lumina.Presentation.Web.Common.Routes;
+using Lumina.Presentation.Web.Core.Endpoints.Common;
+using Microsoft.AspNetCore.Http;
+using System.Security.Claims;
+using System.Threading;
+using System.Threading.Tasks;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.UsersManagement.Authentication.GetApiAccessToken;
+
+///
+/// API endpoint for the /{culture}/auth/api-access-token route.
+///
+public class GetApiAccessTokenEndpoint : BaseEndpoint
+{
+ ///
+ /// Configures the endpoint.
+ ///
+ public override void Configure()
+ {
+ base.Configure();
+ Verbs(Http.GET);
+ Routes(WebRoutes.Authentication.GET_API_ACCESS_TOKEN);
+ DontAutoTag();
+ Options(options => options.WithTags("Authentication"));
+ }
+
+ ///
+ /// Gets the API access token of the current user, used to authenticate the real time SignalR connections of the current page.
+ ///
+ /// The request object.
+ /// Cancellation token that can be used to stop the execution.
+ public override Task ExecuteAsync(EmptyRequest request, CancellationToken cancellationToken)
+ {
+ // The response carries a credential, so it must never be cached by the browser or by any intermediary.
+ HttpContext.Response.Headers.CacheControl = "no-store";
+ HttpContext.Response.Headers.Pragma = "no-cache";
+
+ if (User.Identity?.IsAuthenticated is not true)
+ return Task.FromResult(Results.Problem(
+ statusCode: StatusCodes.Status401Unauthorized,
+ title: "Unauthorized",
+ detail: "You are not authorized"));
+
+ string? token = User.FindFirst("Token")?.Value;
+ if (string.IsNullOrEmpty(token))
+ return Task.FromResult(Results.Problem(
+ statusCode: StatusCodes.Status401Unauthorized,
+ title: "Unauthorized",
+ detail: "The API access token of the current user is not available"));
+
+ return Task.FromResult(JsonSuccess(new { token }));
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Endpoints/UsersManagement/Authentication/GetApiAccessToken/GetApiAccessTokenEndpointSummary.cs b/src/Lumina.Presentation.Web/Core/Endpoints/UsersManagement/Authentication/GetApiAccessToken/GetApiAccessTokenEndpointSummary.cs
new file mode 100644
index 00000000..943fb9ec
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Endpoints/UsersManagement/Authentication/GetApiAccessToken/GetApiAccessTokenEndpointSummary.cs
@@ -0,0 +1,33 @@
+#region ========================================================================= USING =====================================================================================
+using FastEndpoints;
+using System;
+using System.Diagnostics.CodeAnalysis;
+#endregion
+
+namespace Lumina.Presentation.Web.Core.Endpoints.UsersManagement.Authentication.GetApiAccessToken;
+
+///
+/// Class used for providing a textual description for the endpoint, for OpenAPI.
+///
+[ExcludeFromCodeCoverage]
+public class GetApiAccessTokenEndpointSummary : Summary
+{
+ ///
+ /// Initializes a new instance of the class.
+ ///
+ public GetApiAccessTokenEndpointSummary()
+ {
+ Summary = "Gets the API access token of the current user.";
+ Description = "Gets the API access token of the current user, used to authenticate the real time SignalR connections of the current page.";
+
+ Response(200, "The API access token of the current user is returned.",
+ example: new
+ {
+ success = true,
+ data = new
+ {
+ token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxIn0.example"
+ }
+ });
+ }
+}
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ar-SA.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ar-SA.resx
index df7a2beb..2ee6bd43 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ar-SA.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ar-SA.resx
@@ -738,4 +738,43 @@
تعذّرت قراءة أرشيف المكوّن الإضافي المرفوع!
+
+ لم يتم العثور على المهمة المجدولة!
+
+
+ لا يمكن أن يكون اسم المهمة المجدولة فارغاً!
+
+
+ يجب أن تكون دقائق الفاصل رقماً موجباً!
+
+
+ يجب أن تكون الساعة بين 0 و 23!
+
+
+ يجب أن تكون الدقيقة بين 0 و 59!
+
+
+ المهمة المجدولة بهذا الاسم موجودة بالفعل!
+
+
+ The execution of the scheduled job already exists!
+
+
+ لم يتم العثور على تنفيذ المهمة المجدولة!
+
+
+ تم بدء دورة تنفيذ المهمة المجدولة بالفعل!
+
+
+ لم يتم بدء دورة تنفيذ المهمة المجدولة!
+
+
+ المهمة المجدولة قيد التشغيل بالفعل!
+
+
+ يمكن إكمال المهمة المجدولة قيد التشغيل فقط!
+
+
+ نوع الجدول غير صالح!
+
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.de-DE.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.de-DE.resx
index 98c4b350..72749401 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.de-DE.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.de-DE.resx
@@ -738,4 +738,43 @@
Das hochgeladene Plugin-Archiv konnte nicht gelesen werden!
+
+ Der geplante Auftrag wurde nicht gefunden!
+
+
+ Der Name des geplanten Auftrags darf nicht leer sein!
+
+
+ Die Intervallminuten müssen eine positive Zahl sein!
+
+
+ Die Stunde muss zwischen 0 und 23 liegen!
+
+
+ Die Minute muss zwischen 0 und 59 liegen!
+
+
+ Ein geplanter Auftrag mit diesem Namen ist bereits vorhanden!
+
+
+ The execution of the scheduled job already exists!
+
+
+ Die Ausführung des geplanten Auftrags wurde nicht gefunden!
+
+
+ Der Ausführungszyklus des geplanten Auftrags wurde bereits gestartet!
+
+
+ Der Ausführungszyklus des geplanten Auftrags wurde nicht gestartet!
+
+
+ Der geplante Auftrag wird bereits ausgeführt!
+
+
+ Nur ein laufender geplanter Auftrag kann abgeschlossen werden!
+
+
+ Der Zeitplantyp ist ungültig!
+
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.en-US.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.en-US.resx
index d3bb66b1..6e2ec0e2 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.en-US.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.en-US.resx
@@ -738,4 +738,43 @@
The plugin archive could not be read!
+
+ The scheduled job was not found!
+
+
+ The name of the scheduled job cannot be empty!
+
+
+ The interval minutes must be a positive number!
+
+
+ The hour must be between 0 and 23!
+
+
+ The minute must be between 0 and 59!
+
+
+ A scheduled job with this name already exists!
+
+
+ The execution of the scheduled job already exists!
+
+
+ The execution of the scheduled job was not found!
+
+
+ The execution cycle of the scheduled job has already been started!
+
+
+ The execution cycle of the scheduled job has not been started!
+
+
+ The scheduled job is already running!
+
+
+ Only a running scheduled job can be completed!
+
+
+ The schedule type is invalid!
+
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.es-ES.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.es-ES.resx
index 5e32bd3f..f6fe91c0 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.es-ES.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.es-ES.resx
@@ -738,4 +738,43 @@
No se pudo leer el archivo del plugin subido!
+
+ La tarea programada no fue encontrada!
+
+
+ El nombre de la tarea programada no puede estar vacío!
+
+
+ Los minutos del intervalo deben ser un número positivo!
+
+
+ La hora debe estar entre 0 y 23!
+
+
+ El minuto debe estar entre 0 y 59!
+
+
+ Ya existe una tarea programada con este nombre!
+
+
+ The execution of the scheduled job already exists!
+
+
+ No se encontró la ejecución de la tarea programada!
+
+
+ El ciclo de ejecución de la tarea programada ya se ha iniciado!
+
+
+ El ciclo de ejecución de la tarea programada no se ha iniciado!
+
+
+ La tarea programada ya se está ejecutando!
+
+
+ Solo se puede completar una tarea programada en ejecución!
+
+
+ El tipo de programación no es válido!
+
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.fr-FR.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.fr-FR.resx
index a58eb427..b20c58cc 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.fr-FR.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.fr-FR.resx
@@ -738,4 +738,43 @@
L'archive du plugin téléversé n a pas pu être lue !
+
+ Le travail planifié est introuvable !
+
+
+ Le nom du travail planifié ne peut pas être vide !
+
+
+ Les minutes de l'intervalle doivent être un nombre positif !
+
+
+ L'heure doit être comprise entre 0 et 23 !
+
+
+ La minute doit être comprise entre 0 et 59 !
+
+
+ Un travail planifié portant ce nom existe déjà !
+
+
+ The execution of the scheduled job already exists!
+
+
+ L'exécution du travail planifié est introuvable !
+
+
+ Le cycle d'exécution du travail planifié a déjà été démarré !
+
+
+ Le cycle d'exécution du travail planifié n'a pas été démarré !
+
+
+ Le travail planifié est déjà en cours d'exécution !
+
+
+ Seul un travail planifié en cours d'exécution peut être terminé !
+
+
+ Le type de planification n'est pas valide !
+
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.it-IT.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.it-IT.resx
index 3215f06e..784da52e 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.it-IT.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.it-IT.resx
@@ -738,4 +738,43 @@
Non è stato possibile leggere l archivio del plugin caricato!
+
+ Il processo pianificato non è stato trovato!
+
+
+ Il nome del processo pianificato non può essere vuoto!
+
+
+ I minuti dell'intervallo devono essere un numero positivo!
+
+
+ L'ora deve essere compresa tra 0 e 23!
+
+
+ Il minuto deve essere compreso tra 0 e 59!
+
+
+ Esiste già un processo pianificato con questo nome!
+
+
+ The execution of the scheduled job already exists!
+
+
+ L'esecuzione del processo pianificato non è stata trovata!
+
+
+ Il ciclo di esecuzione del processo pianificato è già stato avviato!
+
+
+ Il ciclo di esecuzione del processo pianificato non è stato avviato!
+
+
+ Il processo pianificato è già in esecuzione!
+
+
+ Solo un processo pianificato in esecuzione può essere completato!
+
+
+ Il tipo di pianificazione non è valido!
+
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ja-JP.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ja-JP.resx
index f939e5e6..99305b2a 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ja-JP.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ja-JP.resx
@@ -738,4 +738,43 @@
アップロードされたプラグインアーカイブを読み取れませんでした!
+
+ スケジュールされたジョブが見つかりません!
+
+
+ スケジュールされたジョブの名前を空にすることはできません!
+
+
+ 間隔の分数は正の数である必要があります!
+
+
+ 時間は0から23の間である必要があります!
+
+
+ 分は0から59の間である必要があります!
+
+
+ この名前のスケジュールされたジョブは既に存在します!
+
+
+ The execution of the scheduled job already exists!
+
+
+ スケジュールされたジョブの実行が見つかりません!
+
+
+ スケジュールされたジョブの実行サイクルは既に開始されています!
+
+
+ スケジュールされたジョブの実行サイクルは開始されていません!
+
+
+ スケジュールされたジョブは既に実行中です!
+
+
+ 実行中のスケジュールされたジョブのみ完了できます!
+
+
+ スケジュールタイプが無効です!
+
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.resx
index a7e57816..6170f941 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.resx
@@ -738,4 +738,43 @@
The plugin archive could not be read!
+
+ The scheduled job was not found!
+
+
+ The name of the scheduled job cannot be empty!
+
+
+ The interval minutes must be a positive number!
+
+
+ The hour must be between 0 and 23!
+
+
+ The minute must be between 0 and 59!
+
+
+ A scheduled job with this name already exists!
+
+
+ The execution of the scheduled job already exists!
+
+
+ The execution of the scheduled job was not found!
+
+
+ The execution cycle of the scheduled job has already been started!
+
+
+ The execution cycle of the scheduled job has not been started!
+
+
+ The scheduled job is already running!
+
+
+ Only a running scheduled job can be completed!
+
+
+ The schedule type is invalid!
+
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ro-RO.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ro-RO.resx
index c4566870..e1e005a5 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ro-RO.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ro-RO.resx
@@ -738,4 +738,43 @@
Arhiva pluginului încărcat nu a putut fi citită!
+
+ Jobul programat nu a fost găsit!
+
+
+ Numele jobului programat nu poate fi gol!
+
+
+ Minutele intervalului trebuie să fie un număr pozitiv!
+
+
+ Ora trebuie să fie între 0 și 23!
+
+
+ Minutul trebuie să fie între 0 și 59!
+
+
+ Există deja un job programat cu acest nume!
+
+
+ The execution of the scheduled job already exists!
+
+
+ Execuția jobului programat nu a fost găsită!
+
+
+ Ciclul de execuție al jobului programat a fost deja pornit!
+
+
+ Ciclul de execuție al jobului programat nu a fost pornit!
+
+
+ Jobul programat rulează deja!
+
+
+ Doar un job programat în execuție poate fi finalizat!
+
+
+ Tipul de programare este invalid!
+
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.uk-UA.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.uk-UA.resx
index 1a7a32aa..a113f2de 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.uk-UA.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.uk-UA.resx
@@ -738,4 +738,43 @@
Не вдалося прочитати архів завантаженого плагіна!
+
+ Плановане завдання не знайдено!
+
+
+ Назва планованого завдання не може бути порожньою!
+
+
+ Хвилини інтервалу повинні бути додатним числом!
+
+
+ Година повинна бути між 0 та 23!
+
+
+ Хвилина повинна бути між 0 та 59!
+
+
+ Плановане завдання з таким ім'ям вже існує!
+
+
+ The execution of the scheduled job already exists!
+
+
+ Виконання планованого завдання не знайдено!
+
+
+ Цикл виконання планованого завдання вже запущено!
+
+
+ Цикл виконання планованого завдання не запущено!
+
+
+ Плановане завдання вже виконується!
+
+
+ Завершити можна лише плановане завдання, що виконується!
+
+
+ Тип розкладу недійсний!
+
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.zh-CN.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.zh-CN.resx
index 3426da90..b1a3d522 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.zh-CN.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.zh-CN.resx
@@ -738,4 +738,43 @@
无法读取上传的插件存档!
+
+ 未找到计划任务!
+
+
+ 计划任务的名称不能为空!
+
+
+ 间隔分钟必须为正数!
+
+
+ 小时必须在0到23之间!
+
+
+ 分钟必须在0到59之间!
+
+
+ 已存在同名计划任务!
+
+
+ The execution of the scheduled job already exists!
+
+
+ 未找到计划任务的执行记录!
+
+
+ 计划任务的执行周期已启动!
+
+
+ 计划任务的执行周期尚未启动!
+
+
+ 计划任务已在运行!
+
+
+ 只有运行中的计划任务才能完成!
+
+
+ 调度类型无效!
+
\ No newline at end of file
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.ar-SA.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.ar-SA.resx
new file mode 100644
index 00000000..a2f576ca
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.ar-SA.resx
@@ -0,0 +1,162 @@
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ المهام المجدولة
+
+
+ تصفية حسب نوع المهمة
+
+
+ الكل
+
+
+ فحص مكتبات الوسائط
+
+
+ تنظيف الملفات المؤقتة
+
+
+ عرض آخر
+
+
+ وحدة الوقت
+
+
+ دقائق
+
+
+ دقيقة
+
+
+ ساعات
+
+
+ أيام
+
+
+ تحديث
+
+
+ المهام الحالية
+
+
+ إضافة مهمة
+
+
+ المعرّف
+
+
+ الاسم
+
+
+ نوع المهمة
+
+
+ نوع الجدولة
+
+
+ الفاصل الزمني
+
+
+ الوقت
+
+
+ الحالة
+
+
+ بدأت
+
+
+ اكتملت
+
+
+ الإجراءات
+
+
+ اسم المهمة
+
+
+ فاصل زمني
+
+
+ يومي
+
+
+ الفاصل الزمني (دقائق)
+
+
+ الساعة
+
+
+ الدقيقة
+
+
+ إضافة مهمة
+
+
+ بدء
+
+
+ إيقاف
+
+
+ تنفيذ
+
+
+ إزالة
+
+
+ لم تتم إضافة مهام
+
+
+ تم بدء المهمة بنجاح.
+
+
+ تم إيقاف المهمة بنجاح.
+
+
+ تم تنفيذ المهمة بنجاح.
+
+
+ تمت إضافة المهمة بنجاح.
+
+
+ تمت إزالة المهمة بنجاح.
+
+
+ لم يتم العثور على المهمة.
+
+
+ المهمة قيد التشغيل بالفعل.
+
+
+ مضافة
+
+
+ نشطة
+
+
+ قيد التشغيل
+
+
+ مكتملة
+
+
+ هل تريد إزالة هذه المهمة المجدولة؟
+
+
+ اسم المهمة مطلوب.
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.de-DE.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.de-DE.resx
new file mode 100644
index 00000000..7a4e8cac
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.de-DE.resx
@@ -0,0 +1,162 @@
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Geplante Aufgaben
+
+
+ Nach Aufgabentyp filtern
+
+
+ Alle
+
+
+ Medienbibliotheken scannen
+
+
+ Temporäre Dateien bereinigen
+
+
+ Zuletzt anzeigen
+
+
+ Zeiteinheit
+
+
+ Minuten
+
+
+ Min.
+
+
+ Stunden
+
+
+ Tage
+
+
+ Aktualisieren
+
+
+ Aktuelle Aufgaben
+
+
+ Neue Aufgabe hinzufügen
+
+
+ ID
+
+
+ Name
+
+
+ Aufgabentyp
+
+
+ Zeitplantyp
+
+
+ Intervall
+
+
+ Uhrzeit
+
+
+ Status
+
+
+ Gestartet
+
+
+ Abgeschlossen
+
+
+ Aktionen
+
+
+ Aufgabenname
+
+
+ Intervall
+
+
+ Täglich
+
+
+ Intervall (Minuten)
+
+
+ Stunde
+
+
+ Minute
+
+
+ Aufgabe hinzufügen
+
+
+ Starten
+
+
+ Stoppen
+
+
+ Ausführen
+
+
+ Entfernen
+
+
+ Keine Aufgaben hinzugefügt
+
+
+ Aufgabe erfolgreich gestartet.
+
+
+ Aufgabe erfolgreich gestoppt.
+
+
+ Aufgabe erfolgreich ausgeführt.
+
+
+ Aufgabe erfolgreich hinzugefügt.
+
+
+ Aufgabe erfolgreich entfernt.
+
+
+ Aufgabe nicht gefunden.
+
+
+ Die Aufgabe läuft bereits.
+
+
+ Hinzugefügt
+
+
+ Aktiv
+
+
+ Läuft
+
+
+ Abgeschlossen
+
+
+ Diese geplante Aufgabe entfernen?
+
+
+ Der Aufgabenname ist erforderlich.
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.en-US.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.en-US.resx
new file mode 100644
index 00000000..be9edf12
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.en-US.resx
@@ -0,0 +1,162 @@
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Scheduled jobs
+
+
+ Filter by job type
+
+
+ All
+
+
+ Scan media libraries
+
+
+ Clean temporary files
+
+
+ Display last
+
+
+ Time unit
+
+
+ Minutes
+
+
+ min
+
+
+ Hours
+
+
+ Days
+
+
+ Update
+
+
+ Current jobs
+
+
+ Add new job
+
+
+ Id
+
+
+ Name
+
+
+ Job type
+
+
+ Schedule type
+
+
+ Interval
+
+
+ Time
+
+
+ Status
+
+
+ Started
+
+
+ Completed
+
+
+ Actions
+
+
+ Job name
+
+
+ Interval
+
+
+ Daily
+
+
+ Interval (minutes)
+
+
+ Hour
+
+
+ Minute
+
+
+ Add job
+
+
+ Start
+
+
+ Stop
+
+
+ Fire
+
+
+ Remove
+
+
+ No jobs added
+
+
+ Job started successfully.
+
+
+ Job stopped successfully.
+
+
+ Job fired successfully.
+
+
+ Job added successfully.
+
+
+ Job removed successfully.
+
+
+ Job not found.
+
+
+ The job is already running.
+
+
+ Added
+
+
+ Active
+
+
+ Running
+
+
+ Completed
+
+
+ Remove this scheduled job?
+
+
+ The job name is required.
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.es-ES.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.es-ES.resx
new file mode 100644
index 00000000..afbcaab9
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.es-ES.resx
@@ -0,0 +1,162 @@
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Tareas programadas
+
+
+ Filtrar por tipo de tarea
+
+
+ Todas
+
+
+ Analizar bibliotecas multimedia
+
+
+ Limpiar archivos temporales
+
+
+ Mostrar las últimas
+
+
+ Unidad de tiempo
+
+
+ Minutos
+
+
+ min
+
+
+ Horas
+
+
+ Días
+
+
+ Actualizar
+
+
+ Tareas actuales
+
+
+ Añadir tarea
+
+
+ Id
+
+
+ Nombre
+
+
+ Tipo de tarea
+
+
+ Tipo de programación
+
+
+ Intervalo
+
+
+ Hora
+
+
+ Estado
+
+
+ Iniciado
+
+
+ Completado
+
+
+ Acciones
+
+
+ Nombre de la tarea
+
+
+ Intervalo
+
+
+ Diaria
+
+
+ Intervalo (minutos)
+
+
+ Hora
+
+
+ Minuto
+
+
+ Añadir tarea
+
+
+ Iniciar
+
+
+ Detener
+
+
+ Ejecutar
+
+
+ Eliminar
+
+
+ No hay tareas añadidas
+
+
+ La tarea se inició correctamente.
+
+
+ La tarea se detuvo correctamente.
+
+
+ La tarea se ejecutó correctamente.
+
+
+ La tarea se añadió correctamente.
+
+
+ La tarea se eliminó correctamente.
+
+
+ Tarea no encontrada.
+
+
+ La tarea ya está en ejecución.
+
+
+ Añadida
+
+
+ Activa
+
+
+ En ejecución
+
+
+ Completada
+
+
+ ¿Eliminar esta tarea programada?
+
+
+ El nombre de la tarea es obligatorio.
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.fr-FR.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.fr-FR.resx
new file mode 100644
index 00000000..c286b139
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.fr-FR.resx
@@ -0,0 +1,162 @@
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Tâches planifiées
+
+
+ Filtrer par type de tâche
+
+
+ Toutes
+
+
+ Analyser les médiathèques
+
+
+ Nettoyer les fichiers temporaires
+
+
+ Afficher les dernières
+
+
+ Unité de temps
+
+
+ Minutes
+
+
+ min
+
+
+ Heures
+
+
+ Jours
+
+
+ Mettre à jour
+
+
+ Tâches en cours
+
+
+ Ajouter une tâche
+
+
+ Id
+
+
+ Nom
+
+
+ Type de tâche
+
+
+ Type de planification
+
+
+ Intervalle
+
+
+ Heure
+
+
+ Statut
+
+
+ Démarrage
+
+
+ Terminé
+
+
+ Actions
+
+
+ Nom de la tâche
+
+
+ Intervalle
+
+
+ Quotidien
+
+
+ Intervalle (minutes)
+
+
+ Heure
+
+
+ Minute
+
+
+ Ajouter la tâche
+
+
+ Démarrer
+
+
+ Arrêter
+
+
+ Exécuter
+
+
+ Supprimer
+
+
+ Aucune tâche ajoutée
+
+
+ La tâche a démarré avec succès.
+
+
+ La tâche a été arrêtée avec succès.
+
+
+ La tâche a été exécutée avec succès.
+
+
+ La tâche a été ajoutée avec succès.
+
+
+ La tâche a été supprimée avec succès.
+
+
+ Tâche introuvable.
+
+
+ La tâche est déjà en cours d'exécution.
+
+
+ Ajoutée
+
+
+ Active
+
+
+ En cours
+
+
+ Terminée
+
+
+ Supprimer cette tâche planifiée ?
+
+
+ Le nom de la tâche est requis.
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.it-IT.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.it-IT.resx
new file mode 100644
index 00000000..45df67e8
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.it-IT.resx
@@ -0,0 +1,162 @@
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Attività pianificate
+
+
+ Filtra per tipo di attività
+
+
+ Tutte
+
+
+ Analizza le librerie multimediali
+
+
+ Pulisci i file temporanei
+
+
+ Mostra ultime
+
+
+ Unità di tempo
+
+
+ Minuti
+
+
+ min
+
+
+ Ore
+
+
+ Giorni
+
+
+ Aggiorna
+
+
+ Attività correnti
+
+
+ Aggiungi attività
+
+
+ Id
+
+
+ Nome
+
+
+ Tipo di attività
+
+
+ Tipo di pianificazione
+
+
+ Intervallo
+
+
+ Ora
+
+
+ Stato
+
+
+ Avviato
+
+
+ Completato
+
+
+ Azioni
+
+
+ Nome attività
+
+
+ Intervallo
+
+
+ Giornaliera
+
+
+ Intervallo (minuti)
+
+
+ Ora
+
+
+ Minuto
+
+
+ Aggiungi attività
+
+
+ Avvia
+
+
+ Ferma
+
+
+ Esegui
+
+
+ Rimuovi
+
+
+ Nessuna attività aggiunta
+
+
+ Attività avviata correttamente.
+
+
+ Attività fermata correttamente.
+
+
+ Attività eseguita correttamente.
+
+
+ Attività aggiunta correttamente.
+
+
+ Attività rimossa correttamente.
+
+
+ Attività non trovata.
+
+
+ L'attività è già in esecuzione.
+
+
+ Aggiunta
+
+
+ Attiva
+
+
+ In esecuzione
+
+
+ Completata
+
+
+ Rimuovere questa attività pianificata?
+
+
+ Il nome dell'attività è obbligatorio.
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.ja-JP.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.ja-JP.resx
new file mode 100644
index 00000000..7978c6e3
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.ja-JP.resx
@@ -0,0 +1,162 @@
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ スケジュール済みジョブ
+
+
+ ジョブの種類で絞り込む
+
+
+ すべて
+
+
+ メディアライブラリをスキャン
+
+
+ 一時ファイルをクリーンアップ
+
+
+ 表示する範囲
+
+
+ 時間の単位
+
+
+ 分
+
+
+ 分
+
+
+ 時間
+
+
+ 日
+
+
+ 更新
+
+
+ 現在のジョブ
+
+
+ 新しいジョブを追加
+
+
+ ID
+
+
+ 名前
+
+
+ ジョブの種類
+
+
+ スケジュールの種類
+
+
+ 間隔
+
+
+ 時刻
+
+
+ 状態
+
+
+ 開始
+
+
+ 完了
+
+
+ 操作
+
+
+ ジョブ名
+
+
+ 間隔
+
+
+ 毎日
+
+
+ 間隔(分)
+
+
+ 時
+
+
+ 分
+
+
+ ジョブを追加
+
+
+ 開始
+
+
+ 停止
+
+
+ 実行
+
+
+ 削除
+
+
+ ジョブがありません
+
+
+ ジョブが正常に開始されました。
+
+
+ ジョブが正常に停止されました。
+
+
+ ジョブが正常に実行されました。
+
+
+ ジョブが正常に追加されました。
+
+
+ ジョブが正常に削除されました。
+
+
+ ジョブが見つかりません。
+
+
+ ジョブはすでに実行中です。
+
+
+ 追加済み
+
+
+ アクティブ
+
+
+ 実行中
+
+
+ 完了
+
+
+ このスケジュール済みジョブを削除しますか?
+
+
+ ジョブ名が必要です。
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.resx
new file mode 100644
index 00000000..be9edf12
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.resx
@@ -0,0 +1,162 @@
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Scheduled jobs
+
+
+ Filter by job type
+
+
+ All
+
+
+ Scan media libraries
+
+
+ Clean temporary files
+
+
+ Display last
+
+
+ Time unit
+
+
+ Minutes
+
+
+ min
+
+
+ Hours
+
+
+ Days
+
+
+ Update
+
+
+ Current jobs
+
+
+ Add new job
+
+
+ Id
+
+
+ Name
+
+
+ Job type
+
+
+ Schedule type
+
+
+ Interval
+
+
+ Time
+
+
+ Status
+
+
+ Started
+
+
+ Completed
+
+
+ Actions
+
+
+ Job name
+
+
+ Interval
+
+
+ Daily
+
+
+ Interval (minutes)
+
+
+ Hour
+
+
+ Minute
+
+
+ Add job
+
+
+ Start
+
+
+ Stop
+
+
+ Fire
+
+
+ Remove
+
+
+ No jobs added
+
+
+ Job started successfully.
+
+
+ Job stopped successfully.
+
+
+ Job fired successfully.
+
+
+ Job added successfully.
+
+
+ Job removed successfully.
+
+
+ Job not found.
+
+
+ The job is already running.
+
+
+ Added
+
+
+ Active
+
+
+ Running
+
+
+ Completed
+
+
+ Remove this scheduled job?
+
+
+ The job name is required.
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.ro-RO.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.ro-RO.resx
new file mode 100644
index 00000000..56341e70
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.ro-RO.resx
@@ -0,0 +1,162 @@
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Sarcini programate
+
+
+ Filtrează după tipul de sarcină
+
+
+ Toate
+
+
+ Scanează bibliotecile media
+
+
+ Curăță fișierele temporare
+
+
+ Afișează ultimele
+
+
+ Unitate de timp
+
+
+ Minute
+
+
+ min
+
+
+ Ore
+
+
+ Zile
+
+
+ Actualizează
+
+
+ Sarcini curente
+
+
+ Adaugă sarcină
+
+
+ Id
+
+
+ Nume
+
+
+ Tip de sarcină
+
+
+ Tip de programare
+
+
+ Interval
+
+
+ Ora
+
+
+ Stare
+
+
+ Începută
+
+
+ Finalizată
+
+
+ Acțiuni
+
+
+ Numele sarcinii
+
+
+ Interval
+
+
+ Zilnic
+
+
+ Interval (minute)
+
+
+ Oră
+
+
+ Minut
+
+
+ Adaugă sarcină
+
+
+ Pornește
+
+
+ Oprește
+
+
+ Execută
+
+
+ Elimină
+
+
+ Nicio sarcină adăugată
+
+
+ Sarcina a fost pornită cu succes.
+
+
+ Sarcina a fost oprită cu succes.
+
+
+ Sarcina a fost executată cu succes.
+
+
+ Sarcina a fost adăugată cu succes.
+
+
+ Sarcina a fost eliminată cu succes.
+
+
+ Sarcina nu a fost găsită.
+
+
+ Sarcina rulează deja.
+
+
+ Adăugată
+
+
+ Activă
+
+
+ În execuție
+
+
+ Finalizată
+
+
+ Elimini această sarcină programată?
+
+
+ Numele sarcinii este obligatoriu.
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.uk-UA.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.uk-UA.resx
new file mode 100644
index 00000000..c698d127
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.uk-UA.resx
@@ -0,0 +1,162 @@
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ Заплановані завдання
+
+
+ Фільтрувати за типом завдання
+
+
+ Усі
+
+
+ Сканувати медіатеки
+
+
+ Очистити тимчасові файли
+
+
+ Показати останні
+
+
+ Одиниця часу
+
+
+ Хвилини
+
+
+ хв
+
+
+ Години
+
+
+ Дні
+
+
+ Оновити
+
+
+ Поточні завдання
+
+
+ Додати завдання
+
+
+ Id
+
+
+ Назва
+
+
+ Тип завдання
+
+
+ Тип розкладу
+
+
+ Інтервал
+
+
+ Час
+
+
+ Статус
+
+
+ Запущено
+
+
+ Завершено
+
+
+ Дії
+
+
+ Назва завдання
+
+
+ Інтервал
+
+
+ Щоденно
+
+
+ Інтервал (хвилини)
+
+
+ Година
+
+
+ Хвилина
+
+
+ Додати завдання
+
+
+ Запустити
+
+
+ Зупинити
+
+
+ Виконати
+
+
+ Видалити
+
+
+ Завдань не додано
+
+
+ Завдання успішно запущено.
+
+
+ Завдання успішно зупинено.
+
+
+ Завдання успішно виконано.
+
+
+ Завдання успішно додано.
+
+
+ Завдання успішно видалено.
+
+
+ Завдання не знайдено.
+
+
+ Завдання вже виконується.
+
+
+ Додано
+
+
+ Активне
+
+
+ Виконується
+
+
+ Завершено
+
+
+ Видалити це заплановане завдання?
+
+
+ Назва завдання обов'язкова.
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.zh-CN.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.zh-CN.resx
new file mode 100644
index 00000000..5fa4b521
--- /dev/null
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Admin/Scheduler.zh-CN.resx
@@ -0,0 +1,162 @@
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 计划任务
+
+
+ 按任务类型筛选
+
+
+ 全部
+
+
+ 扫描媒体库
+
+
+ 清理临时文件
+
+
+ 显示最近
+
+
+ 时间单位
+
+
+ 分钟
+
+
+ 分
+
+
+ 小时
+
+
+ 天
+
+
+ 更新
+
+
+ 当前任务
+
+
+ 添加新任务
+
+
+ ID
+
+
+ 名称
+
+
+ 任务类型
+
+
+ 计划类型
+
+
+ 间隔
+
+
+ 时间
+
+
+ 状态
+
+
+ 已开始
+
+
+ 已完成
+
+
+ 操作
+
+
+ 任务名称
+
+
+ 间隔
+
+
+ 每日
+
+
+ 间隔(分钟)
+
+
+ 小时
+
+
+ 分钟
+
+
+ 添加任务
+
+
+ 开始
+
+
+ 停止
+
+
+ 执行
+
+
+ 删除
+
+
+ 尚未添加任务
+
+
+ 任务已成功开始。
+
+
+ 任务已成功停止。
+
+
+ 任务已成功执行。
+
+
+ 任务已成功添加。
+
+
+ 任务已成功删除。
+
+
+ 找不到任务。
+
+
+ 任务已在运行中。
+
+
+ 已添加
+
+
+ 活动中
+
+
+ 运行中
+
+
+ 已完成
+
+
+ 删除此计划任务?
+
+
+ 需要提供任务名称。
+
+
diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ar-SA.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ar-SA.resx
index 429aaf7b..021c346f 100644
--- a/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ar-SA.resx
+++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Shared/_NavMenu.ar-SA.resx
@@ -1,4 +1,4 @@
-
+
+
+}