Commit Graph

55 Commits

Author SHA1 Message Date
dependabot[bot]
0460488dc3
build(deps): bump openskill from 4.1.1 to 5.0.1 (#3169)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-06-17 14:32:05 +03:00
Kalle
75179e5077 Zod validated config for security and ease of getting started 2026-06-15 14:12:15 +03:00
Kalle
e06f7177dd Fix more various small bugs
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
2026-06-09 21:52:26 +03:00
Kalle
6a3ec6a654 Various small bug fixes
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
2026-06-08 22:04:43 +03:00
Kalle
f21f2f7d76 Rewrite orderedUserMMRBySeason as window function to avoid 12s plan
The max(id) self-join let the query planner pick a nested-loop plan when
it misjudged a season's row count (e.g. a freshly started season whose
stats are dwarfed by older seasons), making the query take ~12s on the
current season. The window-function form references Skill once and is
plan-stable regardless of stats. Output is identical.
2026-06-08 17:25:01 +03:00
Kalle
81cd1df46c Add Season 12 dates + img 2026-05-30 12:49:17 +03:00
Kalle
eb7adfd7e2 Use Skill.createdAt when available for seasons page skill graph
Closes #3046

Main point is to fix the league (long running) skill timing
but this also should improve it for tournaments
because sometimes there is a gap between finalized at and started at.
2026-05-09 15:41:41 +03:00
Kalle
3f3c084910 Migrate addInitialSkill to Kysely 2026-05-02 14:24:21 +03:00
Kalle
540ae58a89 Update Typescript 2026-04-24 20:12:43 +03:00
Kalle
bd688d637c
npm->pnpm (#2929)
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
2026-03-31 20:38:22 +03:00
Kalle
c5095f4074 Season 11
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-08 12:08:29 +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
Kalle
f460d52a40
Remove dead code, migrate one Skill function to Kysely (#2785) 2026-02-15 21:23:13 +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
94a93b0006
SQ serverside refactoring, add tests, add Knip (#2665) 2025-12-22 15:47:15 +02:00
Kalle
9f3a22b618 Season 10 data
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
2025-12-07 12:53:03 +02:00
Kalle
ef2d3779ec
Fix a bunch of TODOs (#2648)
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
2025-11-23 16:34:18 +02:00
Kalle
30e22c2b1a
Fix E2E tests (#2640)
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
2025-11-18 17:53:35 +02:00
Kalle
5dbd27a50e Fix plus server suggestions page crash
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
2025-09-08 17:17:40 +03:00
Kalle
da55a6cdde Season 9 2025-09-07 11:50:45 +03:00
Kalle
156631c37f Postpone season 8 2025-06-14 21:47:11 +03:00
Kalle
b8ff42892c Season 8 2025-06-12 18:51:11 +03:00
Kalle
ed40f9fd30 Fix setup script failing when no real season active 2025-06-09 21:32:41 +03:00
Kalle
ab1f5bebc1 Refactor Seasons module
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
2025-05-13 21:23:36 +03:00
Kalle
7c470f6cc2 VITE_PROD_MODE env var for easier development against prod DB 2025-04-09 22:14:39 +03:00
Kalle
c0ec15b7de Unify db type files
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
2025-03-21 21:47:08 +02:00
Kalle
38a6ed56ee Add Season 7 data
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
2025-03-06 22:22:23 +02:00
Kalle
a72d69bb7b Season 6 2024-12-01 14:28:24 +02:00
Kalle
feebdfaf54
Seeding points (#1969)
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
* Initial

* Seed page initial

* Progress

* tests

* Fix e2e tests
2024-11-23 12:42:52 +02:00
Kalle
1d9f515a8a Fix running scripts 2024-11-18 22:13:07 +02:00
Kalle
68aa12414a
New front page (#1938)
* Initial

* Progress

* Recent winners

* Add button

* Progress

* Mobile nav initial

* UI tweaks

* Overflow

* AnythingAdder links to places

* Remove color for tournament showcase

* Adjust SQ top banner based on if season is on right or not

* Tournament participant count fixed

* Log out

* todo

* Progress

* Nav complete

* Done?

* Fix lint

* Translate settings
2024-10-20 09:01:22 +03:00
Kalle
c3adcdedfc S5 2024-09-01 17:40:44 +03:00
Kalle
700a309e7f
Migrate Node -> Bun (#1827)
* Initial

* Faster user page

* Remove redundant function

* Favorite badge sorting

* Upgrade deps

* Simplify entry.server

* Bun tests initial

* Update package.json npm -> bun

* Update README

* Type safe translations again

* Don't load streams info for finalized tournaments

* Translations as an object

* More unit test work

* Convert match.server.test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* Test & all done

* Working cf

* Bun GA try

* No cache

* spacing

* spacing 2

* Add SQL logging

* Remove NR

* Hmm

* Hmm 2

* Interesting

* SKALOP_SYSTEM_MESSAGE_URL

* .

* .

* ?

* .

* ?

* Server.ts adjust

* Downgrade Tldraw

* E2E test fix

* Fix lint
2024-08-11 16:09:41 +03:00
Kalle
fd48bced91
Migrate Prettier/Eslint/Stylelint setup to Biome (#1772)
* Initial

* CSS lint

* Test CI

* Add 1v1, 2v2, and 3v3 Tags (#1771)

* Initial

* CSS lint

* Test CI

* Rename step

---------

Co-authored-by: xi <104683822+ximk@users.noreply.github.com>
2024-06-24 13:07:17 +03:00
Kalle
2b53c348e6 Switch to own invariant that logs errors in prod 2024-06-02 14:34:01 +03:00
Kalle
7082bc72c3 Optimize seasons page speed 2024-05-20 21:36:44 +03:00
Kalle
4beb2bdfdd
LFG (#1732)
* Initial

* Can post new

* Load team

* seed + loader posts

* LFGPost render initial

* More UI work

* Tiers

* sticky left

* Mobile

* new.tsx work

* TeamLFGPost component initial

* Full team member list

* Add TODO

* Delete post action

* Edit post etc.

* Delete team posts when team disbands

* Prevent adding same post type twice in UI

* Post expiry logic

* Fix layout shift

* Filters initial

* Progress

* Weapon filtered implemented

* Weapon alt kits in filtering

* + visibility

* i18n

* E2E test

* Team = null
2024-05-19 13:43:59 +03:00
Kalle
e99165f43f Add season 4 2024-05-14 20:36:12 +03:00
Kalle
67a2efc9fe Misc performance optimizations 2024-04-06 00:11:48 +03:00
Kalle
93ebb6e369 Migrate to Vite 2024-02-24 21:12:54 +02:00
Kalle
8818fad917 Add Season 3 2024-02-11 11:02:56 +02:00
Kalle
7efb80b9f6 Upgrade deps 2023-12-10 09:19:56 +02:00
Kalle
7dec8c572e
SendouQ Season 2 changes (#1542)
* Initial

* Saves preferences

* Include TW

* mapModePreferencesToModeList

* mapPoolFromPreferences initial

* Preference to map pool

* Adjust seed

* q.looking tests

* adds about created map preferences to memento in the correct spot (two preferrers)

* Failing test about modes

* Mode preferences to memento

* Remove old Plus Voting code

* Fix seeding

* find match by id via kysely

* View map memento

* Fix up map list generation logic

* Mode memento info

* Future match modes

* Add TODO

* Migration number

* Migrate test DB

* Remove old map pool code

* createGroupFromPrevious new

* Settings styling

* VC to settings

* Weapon pool

* Add TODOs

* Progress

* Adjust mode exclusion policy

* Progress

* Progress

* Progress

* Notes in progress

* Note feedback after submit

* Textarea styling

* Unskip tests

* Note sorting failing test

* Private note in Q

* Ownerpicksmaps later

* New bottom section

* Mobile layout initial

* Add basic match meta

* Tabs initial

* Sticky tab

* Unseen messages in match page

* Front page i18n

* Settings i18n

* Looking 18n

* Chat i18n

* Progress

* Tranfer weapon pools script

* Sticky on match page

* Match page translations

* i18n - tiers page

* Preparing page i18n

* Icon

* Show add note right after report
2023-11-30 20:57:06 +02:00
Kalle
9a126f543d
Plus Voting to 60% criteria + leaderboard access (#1537)
* Update PlusVotingResult

* Logic

* Replace plus tiers

* Testing initial

* Test progress

* Working one test

* Tests

* Schema different file

* Dynamic test

* Fix test util
2023-11-11 12:19:57 +02:00
Kalle
083453917f Move Plus Voting to new date 2023-10-31 00:14:12 +02:00
Kalle
218c854ffb
SendouQ match page show & save powers + plus tier status (#1519)
* Initial

* New group cards initial

* Remove unused prop

* Vc

* Styling for after the match is locked

* Team

* Impersonate always in dev

* Diff

* Fix crash if match has no memento when inserting skill
2023-10-03 21:25:03 +03:00
Kalle
8c0b242a93 Season switching on user seasons page 2023-09-10 12:19:58 +03:00
Kalle
4585e1a73e Fix seasons tab disappearing after season end 2023-08-28 00:43:00 +03:00
Kalle
4ecd2df54f Add season 1 dates 2023-08-28 00:36:14 +03:00
Kalle
dab6b00c2d Update Prettier 2023-08-26 22:38:11 +03:00