[PR #659] [MERGED] allow default-token and per-subscription tokens in client.yml #1368

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

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/659
Author: @wunter8
Created: 3/6/2023
Status: Merged
Merged: 3/7/2023
Merged by: @binwiederhier

Base: mainHead: 653-default-token


📝 Commits (3)

  • 25be5b4 allow default-token and per-subscription tokens in client.yml
  • 1797dec include auth headers with using ntfy sub --poll --from-config
  • 758eb3f update release docs

📊 Changes

11 files changed (+598 additions, -77 deletions)

View changed files

📝 client/client.yml (+8 -4)
📝 client/config.go (+17 -11)
📝 client/config_test.go (+22 -0)
📝 cmd/publish.go (+20 -17)
📝 cmd/publish_test.go (+152 -1)
📝 cmd/subscribe.go (+37 -14)
cmd/subscribe_test.go (+312 -0)
📝 docs/releases.md (+21 -0)
📝 docs/subscribe/cli.md (+5 -5)
📝 server/server.go (+4 -2)
📝 user/manager_test.go (+0 -23)

📄 Description

fixes #653


🔄 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/659 **Author:** [@wunter8](https://github.com/wunter8) **Created:** 3/6/2023 **Status:** ✅ Merged **Merged:** 3/7/2023 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `653-default-token` --- ### 📝 Commits (3) - [`25be5b4`](https://github.com/binwiederhier/ntfy/commit/25be5b47e4c12bd4cd7ec7c3aeeba8a9aca0054e) allow default-token and per-subscription tokens in client.yml - [`1797dec`](https://github.com/binwiederhier/ntfy/commit/1797dec2ba9e9831304abad8826ee48594ba4751) include auth headers with using ntfy sub --poll --from-config - [`758eb3f`](https://github.com/binwiederhier/ntfy/commit/758eb3f3711daa47c323bb1fafbcafe044c2458a) update release docs ### 📊 Changes **11 files changed** (+598 additions, -77 deletions) <details> <summary>View changed files</summary> 📝 `client/client.yml` (+8 -4) 📝 `client/config.go` (+17 -11) 📝 `client/config_test.go` (+22 -0) 📝 `cmd/publish.go` (+20 -17) 📝 `cmd/publish_test.go` (+152 -1) 📝 `cmd/subscribe.go` (+37 -14) ➕ `cmd/subscribe_test.go` (+312 -0) 📝 `docs/releases.md` (+21 -0) 📝 `docs/subscribe/cli.md` (+5 -5) 📝 `server/server.go` (+4 -2) 📝 `user/manager_test.go` (+0 -23) </details> ### 📄 Description fixes #653 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:01:47 +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#1368
No description provided.