Commit Graph

4853 Commits

Author SHA1 Message Date
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
William Lam
a35d99fa84
Updated README.md for instructions to run locally (#1859)
* Add trustedDependencies

* Updated the "Running locally" section of README.md with the correct bin usage (bun)
- Added installation step for the tsx bin & updated the installation doc URL (previous URL does not work anymore)

* Fixed indentation in package.json again

* Proper library name

* Removed tsx install step in README

* Re-ran bun install to update bun.lockb

* Matched package.json to rewrite branch & re-ran bun install to update lock file

---------

Co-authored-by: Kalle <38327916+Sendouc@users.noreply.github.com>
2024-08-30 00:26:04 +03:00
Cameron Jarvis
fb7b87ddca
Completed Latin-American Spanish Translation (#1863)
* Improved Latin-American Spanish, and Fixed a Typo in English

* Continued Improvement to Latin-American Spanish, as well as some consistency and fixes for Spain Spanish.

* Fixes for Missing Spain Spanish
2024-08-30 00:25:39 +03:00
Frederik
fe8dca698f
Added more danish translations (#1864)
* Update vods.json

Added More danis translations and fixed some typos

* Update tournament.json

fixed translation error where is was written that "both maps was picked" instead of "both teams picked the map"

* Update user.json

Added Danish Translations

* Update analyzer.json

Added more Danish translations

* Update contributions.json

Added translation for the "sound effect contribution)

* Update badges.json

Added Danish translation for Badges

* Update contributions.json

Added missing comma in line 10

* Update lfg.json

Added Danish translations for LGF

* Update game-misc.json

Added missing localisation for Lemuria Hub

* Update game-misc.json

* Changed whitespace to tabs

Changed wihtespace to taps

* Removed double space

Removed double space and used tab instead

* Changed whitespace to tabs contributions.json

* changed whitespace to tabs in analyzer.json

* changed double space to tab in user.json

* changed whitespace to tabs vods.json

* Update team.json

Added translation for the role Sub

* Update faq.json

Added translation for new questions

* Update tournament.json

Added translations for the tournament
2024-08-30 00:25:02 +03:00
Kalle
2cee6a96ca Fix a couple crashes with prepared maps feature Closes #1862 2024-08-30 00:24:20 +03:00
Kalle
45a6adf540 Revert better-sqlite3 2024-08-27 21:59:37 +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
Kalle
e0b1105476 Upgrade deps 2024-08-25 09:44:10 +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
Frederik
7d5c2ec61f
Updated Danish Translations (#1841)
* Update vods.json

Added More danis translations and fixed some typos

* Update tournament.json

fixed translation error where is was written that "both maps was picked" instead of "both teams picked the map"

* Update user.json

Added Danish Translations

* Update analyzer.json

Added more Danish translations

* Update contributions.json

Added translation for the "sound effect contribution)

* Update badges.json

Added Danish translation for Badges

* Update contributions.json

Added missing comma in line 10

* Update lfg.json

Added Danish translations for LGF

* Update game-misc.json

Added missing localisation for Lemuria Hub

* Update game-misc.json

* Changed whitespace to tabs

Changed wihtespace to taps

* Removed double space

Removed double space and used tab instead

* Changed whitespace to tabs contributions.json

* changed whitespace to tabs in analyzer.json

* changed double space to tab in user.json

* changed whitespace to tabs vods.json
2024-08-23 21:48:15 +03:00
Gell
08f4c8ba38
Added Chinese Translation (#1840)
* Update vods.json

* Update faq.json

* Update faq.json

* Update badges.json

* Update analyzer.json

* Update vods.json

* Update builds.json

* Update tournament.json

* Update org.json

* Update common.json

* Update user.json

* Update tournament.json

* Update lfg.json

* Update common.json

* Update common.json

* Update builds.json

* Update tournament.json

* Update faq.json

* Update analyzer.json

* Update user.json

* Update vods.json

* Update common.json

* Update q.json

* Update common.json

* Update common.json

* Update q.json
2024-08-23 21:47:59 +03:00
xi
734cfb622a
Remove outdated script example (#1835) 2024-08-13 17:48:13 +03:00
Kalle
37753ac6c3 Fix 404 on non Plus Server members 2024-08-13 08:56:57 +03:00
Kalle
9d25bf4c94 Migrate in start cmd again after all? 2024-08-13 08:22:35 +03:00
Kalle
f2ca615220 Adjust start command 2024-08-13 08:10:24 +03:00
Kalle
5ad69f941f New public API endpoints Closes #1821 Closes #1822 2024-08-12 21:31:42 +03:00
Kalle
0fc5bee589 Add better-sqlite3 dep back for ley migrations 2024-08-12 21:31:06 +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
d0832d12f0 Bunified translation-progress.yml 2024-08-11 16:13:24 +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
Kalle
14b383739a Add badges 2024-08-04 16:24:20 +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
Kalle
278fb34f25 Update badge 2024-07-28 10:20:58 +03:00
Kalle
f7bff61329 Add Battlefy user input left add-on Closes #1812 2024-07-28 10:04:40 +03:00