Commit Graph

592 Commits

Author SHA1 Message Date
Kalle
c129658ad7 Switch from ts-node to swc 2023-12-02 12:18:09 +02:00
Kalle
7dec8c572e
SendouQ Season 2 changes (#1542)
* Initial

* Saves preferences

* Include TW

* mapModePreferencesToModeList

* mapPoolFromPreferences initial

* Preference to map pool

* Adjust seed

* q.looking tests

* adds about created map preferences to memento in the correct spot (two preferrers)

* Failing test about modes

* Mode preferences to memento

* Remove old Plus Voting code

* Fix seeding

* find match by id via kysely

* View map memento

* Fix up map list generation logic

* Mode memento info

* Future match modes

* Add TODO

* Migration number

* Migrate test DB

* Remove old map pool code

* createGroupFromPrevious new

* Settings styling

* VC to settings

* Weapon pool

* Add TODOs

* Progress

* Adjust mode exclusion policy

* Progress

* Progress

* Progress

* Notes in progress

* Note feedback after submit

* Textarea styling

* Unskip tests

* Note sorting failing test

* Private note in Q

* Ownerpicksmaps later

* New bottom section

* Mobile layout initial

* Add basic match meta

* Tabs initial

* Sticky tab

* Unseen messages in match page

* Front page i18n

* Settings i18n

* Looking 18n

* Chat i18n

* Progress

* Tranfer weapon pools script

* Sticky on match page

* Match page translations

* i18n - tiers page

* Preparing page i18n

* Icon

* Show add note right after report
2023-11-30 20:57:06 +02:00
Kalle
9a126f543d
Plus Voting to 60% criteria + leaderboard access (#1537)
* Update PlusVotingResult

* Logic

* Replace plus tiers

* Testing initial

* Test progress

* Working one test

* Tests

* Schema different file

* Dynamic test

* Fix test util
2023-11-11 12:19:57 +02:00
Kalle
c8ea75ebb6
SQL solution migration to Kysely + getting rid of routes folder (#1530)
* Kysely initial

* Badges initial

* Badge routes migrated

* Badges migrated

* Calendar work

* Fix one type problem

* Calendar work

* findResultsByUserId work

* Calendar reworking finished

* PlusSuggestions work

* Migrated suggestions

* Builds progress

* Migrated builds

* Admin migrated

* Migrate articles

* User search

* Faster getUser

* Selectable/insertable as global

* Refresh prod db script + patronTier index

* identifierToUserId

* updateProfile

* findByIdentifier

* More indexes

* User upsert

* upsertLite

* findAllPlusMembers

* updateResultHighlights

* updateMany

* User finished migration

* Fix types

* Fix PlusVotingResult typing

* PlusVotingRepository WIP

* Migrated resultsByMonthYear

* Migrated plusVotes (done with db. related migrations)

* Plus code to features folder

* Fix TODOs

* Export

* Fix range

* Migrate some user pages

* Move rest user routes

* Move /play

* Map list generator

* Front page

* Move map list generation logic

* Move plus voting logic

* Info

* API

* Adjust TODOs

* theme

* Auth

* Remove TODO
2023-11-04 13:15:36 +02:00
dependabot[bot]
580274ad11
Bump @babel/traverse from 7.22.4 to 7.23.2 (#1526)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.4 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 17:44:51 +03:00
Kalle
0156c298cd Update playwright 2023-10-15 14:08:36 +03:00
dependabot[bot]
234324e0a6
Bump zod from 3.22.2 to 3.22.3 (#1522)
Bumps [zod](https://github.com/colinhacks/zod) from 3.22.2 to 3.22.3.
- [Release notes](https://github.com/colinhacks/zod/releases)
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md)
- [Commits](https://github.com/colinhacks/zod/compare/v3.22.2...v3.22.3)

---
updated-dependencies:
- dependency-name: zod
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-15 12:48:24 +03:00
dependabot[bot]
5159dee543
Bump postcss from 8.4.28 to 8.4.31 (#1520)
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.28 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.28...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-15 12:47:35 +03:00
Kalle
b2cf401b10 Update to the new AWS API 2023-10-14 10:28:02 +03:00
Kalle
0371bfcd12
SendouQ chat (#1508)
* Chat initial component

* Connect to websocket

* Chat render actual messages

* Chat keep scrolled to bottom

* Pending messages

* Pass rooms as arg

* Chat with tabs

* Message max length

* Looking tabs initial

* Fixes

* Chat on looking page w/ unread messages count

* Add reconnecting websocket

* Patron custom color

* Change ChatMessage data model

* Fix mobile layout

* Add clean up to useEffect

* Chat codes

* FF + clear messages on group morph

* Hide messages when user leaves etc.

* Fix match page layout when chat missing

* New tabs

* Tabs for mobile

* Add TODOs

* Switch to own group tab when roster changes

* Chat styling

* Redesign group cards

* Bring back manager buttons

* Remove flipped

* Remove unused code

* Align better

* Link to user profile

* Better room pass + highlighted

* Fix view when group expired

* Fix MemberAdder (missing input + overflow)

* Chat stay connected in looking

* Remove filters for now

* Fix chat number align

* Fix chat unseen messages

* Hide chat when alone

* Remove rest todos
2023-09-24 12:48:37 +03:00
Kalle
191de711c0 Upgrade deps 2023-08-26 23:22:51 +03:00
Kalle
dab6b00c2d Update Prettier 2023-08-26 22:38:11 +03:00
Kalle
e7bbb565be
SendouQ (#1455)
* Tables

* Clocks

* Maplist preference selector

* Fix SSR

* Nav icon

* RankedOrScrim

* Map pool

* Create group

* Redirect logic

* Persist map pool

* Advance from preparing page

* Rename query

* Fix merge

* Fix migration order

* Seed groups

* Find looking groups SQL

* Renders something

* More UI work

* Back to 30min

* Likes/dislikes

* Always return own group

* Fix like order

* 3 tc/rm/cb -> 2

* Show only 3 weapons

* Pass group size

* Handle both liked and liked by same group

* Fix SQL

* Group preference frontend work

* Morphing

* Styling

* Don't show group controls if not manager

* Give/remove manager

* Leave group

* Leave with confirm

* Delete likes when morphing groups

* Clocks consistency

* Remove bad invariant

* Persist settings to local storage

* Fix initial value flashing

* Fix never resolving loading indicator

* REFRESH_GROUP

* Flip animations

* Tweaks

* Auto refresh logic

* Groups of 4 seed

* Reduce throwing

* Load full groups initial

* Create match

* Match UI initial

* Score reporter initial

* Push footer down on match page

* Score reporter knows when set ended

* Score reporting untested

* Show score after report

* Align better

* Look again with same group functionality

* More migrations

* Team on match page

* Show confirmer before reporting score

* Report weapons

* Report weapos again by admin + skill changing

* Handle no tiebreaker given to MapPool

* Remove unranked

* Remove support for "team id skill"

* no-wrap -> nowrap

* Preparing page work

* Use common GroupCard component

* Add some metas

* MemberAdder in looking page

* Fix GroupCard actions

* Fix SZ only map list including other modes

* Add season info

* Prompt login

* Joining team

* Manage group on preparing page

* Manage group on preparing page

* Seed past matches

* Add to seed

* No map list preference when full group + fix expiry

* Fix skill matchesCount calculation

* Tiers initial work

* Some progress on tiers

* Tiering logic

* MMR in group cards

* Name to challenge

* Team MMR

* Big team rank icons

* Adjust todos

* Match score report with confirm

* Allow regular members to report score

* Handle reporting weapons edge cases

* Add tier images

* Improve GroupCard spacing

* Refactor looking page

* Looking mobile UI

* Calculate skill only for current season

* Divide groups visually when reporting weapons

* Fix match page weapons sorting

* Add cache to user skills+tier calculation

* Admin report match score

* Initial leaderboard

* Cached leaderboard

* Weapon category lb's

* Populate SkillTeamUser in SendouQ

* Team leaderboard filtered down

* Add TODOs

* Seasons initlal

* Season weapons initial

* Weapons stylized

* Show rest weapons as +

* Hide peak if same as current

* Load matches SQL initial

* Season matches UI initial

* Take user id in account

* Add weapons

* Paginated matches

* Fix pages count logic

* Scroll top on data change

* Day headers for matches

* Link from user page to user seasons page

* Summarize maps + ui initial

* Map stats

* Player info tabs

* MMR chart

* Chart adjustments

* Handle basing team MMR on player MMR

* Set initial MMR

* Add info about discord to match page

* Season support to tournaments

* Get tournament skills as well for the graph

* WIP

* New team rating logic + misc other

* tiered -> tiered.server

* Update season starting time

* TODOs

* Add rules page

* Hide elements correctly when off-season

* Fix crash when only one player with skill

* How-to video

* Fix StartRank showing when not logged in

* Make user leaderboard the default

* Make Skill season non-nullable

* Add suggested pass to match

* Add rule

* identifierToUserIds helper

* Fix tiers not showing
2023-08-12 22:42:54 +03:00
dependabot[bot]
09a72f40fa
Bump word-wrap from 1.2.3 to 1.2.4 (#1426)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 19:44:18 +03:00
dependabot[bot]
c174f0856e
Bump semver from 6.3.0 to 6.3.1 (#1421)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-18 00:54:41 +03:00
dependabot[bot]
9eee07da77
Bump stylelint from 15.9.0 to 15.10.1 (#1408)
Bumps [stylelint](https://github.com/stylelint/stylelint) from 15.9.0 to 15.10.1.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/15.9.0...15.10.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-09 11:48:37 +03:00
Kalle
35168111a6
Art (#1412)
* Add to nav

* Allow nav items on front page to take full width

* Initial+

* Fix vods page title

* Add page title

* Common art type

* ArtGrid to a different component

* User arts page initial

* Add art tab to user page

* Preview initial

* Fix art counting

* Fix link and onclick overlapping

* Link to user art page to arts they made

* Artist role initial

* Show description

* Make toggle in art page saved in search params

* Add white-space pre-wrap to plus comments

Not sure why it was removed in the first place?

* Commission open / text and edit those

* Add simple pagination

* New art link display logic

* New art initial

* Upload art

* Hide art from side nav too

* Show banner when waiting for approval

* Edit art

* Fix art sub nav link not showing active

* Relocate unvalidated art text

* Delete art

* Extract ImagePreview component

* Eliminate some layout shift

* BigImageDialog extract component + prevent layout shift

* i18n

* Fix unused var

* Fix tests
2023-07-09 11:48:28 +03:00
Kalle
b4323e104e Upgrade deps 2023-07-01 00:12:29 +03:00
Kalle
35424514d6
Finalize tournament + leaderboards initial (#1404)
* Set up tables

* Initial

* Frontend for finalize tournament

* Enter summaries to DB

* Handle changes on tournament page after tournament is finalized

* Fix streams tab text not centered

* Add translations

* Results on user page

* Highlight logic for tournament results

* Leaderboard page initial

* Team leaderboard

* CSS tweaks

* Add unit tests

* Add some i18n

* Add leaderboards page meta

* Support tournaments of size 2

* Add E2E test

* Add missing group by
2023-06-29 00:21:33 +03:00
Kalle
cc4c9d71e2 Upgrade deps 2023-06-17 10:57:04 +03:00
dependabot[bot]
6fadf298bf
Bump vite from 4.2.1 to 4.3.9 (#1385)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.2.1 to 4.3.9.
- [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/v4.3.9/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 18:46:52 +03:00
Kalle
ad1b1fdf84 Upgrade deps 2023-06-04 12:53:30 +03:00
Kalle
f42556e12b Update lock 2023-05-20 12:05:50 +03:00
Kalle
0e28189336 Take ownership of brackets-model 2023-05-20 12:04:58 +03:00
Kalle
94574c2458 Add progress indicator 2023-05-16 22:04:47 +03:00
Kalle
ef78d3a2c2
Tournament full (#1373)
* Got something going

* Style overwrites

* width != height

* More playing with lines

* Migrations

* Start bracket initial

* Unhardcode stage generation params

* Link to match page

* Matches page initial

* Support directly adding seed to map list generator

* Add docs

* Maps in matches page

* Add invariant about tie breaker map pool

* Fix PICNIC lacking tie breaker maps

* Only link in bracket when tournament has started

* Styled tournament roster inputs

* Prefer IGN in tournament match page

* ModeProgressIndicator

* Some conditional rendering

* Match action initial + better error display

* Persist bestOf in DB

* Resolve best of ahead of time

* Move brackets-manager to core

* Score reporting works

* Clear winner on score report

* ModeProgressIndicator: highlight winners

* Fix inconsistent input

* Better text when submitting match

* mapCountPlayedInSetWithCertainty that works

* UNDO_REPORT_SCORE implemented

* Permission check when starting tournament

* Remove IGN from upsert

* View match results page

* Source in DB

* Match page waiting for teams

* Move tournament bracket to feature folder

* REOPEN_MATCH initial

* Handle proper resetting of match

* Inline bracket-manager

* Syncify

* Transactions

* Handle match is locked gracefully

* Match page auto refresh

* Fix match refresh called "globally"

* Bracket autoupdate

* Move fillWithNullTillPowerOfTwo to utils with testing

* Fix map lists not visible after tournament started

* Optimize match events

* Show UI while in progress to members

* Fix start tournament alert not being responsive

* Teams can check in

* Fix map list 400

* xxx -> TODO

* Seeds page

* Remove map icons for team page

* Don't display link to seeds after tournament has started

* Admin actions initial

* Change captain admin action

* Make all hooks ts

* Admin actions functioning

* Fix validate error not displaying in CatchBoundary

* Adjust validate args order

* Remove admin loader

* Make delete team button menancing

* Only include checked in teams to bracket

* Optimize to.id route loads

* Working show map list generator toggle

* Update full tournaments flow

* Make full tournaments work with many start times

* Handle undefined in crud

* Dynamic stage banner

* Handle default strat if map list generation fails

* Fix crash on brackets if less than 2 teams

* Add commented out test for reference

* Add TODO

* Add players from team during register

* TrustRelationship

* Prefers not to host feature

* Last before merge

* Rename some vars

* More renames
2023-05-15 22:37:43 +03:00
dependabot[bot]
0be02f761b
Bump vm2 from 3.9.16 to 3.9.17 (#1350)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.16 to 3.9.17.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.16...3.9.17)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-21 17:48:27 +03:00
dependabot[bot]
46a5e40ec7
Bump xml2js and aws-sdk (#1334)
Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) to 0.5.0 and updates ancestor dependency [aws-sdk](https://github.com/aws/aws-sdk-js). These dependencies need to be updated together.


Updates `xml2js` from 0.4.19 to 0.5.0
- [Release notes](https://github.com/Leonidas-from-XIV/node-xml2js/releases)
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/compare/0.4.19...0.5.0)

Updates `aws-sdk` from 2.1353.0 to 2.1354.0
- [Release notes](https://github.com/aws/aws-sdk-js/releases)
- [Changelog](https://github.com/aws/aws-sdk-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-js/compare/v2.1353.0...v2.1354.0)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
- dependency-name: aws-sdk
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-15 12:06:56 +03:00
dependabot[bot]
36fa158a92
Bump vm2 from 3.9.15 to 3.9.16 (#1338)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.15 to 3.9.16.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.15...3.9.16)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-15 12:06:25 +03:00
Kalle
1061a3901d Upgrade Headless UI + combobox UI improvements 2023-04-11 00:26:00 +03:00
Kalle
b4f4b34de3 Upgrade deps 2023-04-10 13:41:57 +03:00
dependabot[bot]
f25b512725
Bump vm2 from 3.9.11 to 3.9.15 (#1327)
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.11 to 3.9.15.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.11...3.9.15)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 11:48:40 +03:00
Kalle
6a585cff5a Add caching to popular builds and buil stats Closes #1308 2023-03-12 14:17:43 +02:00
Kalle
f8f4f3665f Upgrade deps 2023-03-12 14:16:11 +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
5b9a0ec5f2 Upgrade deps 2023-02-15 00:22:31 +02:00
dependabot[bot]
0168d6278f
Bump http-cache-semantics from 4.1.0 to 4.1.1 (#1210)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-05 14:46:32 +02:00
Kalle
318f7a5043 Ugprade Remix deps 2023-01-22 14:32:18 +02:00
Kalle
f0f6b14f58 Upgrade deps 2023-01-22 13:40:05 +02:00
Kalle
8ba5c715fe Remove Fathom 2023-01-20 21:59:08 +02:00
Kalle
9fecc35839 Upload image page 2023-01-10 00:06:24 +02:00
dependabot[bot]
97bf942a8f
Bump json5 from 1.0.1 to 1.0.2 (#1205)
Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 11:23:47 +02:00
Kalle
2538801333 Upgrade deps 2022-12-28 23:34:31 +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
3fdfdff429 Use Fathom 2022-12-12 20:51:18 +02:00
Kalle
c3963223b6
Add initial Playwright tests (#1191) 2022-12-11 17:18:33 +02:00
Kalle
ae47ba9990 Upgrade deps 2022-12-07 19:42:17 +02:00
dependabot[bot]
3070bac7f4
Bump decode-uri-component from 0.2.0 to 0.2.2 (#1175)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-04 23:50:03 +02:00
Kalle
2fc3136a35 Upgrade deps 2022-11-24 00:50:07 +02:00
Kalle
a0414ee98a Upgrade to Node 18
Closes #1106
2022-11-24 00:14:56 +02:00
Kalle
78d55fc896 Switch to renderToPipeableStream API
Closes #1152

Did something weird to remove errors on /plans
2022-11-23 21:33:46 +02:00
Kalle
6061c9672a Fix nanoid warning by replacing it with own function
Closes #1160
2022-11-23 21:15:42 +02:00
Kalle
aea7406586
Map Planner (#1145)
* Initial

* Add images

* Tweaks

* Proper sized bg image and weapons

* Stage bg picker

* Outlined weapon images for planner

* First version

* Lint

* Add alt and title to weapon
2022-11-23 17:38:38 +02:00
dependabot[bot]
2590d81b7a
Bump loader-utils from 2.0.3 to 2.0.4 (#1132)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.3 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.3...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-19 16:13:25 +02:00
dependabot[bot]
25afb0a2a3
Bump loader-utils from 2.0.2 to 2.0.3 (#1113)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.3/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.3)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 22:04:16 +02:00
Kalle
c1d113905c Upgrade deps 2022-10-30 02:19:21 +03:00
Kalle
e97fcd4e99 Remove Cypress tests
Planned to be replaced with Playwright maybe?
Just removing in the meanwhile so they don't confuse people.
Or that people won't accidentally develop new.
2022-10-30 02:15:15 +03:00
Kalle
518b778052 Add check that translation-progress.md is updates 2022-10-29 11:33:29 +03:00
Kalle
7f9bc0b5bc Revert "Upgrade i18next major"
This reverts commit 68cdbde595.
2022-10-19 23:18:34 +03:00
Kalle
68cdbde595 Upgrade i18next major 2022-10-19 23:17:36 +03:00
Kalle
6a9efbdd17 Upgrade deps 2022-10-19 23:14:35 +03:00
Kalle
31d233025a Copy to clipboard button 2022-10-13 22:26:28 +03:00
Kalle
b1042f8e37 Generates map lists 2022-10-09 00:58:19 +03:00
Kalle
24330b72ed Working links on build index page 2022-09-25 11:05:51 +03:00
Kalle
8358688c71 Bump Remix back up to 1.7.1 2022-09-21 18:25:00 +03:00
Kalle
1af1decdbc Try downgrading Remix 2022-09-21 18:14:15 +03:00
Kalle
f1a000190a Upgrade package-lock.json 2022-09-21 17:59:41 +03:00
Kalle
565e23578f Upgrade deps 2022-09-21 17:42:20 +03:00
Kalle
e48465b66a Upgrade deps 2022-09-14 14:06:46 +03:00
Kalle
395be2f95f Upgrade deps 2022-09-04 18:57:56 +03:00
Kalle
4b74e40faa Upgrade deps 2022-08-24 21:57:11 +03:00
Kalle
009c2a3e24 Article feature initial 2022-08-20 16:15:03 +03:00
Kalle
7aaa0faf52 Upgrade sendou.ink deps 2022-08-13 20:41:45 +03:00
Kalle
53fa0147c7 Get users to combobox via useSWR 2022-08-07 12:07:32 +03:00
Kalle
bf1aa8ce16 Upgrade sendou.ink deps 2022-07-30 22:18:51 +03:00
Kalle
abc30fd12b Calendar events from DB initial 2022-07-22 23:20:39 +03:00
Kalle
b5580c347f Calendar navigation with data from loader 2022-07-21 20:57:01 +03:00
Kalle
ca076349b3 Upgrade sendou.ink deps 2022-07-19 23:26:54 +03:00
Kalle
814148e51f Upgrade sendou.ink deps 2022-07-17 14:08:55 +03:00
Kalle
640eba9cea i18n support 2022-07-16 14:56:20 +03:00
Kalle
e406f12a31 Upgrade deps 2022-07-15 15:57:34 +03:00
Kalle
333c30a25c Patrons with node cron 2022-07-13 00:11:09 +03:00
Kalle
deaab3d7ed Upgrade sendou.ink deps 2022-07-09 15:16:45 +03:00
Kalle
b2e6db5a49 Upgrade sendou.ink deps 2022-07-08 11:03:37 +03:00
Kalle
55e559c348 Fix E2E tests + bug if you do rly bad in voting 2022-07-06 10:21:41 +03:00
Kalle
7410c7ecb7 Upgrade deps 2022-07-06 09:40:30 +03:00
dependabot[bot]
b545d5b929
Bump got from 11.8.3 to 11.8.5 (#823)
Bumps [got](https://github.com/sindresorhus/got) from 11.8.3 to 11.8.5.
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](https://github.com/sindresorhus/got/compare/v11.8.3...v11.8.5)

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-04 14:15:01 +03:00
Kalle
8d519d6b32 Remove unused dep from sendou ink 2022-07-03 12:17:27 +03:00
Kalle
8261c18ba6 Upgrade sendou.ink deps 2022-07-02 14:50:44 +03:00
Kalle
3e6b5e6f9b Cypress 10 with fixed tests 2022-06-22 23:03:32 +03:00
Kalle
cf1a96d6ee Upgrade deps 2022-06-22 22:02:12 +03:00
Kalle
bd037aab6c Upgrade deps 2022-06-18 01:21:02 +03:00
Kalle
07cc6699f2 Relative time voting timing info 2022-06-11 21:53:34 +03:00
Kalle
79278c4cbc Add usersForVoting backend logic 2022-06-11 18:28:12 +03:00
Kalle
244dcd5456 Upgrade deps 2022-06-10 01:04:23 +03:00
Kalle
45e04636a3 Set DB path from env var 2022-06-07 01:23:33 +03:00
Kalle
43099449ab Migrations via ley 2022-06-07 00:51:39 +03:00
Kalle
217cb09ee2 Move faker to real dependency 2022-06-04 13:11:06 +03:00
Kalle
9bc252b950 Add Combobox 2022-05-31 22:31:29 +03:00
Kalle
3d4f9af928 Delete comment test 2022-05-29 11:04:27 +03:00
Kalle
c706338e1b Upgrade to React 18 2022-05-26 11:53:06 +03:00
Kalle
f18ec8b15c Upgrade deps 2022-05-26 11:41:09 +03:00
Kalle
e850230c0c PlusSuggestions seed 2022-05-22 11:53:09 +03:00
Kalle
4b71413f7c Add lastCompletedVoting function 2022-05-22 00:06:44 +03:00
Kalle
7d73a0478c Cypress with user page test 2022-05-17 19:50:05 +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
270e00fbe1 Upgrade deps 2022-04-15 18:22:36 +03:00
Kalle
e2dda84d83 Introduce eslint-plugin-react-hooks 2022-03-30 19:58:08 +03:00
Kalle
f96410a25a Upgrade deps (React 18) 2022-03-30 00:06:57 +03:00
Kalle
76e17ce83c Add Redis for leaderboards 2022-03-27 12:01:02 +03:00
Kalle
13e00c0d4c Replace TS with Openskill 2022-03-25 18:57:19 +02:00
Kalle
f26383fe49 Upgrade deps 2022-03-25 00:55:02 +02:00
Kalle
d85855a65d Upgrade deps (TS, Remix...) 2022-03-25 00:53:04 +02:00
Kalle
1063968908 Update Prettier 2022-03-25 00:48:59 +02:00
Kalle
f536918d09 Chat SSE -> socket.io 2022-03-25 00:42:29 +02:00
Kalle
43d0e8fb78 Detailed matches 2022-03-16 17:13:57 +02:00
Kalle
675cda7e24 Move npm-run-all to devDeps 2022-03-06 15:46:21 +02:00
Kalle
1d7f736dee Can edit weapons in SendouQ settings 2022-03-06 13:38:55 +02:00
Kalle
e16024a284 Popover component 2022-03-05 12:29:08 +02:00
Kalle
83e00256f2 Upgrade deps 2022-03-05 10:12:15 +02:00
Kalle
849a0ff071 Upgade Prisma 2022-03-02 20:56:53 +02:00
Kalle
4b9128ab7b Upgrade deps 2022-03-02 20:54:05 +02:00
Kalle
84c5972736 Upgrade deps 2022-03-02 17:28:42 +02:00
Kalle
f0b61a47ee Add eslint plugin:react 2022-02-27 11:18:16 +02:00
Kalle
0253a3765d Upgrade deps (linters) 2022-02-25 17:40:24 +02:00
Kalle
135ce0d4d1 Switch to cookie session Closes #737 2022-02-20 15:51:45 +02:00
Kalle
49d7d13038 npm run dev works 2022-02-20 14:29:47 +02:00
Kalle
55d4ace226 Upgrade deps 2022-02-17 09:56:52 +02:00
Kalle
663f7198f0 Upgrade deps 2022-02-13 10:14:50 +02:00
Kalle
9ec54b9440 Upgrade deps 2022-02-10 17:34:34 +02:00
Kalle
67bf94343f Upgrade deps 2022-02-08 22:45:03 +02:00
Kalle
6686edfe6f Upgrade deps 2022-02-06 17:26:20 +02:00
Kalle
3579b8676f Show team MMR's in looking 2022-02-03 09:35:38 +02:00
Kalle
5c0df05c53 Upgrade deps 2022-02-02 09:30:12 +02:00
Kalle
8e3a96d0c1
Play page initial (#700) 2022-01-27 00:03:03 +02:00
Kalle (Sendou)
72234ddaa7 Upgrade stylelint 2022-01-24 08:50:30 +02:00
Kalle (Sendou)
0034d01868 Upgrade deps 2022-01-22 16:47:09 +02:00
Kalle (Sendou)
c30fb46f83 Upgrade deps 2022-01-14 23:29:14 +02:00
Kalle (Sendou)
11d440e1ea Update deps 2022-01-14 08:54:05 +02:00
Kalle (Sendou)
403b61486f Fix lint 2022-01-11 23:14:19 +02:00
Kalle (Sendou)
58a0356615 Upgrade deps 2022-01-06 17:31:09 +02:00
Kalle (Sendou)
cd5d212ec4 Add ESLint 2022-01-05 21:00:03 +02:00
Kalle (Sendou)
90586f01f8 classnames -> clsx 2022-01-04 19:31:32 +02:00
Kalle (Sendou)
e7eafad962 Rid of Tailwind 2021-12-31 17:48:20 +02:00
Kalle (Sendou)
d77fa8a8a3 Add Tailwind 2021-12-29 08:46:40 +02:00
Kalle (Sendou)
72a82e7c12 Seeding v=match initial 2021-12-28 08:40:05 +02:00
Kalle (Sendou)
0fb591eeec Upgrade deps 2021-12-26 10:42:40 +02:00
Kalle (Sendou)
7af58ca5bb Fix Cypress tests for real 2021-12-25 23:26:52 +02:00
Kalle (Sendou)
d0b9708510 Create tournaments rounds seems to work edition 2021-12-22 19:54:13 +02:00
Kalle (Sendou)
8adf0b9f15 Upgrade deps 2021-12-22 09:44:56 +02:00
Kalle (Sendou)
31b0b34c80 ID's via uuid package 2021-12-21 09:14:19 +02:00
Kalle (Sendou)
f89552951f Upgrade deps 2021-12-18 09:01:09 +02:00
Kalle (Sendou)
d050d7a5c6 Upgrade deps 2021-12-17 09:21:17 +02:00
Kalle (Sendou)
30d82e92d3 Map list generating algorithm modes 2021-12-16 09:00:10 +02:00
Kalle (Sendou)
9addeb0e26 More realistic maplist seeding script 2021-12-15 08:32:44 +02:00
Kalle (Sendou)
069e88b5dd Upgrade deps 2021-12-11 11:36:08 +02:00
Kalle (Sendou)
bb9149755a Set up unit testing lib 2021-12-09 10:11:15 +02:00
Kalle (Sendou)
e888fef7c6 Sortable list UI 2021-12-09 09:07:03 +02:00
Kalle (Sendou)
291da9e7bc Update deps 2021-12-06 02:02:43 +02:00
Kalle (Sendou)
687da723fd Update tests 2021-12-04 15:22:33 +02:00
Kalle (Sendou)
30459016c0 Add Prettier 2021-12-02 20:56:38 +02:00
Kalle (Sendou)
da954fb532 Upgrade deps 2021-12-02 20:51:14 +02:00
Kalle (Sendou)
163d72d2e4 Update seed not to use faker 2021-11-30 23:00:33 +02:00
Kalle (Sendou)
dae0ed137b Cypress test with auth initial 2021-11-29 22:07:48 +02:00
Kalle (Sendou)
4dbc56e98c Port auth 2021-11-27 16:08:32 +02:00
Kalle (Sendou)
3007c6aa38 TypeScript server 2021-11-27 15:06:19 +02:00
Kalle (Sendou)
7fbcdd196c Tweaks 2021-11-27 03:32:02 +02:00
Kalle (Sendou)
a14f14815d Upgrade deps 2021-11-27 02:58:42 +02:00
Kalle (Sendou)
813374ca45 Add register button 2021-11-27 02:51:02 +02:00
Kalle (Sendou)
7463c2a02c Upgrade deps 2021-11-26 00:13:24 +02:00
Kalle (Sendou)
3cb407a4a8 Add data fetching for tournament page 2021-11-26 00:12:13 +02:00
Kalle (Sendou)
19ac935036 Port Layout to Remix 2021-11-24 22:47:02 +02:00
Kalle (Sendou)
4b17732f0f Remix starter 2021-11-23 18:54:52 +02:00
Kalle (Sendou)
44b4ce5bb1 Move stuff to old folder 2021-11-23 18:24:02 +02:00
Kalle (Sendou)
334e3b3840 Setup Cypress 2021-11-22 18:07:11 +02:00
Kalle (Sendou)
ef9ed60a75 Add superjson 2021-11-21 14:19:26 +02:00
Kalle (Sendou)
7eacbc9dcb Upgrade deps 2021-11-21 13:28:14 +02:00
Kalle (Sendou)
d011a4408d Add Stylelint 2021-11-21 13:18:32 +02:00
Kalle (Sendou)
1d5ce2d7d3 Upgrade deps 2021-11-17 11:45:01 +02:00
Kalle (Sendou)
4a3cb7815f Add auth 2021-11-17 01:06:50 +02:00
Kalle (Sendou)
a654ab2b0c Can log in 2021-11-16 12:19:10 +02:00
Kalle (Sendou)
9394ffee5d Add Teams Tab 2021-11-15 21:30:37 +02:00
Kalle (Sendou)
a8a255fba6 Tournament data from tRPC 2021-11-14 13:32:40 +02:00
Kalle (Sendou)
ca16aa5d07 Fetch data from server to route 2021-11-14 01:46:15 +02:00
Kalle (Sendou)
88b690b6ad Switch to Solid.js 2021-11-13 23:29:31 +02:00
Kalle (Sendou)
bc1742b123 Add Prettier 2021-10-31 13:23:45 +02:00
Kalle (Sendou)
5a68158ad0 Use shared packages for storing constants 2021-10-31 10:40:24 +02:00
Kalle (Sendou)
568380cc73 Remove packages folder 2021-10-25 16:45:29 +03:00
Kalle (Sendou)
90408ca7f9 Share types between backend and frontend 2021-10-25 16:16:20 +03:00
Kalle (Sendou)
86e55f229b Add logging in 2021-10-24 15:32:30 +03:00
Kalle (Sendou)
94a0897833 Server initial 2021-10-23 16:28:07 +03:00
Kalle (Sendou)
e123544358 Clean slate 2021-10-23 16:06:15 +03:00
Kalle
732366d5c1
CSS modules initial (#669)
* More global css

* Migrate 404.tsx

* Header.tsx partial

* links.tsx

* 500.tsx

* AbilityIcon.tsx

* BuildStats.tsx progress

* about.tsx

* admin.tsx

* Adjust button border

* Stylelint
2021-09-27 21:15:42 +03:00
Kalle (Sendou)
b59ba4908e Upgrade swr to 1.0.1 2021-09-19 10:59:53 +03:00
dependabot[bot]
4c54b12273
Bump next from 11.1.0 to 11.1.2 (#645)
Bumps [next](https://github.com/vercel/next.js) from 11.1.0 to 11.1.2.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v11.1.0...v11.1.2)

---
updated-dependencies:
- dependency-name: next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-18 18:07:10 +03:00
Kalle (Sendou)
7b67a96b30 Closes #625 2021-09-18 18:05:33 +03:00
Kalle (Sendou)
05550927df Upgrade deps 2021-08-25 21:10:29 +03:00
Kalle (Sendou)
2584213b3d TS check for unused vars 2021-08-06 17:39:04 +03:00
Kalle (Sendou)
5e8dc532f2 Revert "Upgrade deps"
This reverts commit 9bee5726f4.
2021-07-13 22:05:01 +03:00