Repository navigation
feat(moderation): mint invite links that never expire - #4120
Draft
wpfleger96 wants to merge 1 commit into
Draft
wpfleger96 wants to merge 1 commit into
wpfleger96 wants to merge 1 commit into
Conversation
wpfleger96
force-pushed
the
hayt/invite-list-revoke
branch
from
November 20, 2026 21:13
82292dd to
2ea471e
Compare
wpfleger96
force-pushed
the
hayt/invite-never-expires-ui
branch
4 times, most recently
from
November 20, 2026 21:48
5925fd3 to
a963e0b
Compare
wpfleger96
force-pushed
the
hayt/invite-list-revoke
branch
from
November 20, 2026 22:05
0e8f671 to
bb43b2f
Compare
wpfleger96
force-pushed
the
hayt/invite-never-expires-ui
branch
from
November 20, 2026 22:06
a963e0b to
2968832
Compare
wpfleger96
added a commit
that referenced
this pull request
Nov 20, 2026
Adds invite-link management to community Membership settings. - **Links tab** for owners and admins: each invite with its status, uses and expiry, a **Revoke** button on every row (with confirmation), paging, and a Refresh that keeps pages already loaded. A **Revoke a link** field takes a pasted invite link for this community and revokes it by its code. People who already joined stay in. - **Revoke results** come from the relay's receipt, so a revoked row shows Revoked even when a later list read fails. A failed revoke keeps the confirmation open with a readable error and Retry; after a timeout, Refresh shows what the relay holds. A revoke still in flight, success or failure, still shows when the admin goes Back to Members and Forward again. After a row is revoked, focus moves to the list. - **Links without an expiry** read "Never expires" in the list. - **Both hosts** (browser broker and native `relay_http`) support a signed `GET /api/invites`, which accepts only the relay's opaque `before` cursor, and `POST /api/invites/revoke`. Request shapes are normalized in `admin-protocol.ts`. Minting is unchanged from main. Stack: #3910 → #4120 Related: [buzz#9680](block/buzz#9680) --------- Signed-off-by: Will Pfleger <wpfleger@block.xyz> Co-authored-by: Hayt <211b96e6a2b7f45fd4047988976c7bbbeeda0c15f3ae7b32eec20834b5a55118@buzz.block.builderlab.xyz>
wpfleger96
force-pushed
the
hayt/invite-never-expires-ui
branch
from
November 20, 2026 22:19
2968832 to
2d07241
Compare
Adds a Never expires choice to the invite expiry menu, sends never_expires to relays that support it, and shows Never expires in the Links list. Signed-off-by: Will Pfleger <wpfleger@block.xyz>
wpfleger96
force-pushed
the
hayt/invite-never-expires-ui
branch
from
November 22, 2026 19:24
2d07241 to
7767022
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Lets owners and admins mint invite links that never expire.
never_expires: trueinstead ofttl_secs. Both hosts validate the request:never_expiresmust betrueand can't be combined withttl_secs.Needs a relay that accepts
never_expires.Screenshots of the Never expires option and list rows: #3910 (comment)
Stack: builds on #3910 (merged)
Related: buzz#9690