Commit Graph

74 Commits

Author SHA1 Message Date
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
Kalle
6992fecdac Allow migration users where new user has a mod note 2025-12-29 18:39:39 +02:00
Kalle
957c5af1a5 Update admin constants 2025-12-18 21:03:59 +02:00
Kalle
683b2ed76d
Select improvements (#2654) 2025-12-03 20:47:42 +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
dc84987fe7 Fix admin user migrate action failing when "new user" has many teams 2025-11-23 08:09:00 +02:00
Kalle
ff4402d9aa
User generatable API tokens (#2621) 2025-11-09 11:07:20 +02:00
Kalle
933902810d Migrate banned users fetching to Kysely 2025-11-01 15:04:05 +02:00
Kalle
74b2a45b8e Refactor art queries to Kysely 2025-10-28 19:25:57 +02:00
Kalle
d6cf687a7e
Kysely for builds queries (#2578) 2025-10-19 11:57:53 +03:00
Kalle
b3de79cee8
E2E tests against built site + add to pipeline (#2563) 2025-10-11 11:14:33 +03:00
Kalle
1098ca9710 Fix not every staff member getting supporter perks
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-09-09 18:11:56 +03:00
Kalle
1a667060df Add Baja to the staff
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-09-05 18:44:17 +03:00
Kalle
04f4d3a383 Make tournament organizer perm adding an admin only action 2025-07-20 15:39:46 +03:00
Kalle
fa60d0d03f
Add badges on tournament finalize (#2459) 2025-07-19 13:33:58 +03:00
Kalle
aa1aa46855 Fix account migrate crash with same teams on both accounts 2025-07-06 11:55:50 +03:00
Kalle
c5240696ff Handle new user having builds in account migration 2025-07-02 19:29:44 +03:00
Kalle
dd1adad94b BIome v2 upgrade
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-06-22 16:49:27 +03:00
Kalle
e721515629 Account migrate handle lfg posts and ban log 2025-06-15 11:07:23 +03:00
Kalle
7c16e0964a Remove redundant button loading style 2025-06-14 09:40:12 +03:00
Kalle
df3772403e User admin tab Closes #2388 2025-06-14 08:41:52 +03:00
Kalle
96fe5f0c78 Generate images route with season poster 2025-06-13 21:50:18 +03:00
Kalle
b8ff42892c Season 8 2025-06-12 18:51:11 +03:00
Kalle
45cf5ba5cf
wip (#2391) 2025-06-11 18:59:54 +03:00
Kalle
d6abac6b72
New tabs component (#2387) 2025-06-10 20:58:41 +03:00
Kalle
c70a9b82ab Refactor button event handlers to always use onPress instead of onClick 2025-06-08 20:08:10 +03:00
Kalle
accbaf40db
Refactor Button to SendouButton (#2367)
* initial

* done

* import ordering
2025-06-05 21:00:14 +03:00
Kalle
f33c3a31a4 Prevent migration if new user in tournament teams Closes #2320 2025-06-02 20:50:38 +03:00
Kalle
84cdd58fe8 Refactor app/constants away 2025-05-31 13:54:34 +03:00
Kalle
31191eeaae Handle new account having a team in account merge Closes #2308
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-05-19 22:49:23 +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
4d730e5d8b
New user search & dialog (#2270)
* From scrims

* wip

* wip

* wip

* wip

* WIP

* wip

* wip

* wip

* wip

* wip

* import ordering
2025-05-12 22:53:35 +03:00
Kalle
9f859b1635 Impersonate admin action to the top 2025-04-26 23:04:25 +03:00
Kalle
d2551d2706
Global roles refactor (#2212)
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
* Initial

* isMod etc.

* canPerformAdminActions

* isAdmin

* isSupporter

* admin override

* Lohi

* Badge manage with new permissions style

* Refactor badge loading logic

* Move funcs

* Delete permissions.ts

* DRY
2025-04-21 23:51:30 +03:00
Kalle
1e905e2941 Autoban on repeated FC + admin FC search Closes #2024
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-23 19:14:57 +02:00
Kalle
65c8cfc5ef Consistent actions/loaders folder structure 2025-03-23 11:24:56 +02:00
Kalle
a358606d4f More fixing of plus server tier resolution (pass always correct seasonNth + for ongoing season use full tiers list)
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-10 22:35:03 +02:00
Kalle
aea1e9ce35
Toasts (#2132)
* Fix unexpected server error when trying to access non-existing tournament team page

* Fix Catcher textarea usage

* Fix unexpected server error on LFG page

* Validator for duplicate tournament team name

* initial

* Fix tests

* Success toast

* Done?

* Fix leftover
2025-03-07 22:20:29 +02:00
Kalle
ce4bdcb170 Further fix plus server role resolution (follow-up to 55f1544) 2025-03-04 22:26:45 +02:00
Kalle
2a5fab3e9c Unit test for 55f1544
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-02 22:41:08 +02:00
Kalle
55f1544c75 Fix plus role resolution from leaderboard after season is over 2025-03-02 22:36:34 +02:00
Kalle
ac0713cd52 Exclude banned users plus server access
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-02-17 22:32:57 +02:00
Kalle
986355050d
Better meta tags (#2083)
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
* Initial

* Work

* lint

* Lint

* Remove twitter

* Progress

* Progress

* Progress

* Progress

* Progress

* Progress

* Fix
2025-02-07 16:01:42 +02:00
Kalle
cad91108b4 Make migrating accounts also include group switch
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-01-31 22:19:58 +02:00
Kalle
fcf9addc6e Make account migration work even if friend code or user weapons added
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-01-30 22:11:19 +02:00
Kalle
86b50ced56
League support (#2030)
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
* Initial

* Create league divs script works

* Progress

* Progress

* Prevent round from starting

* Finalized?

* Tweaks

* linter
2025-01-13 22:57:08 +02:00