Forum: reports for moderators and private messages by request
Any logged-in user can report a post, or a private message received; a possible crisis shows the helplines at once. Moderators get the open reports (crisis first) with what was reported, remove or close them, and every step goes to the log; the operator gets a Telegram notice of each new report (kind and link only). Private conversations start with a request and a short introduction (from the Kereső rank, a few a day); the recipient accepts, declines silently or blocks. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -829,7 +829,10 @@ mod analyses {
|
||||
assert_eq!(body["response_format"]["json_schema"]["name"], "question_answer");
|
||||
let user = body["messages"][1]["content"].as_str().unwrap();
|
||||
assert!(user.contains("- Sun: Pisces") && user.contains("# Csendes erő"), "chart data and analysis");
|
||||
assert!(user.contains("Kérdés:\n<kerdes>\nMi az erősségem?\n</kerdes>\nVálasz: A kitartásod."), "earlier answers");
|
||||
assert!(
|
||||
user.contains("Kérdés:\n<kerdes>\nMi az erősségem?\n</kerdes>\nVálasz: A kitartásod."),
|
||||
"earlier answers"
|
||||
);
|
||||
assert!(user.contains("<kerdes>\nÉs a munkában?\n</kerdes>") && user.contains("legfeljebb 250 szóban"));
|
||||
for secret in ["1990", "14:30", "Szeged"] {
|
||||
assert!(!user.contains(secret), "{secret} leaked");
|
||||
|
||||
Reference in New Issue
Block a user