Commit Graph
126 Commits
Author SHA1 Message Date
beerpsi 25ba3dad99 Add inGameID matching support for maimai DX and support nullable inGameIDs in general (#1114)
* warn about null/missing inGameIDs

* add support for inGameID matching in maimai DX

* add indexes for maimai classic charts

* fix variable ordering

less diff

* Make custom tests work so we can avoid some footguns

* linting

* add inGameID to maimai DX test data

* eslint why u no work

* more readable tests

* clean up scripts

* [maimaidx] Splice 1

* Rising in the Sun SPH's levelNum should be 8
2024-07-04 21:56:16 +01:00
Albert Shinandzkldi a09291265c feat: add myt chunithm support (#1082)
* feat: add myt chunithm support

* fix: check linting when merging

* fix: run linter

* fix: my ide is very broken and likes to delete code at random

* fix: linting isn't being called correctly *anywhere*...

* fix: eslint ignore .d.ts

* fix: lint common

* fix: well whatever i guess literally nothing ever fucking works in js tools

---------

Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
2024-05-17 21:43:29 +01:00
Albert Shinandzkldi 970f7caa9e feat: add myt ongeki support (#1076)
* feat: add myt ongeki support

* fix: import myt score

* style: undo misc. prettier changes

* fix: nit on logging

* fix: use song-chart desync as the term here

and severe as loglevel

---------

Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
2024-05-15 15:09:57 +01:00
nairobi 188457257d chore,fix: upgrade ongeki seeds (#1070)
* chore,fix: upgrade ongeki seeds

The dataset is up to date up until March 27th, 2024.
A single chart is missing:
https://wikiwiki.jp/gameongeki/怒槌~光吉猛修一部謎~

Added maxPlatScore and inGameID.
Added alt (romaji) song titles.
Removed the wikiwiki scraper because it's no longer relevant.
Restored the score column that relied on maxPlatScore.
Fixed the client crashing when you click Lamps Only in a geki session.
Removed Act 2.

* fix: missing fields in the test chart

* chore: get rid of isUnranked

* fix: clarify the track ID range
2024-05-13 15:33:32 +01:00
zkldi 5128581016 feat: get rid of isHot and isLatest in code (#1066)
* feat: get rid of isHot and isLatest in code

* feat: remove hot/latest from seeds

* feat: migrate away from them too

* fix: 21

* fix: again

* fix: again

* fix: again
2024-05-10 12:52:59 +01:00
Christopher Cooperandzkldi c64623cf59 implement WACCA import from MYT (#1039)
* add inGameID to WACCA charts

* add WACCA import support from MYT

* add client support for api/myt-wacca

* add bot support for api/myt-wacca

* remove artistJP and titleJP from songs-wacca

Turns out these aren't actually in the game data or anything, and we won't be
able to get their values for omni songs or future songs added in plus.

* add some missing omni WACCA songs

* add test

* fix tabs in test.conf.json5

* revamp grpc call handling a bit and add more error handling

* feat: drag the protofiles in rather than alter build

---------

Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
2024-05-08 20:31:15 +01:00
nairobiandzkldi 4a80b1f516 feat: Ongeki support (#1013)
* feat: initial ongeki support

* feat: initial ongeki seeds

* chore: link to a basic score exporter

* fix: unhardcode the colSpan of score dropdowns

Fixes ongeki and doesn't break chunithm

* fix: make bellCount optional to match judgements and damage

* docs: add a page for Ongeki

* feat: ongeki seeder

* feat: implement isHot

Also restore Arcaea to test.conf.json5 (it was a mistake)

* fix: add isHot to the seeder

* fix: proper handling of re:masters

Also change non-full-bell from an empty string to "NONE", for clarity

* docs: document the re:master fix

* feat: update rg-stats to 0.5.5

enables ongeki calcs

* chore: lockfile

* fix: get rid of scales as they're unused

* fix: update name->NAME

* minrelevantvalue should be one of the values?

* fix: add property that must be there?

* fix: jesus christ the tests are loud

* better docs on mrv

* fix: remove platdelta, make platscore optional

* fix: grade B tests oh my god

* fix: rating check

* fix: pb merge check

* fix: pb merge check #2

* fix: use nowrap in all lamp cells

* fix: tidy up platcell

* fix: all of these MUST be part of scoreID

* fix: remove unused code

* feat: remove note counts & isHot

* chore: bump rg-stats

---------

Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
2024-05-08 18:00:46 +01:00
beerpsi e549eb6d27 fix test data for Arcaea (inGameID -> inGameStrID) (#961) 2023-10-11 23:26:30 +01:00
Lumineandbeerpiss b51be4eb27 feat: arcaea support (#951)
Co-authored-by: beerpiss <lacvtg.a1.2023@gmail.com>
2023-10-11 10:47:47 +01:00
14f8f79a15 feat: maimai support (#925)
Co-authored-by: Olivia Simmons <38598881+justOkapi@users.noreply.github.com>
Co-authored-by: tachi-seeds <107944937+tachi-seeds@users.noreply.github.com>
Co-authored-by: beerpiss <lacvtg.a1.2023@gmail.com>
2023-08-03 19:33:23 +01:00
Meta-linkandzkldi 892526599c Adding support for jubeat music bar (+ seeds) (#881)
Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
2023-03-23 19:59:21 +00:00
Lumine 027c7a3aa4 feat: update mmdx to festival (#877) 2023-03-07 23:48:15 +00:00
zkldi 64d83c2e9f feat: full impl tests and migration 2023-01-19 16:39:52 +00:00
zkldi 5cbb2d5f8a checkpoint: insanity ascends (35)
127 errors to go
2023-01-19 16:39:42 +00:00
zkldi 91904ac17b checkpoint: 32 2023-01-19 16:39:40 +00:00
zkldi 67c5b16976 checkpoint: 27 2023-01-19 16:39:39 +00:00
zkldi a046fceb4c checkpoint: 16 2023-01-19 16:39:31 +00:00
zkldi f4db781f9d checkpoint: 15 2023-01-19 16:39:31 +00:00
zkldi 8db7bc3391 checkpoint: 13 2023-01-19 16:39:30 +00:00
Christopher Cooper f5cc831ef2 add converter tests 2022-12-27 09:21:25 +09:00
Christopher Cooper c4f3a128dc add support for WaccaMyPageScraper CSV import 2022-12-27 09:20:19 +09:00
zkldi bd48e3eb0d feat: completely tear out arc support 2022-12-22 11:51:59 +00:00
zkldi 968da7f658 fix: make tests pass 2022-12-20 11:58:32 +00:00
zkldi 1b900af54e feat: add quests page and make tests work 2022-11-26 16:40:39 +00:00
zkldi 8a0309693f test: fix tests and tear out unused endpoints 2022-11-25 23:49:33 +00:00
zkldi a6d89f748e feat: bunch of new stuff + proper dependency handling 2022-11-25 03:46:11 +00:00
zkldi c6112e765c fix: make sure banning users works properly 2022-11-23 00:12:07 +00:00
zkldi 98f561f8ae feat: pretty functional quest editor UI 2022-11-22 03:45:40 +00:00
zkldi 0db471d5f3 refactor: rename PublicUserDocument to UserDocument 2022-11-10 00:36:39 +00:00
zkldi 583c9a8826 fix: prevent jubility from not sometimes
this fix ensures that scores are only fetched *from* jubeat, because why
would they ever need to be fetched from anywhere else (lol)

well, we were potentially fetching scores from other games by fetching
songIDs without discriminating on game first. This manifested in
accidentally letting `undefined` seep into our reducers, resulting in
NaN - which of course, in JSON, is `null`.
2022-11-08 01:25:38 +00:00
zkldi 19e158333f feat: allow certain classes to be downgraded
Things like class colours, volforce classes, etc. should
be able to be downgraded if they fall below their requisites.
2022-11-04 14:40:56 +00:00
zkldi 2bb54cdaaa fix(lr2hook): handle early exiting *properly* 2022-10-30 15:47:29 +00:00
zkldi deb2329993 feat: sv6c static importing 2022-10-22 19:27:49 +01:00
zkldi 839fac7bbc refactor!: rename milestones to quests and milestone-sets to questlines 2022-10-18 19:04:29 +01:00
zkldi 0985ca4f8c Merge pull request #715 from TNG-dev/zkldi/rivals 2022-10-16 19:27:00 +01:00
zkldi 1be6acb326 fix: make server tests compile and work 2022-10-16 19:19:58 +01:00
zkldi 2c3af78b7c feat: rival ranking on server 2022-10-14 23:53:35 +01:00
zkldi 28116909a1 feat: support sdvxInGameID as a matchType
this allows ANY_INF to be passed as a difficulty, which is convenient
for scripts that import from services that consider all of INF/GRV/HVN...
to be equivalent
2022-10-14 00:04:34 +01:00
zkldi bf5828c5f2 feat: barbatos sdvx6 support 2022-08-25 23:39:17 +01:00
zkldi f9f8560923 fix(server): accidentally broken bms test data 2022-07-20 21:36:36 +01:00
zkldi 87b8d331e1 test: fix noncompiling tests 2022-06-29 23:43:29 +01:00
zkldi 2c8b0870fb experimental: massive hollis changes 2022-05-20 00:24:09 +01:00
zkldi 0adc39b5cb experimental: initial autofix blast 2022-05-06 03:39:03 +01:00
zkldi 0b84416c29 test: add tests for userID/Notifications 2022-04-24 23:09:24 +01:00
zkldi a5e2ede4be test: add regression tests for scores/all 2022-04-23 17:59:58 +01:00
zkldi 679a769fc0 refactor: add mkFakeImport util function 2022-04-23 00:40:17 +01:00
zkldi fd3d77c4ad style: remove unused import 2022-04-22 23:18:23 +01:00
zkldi 77f3ba76a4 fix: Move FAKE_MIGRATION out of test-data
Attempting to depend on anything inside test-utils at runtime is a
footgun, and may result in the server not booting.

This patch stops the server from depending on something that might not
exist at runtime, such as test-utils/test-data trying to get the buffer
of the eamusement csv and failing catastrophically.
2022-04-22 23:13:18 +01:00
zkldi 715906eefb test: add tests for migrations 2022-04-22 02:12:32 +01:00
zkldi 3205a82a05 refactor(test-utils): add cleaner convenient test utils 2022-04-21 06:01:34 +01:00