mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-06 00:18:38 -05:00
[PR #493] [MERGED] Ntfy alerter: Add support for email notifications, notification titles and message priorities #4473
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/moghtech/komodo/pull/493
Author: @FelixBreitweiser
Created: 5/7/2025
Status: ✅ Merged
Merged: 5/18/2025
Merged by: @mbecker20
Base:
1.17.6← Head:main📝 Commits (1)
06b4d97added support for ntfy email forwarding📊 Changes
6 files changed (+51 additions, -15 deletions)
View changed files
📝
bin/core/src/alert/mod.rs(+2 -2)📝
bin/core/src/alert/ntfy.rs(+13 -5)📝
client/core/rs/src/entities/alerter.rs(+4 -0)📝
client/core/ts/src/types.ts(+1 -0)📝
frontend/public/client/types.d.ts(+1 -0)📝
frontend/src/components/resources/alerter/config/endpoint.tsx(+30 -8)📄 Description
Originally I only wanted a way to receive email notifications from komodo alerts, and found out that ntfy allows forwarding notifications via email by adding a "X-Email" header to a notification request. So I implemented that, and while I was at it, I also added support for customizing the notification title and message priority:
For the future, maybe it would be nice to have email alert support directly as part of komodo, but that of course entails a bit more work than this:
core.config.toml?)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.