Commit Graph

65 Commits

Author SHA1 Message Date
Kalle (Sendou)
f67c51b379 Fix 0's showing in bracket after event 2022-01-23 10:40:04 +02:00
Kalle (Sendou)
679f6778eb Move validators to core 2022-01-22 16:12:35 +02:00
Kalle (Sendou)
c94f2f5bca manage-team + join-team backend logic refactor 2022-01-22 11:09:46 +02:00
Kalle (Sendou)
6162528eea .server. models to keep them out of browser bundle 2022-01-21 09:29:52 +02:00
Kalle (Sendou)
fcce761c12 Put backend logic in models 2022-01-21 09:13:31 +02:00
Kalle (Sendou)
93c4ed9edd Seeds use new backend logic style 2022-01-16 22:59:41 +02:00
Kalle (Sendou)
5916579a61 Match modal with team names 2022-01-15 15:58:25 +02:00
Kalle (Sendou)
be147a9c1f When match ends -> events 2022-01-14 08:49:02 +02:00
Kalle (Sendou)
2bc3cb1ca1 BracketData tuple -> object 2022-01-13 08:59:09 +02:00
Kalle (Sendou)
90f9e54775 Score live update UNDO SCORE REPORT 2022-01-13 08:30:19 +02:00
Kalle (Sendou)
18aaef9854 Fix lint 2022-01-12 23:04:02 +02:00
Kalle (Sendou)
f376047463 Refactor BracketModified to common format 2022-01-12 18:13:09 +02:00
Kalle (Sendou)
c686291442 Getting info about scores to frontend 2022-01-12 09:33:23 +02:00
Kalle (Sendou)
27627fdcfc Events PoC 2022-01-12 09:11:13 +02:00
Kalle (Sendou)
403b61486f Fix lint 2022-01-11 23:14:19 +02:00
Kalle (Sendou)
af49b5be39 Fix loser source matches logic + add tests 2022-01-11 08:38:45 +02:00
Kalle (Sendou)
e8c612fe8b Loser source in R2 if R1 skipped due to BYE 2022-01-10 09:20:50 +02:00
Kalle (Sendou)
346026b119 Extract bracket service 2022-01-10 09:03:55 +02:00
Kalle (Sendou)
1efa499461 Advance losers on report if BYE 2022-01-09 23:33:54 +02:00
Kalle (Sendou)
ba3d472589 Remove the undefined in CreateParticipantsData 2022-01-07 15:48:48 +02:00
Kalle (Sendou)
b60bde2444 Extract function in repotScore 2022-01-07 14:54:09 +02:00
Kalle (Sendou)
16f5691424 Loser team source info shown 2022-01-06 23:01:30 +02:00
Kalle (Sendou)
53bbe13c41 Fix more ESLint complaints 2022-01-06 11:06:13 +02:00
Kalle (Sendou)
09545f97f0 Undo reported score 2022-01-05 11:24:19 +02:00
Kalle (Sendou)
bcfcc9714d Clear winner selection after reporting score 2022-01-05 09:16:05 +02:00
Kalle (Sendou)
ff5812f8e6 Ending a match advances the bracket 2022-01-05 08:56:38 +02:00
Kalle (Sendou)
460fa344b9 Report score works without advance 2022-01-04 19:22:19 +02:00
Kalle (Sendou)
2c886a3739 Report score working kind of 2022-01-04 09:19:41 +02:00
Kalle (Sendou)
c016813fbb Report score backend logic initial 2022-01-03 10:01:21 +02:00
Kalle (Sendou)
ea72bdb477 Report score UI initial 2021-12-31 08:17:08 +02:00
Kalle (Sendou)
ff5377fc1f Bracket action panel initial 2021-12-27 16:37:30 +02:00
Kalle (Sendou)
059797f1fd parseRequestFormData function 2021-12-27 11:26:06 +02:00
Kalle (Sendou)
3e14bb4320 Edit team info: friend code, room pass & canHost 2021-12-26 19:23:35 +02:00
Kalle (Sendou)
9b4e909412 Match numbers to bracket 2021-12-23 21:51:32 +02:00
Kalle (Sendou)
7914377309 Tournament bracket working with data 2021-12-23 13:58:18 +02:00
Kalle (Sendou)
aed3023832 Bracket data modified to frontend 2021-12-23 10:02:15 +02:00
Kalle (Sendou)
d0b9708510 Create tournaments rounds seems to work edition 2021-12-22 19:54:13 +02:00
Kalle (Sendou)
88dc19f450 Create tournaments rounds almost™️ edition 2021-12-22 18:19:41 +02:00
Kalle (Sendou)
ba4ee2c00b tournamentRoundsForDB() function implementation 2021-12-22 09:39:45 +02:00
Kalle (Sendou)
2edb446a15 Create tournament rounds progress 2021-12-21 08:49:37 +02:00
Kalle (Sendou)
acdbc34223 Move user upsert code to auth.ts
Pretty ugly to do it this way but otherwise server won't run
and don't feel like setting ts paths for ts-node
2021-12-18 12:33:09 +02:00
Kalle (Sendou)
862061243f Update rest of app to using models folder 2021-12-18 12:05:26 +02:00
Kalle (Sendou)
e62f87ee12 Move to models folder 2021-12-18 11:46:17 +02:00
Kalle (Sendou)
4f6c7715dc Move tournaments prisma calls to separate file 2021-12-18 11:20:28 +02:00
Kalle (Sendou)
1398dadc31 Start page UI hooks skeleton 2021-12-15 09:26:55 +02:00
Kalle (Sendou)
d495644c36 TournamentBracket type in schema 2021-12-13 19:00:22 +02:00
Kalle (Sendou)
207ec000a5 Tournament InfoBanner construct CSS vars on server 2021-12-11 11:50:49 +02:00
Kalle (Sendou)
13084b7dac Save seeds to database 2021-12-10 09:31:31 +02:00
Kalle (Sendou)
a9384ca099 Admin can check in and check out teams 2021-12-08 01:36:27 +02:00
Kalle (Sendou)
4e72f67615 Tournament admin page initial 2021-12-07 00:57:06 +02:00