Commit Graph
116 Commits
Author SHA1 Message Date
larssand 0c54e8b58a feat(houseofrc): save the club API key server-side and test the connection (1.78.0) 2026-11-07 22:27:13 +01:00
larssand a4e734dd74 fix(control): followers update live, phones use the page address, master is visible (1.77.2) 2026-11-07 18:09:34 +01:00
larssand 0589fe5f65 fix(control): pause, resume, false start and reset are master-only too (1.77.1) 2026-11-07 17:48:25 +01:00
larssand cf3a4c5fdb feat(control): Race Controller Master, one browser runs the race and others follow or take over (1.77.0) 2026-11-07 17:36:15 +01:00
larssand 54989d8597 fix(overlay): overlay windows are read-only, no decoder connection or saves (1.76.1) 2026-11-07 17:14:39 +01:00
larssand 3d0ab0c4b7 feat(overlay): TV graphics OBS layout with title plate, timing tower and start position (1.76.0) 2026-11-07 17:00:27 +01:00
larssand d5337e2cf3 feat(series): rookie rounds can pick drivers from other classes, with a guide section (1.75.0) 2026-11-06 23:58:24 +01:00
larssand c4375daa93 feat(sponsor): show each driver's car for the heat on overlays and Race Day (1.71.0) 2026-11-06 19:04:17 +01:00
larssand 8f748d21df docs(videos): re-record video guides and add sponsor, team race, practice ranking, race overview and judging clips (1.70.2)
Also fix team race length chosen in Manage being dropped before the race is created.
2026-11-06 07:50:40 +01:00
larssand be99cfaab2 feat(judging): judge finished heats, DSQ/DNF, reasons, own time and driver calls per EFRA (1.70.0) 2026-11-05 23:31:01 +01:00
larssand 2e3676d0cd docs(guide): team race, race overview, archive, practice ranking, speaker panel, sponsor flow and simulator (1.69.1) 2026-11-05 23:12:58 +01:00
larssand e4874fd558 feat(sim): start and stop the decoder simulator from Settings (1.65.0) 2026-11-05 18:48:37 +01:00
larssand 0ce7280cbf feat(sim): decoder simulator for testing without a decoder (1.64.0) 2026-11-05 18:37:36 +01:00
larssand 221a06c899 feat(audio): 'starting to the sound of the tone' call, tone start and stop signal finish by default (1.57.0) 2026-11-03 11:41:33 +01:00
larssand a8aaeae02f feat(audio): trumpet start and fanfare finish by default, start/finish signal chosen in settings (1.56.0) 2026-11-03 09:26:19 +01:00
larssand 3425da4b8f feat(audio): air horn for start and finish, count 10..3 then quiet until the horn 1-3 s later (1.55.0) 2026-11-03 08:56:15 +01:00
larssand d0248b1960 feat(race-day): fold run heats in today's schedule and mark the next heat (1.54.0) 2026-11-02 08:30:01 +01:00
larssand 73e3d1ff75 feat(race-setup): group a race's sessions per step, fold run steps, rare actions in a menu (1.53.0) 2026-11-02 08:26:00 +01:00
larssand b23410c190 feat(race-setup): group the race list into today, upcoming and folded done, with progress and search (1.52.0) 2026-11-02 08:21:17 +01:00
larssand b2e08db3d8 feat(race-day): call the next heat - asked by hand, automatic with the autopilot (1.51.0) 2026-11-01 22:25:43 +01:00
larssand fdc6c179dc feat(race-day): day schedule for all classes, autopilot, pause the day, printed running order and drivers' board (1.50.0) 2026-11-01 22:06:59 +01:00
larssand bb0fa7ede4 feat(race-setup): list sessions in running order and move them with up/down (1.49.0) 2026-11-01 20:13:15 +01:00
larssand e199f3aa1a feat(series): correct a round's result by hand (1.48.0) 2026-11-01 19:50:20 +01:00
larssand 54487a18a6 feat(race-day): live race for the race controller with order, laps, gaps and estimated finish (1.47.0) 2026-11-01 16:38:08 +01:00
larssand 8d27072567 feat(qualifying): default to staggered start with most laps in time and best-3-laps seeding (1.46.0) 2026-11-01 12:18:24 +01:00
larssand b57e15b428 fix click on user to se training stats 2026-11-01 10:54:38 +01:00
larssand 7376595001 fix(series): name the seeding column max drivers per seed group (1.45.1) 2026-10-31 22:59:45 +01:00
larssand e7eaa0561e feat(series): seeding practice in groups split on the series standings (1.45.0) 2026-10-31 22:52:18 +01:00
larssand 80e0c5308a docs(series): guide and README for seeding, heat order and next-step buttons (1.44.1) 2026-10-31 09:50:17 +01:00
larssand 4def444202 feat(overlay): click a driver to open their training stats
In RaceCore's own overlay a driver row opens Training stats for that
driver and class; the stand-alone overlay window opens them in a new tab.
The public overlay gets no links: the mobile profile link is personal
and can write.
2026-10-22 10:05:24 +02:00
larssandandClaude Opus 5.5 633e0efa1f feat(race-day): call the practice reset "Reset – new practice day"
"New practice day" didn't say that it resets. Also a test that several
resets of the same Open Practice (even the same day) keep every lap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 08:38:43 +02:00
larssandandClaude Opus 5.5 c4df90706a feat(ux): run sessions from Race Day with quick actions
Race Day gets Start practice, New track layout and Create race, a session
picker, only the buttons that apply, and New practice day (replaces Reset
data on Timing; laps stay in the training stats). Timing is for following
and links to Race Day. The Dashboard shows the three common tasks first.
Guide, READMEs, screenshot and the "Run a session" video follow the flow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 18:32:01 +02:00
larssandandClaude Opus 5.5 abed53fb32 docs(readme): restructure both READMEs and cover every current feature
Contents, highlights and quick start first, then features in the order
a club uses them, then installation, decoders and development. Adds the
start count-down, series hub, practice tooling, audio, OBS and security
features, and removes outdated statements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 07:44:23 +02:00
larssandandClaude Opus 5.5 533f59adf9 feat(settings): one public address (domain / DynDNS) for all mobile profiles
Moves the public address from each driver's share panel to Settings ->
System & backup, with Save and Detect public IP. The share panel shows
the address in use and links to the setting; empty keeps using the
local network address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 19:45:53 +02:00
larssandandClaude Opus 5.5 b5707f92d1 feat(series): run each round from the series page
Step 3 becomes a rounds table: pick drivers inline (copy from the
previous round, add a late entry), set qualifying rounds/finals/max
cars per heat per round, see the status, and create qualifying and
finals from there. Qualifying heats are now split evenly so nobody
drives alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 18:55:36 +02:00
larssandandClaude Opus 5.5 581ec2c781 fix(series): clearer step layout, sorted class list and autosave
The series page is split into numbered steps; classes are a sorted list
with the tick on the left and All/None, new series start with none, and
every change is saved straight away so ticks are no longer lost. Also
gives primary/danger buttons white text in the light theme.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 18:28:05 +02:00
larssandandClaude Opus 5.5 ec200aef2b feat(series): choose open series or club members only for series points
Who scores is now an explicit per-series choice: every driver (default)
or club members only, with the club field shown only for the latter.
Series saved with a club keep members-only scoring. README updated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-11 18:12:18 +02:00
larssandandClaude Opus 5.5 9a9379aa83 feat(series): add series/cup championships with points tables and standings
Group any number of races in freely chosen classes into a series with a
points table (ÖRC/100-80-70/F1/custom), best-N or drop-X counting, a
club filter that re-ranks members without guests, tie-breaks, rounds
created from a date list, and per-class standings with print and PDF.

