Commit Graph

2331 Commits

Author SHA1 Message Date
Kalle
2294acfdac Make tournament result match squares links 2024-09-09 17:10:51 +03:00
Kalle
75fea79738 Map Planner outlined weapon icons 2024-09-09 08:34:19 +03:00
Kalle
4b768c4a05 Remove Prettier Closes #1773 2024-09-08 11:29:06 +03:00
Kalle
d4d6002344
New results tab for tournaments (#1876)
* Initial

* Try npm in deploy script

* Progress

* Progress

* Progress

* Add missing index

* Title to user results page

* Hide SPR before tournament over

* Results page and redirect

* SPR info

* Row bg colors

* Laoyut shift fix

* Hide Swiss start round button if bracket is in preview

* Fix e2e test

* Not needed

* one more revert
2024-09-08 11:25:10 +03:00
Kalle
0f912023d2 Adjust info texts about badges 2024-09-07 09:27:29 +03:00
Kalle
c57118d65d Add contributors 2024-09-07 09:11:48 +03:00
Kalle
2c3cc95e9c Allow editing tournament team names while tournament is in progress 2024-09-07 09:06:40 +03:00
Kalle
68eb59811c Before active rosters are selected just hide the winner selecting radio 2024-09-07 09:00:01 +03:00
Kalle
a5fca90044 Wrap preparing maps in an error boundary 2024-09-07 08:52:54 +03:00
Kalle
206646b68a Fix crash on prepared maps trim 2024-09-07 08:52:10 +03:00
Kalle
708c266de4 Tournament SSE tweaks 2024-09-02 17:07:18 +03:00
Kalle
751862e6e1 Fix weapon-params.ts for Patch 9.0 2024-09-02 08:13:47 +03:00
Kalle
c3adcdedfc S5 2024-09-01 17:40:44 +03:00
Kalle
d857657943 Patch 9.0 params Closes #1866 2024-09-01 17:36:54 +03:00
Kalle
20a0615900 Add "listen only" vc option for tournament subs 2024-09-01 13:31:40 +03:00
William Lam
89293c6d8d
Upgraded @tldraw to latest version (2.4.5) (#1860)
* Add trustedDependencies

* Upgraded @tldraw to latest version (2.4.5)
- One of the fixes made the `fileSize` field optional in `TLImageAsset` & by extension, it also means the value of that field has to be non-zero. I simply removed the field & it fixed the bug encountered in the issue link
- Issue Link: https://github.com/Sendouc/sendou.ink/issues/1853

* Updated trustedDependencies to match rewrite branch & rebuilt bun lock file

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2024-09-01 11:27:10 +03:00
Kalle
8bbc5510a0 Consistent player on IGN on match page Closes #1869 2024-09-01 11:20:54 +03:00
Kalle
31709077e5 Fix swiss bracket prepared maps crash Closes #1870 2024-09-01 11:08:43 +03:00
Kalle
f171b1b2fc Fix art tab not showing up Closes #1868 2024-08-31 10:21:09 +03:00
Kalle
7b80725117 Introduce unJsonify to builds Closes #1867 2024-08-31 10:10:43 +03:00
William Lam
bb7f9bcb59
Replaced "process.env.BASE_URL" with ""import.meta.env.VITE_SITE_DOMAIN" (#1858)
* Add trustedDependencies

* Replaced "process.env.BASE_URL" with ""import.meta.env.VITE_SITE_DOMAIN"
- Issue Link: https://github.com/Sendouc/sendou.ink/issues/1850

* biome linting fixes

* Matched trustedDependencies to rewrite branch & rebuilt bun lock file

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2024-08-30 00:26:59 +03:00
Kalle
2cee6a96ca Fix a couple crashes with prepared maps feature Closes #1862 2024-08-30 00:24:20 +03:00
Kalle
ba12a61ba9 Add TO permissions via UI 2024-08-25 11:29:35 +03:00
Kalle
d753365d5d Allow up to 6 swiss groups 2024-08-25 10:32:34 +03:00
Kalle
ec2ad2033e Add best of 1 as an option to tournaments 2024-08-25 10:19:06 +03:00
Kalle
9a82c5b782 Fix organization badge selector duplicates Closes #1842 2024-08-25 09:56:18 +03:00
William Lam
f26e040238
Enable Biome rule "noSvgWithoutTitle" (#1849)
* Turn off noSvgWithoutTitle rule & see how many errors pop up in linting

* Commit with .tsx files containing <svg /> elements now have <title /> tags in them (with English localization)

* Fixed tabbing in some files
2024-08-25 09:10:09 +03:00
xi
97b0f65105
Add sub role to team page (#1847) 2024-08-24 22:35:41 +03:00
xi
1217e7ce92
Add Triple Splashdown fist as receiver to object dmg calc (#1826)
* Add Triple Splashdown fist as receiver to object dmg calc

Closes #1656

* Appease formatter

* Appease formatter (again)

* Appease formatter

* Add dmg multiplier for OS

* Update calculator-constants.ts to generate object-dmg.json correctly

* Fix formatting (hopefully)

* Update objectHitPoints.ts

* Fix TSD image not loading correctly
2024-08-24 22:35:26 +03:00
Kalle
56b245d586 Back to Node.js from Bun (for runtime) 2024-08-24 12:46:21 +03:00
Kalle
19435dd75f
Prepare maps for brackets ahead of time (#1845)
* Prepared maps works for RR

* Refactor generateMatchesData

* Refactor rounds

* Initial prepare for SE/DE

* Share maps between brackets

* Todos

* resetPreparedMaps

* Bias SZ & reset prepared maps

* Trimming initial + tests initial

* Elimination trimming basic case

* Include group id

* Implemented all tests

* TODOs

* Better prepared maps submitted UX

* Small CSS tweaks

* Done

* Remove TODO
2024-08-24 12:10:36 +03:00
Phil-hacker
fcfc6cf7d1
Split ink vac sucking radius into min and max (#1839)
* split ink vac stats into two

* add missing translations for analyzer:stat.special.radiusRangeMin and analyzer:stat.special.radiusRangeMin

* add pt-BR translation

* added roundToNDecimalPlaces to min and max radius values
2024-08-24 08:20:24 +03:00
Kalle
37753ac6c3 Fix 404 on non Plus Server members 2024-08-13 08:56:57 +03:00
Kalle
5ad69f941f New public API endpoints Closes #1821 Closes #1822 2024-08-12 21:31:42 +03:00
Kalle
dd90078fe4 Allow org admin to edit tournaments held by the org Closes #1816 2024-08-12 21:30:53 +03:00
Kalle
e72d6e2de0 Fix org events list pagination Closes #1815 2024-08-12 17:25:55 +03:00
Kalle
2312a24449 Fix timezone bug with event calendar day resolution Closes #1817 2024-08-12 17:25:01 +03:00
Kalle
098ff1749a Allow mods to migrate users Closes #1825 2024-08-12 17:14:39 +03:00
Kalle
95e9d518e5 Remove mention to DM Sendou about changing FC Closes #1823 2024-08-11 16:12:25 +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
440e9baab3 Const update 2024-08-08 22:25:10 +03:00
Kalle
43f3b93d7d Update friend code admin action 2024-08-05 23:45:19 +03:00
Kalle
f6da215c4a Improve functionalities when next season not in the system yet (prevent crashes etc.) 2024-08-04 17:19:37 +03:00
David Rackerby
b08031d6e0
Add an option to sort by public or private builds on a user's own builds page (#1814)
* Revise weapon pool sorting:  alternate kits compare equal

* Fix linting errors

* Added public/private build sorting option to user builds page
2024-08-04 11:25:21 +03:00
Kalle
bc223e2247 Fix tournament sub form crash 2024-08-04 11:18:09 +03:00
Kalle
719809875f Increase org members length limit 2024-07-29 23:37:09 +03:00
Kalle
423cd86d78 Fix org calendar every page starting Monday 2024-07-28 20:26:33 +03:00
Kalle
413d1394a2 Only show this months events in the listing too 2024-07-28 17:39:11 +03:00
Kalle
19354597c6 Fix tournament admin adding teams resulting in wrong captain 2024-07-28 17:25:59 +03:00
David Rackerby
7f69533c79
Revise weapon pool sorting: alternate kits compare equal (#1807)
* Revise weapon pool sorting:  alternate kits compare equal

* Fix linting errors
2024-07-28 10:34:14 +03:00