[PR #118] [CLOSED] Discord webhooks #121

Closed
opened 2026-05-07 00:18:13 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/plugins/pull/118
Author: @jami100YT
Created: 3/20/2026
Status: Closed

Base: mainHead: discord-webhooks


📝 Commits (6)

  • ea49e2d migrated plugin to github from private git server
  • 607eb9c update installation instructions with correct URL for plugin import
  • 7c93432 refactor: improve webhook handling and validation, update installation instructions
  • 1e0a005 refactor: update property type for events in Webhook model and enhance server status checks in event listener
  • 239082c refactor: enhance server status checks in event listener for installation events
  • 1482499 refactor: improve server status handling and clean up cache updates in event listeners

📊 Changes

13 files changed (+753 additions, -0 deletions)

View changed files

discord-webhooks/LICENSE (+6 -0)
discord-webhooks/README.md (+47 -0)
discord-webhooks/database/migrations/001_create_webhooks_table.php (+29 -0)
discord-webhooks/plugin.json (+17 -0)
discord-webhooks/src/Console/Commands/CheckServerStatus.php (+66 -0)
discord-webhooks/src/Enums/WebhookEvent.php (+51 -0)
discord-webhooks/src/Filament/Server/Resources/Webhooks/Pages/ManageWebhooks.php (+11 -0)
discord-webhooks/src/Filament/Server/Resources/Webhooks/WebhookResource.php (+165 -0)
discord-webhooks/src/Models/Webhook.php (+90 -0)
discord-webhooks/src/Policies/WebhookPolicy.php (+8 -0)
discord-webhooks/src/Providers/WebhooksPluginProvider.php (+95 -0)
discord-webhooks/src/Services/DiscordWebhookService.php (+145 -0)
discord-webhooks/src/WebhooksPlugin.php (+23 -0)

📄 Description

Send Discord webhook notifications for various server events in Pelican Panel.

Summary by CodeRabbit

  • New Features

    • Discord Webhooks plugin: send notifications for server events (started, stopped, installing, installed), per-webhook event selection, multiple webhooks, enable/disable, and test messages.
    • Admin Panel management: create/edit/delete webhooks, masked URL display, event selection, and trigger history.
  • Automation

    • Automatic status monitoring with a scheduled per-minute check and a manual status-check command.
  • Documentation

    • Added installation and usage guide for the plugin.
  • Chores

    • Added project LICENSE (GNU GPL v3).

🔄 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/plugins/pull/118 **Author:** [@jami100YT](https://github.com/jami100YT) **Created:** 3/20/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `discord-webhooks` --- ### 📝 Commits (6) - [`ea49e2d`](https://github.com/pelican-dev/plugins/commit/ea49e2da2e9138e353fe6f39bc531f7052586f5f) migrated plugin to github from private git server - [`607eb9c`](https://github.com/pelican-dev/plugins/commit/607eb9c4388023b276ad146e937f33f7831756bb) update installation instructions with correct URL for plugin import - [`7c93432`](https://github.com/pelican-dev/plugins/commit/7c93432ea82e97c048668382a583b8e2ba4f500d) refactor: improve webhook handling and validation, update installation instructions - [`1e0a005`](https://github.com/pelican-dev/plugins/commit/1e0a005f869dff873bcc95bd6a07e8493ae9bf53) refactor: update property type for events in Webhook model and enhance server status checks in event listener - [`239082c`](https://github.com/pelican-dev/plugins/commit/239082c91884105dc98291e25286a236505d32cb) refactor: enhance server status checks in event listener for installation events - [`1482499`](https://github.com/pelican-dev/plugins/commit/14824993e1443f834fcdcc2d685d26763ff57712) refactor: improve server status handling and clean up cache updates in event listeners ### 📊 Changes **13 files changed** (+753 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `discord-webhooks/LICENSE` (+6 -0) ➕ `discord-webhooks/README.md` (+47 -0) ➕ `discord-webhooks/database/migrations/001_create_webhooks_table.php` (+29 -0) ➕ `discord-webhooks/plugin.json` (+17 -0) ➕ `discord-webhooks/src/Console/Commands/CheckServerStatus.php` (+66 -0) ➕ `discord-webhooks/src/Enums/WebhookEvent.php` (+51 -0) ➕ `discord-webhooks/src/Filament/Server/Resources/Webhooks/Pages/ManageWebhooks.php` (+11 -0) ➕ `discord-webhooks/src/Filament/Server/Resources/Webhooks/WebhookResource.php` (+165 -0) ➕ `discord-webhooks/src/Models/Webhook.php` (+90 -0) ➕ `discord-webhooks/src/Policies/WebhookPolicy.php` (+8 -0) ➕ `discord-webhooks/src/Providers/WebhooksPluginProvider.php` (+95 -0) ➕ `discord-webhooks/src/Services/DiscordWebhookService.php` (+145 -0) ➕ `discord-webhooks/src/WebhooksPlugin.php` (+23 -0) </details> ### 📄 Description Send Discord webhook notifications for various server events in Pelican Panel. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Discord Webhooks plugin: send notifications for server events (started, stopped, installing, installed), per-webhook event selection, multiple webhooks, enable/disable, and test messages. * Admin Panel management: create/edit/delete webhooks, masked URL display, event selection, and trigger history. * **Automation** * Automatic status monitoring with a scheduled per-minute check and a manual status-check command. * **Documentation** * Added installation and usage guide for the plugin. * **Chores** * Added project LICENSE (GNU GPL v3). <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:18:13 +02:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/plugins#121
No description provided.