mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-03 01:42:50 +08:00
Link ToS modal to legal pages, add report feedback category
- ToS modal: Datenschutzerklärung/Impressum words are now real links - Feedback form: new "report" category (abuse/violation), hidden GitHub-issue option since reports must stay private - Gateways: accept "report" in FEEDBACK_CATEGORIES Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
1 parent
73303e1229
commit
b0495367cb
3 files changed
+54
-20
No files matched your search
@@ -82,7 +82,7 @@ const FEEDBACK_LOG_FILE = process.env.FEEDBACK_LOG_FILE ?? path.resolve(process.
|
||||
// fresh file is started. Keeps disk usage bounded on a plain JSON-lines
|
||||
// file with no other retention policy.
|
||||
const FEEDBACK_LOG_MAX_BYTES = 5 * 1024 * 1024;
|
||||
const FEEDBACK_CATEGORIES = new Set(["bug", "idea", "other"]);
|
||||
const FEEDBACK_CATEGORIES = new Set(["bug", "idea", "report", "other"]);
|
||||
const FEEDBACK_MESSAGE_MAX_LENGTH = 4000;
|
||||
|
||||
async function rotateFeedbackLogIfNeeded(): Promise<void> {
|
||||
|
||||
Reference in new issue
Block a user