Forum: daily sky thread, listeners, mentions, own avatars, restricted topics

- The worker opens a "Mai égbolt" thread every morning from the day's sky
  (no AI), pinned for the day.
- Volunteer listeners (from the Kereső rank) get a badge, a count of the
  threads asking to be heard that still wait for a reply, and, if they ask,
  an e-mail after two hours of waiting.
- "@Holdfény" names a member (nicknames with spaces too): they follow the
  thread, hear of it live and, if they asked, by e-mail; a search helps
  typing it.
- From the Kereső rank a member may upload an own avatar: a small square
  JPEG without metadata in the object storage (now a shared crate with the
  backend), served by the forum; moderators can put the starter back.
- The "Támogató" badge for buyers who switch it on.
- The admin creates and edits topics; restricted ones are read by their
  approved members, who ask to join and moderators decide.
- "Most itt vannak" on the front page; the weekly summary e-mail on Sunday
  evening for those who ask (off by default).

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 12:37:52 +00:00
co-authored by Claude Opus 5.5
parent 0a2308c491
commit 564c22176f
31 changed files with 2226 additions and 320 deletions
Generated
+19
View File
@@ -198,6 +198,7 @@ dependencies = [
"http-body-util",
"image",
"jsonwebtoken",
"object-storage",
"password-hash",
"rand 0.9.5",
"reqwest",
@@ -713,9 +714,12 @@ dependencies = [
"deunicode",
"futures-util",
"http-body-util",
"image",
"object-storage",
"serde",
"serde_json",
"service-kit",
"sha2",
"sqlx",
"thiserror",
"time",
@@ -1629,6 +1633,20 @@ dependencies = [
"libm",
]
[[package]]
name = "object-storage"
version = "0.1.0"
dependencies = [
"bytes",
"hmac",
"reqwest",
"sha2",
"thiserror",
"time",
"tokio",
"tracing",
]
[[package]]
name = "once_cell"
version = "1.21.4"
@@ -3560,6 +3578,7 @@ dependencies = [
"axum",
"base64 0.22.1",
"db",
"deunicode",
"email-templates",
"gift-card",
"hmac",