[PR #114] [MERGED] Auth / access control #1221

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

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/114
Author: @binwiederhier
Created: 1/22/2022
Status: Merged
Merged: 2/4/2022
Merged by: @binwiederhier

Base: mainHead: auth


📝 Commits (10+)

📊 Changes

35 files changed (+2665 additions, -296 deletions)

View changed files

📝 .goreleaser.yml (+2 -0)
📝 Makefile (+1 -1)
auth/auth.go (+122 -0)
auth/auth_sqlite.go (+399 -0)
auth/auth_sqlite_test.go (+241 -0)
📝 client/client.go (+15 -6)
📝 client/options.go (+6 -0)
cmd/access.go (+212 -0)
cmd/access_test.go (+87 -0)
📝 cmd/app.go (+10 -0)
📝 cmd/publish.go (+55 -22)
📝 cmd/serve.go (+14 -0)
📝 cmd/serve_test.go (+11 -2)
📝 cmd/subscribe.go (+1 -0)
cmd/user.go (+288 -0)
cmd/user_test.go (+145 -0)
📝 docs/config.md (+228 -33)
📝 docs/publish.md (+76 -0)
📝 docs/subscribe/api.md (+73 -29)
📝 docs/subscribe/cli.md (+10 -10)

...and 15 more files

📄 Description

Attempt to do simple #19 without doing too much.
WIP!


🔄 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/114 **Author:** [@binwiederhier](https://github.com/binwiederhier) **Created:** 1/22/2022 **Status:** ✅ Merged **Merged:** 2/4/2022 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `auth` --- ### 📝 Commits (10+) - [`2181227`](https://github.com/binwiederhier/ntfy/commit/2181227a6e79bbc5274f92fc6b5ebd5d1195d39d) WIP: Auth in 80 lines of code :-) - [`86b20e8`](https://github.com/binwiederhier/ntfy/commit/86b20e8ccd004c741e00619a7f7a964209f8b9b8) All the auth things are working now - [`1287594`](https://github.com/binwiederhier/ntfy/commit/12875945057600a4f5202f981d3b3f1e10c03614) Simplify tables - [`b908f07`](https://github.com/binwiederhier/ntfy/commit/b908f07355f2b5b2ce5f1b1168eaf0de6d3323a4) . - [`f388fd9`](https://github.com/binwiederhier/ntfy/commit/f388fd9c90e7b737bf1d06df81e8da10cd28fcb8) Move to package - [`e309775`](https://github.com/binwiederhier/ntfy/commit/e309775ac1357e74a06c6b2d1b755e7302ba099b) More auth CLi - [`243d549`](https://github.com/binwiederhier/ntfy/commit/243d549975daf3d5937241a90a1a1895dbd70c3f) Command help - [`03a4e3e`](https://github.com/binwiederhier/ntfy/commit/03a4e3e8e90ce759c3daee9b54223499dc3bf634) More CLI for access control - [`393f95a`](https://github.com/binwiederhier/ntfy/commit/393f95aeac8ddd95e136eb4131f885f197bb0113) Auth CLI, continued - [`4601627`](https://github.com/binwiederhier/ntfy/commit/460162737a428841989d2b6850d9b1dbc7a954c2) More auth ### 📊 Changes **35 files changed** (+2665 additions, -296 deletions) <details> <summary>View changed files</summary> 📝 `.goreleaser.yml` (+2 -0) 📝 `Makefile` (+1 -1) ➕ `auth/auth.go` (+122 -0) ➕ `auth/auth_sqlite.go` (+399 -0) ➕ `auth/auth_sqlite_test.go` (+241 -0) 📝 `client/client.go` (+15 -6) 📝 `client/options.go` (+6 -0) ➕ `cmd/access.go` (+212 -0) ➕ `cmd/access_test.go` (+87 -0) 📝 `cmd/app.go` (+10 -0) 📝 `cmd/publish.go` (+55 -22) 📝 `cmd/serve.go` (+14 -0) 📝 `cmd/serve_test.go` (+11 -2) 📝 `cmd/subscribe.go` (+1 -0) ➕ `cmd/user.go` (+288 -0) ➕ `cmd/user_test.go` (+145 -0) 📝 `docs/config.md` (+228 -33) 📝 `docs/publish.md` (+76 -0) 📝 `docs/subscribe/api.md` (+73 -29) 📝 `docs/subscribe/cli.md` (+10 -10) _...and 15 more files_ </details> ### 📄 Description Attempt to do simple #19 without doing too much. WIP! --- <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:04 +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#1221
No description provided.