Forum: a service of its own and the /forum pages

services/forum (axum, port 8083) on the same database and login, in the
forum schema (migration 0038, which also adds the moderator role):
nicknames, profiles with shared signs, topics, threads with listening or
advice intent, two-level replies, read marks and followed threads,
reactions as ratings with points and ranks, newcomer limits (lifted by a
purchase), moderation with reasons, bans and a log. Integration tests run
in CI.

The frontend's /forum pages (light by default, dark on request, phone
first with a desktop layout) are switched on by FORUM_URL; the /api/v1
proxy sends /api/v1/forum/* to the forum service. Concept and status:
docs/kozosseg.md.

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 10:29:49 +00:00
co-authored by Claude Opus 5.5
parent fa46dcb757
commit 36b38525c3
52 changed files with 6782 additions and 11 deletions
Generated
+23
View File
@@ -693,6 +693,29 @@ dependencies = [
"percent-encoding",
]
[[package]]
name = "forum"
version = "0.1.0"
dependencies = [
"anyhow",
"axum",
"axum-extra",
"db",
"deunicode",
"http-body-util",
"serde",
"serde_json",
"service-kit",
"sqlx",
"thiserror",
"time",
"tokio",
"tower",
"tower-http",
"tracing",
"uuid",
]
[[package]]
name = "futures-channel"
version = "0.3.34"