Commit Graph

188 Commits

Author SHA1 Message Date
Kalle
cfa0d4dd0d
Build stats / popular builds (#1307)
* Add abilityPoints migration

* Initial stats

* Build stats UI

* Add TODO

* Update css file name

* Popular builds page
2023-03-11 14:05:08 +02:00
Kalle
867f8f6bbd Add .server to vod queries Closes #1286 2023-03-06 21:58:28 +02:00
Kalle
6cdbcc782b VoDs better grid layout Closes #1296 2023-03-05 20:00:45 +02:00
Kalle
30063f6075
VoDs (#1283)
* YouTube lite embed + CSS bundled import

* Migration initial

* New VoD page initial functioning

* Table changes + add TODOs

* New structure for add vod page

* WIP add new VoD backend

* Merge branch 'rewrite' of https://github.com/Sendouc/sendou.ink into vods

* Fix when leaderboard appears

* Function new vod form

* Single vod page initial

* Different YouTubeEmbed

* Scroll to top when going to timestamp

* Vod match weapon/mode icons

* Vod page user

* Add date to vod page

* Adjust migration order

* Vod page many weapons

* Add title to vod page

* New vods page cast many weapons

* Add player index to order by

* Vods new more validation

* Vod listing page initial

* Vods page with filters

* Show message if no vods

* Fix not being to unset filters

* Fix seed sometimes throwing errors

* User page VoDs

* Vods nullable weapon combobox

* Link directly to user custom url from vod page

* Make video adder admin action

* Can add video checks

* i18n

* New VoD form tests

* VoD operates filters test

* Vods behind flag

* Remove from config
2023-02-26 14:31:57 +02:00
Kalle
f0022a8c93 Add force patron feature 2023-02-18 11:03:47 +02:00
Kalle
a507ea10ee Admin page: Refresh plus tiers 2023-01-29 12:04:55 +02:00
Kalle
5115df4e2c Add customize user profile page colors e2e test 2023-01-25 18:32:52 +02:00
Kalle
d4f0849987 Patron: Customize colors of own user profile 2023-01-24 01:31:33 +02:00
Kalle
f0f6b14f58 Upgrade deps 2023-01-22 13:40:05 +02:00
Kalle
d985eadb9a Plus Server suggestions visible for everyone 2023-01-15 22:12:01 +02:00
Kalle
7fab35a461 Fix seed script 2023-01-14 14:43:14 +02:00
Kalle
84e1868aa0 Remove unused code 2023-01-14 13:08:00 +02:00
Kalle
e83943abb1 Team page: Initial tests 2023-01-12 00:57:37 +02:00
Kalle
959dccb474 Team fixes 2023-01-11 20:56:04 +02:00
Kalle
9fecc35839 Upload image page 2023-01-10 00:06:24 +02:00
Kalle
e1863b328b Team: Search page 2023-01-08 12:05:55 +02:00
Kalle
1170dc0bd0 Team: Manage roster page 2023-01-06 16:33:37 +02:00
Kalle
b922b54d5b Team: Leave feature 2023-01-06 16:33:37 +02:00
Kalle
895acabda8 Handle user not existing -> 404 2023-01-06 16:33:37 +02:00
Kalle
e05a6b9559 Use views for image and team tables 2023-01-06 16:33:37 +02:00
Kalle
77de97a406 User page: Team info 2023-01-06 16:33:37 +02:00
Kalle
257b59ce8a Team: Clean up LUTI/Team XP 2023-01-04 23:09:27 +02:00
Kalle
077e2356ae Team: Fetch from DB 2023-01-02 21:59:58 +02:00
Kalle
d51beef9d5 Team: UI initial 2022-12-27 22:01:15 +02:00
Kalle
6feb269193
Full tournament feature WIP (#1196)
* Layout initial

* Add FillRosterSection component

* Move tournaments to feature folder

* Refactor Button props

* SubmitButton

* Register action

* Identifier -> Id

* Invite link via nanoid

* Team info submit

* Enter tiebreaker map list UI

* Invite members to tournament team initial

* Show banner if joined a team not captain of

* Add back teams page

* Change team roster size color when good

* Delete tournament team member
2022-12-21 23:24:59 +02:00
Kalle
7945e1ecc7 User page: weapon pool 2022-12-13 18:51:06 +02:00
Kalle
714fa0585f BuildCard: Show Plus Status when showing user 2022-12-08 22:35:51 +02:00
Kalle
06c43e8f0a User search page
Closes #1032
2022-12-05 21:58:12 +02:00
Kalle
47899b5bf2 Calendar: Add feature to delete an event
Closes #1121
2022-11-26 18:17:57 +02:00
Kalle
29057d60db Download participants as Discord list button 2022-11-19 16:59:36 +02:00
Kalle
cc994776f4 Better ordering for TO Tools teams
Closes #1127
2022-11-16 19:30:42 +02:00
Kalle
7bce94d97e Show Plus Voting % to patrons 2022-11-15 18:04:37 +02:00
Kalle
ecd5a2a2f7
TO Tools (#1077)
* Add DB tables

* Toggle TO Tools in new calendar event page

* TO tools page initial

* Add counter pick map pool UI

* Save tie breaker map pool

* Save team name

* Layout initial

* Load users own team

* Make team name input required

* Rename team

* Divide to sections

* Submit team map pool

* New style for counter pick map pool section expand

* Fix tiebreaker map pool not saved when new event made

* Split to many forms

* According for team name

* Small UI consistency tweaks

* Add explanation to tie breaker maps

* Remove redundant prop

* Fix new calendar event todos

* Use required hidden input component in new build page

* Fix to tools page showing even when toToolsEnabled = 0

* Delete team

* Map list generation tests initial

* Add tournament map list generation tests

* First version of map list generation

* Add seeded RNG

* Rearrange files

* Generation with strats initial

* Default map pool + allow one team not to have any maps

* Implement map generation via backtracking

* Make order of stages irrelevant

* Add one more TODO

* Seed

* Fixes

* Tournament map list generator initial

* More functional maplist

* Fix any

* Persist in search params initial

* Add date to calendar seed

* Revert "Persist in search params initial"

This reverts commit f01a9e6982.

* Allow admin to start tournament

* Rate maplist instead of optimal / suboptimal

* Add fallback if map list generation errors out

* Hide TO Tools if not admin

* Submit team roster and delete members

* Teams page

* Give roster s p a c e

* Clear user combobox on sent + layout tweaks

* Gracefully handle updating after tournament has started

* Add title

* Persist map list in search params

* Add i18n
2022-11-13 14:41:13 +02:00
Remmy Cat Stock
d1b1367651
Add event search to map pool templates 2022-10-27 13:31:37 +02:00
Remmy Cat Stock
0a85ad08d2
Add recent events to map pool templates 2022-10-27 13:31:37 +02:00
Remmy Cat Stock
3b18598288
Introduce utility MapPool class 2022-10-27 13:31:36 +02:00
Remmy Cat Stock
3bc75f58d3
Add database table for user result highlights 2022-10-18 23:40:57 +02:00
Kalle
4108637a30 Save map pool in edit calendar event page 2022-10-13 19:22:23 +03:00
Kalle
bdba03a5d8 Datalist on maplist page initial 2022-10-11 20:14:32 +03:00
Kalle
6770b8e214 Map pool from server 2022-10-09 19:06:22 +03:00
Kalle
e00c7cf531 Submit map pool initial 2022-10-09 12:27:09 +03:00
Kalle
977416aca0 Fix front page results morphing
Closes #982
2022-10-06 23:12:49 +03:00
Kalle
8d278c83cf Update admin test avatar 2022-10-04 21:08:39 +03:00
Kalle
ff857f3369 Custom URL url redirects and replacements 2022-10-02 00:25:13 +03:00
Kalle
709d20bf13 Set custom url in profile edit 2022-10-01 20:38:40 +03:00
Kalle
34c1b0e71a User custom url, ign & sens initial 2022-09-29 23:26:31 +03:00
Kalle
9b28490450 Add builds peek to front page 2022-09-25 15:33:00 +03:00
Kalle
a5fad589e8 Add limit + load more logic to builds page 2022-09-25 14:55:20 +03:00
Kalle
6a63a243ba Fix build PlusTier sorting 2022-09-25 13:19:55 +03:00
Kalle
a589b6b903 Add owner to BuildCard 2022-09-25 13:11:03 +03:00