Commit Graph
3028 Commits
Author SHA1 Message Date
beerpsi 65ec251d73 fix(server): search improvements (#1322)
* fix(server): search improvements, maybe

* fix(tests): remove results that were considered good

they were not actually very great i think
2025-07-14 14:21:45 +01:00
nairobiandzk 0a0fc57134 feat: O.N.G.E.K.I. Re:Fresh rating algorithm (#1263)
* feat: Re:Fresh support, rebased for the 6th time

* fix: migration

* fix: seeds

* fix: add tests and make them work

* fix: misc corrections

* rebased

* chore: bump rg-stats

* maybe a better migration

* attempt manual lint

* fix: star formatters

* fix: re-add name overrides

* rename them again, more consistently

* revert rbreak

* finish renaming

* i may be stupid

* refresh insights

* insight fixes

* fix: re-add platinum graphs

* delete score._id

* fix: server test

* fix: tiebreaks

* fix: what

* fix: don't kill p-score if migration is reapplied

I wonder why this could be needed

* fix: maybe notify about any errors

* docs: redefine starRating

* docs: typo

* fix(client): shrink graphs when necessary

* fix(client): use compact starfield in the insight

* feat(client): separate column for hits

* fix(client): add vertical-align

* fix: validate p-score properly

* fix: recolor AB+ to blue, actually

* fix(client): insight readability improvements

* feat(client): nicer insight lamps

* feat(client): OngekiScoreRatingCell

* fix(client): use OngekiScoreRatingCell in insight

---------

Co-authored-by: zk <ktchidev@gmail.com>
2025-07-06 19:24:30 +01:00
zkandzkldi e445beea7e fix: broken batch manual classhandler logic (#1314)
Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
2025-07-06 13:04:33 +01:00
zkldi 05b8620c29 Reapply "SDVX: add MAXXIVE CLEAR lamp (#1288)
This reverts commit 2005c42481.
2025-07-06 11:26:38 +01:00
zkldi 2005c42481 Revert "SDVX: add MAXXIVE CLEAR lamp (#1288)
migration fucked

This reverts commit b3485ee2c7.
2025-06-28 20:16:27 +01:00
b3485ee2c7 SDVX: add MAXXIVE CLEAR lamp (#1288)
* sdvx: add ac MAXXIVE CLEAR lamp

* seperate USC lamps from SDVX for tests

* Add maxxive in converter for api-cg/sdvx

* feat: add migration

* fix: pre-empt service support

* lint(fix)

* fix: my typescript tooling stopped working

* fix: test

---------

Co-authored-by: blobdash <fruityenloops@gmail.com>
Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
2025-06-28 20:12:51 +01:00
dependabot[bot]andzk f3a6e84680 build(deps): bump multer from 1.4.5-lts.1 to 2.0.1 in /server (#1300)
* build(deps): bump multer from 1.4.5-lts.1 to 2.0.1 in /server

Bumps [multer](https://github.com/expressjs/multer) from 1.4.5-lts.1 to 2.0.1.
- [Release notes](https://github.com/expressjs/multer/releases)
- [Changelog](https://github.com/expressjs/multer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/expressjs/multer/compare/v1.4.5-lts.1...v2.0.1)

---
updated-dependencies:
- dependency-name: multer
  dependency-version: 2.0.1
  dependency-type: direct:production
...

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

* fix pnpm lockfile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: zk <zkldi.dev@gmail.com>
2025-06-05 13:21:40 +01:00
zkldi 14d9f0da38 chore: bump rg-stats 2025-05-18 10:47:37 +00:00
Christopher Cooper 7f49e2781f [myt/wacca] remove version compat code (#1292) 2025-05-08 10:04:12 +01:00
zkldi 6329889548 (when you find yourself in a hole; keep digging) 2025-05-04 22:03:20 +01:00
beerpsi 300a1e7e6e [chunithm] split lamp into combo lamp and clear lamp (#1269)
* [chunithm] split lamp into combo lamp and clear lamp

* ignore nonsense lint

* fix myt converter tests

* fix chunitachi batch manual

* mfw edited wrong file

* fix(migration): only migrate lamp-related showcases

* remove chart lamp showcases

* remove unused imports

* fix: limit re-pb to chunithm scores, migrate chart lamp showcases to comboLamp

* fix migration of comboLamp progress

* fix: updateMany with multi: true

* fix: when updating references, ensure only known IDs are in

* fix(client): make red stand out more

* fix(client): lamp sorting

* feat(server): validate clear and combo lamps based on judgements

* fix(server): validate combo lamps based on score boundary

* fix: reword validation errors to stay consistent

* fix: correct explanation

* fix: how was I this stupid?

* fix: update blacklisted scores too

* fix: bulk write all the updates

* fix: bulkWrite harder

* fix: i probably need sleep

* all of game-settings to bulkWrite

* fix folder lamp goal nonsense

* maybe fix colors

* fix: name PB merges

* chore: properly test PB merge

* mfw reversed

* fix(SessionRaiseBreakdown): lamp name

* rename to noteLamp

* why is eslint even complaining here?

* rename the enums

* fix tests

* tweak colors of lamps
2025-05-04 19:49:22 +01:00
nairobi 1148a5fdff feat(client): chunithm graphs, song durations (#1284)
* feat: chunithm score graph

* feat: add life

* feat: add song duration data for all songs

* fix: make chunithm graphs non-nullable

* fix: test data

* fix: potrząsanie kanalizacją

* fix: misleading old function name

* fix: make duration optional for chunithm

* fix: add the missing duration
2025-04-29 20:33:49 +01:00
nairobi bae16fbdc2 fix: tiebreak ongeki scores based on p-score (#1282)
* fix: tiebreak ongeki scores based on p-score

* fix: add another test
2025-04-24 08:31:41 +01:00
Christopher Cooper 454dabd79e support new WaccaVersion enum in MYT proto (#1281) 2025-04-24 08:31:09 +01:00
Daniel THIRION 0b7de99583 fix(api-cg/jb): use clearFlag bitfield to generate Lamp (#1276) 2025-04-18 23:04:28 +01:00
beerpsi 4c49bffcc4 [maimai DX] Update to PRiSM Final (#1270)
* [maimai DX] PRiSM final

* add Supersonic Generation

This is a PRiSM PLUS song in Japanese region, but a PRiSM song in International.
As a way to compromise, the display version is PRiSM PLUS, but it also shows up in
the PRiSM folder. This should be removed when PRiSM PLUS hits Tachi for real.

* add PRiSM Omnimix

* disable BUDDiES PLUS tables

* add PRiSM Omnimix to versions in config

* pick correct default table

* fix test data

* fix mock db
2025-04-08 09:28:11 +01:00
Damien Tina SandDaniel THIRION 6bae29cd91 fix(import-cg): fix music rate being rounded (#1272)
Signed-off-by: Tina <me@tina.moe>
Co-authored-by: Daniel THIRION <daniel.thirion@st.com>
2025-04-07 20:28:42 +01:00
Damien Tina S 7d2f6776dc Fix NAG/GAN jb import using DEV url (#1271)
Fix a bug introduced in https://github.com/zkrising/Tachi/commit/c254b69d40ff3828e938e7fb3038d5058a00c45d where importing from GAN or NAG would use DEV url instead
2025-04-07 13:19:26 +01:00
Daniel THIRION c254b69d40 feat: cg import for jubeat (#1261)
* feat(score-import): Initial support for jubeat imports from CG

* feat(client): enable jubeat imports from cg through dashboard

* feat(api-cg/jb): further implementation of jubeat import from cg

* feat(api-cg/jb): create test

* fix(api-cg/jb): test on testingdb only has one chart

* refactor(api-cg/jb): cleanup converter

* fix(api-cg/jb): fix test mkOutput usage

* fix(api-cg/jb): validation of the int to enum conversion from cg

* feat(client): frontent jubeat import routes for cg

* feat(bot): add jubeat cg import command
2025-04-03 16:24:15 +01:00
nairobi 12b0a34f53 seeds: Ongeki Act.3 final (#1260)
* seeds: ongeki bright memory act.3 final

* seeds: add remas flags

* seeds: add search terms

* seeds: add most chart views

* seeds: add remaining chart views

* seeds: prepend 'ongeki' to display versions

* fix(ongeki): enumize genres and versions

* fix: test data
2025-03-28 13:03:04 +00:00
beerpsi e07de56800 chore(deps): update rg-stats to 0.5.10 (#1256) 2025-03-20 01:44:14 +00:00
zkldi dba6b7b5c1 fix: dokądże panie? 2025-03-18 20:01:56 +00:00
zkldi f75c85fd52 fix: vendor fzf 2025-03-18 18:42:39 +00:00
beerpsi 32c5be30bf [chunithm] Update to CHUNITHM VERSE (#1252)
* [chunithm] Update to CHUNITHM VERSE

* fix: change naiveRating to 50 songs

* fix: unfuck duplicate charts caused by later options modifying earlier options

* feat: new rating classes for verse

* fix(bot): chunithm min scores is 50

* add charts to VERSE Omnimix

* add search aliases for new songs

* disable verse intl for now
2025-03-17 18:29:49 +00:00
blobdash 2467455b14 [wacca] Seeds update for PLUS, dan fixes (#1240)
* 25-01-2025 song update seeds

* Properly handle PLUS dan by version data

* Rerates
2025-02-15 14:25:59 +00:00
nairobi 890ac00330 fix: floating-point profile rating calculation (#1227)
* fix: floating-point profile rating calculation

* fix: add chunithm and make the test clearer

* fix: add rating formatters

The implicit formatter is FloorToNDP(). Ugh.
2025-02-05 09:15:06 +00:00
zkldi 90af7d0491 fix: always sort invites by TOU 2025-01-23 19:45:55 +00:00
GRIM657 de3fcd05e0 feat: support iidx 31-2dxtra (#1233)
* fix: missing inGameIDs on omnimix songs WaterCube and concon

* fix: add-2dxtra: make sure only old 2dxtra charts get deprimaried

* feat: support iidx 31-2dxtra

* fix: add some missing altTitles for iidx32 eamuse CSVs

* fix: deprimary 30-2dxtra songs whose current inGameID has changed

* feat: add recently released iidx32 charts
2025-01-17 23:29:16 +00:00
GRIM657 c6ee2010fa feat: IIDX 32 support (#1230)
* fix: iidx-mdb-parse: search terms were discarded for new songs

* feat: initial iidx32 support through 20241210

* fix: forgot folders/tables for iidx32
2025-01-08 01:27:20 +00:00
nairobi c6c9387bb4 fix: update inohara's config schema (#1225) 2024-12-18 17:10:17 +00:00
Victor Yuandzk 2111782bf0 New match type: ddrSongHash (#1213)
* New match type: `ddrSongHash`

* style: sort `MatchTypesWithDifficulty`

* make `ddrSongHash` a song property instead of a chart property

* docs: add descriptions for match type `ddrSongHash`

* add `ddrSongHash` field to all applicable songs

* fix: enforce ddrSongHash is only used on DDR

---------

Co-authored-by: zk <zkldi.dev@gmail.com>
2024-12-18 12:54:20 +00:00
zkldi e4e62e37de feat: remove >100% scores
i'm ill as fuck man
2024-12-05 12:11:12 +00:00
Phileas db194332a2 Enable fer imports for second rootage final datecode (#1210)
* Add second rootage datecode

* Update parser.ts for rootage array
2024-11-23 11:15:21 +00:00
zkldi 7f66097332 style: formatting 2024-11-20 23:38:44 +00:00
zkldi 354594c30e fix: unlocking 2024-11-20 23:21:05 +00:00
GRIM657 3c8b5387fb feat: Epolis Omnimix support (#1201) 2024-10-30 11:17:11 +00:00
GRIM657 185b065e6e feat: enable fer imports for iidx 25, 26, and 26-omni (#1193)
* feat: enable fer imports for iidx 25, 26, and 26-omni

* fix missing imports
2024-10-08 21:40:44 +01:00
zkldi 4dc8bce43e fix: enable erosion properly 2024-10-06 00:20:38 +01:00
zkldi 3f24fc83fd fix: don't reject entire imports if player has battle scores 2024-10-04 17:11:26 +01:00
Gyooandzkldi ba4d924a2f feat: support exScore, fast, slow, maxCombo as optional metrics for DDR (#1163)
* feat: support exScore, fast, slow, maxCombo as optional metrics for DDR

* chore: lint-fix in common

* fix: remove exScore from calculated metrics for DDR

* fix: use clearer logic for number|null

---------

Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
2024-09-23 14:24:35 +01:00
Gyoo 5fefa61c40 fix: DDR score validation with judgements using step counts (#1164)
* fix: DDR score validation with judgements using step counts for accurate computation

* feat: parse step counts from SSQ files

* chore: lint fix
2024-09-23 14:22:20 +01:00
GRIM657 95a44f0192 feat: iidx 31 update (#1181)
* feat: iidx 31 final update

* feat: add final iidx31 ea3id
2024-09-23 14:19:53 +01:00
zkldi da462b3432 feat: bump express to 4.20 2024-09-17 23:22:20 +01:00
zkldi 7992181a1b fix: run linter 2024-09-10 18:49:18 +00:00
zkldi 1f011f3744 fix: Forcibly disable locks when stuck.
riverrun, past Eve and Adams... we beget ourselves upon locks do employers even read this shit or do they just skim throoough it
2024-09-10 19:28:09 +01:00
zkldi de72237ea5 fix: forcibly remove import locks if stuck 2024-08-31 11:43:08 +00:00
Gyoo 07ed5f3b6b feat: add chart parameter to ScoreValidator (#1167)
* feat: add chart parameter to ScoreValidator

* fix: non compiling tests
2024-08-27 16:15:25 +01:00
nairobi b4e863c015 feat: songTitle+artist match (#1154)
* feat: optional artist match

* fix: validation

* fix: also add ongeki to the example conf

* style: lint
2024-08-23 11:39:56 +01:00
GRIM657 2651b40a73 feat: update iidx import methods (#1157)
* feat: update iidx import methods

* add some ea3IDs
2024-08-23 11:11:31 +01:00
zkldi f20c70be2d fix: use correct name for new seeds sort script 2024-08-23 09:22:17 +01:00