[PR #871] [MERGED] Fix/suspend server offline node #1024

Closed
opened 2026-02-04 19:11:04 +03:00 by OVERLORD · 0 comments
Owner

📋 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: mainHead: fix/SuspendServerOfflineNode


📝 Commits (4)

  • b5bcdc7 Use handle instead of toggle & use const isnstead of string
  • c90d336 Avoid rollback if node is unreachable
  • f2fb062 Use Enum & remove default action
  • 55b1868 Remove 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
image
image


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

## 📋 Pull Request Information **Original PR:** https://github.com/pelican-dev/panel/pull/871 **Author:** [@rmartinoscar](https://github.com/rmartinoscar) **Created:** 1/6/2025 **Status:** ✅ Merged **Merged:** 1/6/2025 **Merged by:** [@rmartinoscar](https://github.com/rmartinoscar) **Base:** `main` ← **Head:** `fix/SuspendServerOfflineNode` --- ### 📝 Commits (4) - [`b5bcdc7`](https://github.com/pelican-dev/panel/commit/b5bcdc7103a6bb537403e254bcaddcb33a663873) Use handle instead of toggle & use const isnstead of string - [`c90d336`](https://github.com/pelican-dev/panel/commit/c90d3365679dd745df21e464af9ef768f91edeab) Avoid rollback if node is unreachable - [`f2fb062`](https://github.com/pelican-dev/panel/commit/f2fb062ba541bd50f5aa50b2ce49d08baf99e8a4) Use Enum & remove default action - [`55b1868`](https://github.com/pelican-dev/panel/commit/55b18686e344092041f574bb2e39bb2ba87f54ff) Remove useless test ### 📊 Changes **6 files changed** (+36 additions, -34 deletions) <details> <summary>View changed files</summary> ➕ `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) </details> ### 📄 Description Closes #867 ![image](https://github.com/user-attachments/assets/429dd552-1368-44ad-ba07-8cac1469a7ec) ![image](https://github.com/user-attachments/assets/701a47e2-afb8-471d-aec7-3db3a5313d74) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 19:11:04 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#1024