[PR #1536] [MERGED] Update/delete/clear notifications #1633

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

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/1536
Author: @binwiederhier
Created: 1/6/2026
Status: Merged
Merged: 1/16/2026
Merged by: @binwiederhier

Base: mainHead: 303-update-notifications


📝 Commits (10+)

  • 2aae357 add sid, mtime, and deleted to message_cache
  • 83b5470 publish messages with a custom sequence ID
  • 8293a24 update notification text using sid in web app
  • 1c2550d Merge branch 'main' into 303-update-notifications
  • aca9a77 Remove mtime
  • f51e99d Remove modified
  • 2856793 Deleted
  • 2dd152d Manual fixes for AI slop
  • bfbe73a Update polling
  • 75abf2e Delete old messages with SID when new messages arrive

📊 Changes

31 files changed (+1585 additions, -466 deletions)

View changed files

📝 client/options.go (+5 -0)
📝 cmd/publish.go (+6 -0)
📝 docs/faq.md (+2 -2)
📝 docs/publish.md (+457 -16)
📝 docs/releases.md (+20 -3)
📝 docs/static/css/extra.css (+9 -9)
docs/static/img/android-screenshot-notification-update-1.png (+0 -0)
docs/static/img/android-screenshot-notification-update-2.png (+0 -0)
📝 docs/subscribe/api.md (+15 -14)
📝 go.mod (+5 -5)
📝 go.sum (+10 -37)
📝 server/errors.go (+3 -1)
📝 server/message_cache.go (+46 -14)
📝 server/message_cache_test.go (+7 -0)
📝 server/server.go (+97 -10)
📝 server/server_firebase.go (+10 -0)
📝 server/server_firebase_test.go (+3 -0)
📝 server/server_test.go (+288 -2)
📝 server/server_webpush.go (+1 -1)
📝 server/types.go (+54 -31)

...and 11 more files

📄 Description

Implements part of #303, supersedes #1466


🔄 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/1536 **Author:** [@binwiederhier](https://github.com/binwiederhier) **Created:** 1/6/2026 **Status:** ✅ Merged **Merged:** 1/16/2026 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `303-update-notifications` --- ### 📝 Commits (10+) - [`2aae357`](https://github.com/binwiederhier/ntfy/commit/2aae3577cb5238a303eec3c8dde82a2c744181b3) add sid, mtime, and deleted to message_cache - [`83b5470`](https://github.com/binwiederhier/ntfy/commit/83b5470bc57a24e25e0fa3daa65ab8573954c7a1) publish messages with a custom sequence ID - [`8293a24`](https://github.com/binwiederhier/ntfy/commit/8293a24cf9a91b9508c970057e9450fdabdca38d) update notification text using sid in web app - [`1c2550d`](https://github.com/binwiederhier/ntfy/commit/1c2550d749415a72aa9446ae2d4015b7b7f93ef1) Merge branch 'main' into 303-update-notifications - [`aca9a77`](https://github.com/binwiederhier/ntfy/commit/aca9a774984789ca5b5e83cddd79cf42bc0e0e1f) Remove mtime - [`f51e99d`](https://github.com/binwiederhier/ntfy/commit/f51e99dc803ced7399730fd2560c3db00a979a57) Remove modified - [`2856793`](https://github.com/binwiederhier/ntfy/commit/2856793effecc7c2038e259c8c26b9348edced70) Deleted - [`2dd152d`](https://github.com/binwiederhier/ntfy/commit/2dd152df3f198f524c31bc2f42242ef6eb61fb81) Manual fixes for AI slop - [`bfbe73a`](https://github.com/binwiederhier/ntfy/commit/bfbe73aea36f44208f5795849b70ebabcd803a30) Update polling - [`75abf2e`](https://github.com/binwiederhier/ntfy/commit/75abf2e245e7c5fa22b55f9cf437c58b180753e0) Delete old messages with SID when new messages arrive ### 📊 Changes **31 files changed** (+1585 additions, -466 deletions) <details> <summary>View changed files</summary> 📝 `client/options.go` (+5 -0) 📝 `cmd/publish.go` (+6 -0) 📝 `docs/faq.md` (+2 -2) 📝 `docs/publish.md` (+457 -16) 📝 `docs/releases.md` (+20 -3) 📝 `docs/static/css/extra.css` (+9 -9) ➕ `docs/static/img/android-screenshot-notification-update-1.png` (+0 -0) ➕ `docs/static/img/android-screenshot-notification-update-2.png` (+0 -0) 📝 `docs/subscribe/api.md` (+15 -14) 📝 `go.mod` (+5 -5) 📝 `go.sum` (+10 -37) 📝 `server/errors.go` (+3 -1) 📝 `server/message_cache.go` (+46 -14) 📝 `server/message_cache_test.go` (+7 -0) 📝 `server/server.go` (+97 -10) 📝 `server/server_firebase.go` (+10 -0) 📝 `server/server_firebase_test.go` (+3 -0) 📝 `server/server_test.go` (+288 -2) 📝 `server/server_webpush.go` (+1 -1) 📝 `server/types.go` (+54 -31) _...and 11 more files_ </details> ### 📄 Description Implements part of #303, supersedes #1466 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:03:00 +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#1633
No description provided.