mirror of
https://github.com/pelican-dev/panel.git
synced 2026-02-24 19:08:53 +03:00
[PR #971] [MERGED] Fix event listeners for notifications #1088
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/971
Author: @Boy132
Created: 2/5/2025
Status: ✅ Merged
Merged: 2/8/2025
Merged by: @Boy132
Base:
main← Head:boy132/fix-notification-listeners📝 Commits (2)
aabd574fix event listeners for notifications824cfa1fix "visit panel" url📊 Changes
9 files changed (+34 additions, -125 deletions)
View changed files
📝
app/Listeners/Server/ServerInstalledListener.php(+6 -0)📝
app/Listeners/Server/SubUserAddedListener.php(+3 -0)📝
app/Listeners/Server/SubUserRemovedListener.php(+3 -0)📝
app/Notifications/AccountCreated.php(+7 -16)📝
app/Notifications/AddedToServer.php(+3 -28)📝
app/Notifications/RemovedFromServer.php(+4 -30)📝
app/Notifications/SendPasswordReset.php(+2 -10)📝
app/Notifications/ServerInstalled.php(+3 -40)📝
app/Services/Users/UserCreationService.php(+3 -1)📄 Description
Laravel only listens for events in the Listener folder. So notifications for server installation and subusers never got sent.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.