[PR #1355] [MERGED] DiscordWebhooks #1346

Closed
opened 2026-02-05 18:10:59 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/1355
Author: @JoanFo1456
Created: 5/9/2025
Status: Merged
Merged: 7/5/2025
Merged by: @notAreYouScared

Base: mainHead: feature/DiscordWebhook


📝 Commits (10+)

  • 4c8d161 Working DiscordWebhooks
  • 717e881 Git forgot to add the css file
  • 0e18229 Now is supposed the changes are here, i don't understand my git...
  • 62b0d5b Make phpstan happy
  • a1a1fe7 Merge branch 'pelican-dev:main' into feature/DiscordWebhook
  • 4425872 pint
  • 3286514 Merge branch 'pelican-dev:main' into feature/DiscordWebhook
  • 26b3da8 Save now reloads widget
  • afa4418 Merge branch 'pelican-dev:main' into feature/DiscordWebhook
  • 64ebf98 Merge branch 'pelican-dev:main' into feature/DiscordWebhook

📊 Changes

15 files changed (+1057 additions, -32 deletions)

View changed files

app/Enums/WebhookType.php (+34 -0)
📝 app/Filament/Admin/Resources/WebhookResource.php (+242 -17)
📝 app/Filament/Admin/Resources/WebhookResource/Pages/CreateWebhookConfiguration.php (+33 -0)
📝 app/Filament/Admin/Resources/WebhookResource/Pages/EditWebhookConfiguration.php (+93 -0)
app/Filament/Admin/Widgets/DiscordPreview.php (+163 -0)
📝 app/Jobs/ProcessWebhook.php (+36 -5)
📝 app/Listeners/DispatchWebhooks.php (+1 -2)
📝 app/Models/WebhookConfiguration.php (+88 -7)
📝 app/Providers/AppServiceProvider.php (+1 -0)
📝 composer.json (+1 -1)
database/migrations/2025_04_09_015500_add_webhook_configurations_type_column.php (+41 -0)
database/migrations/2025_05_26_150328_add_headers_webhook.php (+28 -0)
📝 lang/en/admin/webhook.php (+49 -0)
resources/views/filament/admin/widgets/discord-preview.blade.php (+221 -0)
resources/views/filament/components/webhooksection.blade.php (+26 -0)

📄 Description

After repairing some issues i had with my git, i suppose now is ready to work. (Did a pr before)
Some files probably have disappeared on another ones with the new changes recently, same some files probably need to be on another part, after all, this was a update following main but some files weren't removed at all...
I will make changes on it, making it less "draft" if this is accepted, only change that needs to be done at least i think is when saving to reload filament with the new changes.


🔄 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/1355 **Author:** [@JoanFo1456](https://github.com/JoanFo1456) **Created:** 5/9/2025 **Status:** ✅ Merged **Merged:** 7/5/2025 **Merged by:** [@notAreYouScared](https://github.com/notAreYouScared) **Base:** `main` ← **Head:** `feature/DiscordWebhook` --- ### 📝 Commits (10+) - [`4c8d161`](https://github.com/pelican-dev/panel/commit/4c8d1616cb3fab33b4012523dcc2a5cf115e46eb) Working DiscordWebhooks - [`717e881`](https://github.com/pelican-dev/panel/commit/717e8813417f1512a991772c409297ddae928fef) Git forgot to add the css file - [`0e18229`](https://github.com/pelican-dev/panel/commit/0e182293d62a78cc9b41704ab3741f740248c71a) Now is supposed the changes are here, i don't understand my git... - [`62b0d5b`](https://github.com/pelican-dev/panel/commit/62b0d5b325667a384671ddc4279877b2ff4a8977) Make phpstan happy - [`a1a1fe7`](https://github.com/pelican-dev/panel/commit/a1a1fe7a3b481924d9285e680db90e0d0625ebde) Merge branch 'pelican-dev:main' into feature/DiscordWebhook - [`4425872`](https://github.com/pelican-dev/panel/commit/44258722182f404410e1ddb702000b73fd4f6cb2) pint - [`3286514`](https://github.com/pelican-dev/panel/commit/328651494b18256a4a7140714991bd262e2f1f10) Merge branch 'pelican-dev:main' into feature/DiscordWebhook - [`26b3da8`](https://github.com/pelican-dev/panel/commit/26b3da854ec4aa9166c91853510009469f456e48) Save now reloads widget - [`afa4418`](https://github.com/pelican-dev/panel/commit/afa4418faf43068b3be8c2b139ded98fd112b2d2) Merge branch 'pelican-dev:main' into feature/DiscordWebhook - [`64ebf98`](https://github.com/pelican-dev/panel/commit/64ebf9875d7d565e83183cecf42f13e4994fcd6f) Merge branch 'pelican-dev:main' into feature/DiscordWebhook ### 📊 Changes **15 files changed** (+1057 additions, -32 deletions) <details> <summary>View changed files</summary> ➕ `app/Enums/WebhookType.php` (+34 -0) 📝 `app/Filament/Admin/Resources/WebhookResource.php` (+242 -17) 📝 `app/Filament/Admin/Resources/WebhookResource/Pages/CreateWebhookConfiguration.php` (+33 -0) 📝 `app/Filament/Admin/Resources/WebhookResource/Pages/EditWebhookConfiguration.php` (+93 -0) ➕ `app/Filament/Admin/Widgets/DiscordPreview.php` (+163 -0) 📝 `app/Jobs/ProcessWebhook.php` (+36 -5) 📝 `app/Listeners/DispatchWebhooks.php` (+1 -2) 📝 `app/Models/WebhookConfiguration.php` (+88 -7) 📝 `app/Providers/AppServiceProvider.php` (+1 -0) 📝 `composer.json` (+1 -1) ➕ `database/migrations/2025_04_09_015500_add_webhook_configurations_type_column.php` (+41 -0) ➕ `database/migrations/2025_05_26_150328_add_headers_webhook.php` (+28 -0) 📝 `lang/en/admin/webhook.php` (+49 -0) ➕ `resources/views/filament/admin/widgets/discord-preview.blade.php` (+221 -0) ➕ `resources/views/filament/components/webhooksection.blade.php` (+26 -0) </details> ### 📄 Description After repairing some issues i had with my git, i suppose now is ready to work. (Did a pr before) Some files probably have disappeared on another ones with the new changes recently, same some files probably need to be on another part, after all, this was a update following main but some files weren't removed at all... I will make changes on it, making it less "draft" if this is accepted, only change that needs to be done at least i think is when saving to reload filament with the new changes. --- <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-05 18:10:59 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel-pelican-dev#1346