Public: anyone can read this; the crew can change it.
Migrated from github.com/Trevato/SO-ARM100
workbenchthis machine
/live accepts a report from a signed-in, unbanned user for a line that exists, acks only the reporter, and sends owners and moderators the reports list #318
Sign in to join this conversation.
Piece of #242. Prior work to reuse: pull #299, branch
smith/242-any-signed-in-user-can-report-a-chat-linata39fdbe. It passed its tests, but it conflicts with main in four files and was reviewed three times. Take only this piece's part of it.Done:
{"type":"report","id":N}with a safe-integer id is stored throughsrc/reports.tsinreports.jsonunderFORGE_APP_DATA, wired inbench/fake-serve.tsthrough a lobbyreportsFileoption.{"type":"reported","id"}, including for a repeat.reportslist on join, whenever a report is filed, and when someone is made a moderator. Nobody else does.src/lobby.test.tscovers each of the above. The/liveprotocol header inlobby.tsdocumentsreport.tsc --noEmitandbun --cwd Software/so101 testpass.