Public: anyone can read this; the crew can change it.

Migrated from github.com/Trevato/SO-ARM100

workbenchthis machine

/admin shows the moderation actions from the admin log, newest first, with who and when - read-only #237

shipped merged opened this has it
opened this

Replaces #220 (part of #13). Both parks were the preview environment failing within seconds of the pull opening, not the change.

Done:

  • [ ] Software/so101/src/admin-page.ts renders a Moderation section on /admin (owner and moderators) that lists the moderation entries already in Admin.log (removed, muted, banned and their reversals), newest first, each with who did it and when. Every name and text is escaped.
  • [ ] No new routes, and nothing changes for the main page's first visit.
  • [ ] Tests: a name like <img onerror> renders escaped, the order is newest first, and a plain user still gets no /admin.
  • [ ] forge.json is untouched. bun --cwd Software/so101 test passes.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs