Forum: search, muting members, archived topics, the public threads in the sitemap

- Search (/forum/kereses, the magnifier in the forum bar): thread titles
  and posts the viewer may read, Hungarian stems and word beginnings
  without accents ("alvas" finds "alvásban"), one result per thread with
  the matching words marked.
- Muting a member (post menu, profile; the list in the settings): their
  threads leave the lists, their posts fold up, their replies and mentions
  no longer count or send e-mails. They are not told.
- The admin archives a topic (Moderálás → Témák): it stays readable but
  takes no new threads or replies, and folds away on the front page.
- The public topics and threads are in the sitemap; the forum's own pages
  are kept from robots.
- A reply e-mail goes to the one answered, also on the second level.
- Migration 0043 also prepares charts attached to a forum question.

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 14:31:05 +00:00
co-authored by Claude Opus 5.5
parent 4800a30e6d
commit 9ca3f478be
30 changed files with 879 additions and 105 deletions
+27
View File
@@ -86,6 +86,8 @@ body:has(.forum[data-theme="light"]) .site-footer { background: #0d1220; }
.forum-theme:hover { color: var(--gold); border-color: var(--f-border-hover); }
.forum-theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.forum-theme-label { display: none; }
.forum-tools { display: flex; align-items: center; gap: 8px; }
.forum-search { padding: 0; width: 44px; }
/* The forum's menu: a bar at the bottom on phones, tabs in the forum bar on wider screens. */
.forum-nav {
@@ -121,6 +123,7 @@ body:has(.forum[data-theme="light"]) .site-footer { background: #0d1220; }
.fn-item[aria-current="page"] { background: var(--f-tint); }
.fn-icon { width: 20px; height: 20px; }
.forum-theme { padding: 0 14px; }
.forum-search { padding: 0; }
.forum-theme-label { display: inline; }
}
@@ -660,3 +663,27 @@ a.fh-online-item:hover { color: var(--gold); }
/* The same row at the foot of a card, or framed inside one. */
.fh-link-foot { margin: 14px -18px -18px; border-top: 1px solid var(--line); border-radius: 0 0 16px 16px; }
.fh-link-boxed { min-height: 52px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; }
/* --- search --- */
.fsearch-form { display: flex; gap: 8px; }
.fsearch-form .inp { flex: 1; min-width: 0; }
.fsearch-results { list-style: none; margin: 0; padding: 0; }
.fsearch-results li + li { border-top: 1px solid var(--line); }
.fsearch-hit { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; color: var(--ink); text-decoration: none; }
.fsearch-hit:hover { background: var(--f-hover); }
.fsearch-title { font-size: 17px; font-weight: 600; }
.fsearch-meta { font-size: 13px; color: var(--muted); }
.fsearch-snippet { font-size: 15px; color: var(--ink-2); }
.fsearch-snippet mark { background: var(--f-tint-strong); color: var(--ink); border-radius: 3px; padding: 0 2px; }
/* --- muted members --- */
.fp-muted { padding: 4px 0; }
.fmute { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fmuted { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fmuted li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
/* --- archived topics --- */
.fh-archived { margin-top: 10px; }
.fh-archived summary { min-height: 44px; display: flex; align-items: center; color: var(--ink-2); font-size: 15px; cursor: pointer; }
.fh-archived .fh-links { list-style: none; margin: 0; padding: 0; }
.fh-archived li + li .fh-link { border-top: 1px solid var(--line); }