[PR #1061] [CLOSED] Templating 2 #1505

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

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/1061
Author: @binwiederhier
Created: 3/21/2024
Status: Closed

Base: mainHead: templating-2


📝 Commits (9)

  • 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

📊 Changes

14 files changed (+312 additions, -60 deletions)

View changed files

📝 cmd/access_test.go (+2 -0)
📝 cmd/config_loader_test.go (+1 -0)
📝 cmd/publish_test.go (+3 -0)
📝 docs/publish.md (+28 -0)
📝 docs/releases.md (+6 -0)
📝 go.mod (+3 -0)
📝 go.sum (+7 -22)
📝 server/errors.go (+2 -0)
📝 server/server.go (+66 -29)
📝 server/server_admin.go (+5 -4)
📝 server/server_test.go (+182 -0)
📝 server/util.go (+3 -2)
📝 test/server.go (+1 -1)
📝 util/peek.go (+3 -2)

📄 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/1061 **Author:** [@binwiederhier](https://github.com/binwiederhier) **Created:** 3/21/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `templating-2` --- ### 📝 Commits (9) - [`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 ### 📊 Changes **14 files changed** (+312 additions, -60 deletions) <details> <summary>View changed files</summary> 📝 `cmd/access_test.go` (+2 -0) 📝 `cmd/config_loader_test.go` (+1 -0) 📝 `cmd/publish_test.go` (+3 -0) 📝 `docs/publish.md` (+28 -0) 📝 `docs/releases.md` (+6 -0) 📝 `go.mod` (+3 -0) 📝 `go.sum` (+7 -22) 📝 `server/errors.go` (+2 -0) 📝 `server/server.go` (+66 -29) 📝 `server/server_admin.go` (+5 -4) 📝 `server/server_test.go` (+182 -0) 📝 `server/util.go` (+3 -2) 📝 `test/server.go` (+1 -1) 📝 `util/peek.go` (+3 -2) </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:25 +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#1505
No description provided.