Commit Graph

6346 Commits

Author SHA1 Message Date
Kalle
2e8ff8d034 Fix Global Search flashing "No results" when it's searching 2026-04-27 08:52:16 +03:00
Kalle
b26f4ab254 Migrate setHistoryByTeamId to Kysely 2026-04-27 08:43:30 +03:00
Kalle
53d7ca3813 Fix tag text color in light mode 2026-04-27 07:37:29 +03:00
Kalle
d91b8444b6 Clean up obsolete mode tags 2026-04-27 07:28:00 +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
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
Kalle
540ae58a89 Update Typescript 2026-04-24 20:12:43 +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
Great-Hero-YELLOW
eb25d9a60a
Stronghold Article "NA League 2026 Event #3 (Regular Season Week 1)" (#2994) 2026-04-24 18:02:14 +03:00
Cafy
1a7d865848
badge: add badge for Bubbly's Birthdays (#3000) 2026-04-24 18:02:02 +03:00
dependabot[bot]
d989cbdd19
build(deps): bump i18next-http-backend from 3.0.4 to 3.0.5 (#2999)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-24 18:01:48 +03:00
dependabot[bot]
1dbdc1933c
build(deps): bump the minor-and-patch group across 1 directory with 3 updates (#3004)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-24 18:00:53 +03:00
dependabot[bot]
a7ad9114a3
build(deps): bump the minor-and-patch group across 1 directory with 12 updates (#2995)
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
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 20:36:09 +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
285e5de395 Fix react-aria-components warnings 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