mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-25 09:05:55 +03:00
[PR #850] [MERGED] feat: notify admin when whatsapp is unauthenticated #851
Labels
No labels
0. to triage
1. to develop
3. to review
blocked
bug
discussion
duplicate
enhancement
enhancement
gateway:signal
gateway:signal
gateway:signal
gateway:sms
gateway:telegram
hacktoberfest
help wanted
invalid
needs info
php
pull-request
question
technical debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/twofactor_gateway-nextcloud#851
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/nextcloud/twofactor_gateway/pull/850
Author: @vitormattos
Created: 1/28/2026
Status: ✅ Merged
Merged: 1/28/2026
Merged by: @vitormattos
Base:
master← Head:feat/notify-admin-when-whatsapp-is-unauthenticated📝 Commits (9)
04e3047feat(exception): add AlreadyLoggedInException for WhatsApp pairing flowfe9d141feat(exception): add ApiConnectionException for WhatsApp API errors7cdadfffeat(events): add WhatsAppAuthenticationErrorEvent for authentication failuresc394d91feat(listener): add NotificationListener to notify admins of WhatsApp auth failures15db808feat(notification): add Notifier to format WhatsApp authentication error notifications76e03d1feat(app): register WhatsApp event listener and notifier in Application bootstrapb351852refactor(gateway): replace triple return type with explicit exceptionsaa2a22achore(psalm): update baseline for new exception classes8dc07d2chore: remove unused files📊 Changes
6 files changed (+177 additions, -0 deletions)
View changed files
📝
lib/AppInfo/Application.php(+6 -0)➕
lib/Events/WhatsAppAuthenticationErrorEvent.php(+15 -0)➕
lib/Listener/NotificationListener.php(+78 -0)➕
lib/Notification/Notifier.php(+65 -0)📝
lib/Provider/Channel/GoWhatsApp/Gateway.php(+5 -0)📝
tests/psalm-baseline.xml(+8 -0)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.