1
0
Fork 0
polaris-task-force/src/collections
Z8MB1E 1110315214 feat(npc-dialogue): testing-only conversations for superusers
An npc-dialogues document can be marked testing, which keeps it off the player
site while letting the superuser tier walk it live. Enforced in one module,
lib/npc-dialogue/visibility.ts: the offer skips the conversation, its new-message
badge never appears, and every node lookup re-checks visibility.

Those lookups now name their conversation. The client sends dialogue.id and the
server verifies it belongs to the NPC and is visible to the reader, so a player
cannot read a testing conversation's nodes by guessing an id. The old lookup
took limit: 1 on the NPC's conversations with no ordering, which with a testing
conversation present could read the wrong document and silently skip an effect.

Tester tier is system:admin-access, not every author: an officer who can edit
conversations still cannot reach a testing one on the player site. Only an
explicit true hides a conversation, so rows written before the flag stay live.
2026-11-24 18:29:20 -05:00
..
banking feat(rbac): migrate collection access controls to RBAC permissions 2026-08-19 19:47:51 -04:00
discord feat(bot): add editable Discord Rich Presence via command and CMS 2026-10-12 10:21:37 -04:00
game feat(npc-dialogue): testing-only conversations for superusers 2026-11-24 18:29:20 -05:00
intelligence feat(tech-tree): add note nodes with optional frontend visibility 2026-11-23 03:11:36 -05:00
interior feat(interior): fixture repairs, condition decay, and station blocking 2026-10-20 16:17:01 -04:00
locker feat(lockers): seed and unlimited-stock sync for limited arsenal 2026-11-20 19:52:15 -05:00
logistics feat(vehicles): add per-vehicle disallowed-cargo blacklist enforced at shipment 2026-10-26 22:17:21 -04:00
market style(collections): replace dashes in admin field descriptions 2026-09-07 05:19:50 -04:00
minigames perf: cut queries per render and refreshes per realtime event 2026-11-22 22:39:10 -05:00
operations feat(operations): gate logistics extractions behind an officer review screen 2026-10-26 22:20:14 -04:00
projects feat(projects): enforce permissions and improve search 2026-08-21 00:26:33 -04:00
server fix(npc-dialogue): keep the conversation reachable when a branch attaches 2026-11-24 14:47:08 -05:00
story fix(rich-text): render full lexical formatting incl. colours across all fields 2026-11-18 13:10:26 -05:00
tickets feat(tickets): allow staff to archive tickets, hiding them from the front-end 2026-10-07 01:22:51 -04:00
users feat(npc-dialogue): voice clips on dialogue lines 2026-11-24 17:59:36 -05:00
voiceover fix(uploads): store upload collections under the persistent media volume 2026-10-08 12:14:46 -04:00
wiki feat(wiki): add private drafts with a one-way publish 2026-11-18 11:06:37 -05:00
world feat(map-objectives): superuser-authored strategic objectives on mission maps 2026-10-27 02:12:31 -04:00
AGENTS.md refactor(intelligence): drop the factions.relationships array in favour of the ledger 2026-11-18 14:13:29 -05:00
Announcements.ts feat(announcements): add announcements system with roleDocs targeting and richText 2026-09-22 21:08:46 -04:00
Media.ts feat: application staging deployment (ensure better commits after this) 2025-12-15 01:14:30 -05:00
Shims.ts perf: cut queries per render and refreshes per realtime event 2026-11-22 22:39:10 -05:00