mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #1355] [MERGED] DiscordWebhooks #1346
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/1355
Author: @JoanFo1456
Created: 5/9/2025
Status: ✅ Merged
Merged: 7/5/2025
Merged by: @notAreYouScared
Base:
main← Head:feature/DiscordWebhook📝 Commits (10+)
4c8d161Working DiscordWebhooks717e881Git forgot to add the css file0e18229Now is supposed the changes are here, i don't understand my git...62b0d5bMake phpstan happya1a1fe7Merge branch 'pelican-dev:main' into feature/DiscordWebhook4425872pint3286514Merge branch 'pelican-dev:main' into feature/DiscordWebhook26b3da8Save now reloads widgetafa4418Merge branch 'pelican-dev:main' into feature/DiscordWebhook64ebf98Merge 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.