20 Commits

Author SHA1 Message Date
331507ee40 fix: migrate with the owner role and a private health file
The app's database role cannot create tables in public, so migrations
failed with "permission denied for schema public". They now also load
/etc/esports/{prod,staging}-migrations.env, whose DATABASE_URL overrides
the app's. The health pre-check wrote a fixed /tmp file that another user
already owned, which silently skipped the live-match check; it uses mktemp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:47:58 +00:00
6ff5fe53c5 fix: deploy with only sudo tee and docker
Some checks failed
Test and deploy staging / staging (push) Failing after 16s
The deploy user has passwordless sudo for tee and docker only, so the
script stopped at its first sudo install. release.env is rewritten with
tee, and the backup container creates the backup directory and sets the
file modes itself. HOST_PORT comes from the target, not release.env.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:37:50 +00:00
9b9aafefc1 feat: redesign match play and add broadcast tooling 2026-09-29 02:52:56 +00:00
25d2d1af4a feat: add tournaments and validation and security 2026-03-26 15:36:22 +01:00
bb6111e64f feat: add EZ and RX as available mods 2026-03-15 23:04:34 +01:00
ed11001e8d fix lint errors 2026-03-13 17:15:04 +01:00
d597c6545e use prettier formatting 2026-03-13 17:07:06 +01:00
703c602905 fix sql 2026-03-13 16:22:47 +01:00
4e1834c2a5 add cleanup script 2026-03-13 16:20:03 +01:00
38f779a85d remove deploy staging script + bring back schema in staging seed script 2026-03-13 16:13:26 +01:00
9cdec47a8c update seed script 2026-03-13 16:09:04 +01:00
104d8a34f8 add staging environment 2026-03-13 15:27:37 +01:00
be19e26d1b use bun sql instead of postgres.js 2026-03-13 14:07:23 +01:00
de1e5a7f21 use rank 10 million for unranked players 2026-03-09 22:36:20 +01:00
2b2de11c73 reset ratings based on osu rank 2026-03-09 22:07:59 +01:00
fd2ae80562 add admin actions + set player rating at signup 2026-03-09 22:00:25 +01:00
6b416dce31 add custom matches 2026-03-09 20:28:04 +01:00
c6511c7f87 set rating based on user score 2026-03-07 02:42:35 +01:00
2949d251ee feat: backfill mappool slot metadata and user/team avatars to R2, improving caching and reducing API calls 2026-03-01 17:21:02 +00:00
7e6dfa59a5 feat: add script to backfill user avatars and beatmap covers to R2 2026-03-01 17:22:30 +01:00