[PR #403] [CLOSED] Add DatabaseHost alias #737

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

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/403
Author: @rmartinoscar
Created: 6/16/2024
Status: Closed

Base: mainHead: feature/dbhost-alias


📝 Commits (4)

  • c70cd70 Add alias
  • d946375 Merge branch 'main' into feature/dbhost-alias
  • 7a33d84 Merge branch 'pelican-dev:main' into feature/dbhost-alias
  • 4eca02c Merge branch 'main' into feature/dbhost-alias

📊 Changes

8 files changed (+48 additions, -4 deletions)

View changed files

📝 app/Filament/Resources/DatabaseHostResource/Pages/CreateDatabaseHost.php (+6 -1)
📝 app/Filament/Resources/DatabaseHostResource/Pages/EditDatabaseHost.php (+6 -1)
📝 app/Filament/Resources/DatabaseHostResource/Pages/ListDatabaseHosts.php (+2 -0)
📝 app/Models/DatabaseHost.php (+3 -1)
📝 app/Transformers/Api/Application/DatabaseHostTransformer.php (+1 -0)
📝 app/Transformers/Api/Client/DatabaseTransformer.php (+1 -0)
database/migrations/2024_06_16_024330_add_database_alias_column_to_database_hosts.php (+28 -0)
📝 resources/scripts/api/server/databases/getServerDatabases.ts (+1 -1)

📄 Description

Add alias to DatabaseHosts and display that instead of the ip in the endpoint.
Useful when you create pelicanuser@127.0.0.1 but still want to show either a domain or for example 172.18.0.1
List
Edit
Create
Client side eye
Client side list


🔄 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/403 **Author:** [@rmartinoscar](https://github.com/rmartinoscar) **Created:** 6/16/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feature/dbhost-alias` --- ### 📝 Commits (4) - [`c70cd70`](https://github.com/pelican-dev/panel/commit/c70cd7005e37bf1811df91ee1b42edb04c3b8be7) Add alias - [`d946375`](https://github.com/pelican-dev/panel/commit/d94637530a7c6d7cb3c9c6c74ccc0ed61a43d1a7) Merge branch 'main' into feature/dbhost-alias - [`7a33d84`](https://github.com/pelican-dev/panel/commit/7a33d84d4b68bcdcfc56605f9dacc2da02d15a24) Merge branch 'pelican-dev:main' into feature/dbhost-alias - [`4eca02c`](https://github.com/pelican-dev/panel/commit/4eca02cc1f8b8f1114e5e6b8c114560571d2b5e4) Merge branch 'main' into feature/dbhost-alias ### 📊 Changes **8 files changed** (+48 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `app/Filament/Resources/DatabaseHostResource/Pages/CreateDatabaseHost.php` (+6 -1) 📝 `app/Filament/Resources/DatabaseHostResource/Pages/EditDatabaseHost.php` (+6 -1) 📝 `app/Filament/Resources/DatabaseHostResource/Pages/ListDatabaseHosts.php` (+2 -0) 📝 `app/Models/DatabaseHost.php` (+3 -1) 📝 `app/Transformers/Api/Application/DatabaseHostTransformer.php` (+1 -0) 📝 `app/Transformers/Api/Client/DatabaseTransformer.php` (+1 -0) ➕ `database/migrations/2024_06_16_024330_add_database_alias_column_to_database_hosts.php` (+28 -0) 📝 `resources/scripts/api/server/databases/getServerDatabases.ts` (+1 -1) </details> ### 📄 Description Add alias to DatabaseHosts and display that instead of the ip in the endpoint. Useful when you create pelicanuser@127.0.0.1 but still want to show either a domain or for example 172.18.0.1 ![List](https://github.com/pelican-dev/panel/assets/40749467/79d79b26-1356-46e5-903d-f28b378152ec) ![Edit](https://github.com/pelican-dev/panel/assets/40749467/7577380e-3c01-41a2-b3e8-e24c09030072) ![Create](https://github.com/pelican-dev/panel/assets/40749467/08430b8c-0eac-478c-a5a5-a5a339fac300) ![Client side eye](https://github.com/pelican-dev/panel/assets/40749467/6a0de6e8-8656-46fb-b440-09141dcfcce6) ![Client side list](https://github.com/pelican-dev/panel/assets/40749467/ad68d2f2-65a4-4062-8bc9-9a53be088c6d) --- <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:47:09 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#737