Commit Graph

319 Commits

Author SHA1 Message Date
Kalle
4bc8033841 Collapse repeated manual badge grants into a count column
TournamentBadgeOwner previously stored manual grants as N identical
rows to represent "this user has this badge N times" — one user had
12,345 duplicate rows for a single badge. This adds a `count` column,
collapses NULL-tournamentId duplicates in the backfill, and rewrites
the BadgeOwner view to expose count via SUM. The table shrinks from
75,596 to 24,204 rows. Also adds an index on TournamentBadgeOwner(userId)
as defense-in-depth for direct lookups, and updates replaceOwners to
dedupe ownerIds at insert time. Profile-page query for the worst-case
user drops from ~4 ms to ~1–2 ms warm.
2026-05-14 18:09:41 +03:00
BrushMommy
099449cbc6
badge: add badge for Journey's End (#3071) 2026-05-14 16:31:10 +03:00
honk-s
a44137b91b
badge: add badge for Cats Have 7 Lives (#3062) 2026-05-11 17:27:10 +03:00
BrushMommy
c7ef9bb7bd
add equalizer badge (#3059) 2026-05-10 14:21:16 +03:00
honk-s
b18a2b062e
badge: add badge for Cats Have 9 Lives (#3031) 2026-05-02 15:55:49 +03:00
Name
59d70a71e9
badge: add badge for Solo Squid Showdown: Golden Edition (#3027) 2026-05-02 14:28:06 +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
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
Rosi-Splat
95b4f50bae
badge: add badge for Dream Team (#2987) 2026-04-21 08:59:34 +03:00
Cafy
23d8f18023
badge: add badge for Without Warning (#2964) 2026-04-12 17:02:31 +03:00
Taysonbucket
28263491fd
badge: add badge for Usagi (#2931) 2026-04-02 17:30:10 +03:00
Kalle
dfa95bd92d Migrate to nested CSS 2026-03-28 16:30:28 +02:00
Cafy
419fb2852c
badge: add badge for Chi-Shoals Salmon Run Edition (#2920) 2026-03-28 14:43:49 +02:00
BrushMommy
047b9f4c83
badge: add badge for Paralarvae Parfait - D2 Cap (#2915) 2026-03-28 14:43:36 +02:00
Kalle
cdf1aea38c Update badge name
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2026-03-27 17:09:08 +02:00
Cafy
e1054eda6e
badge: add badge for PEÑA DRAFT (#2865)
Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2026-03-21 15:19:52 +02:00
Kalle
56a835611a Update Biome to 2.4.8 2026-03-21 15:19:32 +02:00
Kalle
fef1ffc955
Design refresh + a bunch of stuff (#2864)
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-03-19 17:51:42 +02:00
louiedoubleu
d216f1bfb0
badge: add badge for LAN of 10,000 Lakes (#2883)
Some checks failed
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-03-14 11:08:54 +02:00
tariq_spl
f21895119b
badge: add badge for Ink Cup (#2877) 2026-03-14 11:05:02 +02:00
Juancho1782
7198410522
badge: add badge for Sweetheart Splats (#2845)
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-03-01 16:11:21 +02:00
Kalle
9e0f36d90c Refactor requireRole/requirePermission to resolve user internally
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 20:02:37 +02:00
BrushMommy
4ea1ca28b3
badge: add badge for Reden's Rumble (#2815) 2026-02-21 08:08:13 +02:00
Kalle
0936e70e73 Add sorting to badges owned widget 2026-02-17 21:29:12 +02:00
Kalle
77978c450f
New user page (#2812)
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
Co-authored-by: hfcRed <hfcred@gmx.net>
2026-02-16 19:26:57 +02:00
Juancho1782
9ea752f72f
badge: add badges for Sweetheart Splats (Updated) (#2810) 2026-02-16 19:21:35 +02:00
GrantCantGame
9d268c8d5b
badge: add badge for Barracuda Boon (#2803) 2026-02-15 20:55:01 +02:00
BrushMommy
4071d5e044
badge: add badge for Crimson Bucket (#2802) 2026-02-15 20:54:47 +02:00
KksCD
9cb1777d3e
badge: add badge for Skycat Achievements (#2799) 2026-02-15 20:53:45 +02:00
tariq_spl
01af1e83ed
badge: add badge for Valentines 2v2 TUESDAYS (#2798) 2026-02-15 20:53:28 +02:00
Kalle
04c14e9cdf Migrate synxXPBadges function to Kysely
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-01-29 22:13:50 +02:00
rice :3
23761034c4
badge: add badge for Class Ascendency (#2778)
Co-authored-by: hfcRed <101019309+hfcRed@users.noreply.github.com>
2026-01-27 20:43:23 +02:00
Kalle
400f5ce301
Denormalize peak XP to SplatoonPlayer table (#2741)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 22:15:20 +02:00
Kalle
c20701d98c
Form system refactor from react-hook-form to one schema per form across the stack (#2735)
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-18 18:21:19 +02:00
Kalle
ab85afaeed Update badges 2026-01-18 12:49:57 +02:00
Astro Dev
fe4b623de9
Add badges for Survival of the S+ Gladiator & Typh's Birthday Bonanza (#2703) 2026-01-13 21:07:24 +02:00
Kalle
23eaa268c0
User middleware try 2 (#2692) 2026-01-03 13:47:32 +02:00
Kalle
f11a3e798a Revert "User middleware (#2687)"
This reverts commit 4fca18ac8d.
2026-01-03 08:41:13 +02:00
Kalle
4fca18ac8d
User middleware (#2687) 2026-01-02 18:34:45 +02:00
Kalle
658421d899
Upgrade zod package to 4 (#2677) 2025-12-29 20:04:40 +02:00
Kalle
81483de0db
Upgrade to React Router 7 (#2681) 2025-12-29 19:21:11 +02:00
rice :3
4c8f8a5630
badge: add badge for Run Speed Up (#2676) 2025-12-28 12:27:53 +02:00
rice :3
534e480e60
badge: add badge for Rabbit Hole Cup [Winner] (#2673) 2025-12-26 10:51:49 +02:00
Cafy
459d172989
badge: add badge for White Kitty (#2672) 2025-12-22 15:30:45 +02:00
omniipot
7bdba2135e
badge: add badge for +L Tournament (#2671)
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
2025-12-22 10:25:59 +02:00
Cafy
90f27faeb1
badge: add badge for Sorella Brella (#2668) 2025-12-22 10:22:14 +02:00
Sheep
fe1c9a336d
badge: add badge for Sheep Happens (Skill Capped) (#2663) 2025-12-18 20:51:27 +02:00
Josiah Glosson
9a561e2898
Switzerland badge v2 (#2666) 2025-12-18 20:51:15 +02:00