Forum: founders are the first fifteen; the admin can take or give the badge

The site has few members yet, some of them test accounts: the badge goes to
the first fifteen, and the admin can take it from a test account on its
profile (the place goes to the next newcomer) or give it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-26 15:46:44 +00:00
co-authored by Claude Opus 5.5
parent 8fc550662e
commit 493539bf56
10 changed files with 106 additions and 11 deletions
+1
View File
@@ -91,6 +91,7 @@ pub fn router(state: Arc<AppState>) -> Router {
.route("/v1/forum/members/search", get(mentions::search))
.route("/v1/forum/members/{nickname}", get(members::profile))
.route("/v1/forum/members/{nickname}/mute", put(mutes::mute).delete(mutes::unmute))
.route("/v1/forum/members/{nickname}/founder", put(mutes::set_founder))
.route("/v1/forum/me/mutes", get(mutes::list))
.route("/v1/forum/members/{nickname}/ban", post(moderation::ban).delete(moderation::unban))
.route("/v1/forum/mod/log", get(moderation::log))