Commit Graph

6447 Commits

Author SHA1 Message Date
Kalle
bab2bdbb31 Add SQGroupRepository tests 2026-05-02 11:34:32 +03:00
Kalle
e3d0334df1 SQ cancel system messages 2026-05-02 11:21:16 +03:00
Kalle
6b1a24a95a Clean up tournament match page a bit 2026-05-02 11:09:54 +03:00
Kalle
f54cb285ce Delete old room links routine 2026-05-02 07:16:10 +03:00
Kalle
8b921c2728 Add translations 2026-05-01 19:49:25 +03:00
Kalle
72007d545d Remove stale TODO 2026-05-01 19:45:06 +03:00
Kalle
e5229aa301 Handle rejoin = failed 2026-05-01 17:21:38 +03:00
Kalle
072fdca641 Replace migrate group solution 2026-05-01 17:08:24 +03:00
Kalle
c802faf151 Tournament weapon report 2026-05-01 16:29:19 +03:00
Kalle
b788839215 Progress 2026-05-01 14:30:00 +03:00
Kalle
0ce3a864d3 Various progress 2026-05-01 07:02:52 +03:00
Kalle
9e7cd15582 Progress including pick/bans in timeline 2026-04-27 18:15:29 +03:00
Kalle
dcbb1ad635 Add TODO 2026-04-27 08:50:03 +03:00
Kalle
07299fc676 Fix match results tab timestamps 2026-04-27 08:38:41 +03:00
Kalle
bafa8ab908 Show results tab even for ongoing 2026-04-27 08:32:50 +03:00
Kalle
aa75323601 Admin cancel 2026-04-27 07:40:44 +03:00
Kalle
5cc65fcf0c Merge branch 'main' into new-match-page 2026-04-27 07:16:07 +03:00
Kalle
49e35fd4c2 Fix A/B round robin only tournament placements on front page
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Closes #3009
2026-04-26 20:01:58 +03:00
Kalle
a8a42797e5 Exclude scripts from main typecheck
The dicts might or might not exist. The new command can be ran
when the dicts do exist.
2026-04-26 17:53:13 +03:00
Kalle
e1b9be7feb Update biome 2026-04-26 17:40:10 +03:00
Cafy
ea4ca19b0f
badge: add badge for Wings Up! (#3014) 2026-04-26 17:37:32 +03:00
BrushMommy
8580c82a4a
badge: add badge for Wellstring Propoganda: Top Cut (#3008) 2026-04-26 17:36:36 +03:00
Great-Hero-YELLOW
3e593f5e27
Rename sws26-recap-gg1-q2.md to na-league-2026-r1e3.md (#3015) 2026-04-26 17:36:04 +03:00
Great-Hero-YELLOW
e6d6fa89c6
Stronghold Article "SWS26 Recap GG1 Q2" (#3016) 2026-04-26 17:35:54 +03:00
Kalle
a848fc4f03 Improve art page mobile layout 2026-04-26 17:35:33 +03:00
Kalle
011b560c6b Tweak user page results table styles 2026-04-26 17:23:58 +03:00
Kalle
da481435a6 Remove ts-nocheck from utils.ts 2026-04-26 16:50:37 +03:00
Kalle
85d4a78ab2 Remove ts-nocheck from sync-weapon-params.ts 2026-04-26 16:49:09 +03:00
Kalle
51d3b8df2b Fix ts-nocheck in replace-weapon-names.ts 2026-04-26 16:40:20 +03:00
Kalle
b0acdae69c Fix ts-nocheck in create-object-dmg-json.ts 2026-04-26 16:33:29 +03:00
Kalle
2f9be8f96f Fix ts-nocheck in create-misc-json.ts 2026-04-26 16:22:47 +03:00
Kalle
f8926e1a8d Fix ts-nocheck in create-gear-json.ts 2026-04-26 16:16:03 +03:00
Kalle
5a54813a91 Fix ts-nocheck in create-analyzer-json.ts 2026-04-26 16:06:40 +03:00
Kalle
f9a594bf0c Fix admin cancels treated as score reports
This caused cancels that cause points lost/gained when it was by admin
2026-04-26 16:00:34 +03:00
Kalle
c8b61f163d Fix ts-nocheck TODO in crud.server.ts 2026-04-26 15:26:15 +03:00
Kalle
dc0bbaa271 Fix TODO about BracketsManager types mismatch 2026-04-26 15:02:56 +03:00
Kalle
2865fc3415 Have "simple seeded list" get all teams if none checked in yet
Previous behavior just looks broken to users.
Proper fix is still just making a more robust
team export.
2026-04-26 14:55:05 +03:00
Kalle
a221dcbd71 Always show admin nav item when dev 2026-04-26 14:43:42 +03:00
Kalle
fb86b9f24d Change scrim notification text not to include timestamp
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Closes #2998
2026-04-26 13:05:48 +03:00
Kalle
ae6401f429 Clean up markdown of HTML entities too
Closes #3006
2026-04-26 10:24:34 +03:00
Kalle
23d2cda288 Mention pnpm in README "Running locally" section
Closes #3011
2026-04-26 07:19:48 +03:00
Kalle
ed0467f98e Fix tournament chats expiring too early
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
In round robin, all matches are set to have both participants at the start.
If the bracket is larger e.g. 5 rounds then later rounds might have chat
disappearing before teams get a chance to play it.

Closes #3005
2026-04-25 21:15:17 +03:00
Kalle
8369771e75 Fix flaky test 2026-04-25 15:19:38 +03:00
Kalle
9f38719fc3 Handle race when two groups match up with same target
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
GroupMatch has unique constraints on both alphaGroupId and bravoGroupId
(a group can only be in one match). If two managers click MATCH_UP at
nearly the same moment against overlapping groups, the second INSERT
trips SQLITE_CONSTRAINT_UNIQUE and bubbles up as a 500.

Translate that error into a SendouQError inside SQMatchRepository.create
so the q/looking action's existing SendouQError catch treats it like
any other stale-state error and returns null, which causes the loader
to re-run and the user sees the fresh state instead of an error page.
2026-04-24 21:44:33 +03:00
Kalle
f216423089 Validate builds page limit search param
A crawler hitting /builds/:slug?limit=48%27 (URL-encoded single quote,
likely an SQL injection probe) was triggering SQLITE_MISMATCH errors
server-side. The loader was calling Number() on the raw string, which
returned NaN, and then forwarding NaN as the LIMIT bind parameter on
the underlying Kysely query. No injection was possible (params are
bound), but the bad value only failed at the DB boundary.

Parse the param through a zod schema that coerces to a positive int,
falls back to the default batch size on any invalid input, and clamps
to the page max.
2026-04-24 21:34:44 +03:00
Kalle
a98641bf82 Various xxx comment fixes 2026-04-24 21:29:08 +03:00
Kalle
6bc7eac117 Allow tier list labels to wrap again
Originally this was removed to "fix" the img download being wonky.
But the underlying library got a lot of updates since so maybe it's good now?
Couldn't at least reproduce the bug anymore.
2026-04-24 21:28:04 +03:00
Kalle
46a6008ab3 Upgrade snapdom to 2.9.0 2026-04-24 21:27:21 +03:00
Kalle
53d2b41ec6 Add to contributions 2026-04-24 20:24:30 +03:00
Kalle
5914144930 Fix contributions page wrong text 2026-04-24 20:21:26 +03:00