Commit Graph

711 Commits

Author SHA1 Message Date
Kalle
61ecaa252f Update react-aria-components to version 1.10.0 Closes #2345 2025-06-07 12:25:51 +03:00
Kalle
910d5f573a
Revert "Single fetch future flag (#2348)" (#2357)
This reverts commit 30376b4073.
2025-06-01 21:01:58 +03:00
Kalle
30376b4073
Single fetch future flag (#2348)
* Config

* E2E tests pass
2025-06-01 09:26:09 +03:00
Kalle
225abdad26 Remove countries-list in favor of an app constant 2025-05-31 12:32:21 +03:00
Kalle
616bcfc003
I18n jsons sync command (#2342)
* Add new command

* Run against existing

* Update docs
2025-05-31 11:32:29 +03:00
Kalle
6ba4b9d6ff
Better README & getting started (#2284)
* initial

* wip

* wip

* wip

* pr comment

* remove todo

* add a few placeholders

* todos done
2025-05-26 17:57:41 +03:00
Kalle
cb8669acc3
New calendar UI, more filters & persisted filters (#2318)
* Add types

* Delete stuff

* wip

* findAllBetweenTwoTimestamps refactor

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Fixes

* wip

* wip

* Fix InfoPopover button styling

* wip

* wip

* wip

* Merge branch 'rewrite' into new-calendar

* wip

* wip

* wip

* wip

* Rename myform -> sendouform

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* rename

* fix test
2025-05-24 17:13:30 +03:00
kytoaa
f0728d9253
Added Ical feed to calendar (#2258)
* working routing, loader function gathers all events over the next 3 weeks

* working ical file generation, needs more checks like 75 octet line limit

* line length check

* removed adding empty lines and stopped returning an ical file with no events

* fixed spelling mistake and added basic ui

* finished basic ui, added some tests and ran npm run checks

* switched to using ics library

* added error logging
2025-05-24 12:41:46 +03:00
dependabot[bot]
da3ca1328b
Bump vite (#2239)
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
Bumps  and [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite). These dependencies needed to be updated together.

Updates `vite` from 6.3.3 to 6.3.4
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite)

Updates `vite` from 5.4.18 to 6.3.4
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v6.3.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 6.3.4
  dependency-type: direct:development
- dependency-name: vite
  dependency-version: 6.3.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-01 13:35:49 +03:00
Kalle
bda32b1fb8
Homemade badges format use .json + checks (#2225)
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
* wip

* wip

* test check

* Real name

* Done

* fix

* fix json
2025-04-27 12:14:14 +03:00
Kalle
fdb71b13ce Enable React compiler 2025-04-26 21:43:43 +03:00
Kalle
55ae7371cd Upgrade deps 2025-04-26 20:56:10 +03:00
Kalle
091675aa2f Remove tsm dependency in favor of Node.js type stripping 2025-04-26 20:22:25 +03:00
Kalle
e9fe226cdf Upgrade @hookform/resolvers
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2025-04-21 10:25:08 +03:00
Kalle
7295f3b8a6 Upgrade to Vite 6 2025-04-21 09:31:50 +03:00
Kalle
42f1e394ef Upgrade deps 2025-04-21 09:15:35 +03:00
dependabot[bot]
8c0a7f09da
Bump vite from 5.4.16 to 5.4.17 (#2181)
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.16 to 5.4.17.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.17/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.17/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 5.4.17
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-09 22:45:12 +03:00
Kalle
7c470f6cc2 VITE_PROD_MODE env var for easier development against prod DB 2025-04-09 22:14:39 +03:00
Kalle
994cb97346 Take Remeda in use replacing just-utils and own utils 2025-04-09 22:14:11 +03:00
dependabot[bot]
3fc6489d8f
Bump vite from 5.4.14 to 5.4.16 (#2172)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.14 to 5.4.16.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.16/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.16/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-31 22:42:08 +03:00
Kalle
38eb0c310d Make vitest logs silent for passed test runs 2025-03-31 22:33:54 +03:00
Kalle
ded08e0565 Upgrade deps 2025-03-31 22:31:26 +03:00
Kalle
dbc85639fc Replace reconnecting-websocket with a maintained fork 2025-03-23 13:38:21 +02:00
Kalle
adad157015 just-clone -> window.structuredClone + remove other unused deps 2025-03-13 21:49:04 +02:00
Kalle
aea1e9ce35
Toasts (#2132)
* Fix unexpected server error when trying to access non-existing tournament team page

* Fix Catcher textarea usage

* Fix unexpected server error on LFG page

* Validator for duplicate tournament team name

* initial

* Fix tests

* Success toast

* Done?

* Fix leftover
2025-03-07 22:20:29 +02:00
Kalle
4ff0586ff8
Notifications (#2117)
* Initial

* Progress

* Fix

* Progress

* Notifications list page

* BADGE_MANAGER_ADDED

* Mark as seen initial

* Split tables

* Progress

* Fix styles

* Push notifs initial

* Progress

* Rename

* Routines

* Progress

* Add e2e tests

* Done?

* Try updating actions

* Consistency

* Dep fix

* A couple fixes
2025-03-01 13:59:34 +02:00
Kalle
adc59ec47f Align i18next versions 2025-02-24 21:26:47 +02:00
Kalle
6164a62b93 Upgrade deps 2025-02-23 12:13:16 +02:00
Kalle
1b73074fe6 Upgrade deps 2025-02-04 11:40:29 +02:00
Kalle
c3944070b9
Refactor popover to use React Aria components (#2069)
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
* Initial

* Progress

* Progress

* SQ work

* Migrate rest

* Clean up

* Rename style file
2025-02-02 12:03:39 +02:00
Kalle
fcafe08d89 Fix opening date picker scrolling to top
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2025-02-01 14:04:29 +02:00
Kalle
32c97a2467
Bluesky via Discord connection + upgrade remix-auth + remove Twitter references (#2058)
* Remove Twitter references

* Upgrade remix auth, bsky via Discord

* Test
2025-01-28 17:22:45 +02:00
Kalle
198010e3e7
New date picker + VoD form rework (#2055)
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
* Initial

* Progress

* Form fields fun

* Pov

* Progress

* Some errors

* Progress

* Progress

* Progress

* Progress

* Comment

* Progress

* Remove comment

* Fix editing

* Redundant check
2025-01-26 12:56:19 +02:00
dependabot[bot]
734eb46596
Bump vite from 5.4.10 to 5.4.14 (#2048)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.10 to 5.4.14.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.14/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.14/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-23 18:06:31 +02:00
Kalle
2b984f0169 Upgrade deps
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2024-12-21 10:15:29 +02:00
Kalle
70dc727951 Revert "Enable rest of the Remix future flags"
This reverts commit 98edb4896f.
2024-12-07 10:27:29 +02:00
Kalle
98edb4896f Enable rest of the Remix future flags
Some checks are pending
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
2024-12-02 23:11:33 +02:00
Kalle
b2b13e6aa7 Enable Remix v3_routeConfig future flag
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
2024-12-01 21:55:43 +02:00
Kalle
5d8f675282 Upgrade deps 2024-12-01 17:09:07 +02:00
Kalle
45ba5d3cd4 Try upgrading better-sqlite3
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
2024-11-29 17:52:41 +02:00
Kalle
1d9f515a8a Fix running scripts 2024-11-18 22:13:07 +02:00
Kalle
d28da90e86 Upgrade deps
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
2024-11-10 16:47:06 +02:00
Kalle
5f691c98e3 Fix unit tests when in env USE_TEST_SEASONS=true
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
2024-10-27 09:19:14 +02:00
Kalle
8ffb6a5485 Upgrade deps
Some checks failed
Tests and checks on push / run-checks-and-tests (push) Has been cancelled
Updates translation progress / update-translation-progress-issue (push) Has been cancelled
2024-10-16 07:38:10 +03:00
Kalle
c41ab3b50d Try fixing unit tests in GA 2024-10-12 16:26:46 +03:00
Kalle
fcd5d88093 Remove bun specific package.json section 2024-09-28 12:22:01 +03:00
Kalle
e80af883cb Upgrade tldraw to latest 2024-09-22 16:32:56 +03:00
Kalle
0e04d91236 Upgrade deps 2024-09-22 16:18:49 +03:00
dependabot[bot]
6be7f77456
Bump vite from 5.4.5 to 5.4.6 (#1889)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.5 to 5.4.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-22 13:54:16 +03:00
Kalle
647d6432cc Add missing dependency 2024-09-22 13:15:50 +03:00
Kalle
0d2a341156 Demote better-sqlite3 again 2024-09-14 18:24:25 +03:00
Kalle
687b7f5126 Upgrade deps 2024-09-14 15:01:09 +03:00
Kalle
920355bca4 Remove Bun 2024-09-14 14:42:31 +03:00
Kalle
8405be6f26 Migrate to vitest, unskip suites Closes #1846 2024-09-14 14:34:41 +03:00
Kalle
86f6f41610 Upgrade better-sqlite3 Closes #1875 2024-09-14 12:32:48 +03:00
Kalle
1c9dcacbf2
Join many teams & front page changelog (#1880)
* Initial

* Progress

* Changelog initial

* Progress

* E2E test
2024-09-14 12:31:05 +03:00
Kalle
e08f56c93b Upgrade deps 2024-09-08 11:36:37 +03:00
Kalle
4b768c4a05 Remove Prettier Closes #1773 2024-09-08 11:29:06 +03:00
Kalle
a5fca90044 Wrap preparing maps in an error boundary 2024-09-07 08:52:54 +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
45a6adf540 Revert better-sqlite3 2024-08-27 21:59:37 +03:00
Kalle
e0b1105476 Upgrade deps 2024-08-25 09:44:10 +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
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
0fc5bee589 Add better-sqlite3 dep back for ley migrations 2024-08-12 21:31:06 +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
9312fad90f
Tournament organization page (#1811)
* Initial

* Calendar initial

* Extract EventCalendar

* Events list initial

* Winners

* SQL fixes

* List events by series

* Leaderboards

* Series leaderboard

* Own entry peek

* Edit page skeleton

* RHF initial test

* RHF stuff

* Form etc. progress

* Fix tournament series description

* Fix tabs layout

* Fix socials insert

* Check for not removing admin

* Adding series

* TODOs

* Allow updating org with no series

* FormFieldset

* Allow series without events

* TextAreaFormfield accepting array syntax

* Input form array field

* ToggleFormField

* SelectFormField

* UserSearchFormField

* Fetch badgeOptions

* Badge editing

* Progress

* Use native preventScrollReset

* Rename func

* Fix sticky scroll

* Fix translation

* i18n errors

* handle,meta in edit

* Add ref to user search

* TODOs

* Done
2024-07-25 23:06:29 +03:00
Kalle
00dc2c88ae Upgrade deps 2024-07-06 13:40:16 +03:00
Kalle
9ef1de32e2 Remove @swc dependency 2024-06-29 10:23:04 +03:00
Kalle
915a199b0a Upgrade deps 2024-06-29 10:18:43 +03:00
Kalle
b11923ea0b Upgrade deps 2024-06-27 12:31:37 +03:00
Kalle
fd48bced91
Migrate Prettier/Eslint/Stylelint setup to Biome (#1772)
* Initial

* CSS lint

* Test CI

* Add 1v1, 2v2, and 3v3 Tags (#1771)

* Initial

* CSS lint

* Test CI

* Rename step

---------

Co-authored-by: xi <104683822+ximk@users.noreply.github.com>
2024-06-24 13:07:17 +03:00
Kalle
47018e2a22 Upgrade deps (TS 5.5) 2024-06-21 10:29:10 +03:00
kytoaa
fe75d356ce
Update TLdraw to 2.2.0 (#1762)
* all api changes fixed (i think), bugs and styling to fix though

* languages work again

* deleting icons on background change + fixed style panel thing

* all features should be working and updated

* ran prettier on Planner.tsx

* fixed backgrounds not being deleted + undoing works now after changing background

* ran prettier

* removed an outdated comment
2024-06-21 09:44:19 +03:00
Kalle
b71ca48bc1 Upgrade deps 2024-06-16 12:44:13 +03:00
Kalle
2b53c348e6 Switch to own invariant that logs errors in prod 2024-06-02 14:34:01 +03:00
Kalle
8933fca588 Upgrade deps 2024-06-02 14:14:43 +03:00
Kalle
22af483c88 Accessing SQLite3 commands to package.json 2024-05-18 10:22:40 +03:00
Kalle
b6e83671b7 Upgrade deps 2024-04-28 10:59:09 +03:00
Kalle
63f8c25eb6 Upgrade deps 2024-04-07 10:03:23 +03:00
Kalle
3fab2bc5ed Remove unneeded package 2024-04-06 00:38:23 +03:00
Kalle
bd3559740a Upgrade deps 2024-04-05 17:49:28 +03:00
Kalle
5b66148857 Upgrade deps 2024-03-31 10:55:51 +03:00
Kalle
5ae3d9fa77 Try NR ESM 2024-03-24 14:38:05 +02:00
Kalle
100fa15803 Upgrade deps 2024-03-21 22:37:31 +02:00
Kalle
3710822850 Upgrade deps 2024-03-16 10:44:02 +02:00
Kalle
d6889890a6 Some Tournament tests inc. failing about repeat matches 2024-03-07 23:34:59 +02:00
Kalle
23ac86d89e Upgade deps 2024-03-02 10:00:36 +02:00
Kalle
c327273b32 Use tsx for scripts 2024-02-27 23:00:00 +02:00
Kalle
bc99395843 Fix check-translation-jsons:no-write 2024-02-25 12:02:28 +02:00
Kalle
efb44745df Add CDN to user submitted images Closes #1222 2024-02-25 10:39:54 +02:00
Kalle
93ebb6e369 Migrate to Vite 2024-02-24 21:12:54 +02:00
Kalle
b35a64c1f8 Upgrade deps 2024-02-24 12:18:14 +02:00
Kalle
72fa1f68c8
Season 3 SendouQ changes (#1674)
* Mode Map Pool picker component initial

* Component in settings

* Lottery initial

* Fix tests

* useTrusters as perf optimization

* unionAll -> union

* Fancy picker for tournaments

* Map pools memento

* FC's initial

* Friend code when registering for tournament

* FC in flows

* SHow FC in places

* Add catch in case

* Fix disabling

* Show ELO changed

* Wiggle MapPool button if already selected

* CSS vars typing

* Rechallenging

* Team (all) leaderboard

* Preview groups

* Fix chat width changing

* Solid reported weapons

* Clearer cancel requested header

* Dynamic revalidates

* spDiff from memento

* (Partly) Revert "Remove screen banning"

This reverts commit 076cabfbfa.

* Screen indicators in looking view

* FC i18n

* noscreen = 0

* E2E test

* E2E 2
2024-02-24 12:07:17 +02:00
Kalle
2b197e9f5e Upgrade deps 2024-02-11 11:03:04 +02:00
Kalle
eae3d529e2
Bracket component rewrite (#1653)
* Remove old code

* Add prefetching

* Elim bracket initial

* Hide rounds with only byes

* Round hiding logic

* Align stuff

* Add TODO

* Adjustments

* Deadline

* Compactify button

* Simulations

* Round robin bracket initial

* eventId -> tournamentId

* seedByTeamId removed

* Couple more TODOs

* RR placements table

* Locking matches

* Extract TournamentStream component

* Bracket streams

* Remove extras for tournament-manager, misc

* Fix E2E tests

* Fix SKALOP_SYSTEM_MESSAGE_URL in env.example

* TODOs

* TODO moved to GitHub

* Handle team changing in match cache invalidation

* Fix streamer seeing undo last score button

* Show "Sub" badge on team roster page

* Show who didn't play yet on match teams preview

* Ranked/unranked badge

* Bracket hover show roster

* Add lock/unlock match test

* Fix score reporting
2024-02-11 10:49:12 +02:00
Kalle
a1dba004ad NR 2024-02-10 12:53:56 +02:00
Kalle
c43d48f930 Upgrade deps 2024-02-03 10:20:21 +02:00