Commit graph

5 commits

Author SHA1 Message Date
19a0965eb2 Activity replay, HUDFX in the overlay, chat filter, redeem art fix
- Dashboard Recent activity: readable details (reward name, cost, variation,
  rarity, TTS, viewer message; sub tier/months; bits; raids; polls), local
  times, and a Replay button. Each row now stores the overlay message that was
  shown (activity_log.replay_json); older redeem/raid rows are rebuilt from the
  raw Twitch event.
- Fix: redeem alerts lost polaroid/art/emote since 4fda606 (they had ended up
  inside a comment), so sticker art, Power-up emotes and sound-only were gone.
- HUDFX embedded in the overlay with ?ext=hudfx (opt-in per OBS source): its
  page is served from our domain with the camcorder CSS, its settings API is
  forwarded, its Web Worker is started from a same-origin stand-in (the alert
  box needs it; blob: workers break the site CSP), and the box sits in the
  alert corner. The HUDFX URL is a field on the Settings page.
- Blerp cassette CSS kept with it (src/ext/blerp.css, pasted into the Blerp
  OBS source; Blerp itself cannot be embedded: its realtime server only
  accepts its own site).
- On-screen chat: Settings -> Hidden chatters and Hide ! commands.
- Outgoing raids are logged with a line in the server log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 15:29:20 +02:00
9e356b0875 TTS blocklist: starter list of slurs/TOS phrases, whole-word matching
- src/tts-blocklist.txt: slurs, self-harm/threat phrases, sexual violence,
  hate slogans (no normal swearing); merged into Settings once
  (tts_blocklist_seeded), editable there afterwards
- Matching is now whole words/phrases with plurals, look-alike swaps and
  spaced-out letters, so raccoon / spicy / therapist / grape are fine

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:09:12 +02:00
cf90b6be54 TTS: allow up to 500 characters, smaller handwriting on the letter for long messages
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 15:03:07 +02:00
4fda6060bf TTS redeems, skip button, per-source chat placement
- Redeem variations can have a TTS voice: the viewer's text is cleaned
  (links out, repeats collapsed, max length, blocked words -> not read),
  spoken as "<name> says: ..." and shown as the big paper note; the
  variation's sound is not played when TTS is on (picker greyed out)
- Settings: TTS max length, say-the-name, blocked words (never sent to
  overlay pages: db.getOverlaySettings)
- Dashboard "Skip current alert" -> /alerts/skip -> overlay skips it
- db.migrate()/addColumn: new columns on existing databases
- Chat: ?chat=left,top,width,height and ?chatflow=up per browser source
  (e.g. the Intermission panel); default unchanged

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 14:34:41 +02:00
9e0ddb8182 Update gitignore 2026-11-20 18:55:47 +01:00