mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-25 11:20:56 +03:00
[PR #871] [MERGED] Fix/suspend server offline node #1024
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/871
Author: @rmartinoscar
Created: 1/6/2025
Status: ✅ Merged
Merged: 1/6/2025
Merged by: @rmartinoscar
Base:
main← Head:fix/SuspendServerOfflineNode📝 Commits (4)
b5bcdc7Use handle instead of toggle & use const isnstead of stringc90d336Avoid rollback if node is unreachablef2fb062Use Enum & remove default action55b1868Remove useless test📊 Changes
6 files changed (+36 additions, -34 deletions)
View changed files
➕
app/Enums/SuspendAction.php(+9 -0)📝
app/Filament/Admin/Resources/ServerResource/Pages/EditServer.php(+11 -2)📝
app/Filament/Admin/Resources/UserResource/RelationManagers/ServersRelationManager.php(+3 -2)📝
app/Http/Controllers/Api/Application/Servers/ServerManagementController.php(+3 -2)📝
app/Services/Servers/SuspensionService.php(+5 -14)📝
tests/Integration/Services/Servers/SuspensionServiceTest.php(+5 -14)📄 Description
Closes #867


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.