Also fixes PDF export of wide tables: they are compacted and switched
to landscape instead of truncating names and dropping columns.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 19:49:23 +02:00
larssandandClaude Opus 5.5 ebd0f74f40 feat(audio): add downloadable extra Piper voices with accents
Adds Alma (sv), Alan, Northern English, Cori, Alba (British/Scottish)
and Joe, John, Norman (American) as optional voices downloaded one at
a time from Settings, with gender (measured pitch) and accent shown in
the voice lists. The standard install is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 21:58:08 +02:00
larssandandClaude Opus 5.5 196437d25b feat(audio): choose a male or female local voice per language
The installer now fetches one male and one female Piper voice per language (Swedish
NST/Lisa, English Ryan/Lessac), with genders confirmed by measuring each voice's pitch
rather than guessed from the name. Settings -> Audio gets a voice selector per language
with its own Test button that always plays the Piper voice. Male is preselected for both.

The integration test now runs its server with an empty home directory, so voices
installed on the developer's own machine can't leak into it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 20:29:59 +02:00
larssandandClaude Opus 5.5 e8a2799a92 feat(audio): add offline local neural voice via Piper (sv + en)
Announcements can use Piper, a free local neural TTS, instead of the browser's system
voice. No account, no paid service, and it keeps working with no internet at the track.

