Commit Graph

63 Commits

Author SHA1 Message Date
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
Kalle
f7a4ee0971 More forgiving friend code input 2024-12-04 22:25:03 +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
bb70f850ad Fix being able to edit team's name into special characters only + more tests 2024-10-13 11:58:12 +03:00
Kalle
8405be6f26 Migrate to vitest, unskip suites Closes #1846 2024-09-14 14:34:41 +03:00
Kalle
ba12a61ba9 Add TO permissions via UI 2024-08-25 11:29:35 +03:00
Kalle
56b245d586 Back to Node.js from Bun (for runtime) 2024-08-24 12:46:21 +03:00
Kalle
098ff1749a Allow mods to migrate users Closes #1825 2024-08-12 17:14:39 +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
43f3b93d7d Update friend code admin action 2024-08-05 23:45:19 +03:00
Kalle
9312fad90f
Tournament organization page (#1811)
* Initial

* Calendar initial

* Extract EventCalendar

* Events list initial

* Winners

* SQL fixes

* List events by series

* Leaderboards

* Series leaderboard

* Own entry peek

* Edit page skeleton

* RHF initial test

* RHF stuff

* Form etc. progress

* Fix tournament series description

* Fix tabs layout

* Fix socials insert

* Check for not removing admin

* Adding series

* TODOs

* Allow updating org with no series

* FormFieldset

* Allow series without events

* TextAreaFormfield accepting array syntax

* Input form array field

* ToggleFormField

* SelectFormField

* UserSearchFormField

* Fetch badgeOptions

* Badge editing

* Progress

* Use native preventScrollReset

* Rename func

* Fix sticky scroll

* Fix translation

* i18n errors

* handle,meta in edit

* Add ref to user search

* TODOs

* Done
2024-07-25 23:06:29 +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