mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #1390] [MERGED] Advanced message templating: Sprig functions, pre-defined templates, custom templates via template-dir #1589
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1589
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/binwiederhier/ntfy/pull/1390
Author: @binwiederhier
Created: 7/16/2025
Status: ✅ Merged
Merged: 7/21/2025
Merged by: @binwiederhier
Base:
main← Head:template-dir📝 Commits (10+)
1f2c76ecopy subset of Sprig template functions650f492make tests happyfea0f30Sprig funcs3ac3e2eMerge branch 'main' of github.com:binwiederhier/ntfy into sprig2a46849any93e14b7Tempalte dirb1e935dTEmplate dir610792bWIP4603802WIPae62e0dDocs docs docs📊 Changes
61 files changed (+8620 additions, -308 deletions)
View changed files
📝
README.md(+1 -0)📝
client/options.go(+6 -0)📝
cmd/publish.go(+5 -0)📝
cmd/serve.go(+4 -5)📝
cmd/user.go(+2 -1)📝
docs/publish.md(+195 -11)➕
docs/publish/template-functions.md(+1507 -0)📝
docs/releases.md(+7 -0)➕
docs/static/img/android-screenshot-template-custom.png(+0 -0)➕
docs/static/img/android-screenshot-template-predefined.png(+0 -0)➕
docs/static/img/screenshot-github-webhook-config.png(+0 -0)📝
go.mod(+15 -15)📝
go.sum(+31 -0)📝
mkdocs.yml(+1 -0)📝
server/config.go(+5 -1)📝
server/errors.go(+2 -0)📝
server/server.go(+96 -38)📝
server/server.yml(+20 -0)📝
server/server_test.go(+159 -3)📝
server/smtp_server.go(+3 -3)...and 41 more files
📄 Description
What
template-dirfor custom templatesDocs
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.