mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-05 00:39:46 +03:00
[PR #1911] [MERGED] Refactor schedule tasks #1651
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/1911
Author: @Boy132
Created: 11/18/2025
Status: ✅ Merged
Merged: 11/24/2025
Merged by: @Boy132
Base:
main← Head:boy132/refactor-tasks📝 Commits (8)
d5ecf4drefactor schedule tasksc3c53e3fix null error5fab35badd getMappings function9ea4cf3make phpstan happy64c2de5remove consts1acb40badd getSchema to task27c79f7fix task creatione05a434Merge remote-tracking branch 'origin/main' into boy132/refactor-tasks📊 Changes
14 files changed (+342 additions, -79 deletions)
View changed files
➕
app/Extensions/Tasks/Schemas/CreateBackupSchema.php(+32 -0)➕
app/Extensions/Tasks/Schemas/DeleteFilesSchema.php(+26 -0)➕
app/Extensions/Tasks/Schemas/PowerActionSchema.php(+57 -0)➕
app/Extensions/Tasks/Schemas/SendCommandSchema.php(+36 -0)➕
app/Extensions/Tasks/Schemas/TaskSchema.php(+52 -0)➕
app/Extensions/Tasks/TaskSchemaInterface.php(+28 -0)➕
app/Extensions/Tasks/TaskService.php(+37 -0)📝
app/Filament/Server/Resources/Schedules/RelationManagers/TasksRelationManager.php(+18 -40)📝
app/Jobs/Schedule/RunTaskJob.php(+9 -23)📝
app/Models/Task.php(+10 -11)➕
app/Providers/Extensions/TaskServiceProvider.php(+31 -0)📝
bootstrap/providers.php(+1 -0)📝
lang/en/server/schedule.php(+2 -2)📝
tests/Integration/Jobs/Schedule/RunTaskJobTest.php(+3 -3)📄 Description
Same principle as oauth, captcha and avatars. Allows to register custom schedule tasks.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.