- npm run tts:install (or Settings -> Audio -> Install) downloads the standalone Piper
  release for Linux/Windows/macOS plus Swedish and English voices into piper/ once
- server/tts.js generates each line once, one at a time, and caches it as WAV under
  data/tts/; a new line takes ~0.3 s with the standalone build
- src/piper_speech.js plays it and falls back to the browser voice if Piper is missing,
  errors, or takes over 2.5 s, so no announcement is lost and timing is never held up
- "Pre-generate phrases and driver names" renders every fixed phrase and name in both
  languages before race day

Browser voice stays the default. Generation routes fall under the admin PIN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 19:28:15 +02:00
larssandandClaude Opus 5.5 9016ce02e4 feat(auth): add optional admin PIN for all API writes
Off by default. Once a PIN is set in Settings -> System & backup, every non-GET /api/*
request (plus GET /api/ammc/config) needs a signed 30-day HttpOnly cookie, which also
closes the unauthenticated /api/update/run restart trigger. A 401 opens a PIN dialog
and the pending save is retried after login. Reads stay open because the public overlay
hydrates through GET /api/state. Optional RC_ADMIN_ALLOWED_CIDRS restricts the same
routes by client address.

The PIN hash and signing secret live in data/, outside the app_state blob, so they
never leak through GET /api/state, exports or backups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 22:14:58 +02:00
larssandandClaude Sonnet 5 d76b0e8eef Refresh stale screenshots and add one for Event Manager's new tabs
guide.jpg was captured before this session's Schedule feature and video guides existed,
so it was missing both. Event Manager's tabbed layout (also from this session) had never
been pictured in the README at all. Added scripts/capture-screenshots.mjs as a reusable
tool for this instead of another throwaway script, since screenshot refreshes are clearly
a recurring need - reuses the same isolated-server/headless-Chrome pattern as the video
recorder and test suite, with one shared seeded demo dataset so future captures stay
visually consistent.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-12 17:30:44 +02:00
larssandandClaude Sonnet 5 3e02ba9aad Link the video guides from README, README.sv, and the in-app Guide page
Commit all 7 recorded clips to docs/videos/ (alongside the existing docs/screenshots/)
instead of leaving them in the gitignored video-guides/ folder from the earlier
feasibility spike - they're meant to be shipped, discoverable assets now, not scratch
output. scripts/record-video-guides.mjs writes there by default going forward.

Added a "Video Guides" section to README.md/README.sv.md (Getting started + Interface
tour groups) and a matching in-app "Video guides" panel on the Guide page, right after
the overview cards - the most discoverable spot for a brand-new user. Links point at
/docs/videos/<name>.mkv, served by the server's existing /docs static route.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-11 18:29:32 +02:00
larssandandClaude Sonnet 5 50586e8859 Fix malformed race clock format and refresh docs screenshots
formatRaceClock rendered a doubled-up, garbled time (e.g.
"02:48.20:207") everywhere a race clock is shown - Timing, Overlay,
Results archive, Judging, Training stint logs - because it
concatenated both a centiseconds and a milliseconds computation into
the same string. Only the milliseconds part was ever meant to be
there. Found while building realistic demo data for new screenshots,
since every prior test/demo session was empty and never exercised
this code path with a real result.

Also regenerates all screenshots in docs/screenshots against a
realistic seeded race (drivers, cars, qualifying heats, finals,
practice history, a real judging correction) instead of empty demo
data, adds two new ones (Managed AMMC config, the in-app Guide page)
aimed at helping a new user understand initial setup, removes 6
screenshots orphaned by an earlier README revision, and updates both
README.md and README.sv.md's screenshot tables accordingly.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-10 20:03:10 +02:00
larssand b3bec531de connecton satus mobil profile 2026-09-08 19:27:37 +02:00
larssand a0c3d3039e Separat status och mottagningsräknare för varje kanal.
Senaste råmeddelande, fel och ignoreringsorsaker.
Pausa visning, rensa och kopiera logg.
Uppdateras utan att störa inställningsfält eller tidtagning.
2026-09-08 18:37:47 +02:00
larssand 8aedf83826 fix all overlays 2026-09-08 18:26:30 +02:00
larssand 443434d569 fix status and roadmap 2026-09-08 17:26:55 +02:00
larssand 9c74c1f256 add version 2026-09-05 13:39:50 +02:00