1
0
Fork 0
Commit graph

180 commits

Author SHA1 Message Date
429d2028d0 v0.16.4 - add unlimited arsenal stock, fix the claimed op notice 2026-11-20 20:14:55 -05:00
716c87bb87 v0.16.3 - fix relation meters, rating prompts, op notice date 2026-11-20 18:01:20 -05:00
fc6fec4a45 v0.16.2 - add faction relations graph view 2026-11-18 16:41:11 -05:00
fa87678408 v0.16.1 - replace the wiki body editor, fix caret alignment 2026-11-18 15:17:01 -05:00
5e1f200261 feat(wiki): replace textarea overlay with a CodeMirror markdown editor
The body editor painted highlighted markdown in a div behind a transparent-text
textarea, so the painted text and the caret were two different layout engines.
Any wrap-point difference (borders, scrollbar gutters, engine rounding, trailing
newlines) shifted the overlay by whole lines once content soft-wrapped, making
clicks land on the wrong glyph and the document end feel unreachable. The CSS
patch that preceded this reduced the drift but could not remove the class of bug.

CodeMirror 6 owns text and caret together, so the failure mode is gone by
construction rather than by maintenance. The body remains a markdown string, so
prepareMarkdown, ::: directives, wikilinks, templates, revisions and the preview
pipeline are untouched, with no data migration.

- WikiMarkdownEditor: EditorView lifecycle, theme and markdown HighlightStyle
  bound to the app's CSS tokens, history, line wrapping, IME-safe keymap.
- markdownCommands: one pure command table shared by toolbar buttons and keys.
- editorChange: toolbar updates dispatch only the differing span, keeping undo
  granular and selections outside the edit intact.
- Removes WikiEditorHighlightLayer, editorMetrics, lib/wiki/editorHighlight,
  useEditorHistory and the now-dead textarea selection reader.
- Adds e2e proof: glyph-precise clicks across wrapped paragraphs, list items,
  image markdown and scrolled documents land at the exact clicked offset.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-11-18 15:12:22 -05:00
de60e5d3e0 v0.16.0 - add faction relations ledger and relations overview, fix rich text and wiki editor rendering 2026-11-18 14:15:00 -05:00
1bb5cdde60 v0.15.3 - add private wiki drafts, one-way publish 2026-11-18 11:18:05 -05:00
def32f2c82 v0.15.2 - add undiscovered factions, draft NPC dialogue in the editor 2026-11-18 09:34:46 -05:00
9f192a8159 v0.15.1 - fix Discord bot crash on stale interactions 2026-11-03 12:51:35 -05:00
8fff9c3f92 v0.15.0 - style mission detail as dossier cards, add command chain editor, faction links 2026-11-02 16:13:47 -05:00
70b773ee5b v0.14.2 - require attendance from both players, route direct-supervisor reviews 2026-11-01 15:51:59 -05:00
21cced3ad9 v0.14.1 - add modlist 8h reminder, allow anonymous modlist downloads, block author self-ratings 2026-11-01 15:22:53 -05:00
948109e362 v0.14.0 - add mission ratings system, post-op survey, Discord prompt, rating XP 2026-10-31 10:28:31 -04:00
35185600b4 v0.13.3 - drop stored evaluation kind, derive rating direction from ranks 2026-10-31 03:34:13 -04:00
fee3377474 v0.13.2 - label subordinate ratings on profiles 2026-10-31 02:23:58 -04:00
2f81cc9ede v0.13.1 - add extraction review, vehicle cargo blacklist, brass ribbon devices 2026-10-27 02:16:03 -04:00
adbfcb0fd7 v0.13.0 - add rank-based leadership evaluations 2026-10-25 21:39:49 -04:00
633853589f feat(arma): dedupe vehicle templates by name and mod with cleanup CLI 2026-10-22 13:18:11 -04:00
cfbdcb6a22 v0.12.19 - bomperator movement sync, faster integration suite 2026-10-21 19:46:44 -04:00
15177b7765 v0.12.18 - fix admin document editing past the postgres 100-argument limit 2026-10-21 10:34:33 -04:00
e3926ab828 fix(db): chunk drizzle json_build_array under postgres argument cap
Postgres caps function arguments at 100. `payload_locked_documents_rels`
holds one foreign-key column per collection, and Drizzle hydrates the
locked document's polymorphic relationship with a single
`json_build_array(...)` over all of them. At 103 collections the query
throws 54023 and every admin edit view breaks while a lock row exists.

Patch drizzle-orm 0.45.2 to split the call into 100-argument groups
joined with `::jsonb || ::jsonb`, mirroring the unmerged upstream PR
drizzle-team/drizzle-orm#4495. Relations with 100 or fewer columns keep
the original code path unchanged.

