Commit Graph

596 Commits

Author SHA1 Message Date
Kalle
f2ca615220 Adjust start command 2024-08-13 08:10:24 +03:00
Kalle
0fc5bee589 Add better-sqlite3 dep back for ley migrations 2024-08-12 21:31:06 +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
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
00dc2c88ae Upgrade deps 2024-07-06 13:40:16 +03:00
Kalle
9ef1de32e2 Remove @swc dependency 2024-06-29 10:23:04 +03:00
Kalle
915a199b0a Upgrade deps 2024-06-29 10:18:43 +03:00
Kalle
b11923ea0b Upgrade deps 2024-06-27 12:31:37 +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
47018e2a22 Upgrade deps (TS 5.5) 2024-06-21 10:29:10 +03:00
kytoaa
fe75d356ce
Update TLdraw to 2.2.0 (#1762)
* all api changes fixed (i think), bugs and styling to fix though

* languages work again

* deleting icons on background change + fixed style panel thing

* all features should be working and updated

* ran prettier on Planner.tsx

* fixed backgrounds not being deleted + undoing works now after changing background

* ran prettier

* removed an outdated comment
2024-06-21 09:44:19 +03:00
Kalle
b71ca48bc1 Upgrade deps 2024-06-16 12:44:13 +03:00
Kalle
2b53c348e6 Switch to own invariant that logs errors in prod 2024-06-02 14:34:01 +03:00
Kalle
8933fca588 Upgrade deps 2024-06-02 14:14:43 +03:00
Kalle
22af483c88 Accessing SQLite3 commands to package.json 2024-05-18 10:22:40 +03:00
Kalle
b6e83671b7 Upgrade deps 2024-04-28 10:59:09 +03:00
Kalle
63f8c25eb6 Upgrade deps 2024-04-07 10:03:23 +03:00
Kalle
3fab2bc5ed Remove unneeded package 2024-04-06 00:38:23 +03:00
Kalle
bd3559740a Upgrade deps 2024-04-05 17:49:28 +03:00
Kalle
5b66148857 Upgrade deps 2024-03-31 10:55:51 +03:00
Kalle
5ae3d9fa77 Try NR ESM 2024-03-24 14:38:05 +02:00
Kalle
100fa15803 Upgrade deps 2024-03-21 22:37:31 +02:00
Kalle
3710822850 Upgrade deps 2024-03-16 10:44:02 +02:00
Kalle
d6889890a6 Some Tournament tests inc. failing about repeat matches 2024-03-07 23:34:59 +02:00
Kalle
23ac86d89e Upgade deps 2024-03-02 10:00:36 +02:00
Kalle
c327273b32 Use tsx for scripts 2024-02-27 23:00:00 +02:00
Kalle
bc99395843 Fix check-translation-jsons:no-write 2024-02-25 12:02:28 +02:00
Kalle
efb44745df Add CDN to user submitted images Closes #1222 2024-02-25 10:39:54 +02:00
Kalle
93ebb6e369 Migrate to Vite 2024-02-24 21:12:54 +02:00
Kalle
b35a64c1f8 Upgrade deps 2024-02-24 12:18:14 +02:00
Kalle
72fa1f68c8
Season 3 SendouQ changes (#1674)
* Mode Map Pool picker component initial

* Component in settings

* Lottery initial

* Fix tests

* useTrusters as perf optimization

* unionAll -> union

* Fancy picker for tournaments

* Map pools memento

* FC's initial

* Friend code when registering for tournament

* FC in flows

* SHow FC in places

* Add catch in case

* Fix disabling

* Show ELO changed

* Wiggle MapPool button if already selected

* CSS vars typing

* Rechallenging

* Team (all) leaderboard

* Preview groups

* Fix chat width changing

* Solid reported weapons

* Clearer cancel requested header

* Dynamic revalidates

* spDiff from memento

* (Partly) Revert "Remove screen banning"

This reverts commit 076cabfbfa.

* Screen indicators in looking view

* FC i18n

* noscreen = 0

* E2E test

* E2E 2
2024-02-24 12:07:17 +02:00
Kalle
2b197e9f5e Upgrade deps 2024-02-11 11:03:04 +02:00
Kalle
eae3d529e2
Bracket component rewrite (#1653)
* Remove old code

* Add prefetching

* Elim bracket initial

* Hide rounds with only byes

* Round hiding logic

* Align stuff

* Add TODO

* Adjustments

* Deadline

* Compactify button

* Simulations

* Round robin bracket initial

* eventId -> tournamentId

* seedByTeamId removed

* Couple more TODOs

* RR placements table

* Locking matches

* Extract TournamentStream component

* Bracket streams

* Remove extras for tournament-manager, misc

* Fix E2E tests

* Fix SKALOP_SYSTEM_MESSAGE_URL in env.example

* TODOs

* TODO moved to GitHub

* Handle team changing in match cache invalidation

* Fix streamer seeing undo last score button

* Show "Sub" badge on team roster page

* Show who didn't play yet on match teams preview

* Ranked/unranked badge

* Bracket hover show roster

* Add lock/unlock match test

* Fix score reporting
2024-02-11 10:49:12 +02:00
Kalle
a1dba004ad NR 2024-02-10 12:53:56 +02:00
Kalle
c43d48f930 Upgrade deps 2024-02-03 10:20:21 +02:00
Kalle
6c6fa24f7f Remove vodder script 2024-02-01 17:47:55 +02:00
Kalle
422f3227b6 Fix tournaments script 2024-01-30 17:09:41 +02:00
Kalle
1fe87093b3 Add script 2024-01-22 18:24:43 +02:00
Kalle
b189a1168d Upgrade deps 2024-01-07 12:46:43 +02:00
Kalle
e23e949980
Tournament staff (TO & Streamer) (#1619)
* Migrations

* Arrange admin UI

* Load staff from DB

* Fix TODO

* Can add/remove staff

* isTournamentAdmin / isTournamentOrganizer

* Show chat to streamer

* User titles in the chat

* chat name color

* Unique constraint

* TO Staff E2E tests

* Casts on stream page

* Streamer test

* Fix test
2024-01-07 12:41:03 +02:00
Kalle
390c7dece5 Upgrade deps 2024-01-01 11:20:54 +02:00
Kalle
80228a3bcc Upgade deps 2023-12-30 11:12:45 +02:00
Kalle
d5517cdffd Unban script 2023-12-20 21:24:00 +02:00
Kalle
845ae1b0a1 Script to reopen a tournament 2023-12-17 12:01:04 +02:00
Kalle
63667e9f2a Upgrade deps 2023-12-16 11:01:50 +02:00
Kalle
7efb80b9f6 Upgrade deps 2023-12-10 09:19:56 +02:00
Kalle
d7f276e717 Upgrade deps 2023-12-09 10:45:46 +02:00
Kalle
837b9e1df5 Try to fix deploy 2023-12-06 20:30:20 +02:00
Kalle
73fd2e4a6c Upgrade all deps to latest 2023-12-06 12:40:39 +02:00
Kalle
17a558ca13 Update ban list + add script 2023-12-02 17:04:40 +02:00