Commit Graph

463 Commits

Author SHA1 Message Date
Kalle
64d0f95f3b Patreon pledge data parsing endpoint initial 2022-07-10 12:27:02 +03:00
Kalle
83a66aa21a Close badge edit modal after successful POST 2022-07-09 15:36:28 +03:00
Kalle
2a37365bd6 Edit managers in DB 2022-07-07 12:30:08 +03:00
Kalle
2ca589faf6 Add user migration admin feature 2022-07-05 20:15:30 +03:00
Kalle
80b901a121 Edit badge owners button with permissions 2022-07-05 15:46:00 +03:00
Kalle
9f50b04f2e Badge thumbnail images 2022-07-04 22:01:51 +03:00
Kalle
89a16d4ff3 Badges url via function 2022-07-04 21:09:10 +03:00
Kalle
cf7ec172c9 Add FAQ page with Plus Server info 2022-07-03 15:40:05 +03:00
Kalle
0f7518e055 Badge details page initial 2022-06-27 09:36:29 +03:00
Kalle
c7a50ded65 Impersonate users in prod 2022-06-18 15:51:17 +03:00
Kalle
1e8a63c961 Submit votes initial 2022-06-12 15:11:23 +03:00
Kalle
79278c4cbc Add usersForVoting backend logic 2022-06-11 18:28:12 +03:00
Kalle
e16ad178ec xxx -> TODO allTruthy 2022-06-11 15:44:58 +03:00
Kalle
1c1d8dd6fe Move auth to modules 2022-06-11 11:21:06 +03:00
Kalle
7dd6efb832 Replace Array.at with error throwing function 2022-06-10 00:36:06 +03:00
Kalle
105854335f Voting history page initial 2022-06-05 12:45:58 +03:00
Kalle
7528652b42 PlusTier view 2022-06-04 16:04:43 +03:00
Kalle
759aed9518 Remove unused param useBody 2022-06-04 11:19:08 +03:00
Kalle
ed12978073 Can't delete suggestion if it has comments 2022-06-04 10:57:31 +03:00
Kalle
5f66dddb08 Restructure and add notes 2022-06-02 17:34:46 +03:00
Kalle
03c7404720 Rename stuff in permissions 2022-06-02 10:10:30 +03:00
Kalle
44e745692d Add comment to database 2022-05-26 21:49:48 +03:00
Kalle
a4b839d55a Add permissions 2022-05-26 19:48:16 +03:00
Kalle
cf96c49e20 Comment modal with functioning link 2022-05-26 15:48:49 +03:00
Kalle
6a23c4f2bb Add titles via meta tag 2022-05-25 21:41:37 +03:00
Kalle
9ceabd5700 Suggestions UI initial 2022-05-25 09:59:58 +03:00
Kalle
800b456a52 Impersonate another user feature 2022-05-24 19:03:54 +03:00
Kalle
cabe6f53e6 Find suggestions database logic 2022-05-22 20:54:23 +03:00
Kalle
125dac42fa Move authentication logic 2022-05-19 17:34:40 +03:00
Kalle
185295d54e
User page initial with SQLite3 (#822)
* Clean away prisma migrations

* Way to migrate WIP

* SQLite3 seeding script initial

* Fetch tournament data in loader

* CheckinActions new loader data model

* Virtual banner text color columns

* Logged in user

* Count teams

* ownTeam

* Map pool tab fully working

* Teams tab

* Fix timestamp default

* Register page

* Manage team page

* Camel case checkedInTimestamp

* Clean slate

* Add .nvmrc

* Add favicon

* Package lock file version 2

* Update tsconfig

* Add Tailwind

* Add StrictMode

* Add background color

* Auth without DB

* Revert "Add Tailwind"

This reverts commit 204713c602.

* Auth with DB

* Switch back to tilde absolute import

* Import layout

* Camel case for database columns

* Move auth routes to folder

* User popover links working

* Import linters

* User page initial

* User edit page with country

* Script to delete db files before migration in dev

* Remove "youtubeName" column

* Correct avatar size on desktop

* Fix SubNav not spanning the whole page

* Remove duplicate files

* Update README
2022-05-16 17:52:54 +03:00
Kalle
03da81a84c
New navigation (#821)
* Menu skeleton

* Menu with nav icons

* Menu opens and closes

* More menu icons + links work

* Menu closes on navigation

* Blurred menu

* Remove other nav

* Rounded nav

* Fix menu alignment for Safari

* Close on click outside

* Disable body scroll when menu open

* SubNav for tournament

* Use grid

* Make images same size again

* Remove comment

* Different style mobile nav

* Readd InfoBanner elements

* Move menu css to layout.css

* Move admin command input top left

* Page title from loader

* Fix error when getting pageTitle

* Fix CI
2022-04-30 11:10:09 +03:00
Kalle
b84917133b Edit match if winner unchanged 2022-04-21 17:34:39 +03:00
Kalle
270e00fbe1 Upgrade deps 2022-04-15 18:22:36 +03:00
Kalle
d3df5bdda1 Allow canceling SendouQ match 2022-04-13 18:45:13 +03:00
Kalle
1287fa4ad9 Add chat to tournament matches 2022-04-03 10:35:07 +03:00
Kalle
8d647eaeff Use React Context for sharing socket 2022-03-29 23:40:08 +03:00
Kalle
7d32da3822 Fix bracket straight lines height 2022-03-29 17:53:42 +03:00
Kalle
c7262b069b Urls from utils to urls 2022-03-28 00:42:13 +03:00
Kalle
4c6f7ce572 Refactor register for new backend style 2022-03-28 00:16:01 +03:00
Kalle
76e17ce83c Add Redis for leaderboards 2022-03-27 12:01:02 +03:00
Kalle
bb8c9dbafe Leaderboards frontend 2022-03-26 17:09:37 +02:00
Kalle
f536918d09 Chat SSE -> socket.io 2022-03-25 00:42:29 +02:00
Kalle
0f029aa84c Feature flag for chat 2022-03-23 00:33:16 +02:00
Kalle
1b25502d64 Get names on chat from loader data 2022-03-22 22:44:54 +02:00
Kalle
0b0e1d95c6 NZAP use real UUID 2022-03-20 21:37:28 +02:00
Kalle
3ad9cbaaee isTestUser 2022-03-20 21:00:14 +02:00
Kalle
5394e0bc50 Temp fix logged in user missing discordName 2022-03-20 20:52:54 +02:00
Kalle
c693fe349e Chat for looking/match pages Closes #753 2022-03-20 14:12:20 +02:00
Kalle
43d0e8fb78 Detailed matches 2022-03-16 17:13:57 +02:00
Kalle
6310bbc823 Fix match-details 2022-03-12 14:02:21 +02:00
Kalle
176cbbbec6 Match details endpoint test 2022-03-06 16:22:23 +02:00
Kalle
acb45590ad Mini bio in SendouQ 2022-03-05 14:59:44 +02:00
Kalle
8e848fc3e7 Refactor to use resolveRedirect function 2022-03-05 10:00:41 +02:00
Kalle
24d21f3443 Match history page 2022-03-01 21:23:17 +02:00
Kalle
10e2f1470b Pre-add players page Closes #716 2022-02-27 16:55:38 +02:00
Kalle
6d82d99b18 Link to old user profiles on match page 2022-02-27 11:06:14 +02:00
Kalle
e07fff02b0 Display MMR + top x% on play front page 2022-02-26 13:44:21 +02:00
Kalle
fb1b3deba1 Show warning if reports different score 2022-02-08 22:19:54 +02:00
Kalle
8d6330712a Fix lint 2022-02-06 17:25:57 +02:00
Kalle
109757feda Add LFGGroup map list generating function 2022-02-06 13:21:28 +02:00
Kalle
b87d15c317 Title for match page 2022-02-05 12:58:12 +02:00
Kalle
2a9f12981b LFG Match page initial 2022-02-05 10:43:21 +02:00
Kalle
b6ac3be17d Match looking initial 2022-02-01 09:56:07 +02:00
Kalle
8667c04ae0 Closes #715 - Can unite groups 2022-01-30 17:05:40 +02:00
Kalle
056f106612 Member cards some kind of visual 2022-01-29 14:49:03 +02:00
Kalle
d5e62efd48 Seeded groups data to frontend 2022-01-29 11:33:01 +02:00
Kalle
8e3a96d0c1
Play page initial (#700) 2022-01-27 00:03:03 +02:00
Kalle (Sendou)
25972a6f07 Use real images for FancyStageBanner 2022-01-23 00:51:39 +02:00
Kalle (Sendou)
b9a79103a2 Close modal on click outside 2022-01-19 18:27:01 +02:00
Kalle (Sendou)
93c4ed9edd Seeds use new backend logic style 2022-01-16 22:59:41 +02:00
Kalle (Sendou)
d530e9383c Switch common hooks from /utils to /hooks 2022-01-16 22:03:53 +02:00
Kalle (Sendou)
c8377f5a98 Change zod schemas location 2022-01-16 21:59:33 +02:00
Kalle (Sendou)
11d440e1ea Update deps 2022-01-14 08:54:05 +02:00
Kalle (Sendou)
18aaef9854 Fix lint 2022-01-12 23:04:02 +02:00
Kalle (Sendou)
3bff18fae8 Bracket with events working 2022-01-12 18:13:37 +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)
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)
ef75059801 Fix lint errors 2022-01-09 13:49:54 +02:00
Kalle (Sendou)
53bbe13c41 Fix more ESLint complaints 2022-01-06 11:06:13 +02:00
Kalle (Sendou)
1ea4ff72fd Fix ESLint complaints 2022-01-05 23:38:59 +02:00
Kalle (Sendou)
460fa344b9 Report score works without advance 2022-01-04 19:22:19 +02:00
Kalle (Sendou)
b9cccc23df Map list stage banner initial 2021-12-31 16:36:05 +02:00
Kalle (Sendou)
34075dec1a Fix type errors 2021-12-27 16:39:53 +02:00
Kalle (Sendou)
0b8042f229 Show success when editing a team 2021-12-27 12:56:20 +02:00
Kalle (Sendou)
e1629cb101 parseRequestFormData throw 400 response if fail 2021-12-27 11:35:43 +02:00
Kalle (Sendou)
059797f1fd parseRequestFormData function 2021-12-27 11:26:06 +02:00
Kalle (Sendou)
0b6a831765 manage-roster page to local action function 2021-12-25 22:46:44 +02:00
Kalle (Sendou)
3cdf9dcf34 Remove formDataFromRequest helper function 2021-12-25 22:04:02 +02:00
Kalle (Sendou)
8352a7f2ed Refactor: new way to pass CSS vars (types) 2021-12-25 00:50:23 +02:00
Kalle (Sendou)
d0b9708510 Create tournaments rounds seems to work edition 2021-12-22 19:54:13 +02:00
Kalle (Sendou)
d82f0d7744 Account for search queries when returning to page 2021-12-20 11:21:33 +02:00
Kalle (Sendou)
33dd17eeda utils switch to using function keyword 2021-12-19 11:15:22 +02:00
Kalle (Sendou)
e4e1b11ff0 Return to same page after log in 2021-12-19 11:11:17 +02:00
Kalle (Sendou)
33155e2593 Regenerate all maps 2021-12-17 19:32:07 +02:00
Kalle (Sendou)
a6a303302c Can change best of and regen maps 2021-12-17 09:17:58 +02:00
Kalle (Sendou)
0e2ea81b48 Remove TODOs that aren't TODOs 2021-12-11 10:46:34 +02:00
Kalle (Sendou)
c6f4d9b016 Sort teams to show own team first on team tab 2021-12-10 09:38:43 +02:00
Kalle (Sendou)
13084b7dac Save seeds to database 2021-12-10 09:31:31 +02:00
Kalle (Sendou)
14bf713094 Fix Serialized type 2021-12-07 22:07:04 +02:00
Kalle (Sendou)
b912b3be0e Check in functionality 2021-12-06 17:27:26 +02:00
Kalle (Sendou)
873d39270c Extract hook utils to different file 2021-12-06 13:46:08 +02:00
Kalle (Sendou)
0229a5d714 Can delete players from roster 2021-12-06 13:43:19 +02:00
Kalle (Sendou)
859daacf19 Add player to team from dropdown functionality 2021-12-06 01:30:30 +02:00
Kalle (Sendou)
6106803745 Invite players via dropdown loader functionality 2021-12-05 15:15:04 +02:00
Kalle (Sendou)
357d4e03fd Switch from serial to UUID's 2021-11-30 21:34:00 +02:00
Kalle (Sendou)
dae0ed137b Cypress test with auth initial 2021-11-29 22:07:48 +02:00
Kalle (Sendou)
5fd79e2e96 Roster shown on manage roster page 2021-11-29 12:52:33 +02:00
Kalle (Sendou)
3cad6bdde5 Invite players page progress 2021-11-29 11:27:45 +02:00
Kalle (Sendou)
8956ffcae7 Fix hydration error in console 2021-11-28 22:24:10 +02:00
Kalle (Sendou)
1555a79bc3 Validate team name on server 2021-11-28 16:05:49 +02:00