Commit Graph
14 Commits
Author SHA1 Message Date
jschoubben 847ae2bae1 Add Plex-ready race + season poster endpoints
GET /posters/race/{grand_prix_name}/{season}.png
GET /posters/season/{season}.png

1000x1500 PNGs composed with Pillow + cairosvg:
checkered-flag strips top/bottom, F1 wordmark, round/year ribbon,
GP name, rasterised track outline (white), race date. Season poster
is wordmark + giant year + 'WORLD CHAMPIONSHIP'. Cached under
cache/posters/ so cold renders happen once.
2026-06-13 20:57:28 +02:00
jschoubben d74ece9680 Add Indianapolis oval (1950-1960) and Madring (2026) circuits
Indianapolis oval layout uses real OSM centerline data for the
2.5-mile oval used in the F1 championship from 1950-1960.
Madring is the new Madrid circuit for the 2026 Spanish Grand Prix,
track path extracted from Wikimedia SVG.
2026-05-08 15:29:55 +02:00
jschoubben 15af1627fb Replace FastF1 with Jolpica API for circuit resolution
FastF1's get_event() couldn't resolve several grand prix names
(Qatar, Brazilian, Mexican, Barcelona), causing 500/404 errors.
Now uses Jolpica's race schedule directly — slugifies circuitName
to match against circuits.json with ASCII fallback for unicode.
2026-05-08 14:54:02 +02:00
jschoubben 83311a6079 Fix circular reference recursion in JSON serialization
Dataclass models have parent back-references (TrackLayout→Circuit→
Locality→Country) causing infinite recursion in dataclasses.asdict().
Add to_dict() methods that exclude parent refs, use them in API endpoints.
2026-05-08 03:01:42 +02:00
jschoubben 40d92983ed trigger build — compose file fix deployed 2026-05-08 02:19:02 +02:00
jschoubben 58ecba8926 trigger build 2026-05-08 00:09:43 +02:00
jschoubben e741a14996 Trigger pipeline with updated coordinator 2026-05-07 20:19:50 +02:00
jschoubben 2e97a8bcd8 Remove docker: from manifest — auto-detected from service/Dockerfile 2026-05-07 17:37:58 +02:00
jschoubben 9587bdc5e8 Trigger pipeline with SSH clone URL 2026-05-07 12:39:04 +02:00
jschoubben 126d81331f Trigger initial build 2026-05-07 02:19:10 +02:00
jschoubben 618540e3ab Trigger build 2026-05-07 00:40:25 +02:00
jschoubben 0c5c87a9f3 Trigger build pipeline 2026-05-06 21:36:44 +02:00
jschoubben 9faf9f4041 Add HAL module structure for deployment as CDN service
Enables deploying f1-circuits as a HAL module on ace behind Traefik,
serving track SVGs at f1-circuits.zurag.be.
2026-05-06 21:31:37 +02:00
jschoubben c94ebcfb22 Add all local circuit work — year-by-year SVGs and tooling 2026-03-25 22:17:47 +01:00