[PR #1064] [MERGED] Message templating #1507

Closed
opened 2026-05-07 01:02:26 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/1064
Author: @binwiederhier
Created: 3/23/2024
Status: Merged
Merged: 3/24/2024
Merged by: @binwiederhier

Base: mainHead: templating-3


📝 Commits (10+)

  • df7d6ba add templating for title and message fields
  • b2eb5b9 use existing message and title fields for templates
  • 867cf28 refactor gjson parsing code
  • 03737db update docs
  • 7fd5f0b allow large HTTP body so long as resulting message is small
  • 83356f5 remove debug print statement
  • 1966f80 Merge branch 'main' into templating
  • de65d07 Simplify(?) templating cases
  • 9247dac Move things, revert naming
  • a04f2f9 Bla

📊 Changes

13 files changed (+521 additions, -122 deletions)

View changed files

📝 docs/publish.md (+138 -0)
📝 docs/releases.md (+6 -0)
docs/static/img/android-screenshot-template.jpg (+0 -0)
📝 docs/static/js/extra.js (+66 -62)
📝 go.sum (+0 -22)
📝 server/errors.go (+4 -0)
📝 server/server.go (+72 -29)
📝 server/server_admin.go (+5 -4)
📝 server/server_test.go (+189 -0)
📝 server/util.go (+3 -2)
📝 test/server.go (+1 -1)
📝 util/peek.go (+3 -2)
util/timeout_writer.go (+34 -0)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/binwiederhier/ntfy/pull/1064 **Author:** [@binwiederhier](https://github.com/binwiederhier) **Created:** 3/23/2024 **Status:** ✅ Merged **Merged:** 3/24/2024 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `templating-3` --- ### 📝 Commits (10+) - [`df7d6ba`](https://github.com/binwiederhier/ntfy/commit/df7d6baec59e17b3ac07b2846d067bc17fb94133) add templating for title and message fields - [`b2eb5b9`](https://github.com/binwiederhier/ntfy/commit/b2eb5b94bdc8efd76516aae9b5db4a10d2360bad) use existing message and title fields for templates - [`867cf28`](https://github.com/binwiederhier/ntfy/commit/867cf2808068fd50678b6588f8780497afb88a83) refactor gjson parsing code - [`03737db`](https://github.com/binwiederhier/ntfy/commit/03737dbf5c521a6e87d2f37509822bcf4f853de2) update docs - [`7fd5f0b`](https://github.com/binwiederhier/ntfy/commit/7fd5f0b29d4d0b9cd34bd9d5c1e3759d48a6916b) allow large HTTP body so long as resulting message is small - [`83356f5`](https://github.com/binwiederhier/ntfy/commit/83356f565e5327b2bb20c94530c12e17af2796da) remove debug print statement - [`1966f80`](https://github.com/binwiederhier/ntfy/commit/1966f80855715eca8ec5bf1bdab79e38a68b9398) Merge branch 'main' into templating - [`de65d07`](https://github.com/binwiederhier/ntfy/commit/de65d0751803306d07081f41501688cb0e9b5120) Simplify(?) templating cases - [`9247dac`](https://github.com/binwiederhier/ntfy/commit/9247dac50db7d5a4617079755fde479b50907f80) Move things, revert naming - [`a04f2f9`](https://github.com/binwiederhier/ntfy/commit/a04f2f9c9ac35320810198ced538ae365b5df26d) Bla ### 📊 Changes **13 files changed** (+521 additions, -122 deletions) <details> <summary>View changed files</summary> 📝 `docs/publish.md` (+138 -0) 📝 `docs/releases.md` (+6 -0) ➕ `docs/static/img/android-screenshot-template.jpg` (+0 -0) 📝 `docs/static/js/extra.js` (+66 -62) 📝 `go.sum` (+0 -22) 📝 `server/errors.go` (+4 -0) 📝 `server/server.go` (+72 -29) 📝 `server/server_admin.go` (+5 -4) 📝 `server/server_test.go` (+189 -0) 📝 `server/util.go` (+3 -2) 📝 `test/server.go` (+1 -1) 📝 `util/peek.go` (+3 -2) ➕ `util/timeout_writer.go` (+34 -0) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:02:26 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#1507
No description provided.