mirror of
https://github.com/pelican-dev/panel.git
synced 2026-03-01 11:21:31 +03:00
[PR #861] [MERGED] Fix 500 on duplicate ports #1020
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/861
Author: @notAreYouScared
Created: 1/5/2025
Status: ✅ Merged
Merged: 1/5/2025
Merged by: @notAreYouScared
Base:
main← Head:charles/duplicate-ports📝 Commits (10+)
37769dfFix 500 on duplicate ports0b3b77cCombine into one method7dfd712Pint1c05842Add missing type9e62fadAdd 0.0.0.05ddf095Add notifications to help the user12459a2Pinta10fa3aMerge branch 'charles/duplicate-ports' of github.com:pelican-dev/panel into charles/duplicate-ports034ab22Too verbose3c4886bShow notification here📊 Changes
4 files changed (+141 additions, -176 deletions)
View changed files
📝
app/Filament/Admin/Resources/NodeResource/RelationManagers/AllocationsRelationManager.php(+8 -48)📝
app/Filament/Admin/Resources/ServerResource/Pages/CreateServer.php(+125 -80)📝
app/Filament/Admin/Resources/ServerResource/RelationManagers/AllocationsRelationManager.php(+6 -48)📝
app/Models/Node.php(+2 -0)📄 Description
This should also address N+1 issues from the last PR.
Also adds a 1000 port limit that's currently bypassed...
Old PR https://github.com/pelican-dev/panel/pull/661
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.