Add tests/int/locked-documents-query.int.spec.ts, which creates a lock
row and reads it back at depth 1 (what getIsLocked and
handleFormStateLocking do). It fails on pristine drizzle with the exact
54023 error and passes with the patch.
2026-10-21 10:31:11 -04:00
c64d56b830 v0.12.17 - superstructure interiors, bomperator prediction fixes 2026-10-21 02:15:00 -04:00
99d4982979 v0.12.16 - steady arena movement, powerup labels 2026-10-20 11:11:25 -04:00
8b7c698e96 v0.12.15 - filter routine tick events, fix fractional XP display 2026-10-20 00:23:45 -04:00
72276b6741 v0.12.14 - filter routine tick events, skip empty tick logs 2026-10-20 00:13:13 -04:00
f3e11769d0 v0.12.13 - member-facing tech research system and tech tree 2026-10-19 17:35:10 -04:00
805f6dee84 v0.12.12 - bake the arena origin into the client build 2026-10-19 14:06:04 -04:00
53387c957f v0.12.11 - restore Compose actions, clamp arena tick catch-up 2026-10-19 13:35:01 -04:00
c0167ac44b v0.12.10 - live Ordnance Disposal match sync, consistent field generation prompts 2026-10-19 13:05:33 -04:00
394db6dfa1 feat(arena): websocket match replication for Ordnance Disposal
Adds a dedicated Node 22 + ws arena server (src/arena) that owns live
Ordnance Disposal matches: drift-corrected 20Hz tick loop with capped
catch-up and tick-drift logging, per-socket snapshot fan-out, 30s jose
ticket auth, and awards via the idempotent results callback route.

Client gains a transport abstraction (transport.ts): WsTransport first
when NEXT_PUBLIC_ARENA_URL is baked into the bundle, HttpTransport
(today's actions + SSE + guarded poll, behavior unchanged) as automatic
fallback after two connection failures or a 5s setup timeout; absent
env var means pure HTTP (kill switch / rollback path). Next actions
proxy the match lifecycle to the arena when ARENA_SECRET +
ARENA_INTERNAL_URL are set; the in-process registry stays untouched as
the default backend.

Deploy wiring: runner-arena Dockerfile target, compose service, env
docs, DEPLOYMENT.md checklist. Tests: arena module suite (19), live
server WS suite (3), prediction harness ws-grade latency scenario.
2026-10-19 12:27:17 -04:00
70378b23e8 v0.12.9 - period-first minigame boards, configurable Compose model 2026-10-19 12:19:47 -04:00
958cbe0f19 v0.12.8 - fix AI Compose prompt title and entity context 2026-10-19 11:42:54 -04:00
869d2944b3 v0.12.7 - widescreen page layouts, minigame touch controls 2026-10-19 10:57:23 -04:00
1d8402236b v0.12.6 - end Ordnance Disposal teleport-back with trace-proven fix 2026-10-18 02:11:30 -04:00
c5b275f427 v0.12.5 - revert Ordnance Disposal prediction update 2026-10-18 01:41:09 -04:00
7322ee8dd0 v0.12.4 - smooth Ordnance Disposal movement, fix rubberbanding 2026-10-18 01:10:15 -04:00
1eafce4df9 v0.12.3 - double Ordnance Disposal update rate, glide-rest engine fix 2026-10-16 15:25:33 -04:00
d0d2ea0bd2 v0.12.2 - instant charge placement, flight-safe prediction correction 2026-10-16 15:04:29 -04:00
3bf9de4848 v0.12.1 - instant movement in Ordnance Disposal 2026-10-16 01:45:02 -04:00
535a5208da v0.12.0 - add Ordnance Disposal multiplayer drill, anchor SSE bus for dev 2026-10-16 00:43:51 -04:00
49022e6dea v0.11.2 - changelog edit modal for staff tweaks 2026-10-15 12:41:30 -04:00
000036beda v0.11.1 - approval reset on edit, tech tree conflict protection 2026-10-15 12:12:32 -04:00
b5bef669ec v0.11.0 - add first-party analytics, minigame phasing-out 2026-10-15 00:33:09 -04:00
1d6db3b92b Merge branch 'feat/first-party-analytics'
# Conflicts:
#	src/migrations/index.ts
2026-10-15 00:17:58 -04:00
9907f45155 v0.10.1 - NPC dialogue attachments, condition groups, block lists, Discord dispatch, public events, server-backed NEW badges, live edge routing 2026-10-14 17:28:47 -04:00
268d4bb117 feat(analytics): add first-party analytics collector, SDK, rollups, and admin dashboard
Phase 1 of replacing Microsoft Clarity with first-party usage analytics:
- Plain Postgres tables via shared DDL module (src/lib/analytics/schema.ts)
  executed by both the add_analytics_tables migration and the test bootstrap;
  test-db.ts drops them around drizzle push (composite-PK introspector bug)
- /api/collect beacon collector with IP/UA enrichment, retroactive login
  attribution, bot blocklist, per-IP rate limiting, strict validation
- Client SDK (src/lib/client-analytics): SPA pageviews, clicks, scroll depth,
  focus, data-track visibility, heartbeats; NEXT_PUBLIC_ANALYTICS_DEV=1 dev
  gate with console mirror; mounted beside Clarity in the two frontend layouts
- Hourly rollup + daily retention bins (payload analytics-rollup/-purge)
- Chronicle read progress/completion, wiki new-clicked/created, minigame
  route mapping custom events
- admin:analytics:manage permission (+ roles enum migration) and the
  /admin/analytics Payload view with six recharts-backed report panels
2026-10-14 12:12:53 -04:00
35a88ccd8f v0.10.0 - add garage vehicle bays, rotate thumbnails, fix grid drag previews 2026-10-13 16:45:21 -04:00
6c1bbda944 feat(garage): add vehicle bay schema fields, geometry helpers, and backfill 2026-10-13 16:02:58 -04:00
8f91bfedbd v0.9.2 - add journal XP, fix journal dates and editor spacing 2026-10-13 15:54:08 -04:00
2cc7629690 v0.9.1 - add in-universe clock, keep journal dates in the campaign 2026-10-13 13:23:04 -04:00