feat: add Pushover notification channel
Adds Pushover as a new notification channel, allowing users to receive push notifications on their devices via the Pushover API. Backend: provider, type registration, validation, service wiring Frontend: form UI with app token and user key fields, validation, i18n Tests: full unit test suite (15 tests, 100% coverage on provider) Closes #3445 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
2be1b48995
commit
97353bc7d2
13 files changed
+313
-3
No files matched your search
@@ -60,6 +60,14 @@ function buildDefaults(data: Notification | null): NotificationFormData {
|
||||
address: data.address || "",
|
||||
};
|
||||
}
|
||||
if (data?.type === "pushover") {
|
||||
return {
|
||||
type: "pushover",
|
||||
notificationName: data.notificationName || "",
|
||||
address: data.address || "",
|
||||
accessToken: data.accessToken || "",
|
||||
};
|
||||
}
|
||||
// Default: email (covers both data === null and data.type === "email")
|
||||
return {
|
||||
type: "email",
|
||||
|
||||
Reference in new issue
Block a user