Commit Graph

1901 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
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
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
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
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
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
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
53d2b41ec6 Add to contributions 2026-04-24 20:24:30 +03:00
Kalle
540ae58a89 Update Typescript 2026-04-24 20:12:43 +03:00
Kalle
caacdec476 Progress incl. tournament admin tab 2026-04-24 19:41:42 +03:00
Kalle
d2440c4a32
Round robin only tournament support (#2996) 2026-04-24 18:03:53 +03:00
benny B franklin
002a03e86d
badge: add badge for OCE Open Series (#2993) 2026-04-24 18:02:40 +03:00
Cafy
1a7d865848
badge: add badge for Bubbly's Birthdays (#3000) 2026-04-24 18:02:02 +03:00
Kalle
cf239cf993 Pick/ban tab 2026-04-23 21:13:43 +03:00
Kalle
d47be7fe31 Private notes back 2026-04-23 20:24:44 +03:00
Kalle
b62febed9f Layout fixes 2026-04-23 18:28:37 +03:00
Kalle
6dd82d33b8 Merge branch 'main' into new-match-page 2026-04-23 07:05:39 +03:00
Kalle
cf64ac2661 Wire up pick/ban for tournaments 2026-04-22 20:05:18 +03:00
Kalle
7ad37d6882 MatchActionPickBanTab 2026-04-22 17:33:41 +03:00
Kalle
646cc04899 Wire up tournament join tab 2026-04-21 21:10:57 +03:00
Kalle
ab5cb9d91e Drag to reorder weapons in comp analyzer
Some checks failed
E2E Tests / e2e (push) Has been cancelled
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
2026-04-21 08:59:58 +03:00
Kalle
8b576bc0b4 Fix hydration error with rotations component 2026-04-21 08:59:58 +03:00
Kalle
b6d0f7fe1c Check points are sent if required by the bracket 2026-04-21 08:59:58 +03:00
Kalle
bebf23e55e Fix tournament register tab map pool styles 2026-04-21 08:59:58 +03:00
Kalle
b5a3dfd0e5 Attempt to fix notifications not arriving right away by setting urgency
Closes #2980
2026-04-21 08:59:58 +03:00