[PR #661] [CLOSED] Add Port check when creating allocations #884

Closed
opened 2026-02-04 18:58:41 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/661
Author: @notAreYouScared
Created: 10/24/2024
Status: Closed

Base: mainHead: issue/655


📝 Commits (2)

  • 3d966d8 Port check
  • ca97cee Update app/Filament/Resources/NodeResource/RelationManagers/AllocationsRelationManager.php

📊 Changes

3 files changed (+77 additions, -22 deletions)

View changed files

📝 app/Filament/Resources/NodeResource/RelationManagers/AllocationsRelationManager.php (+28 -9)
📝 app/Filament/Resources/ServerResource/Pages/CreateServer.php (+22 -5)
📝 app/Filament/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php (+27 -8)

📄 Description

Will check the allocations for the given ip and the given ports to see if they already exist in the database, if they do they're removed from the tag list, and a notification is sent telling the user that the port already exists.
chrome_tA1ubW5I2s

This is applied to all three places where you can create an allocation.

Closes https://github.com/pelican-dev/panel/issues/655


🔄 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/661 **Author:** [@notAreYouScared](https://github.com/notAreYouScared) **Created:** 10/24/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `issue/655` --- ### 📝 Commits (2) - [`3d966d8`](https://github.com/pelican-dev/panel/commit/3d966d8826ed93e81e295ad9a1f2c0ad69f72e39) Port check - [`ca97cee`](https://github.com/pelican-dev/panel/commit/ca97cee9084daf40da8c3b4c6bf19e3ba8b36207) Update app/Filament/Resources/NodeResource/RelationManagers/AllocationsRelationManager.php ### 📊 Changes **3 files changed** (+77 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Resources/NodeResource/RelationManagers/AllocationsRelationManager.php` (+28 -9) 📝 `app/Filament/Resources/ServerResource/Pages/CreateServer.php` (+22 -5) 📝 `app/Filament/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php` (+27 -8) </details> ### 📄 Description Will check the allocations for the given ip and the given ports to see if they already exist in the database, if they do they're removed from the tag list, and a notification is sent telling the user that the port already exists. ![chrome_tA1ubW5I2s](https://github.com/user-attachments/assets/c7de9ec5-c662-4636-9d82-ceee9d230520) This is applied to all three places where you can create an allocation. Closes https://github.com/pelican-dev/panel/issues/655 --- <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 18:58:41 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#884