Commit Graph
112 Commits
Author SHA1 Message Date
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
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
beerpsi e07de56800 chore(deps): update rg-stats to 0.5.10 (#1256) 2025-03-20 01:44:14 +00:00
zkldi a7159c2659 fix: lockfile, eternal 2025-03-18 18:52:29 +00: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
zkldi da462b3432 feat: bump express to 4.20 2024-09-17 23:22:20 +01:00
zkldi 65cb74faa4 refactor: port github-bot to ESM
This is one of those annoying things. Updating OctoKit updated some transitive sindresorhus dependency which now forces onto ESM.

This proves to be a pretty annoying problem because you can't use CommonJS from inside ESM and vice versa. Somehow, as an industry, we've managed to invent "what color is your import" for NodeJS, which is a pretty brutal problem.

Anyway. I've made this specific package into an ESM module, and what it compiles to is a module now, too, instead of CommonJS. Luckily, because the github bot is so small and isolated, it means we have very little trouble doing this (and hopefully no brutal side effects).
2024-08-23 09:56:58 +00:00
zkldi d061abfce0 feat: get rid of tap types 2024-08-17 15:20:48 +00:00
zkldi ca5ada19b2 feat: vendor TAP 2024-08-17 14:58:52 +00:00
zk 593adb2717 feat: Dev Container (#1149)
* temporary dvctr

* start of work

* fix: timeouts in windows

* fish?

* feat: better, working stuff

* refactor: rename database-seeds to seeds/

* better

* fdsaf

* feat: don't let our container get owned by root

* fix: better user handling

* feat: falling asleep at my desk i yield to you what i have done

* feat: autoadminify

* docs: denote trickshot

* feat: open in browser on launch

* better seeds workings...

* fix: dont kill shell

* docs: mention dev/debs

* fix: whoops

* fix: make seeds load within the century

* feat: rest of the containerisation

* feat: new alias

* style: fix linter errors

* fix: bad call

* fix: better justfile
2024-08-17 15:01:40 +01:00
Gyoo 4254e29917 DDR Implementation (#1132)
* feat: DDR Implementation

* style: lint fixes

* chore: update rg-stats

* feat: ddr konaste songs and charts update
2024-08-09 19:08:49 +01:00
zkldi 46e1a053bc fix: dependabot issue 2024-07-30 20:46:18 +01:00
zkldi 76f0edc631 chore: bump dependencies (#1122)
* chore: bump dependencies

* chore: more

* chore: lol this one is absolutely going to break something
2024-07-04 21:41:07 +01:00
zkldi 0a0aa1e10e fix: newlockfile 2024-05-11 20:36:17 +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
zkldi ddbd6e5623 feat: github bot working a lot better? 2024-04-25 02:49:57 +01:00
zkldi b9a4131cc9 feat: homepage addition (designed by @pfych) (#1042)
* feat: initial homepage addition (designed by @pfych)

* whoops

* this'll be fine for now imo

* ci: add homepage

* feat: rename to tachi-homepage
2024-04-18 01:36:19 +01:00
zkldi 89e4c6ff2f feat: patch winston loki so it works for us 2024-04-14 02:50:08 +01:00
zkldi 1486ccf2f5 feat: prometheus metrics (#1033) 2024-04-10 02:31:47 +01:00
zkldi a16a3035cc feat: redo logging (#1032)
file/whatever logging options are silly
2024-04-10 02:02:31 +01:00
saintnoodleandsaintnoodle 1dec6d34c6 feat: replace MUI tabs with custom implementation (#1030)
* feat: custom navbar implementation

* remove mui/material

* add key navigation and improve visuals

also allow for handling of cases that likely won't happen anyway

---------

Co-authored-by: saintnoodle <hi@noodle.moe>
2024-04-09 23:35:57 +01:00
zkldi 0bb76fb338 merge cirratism 2024-04-09 23:27:10 +01:00
zkldi 73dfd64cd3 fix: remove some extremely annoying deprecation warnings (#1028)
* fix: enforce 3.6.3 to avoid deprecation warning

* fix: nonsense old debug message

* fix: just re-patch browserslist, whatever.
2024-04-09 23:24:29 +01:00
zkldi e66da0d3f0 feat: begin legwork on improving logging
i.e. stripping out all this app-specific stuff

we're using journald as our choke point
like normal people...
2024-04-07 20:33:03 +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
zkldi cdc97bfd8e fix: remove xml2js, bump fast-xml parser 2023-08-03 13:45:06 +01:00
saintnoodleandzkldi 06059271e8 update to bootstrap 5.3 (#913)
Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
2023-07-29 17:47:25 +01:00
zkldi 26864691bc fix: it was probably my fault
much like an abusive lover, it breaks what i love and
leaves me thinking how it could've been my fault
2023-07-21 00:45:43 +01:00
dependabot[bot] 264ae927a6 build(deps-dev): bump word-wrap from 1.2.3 to 1.2.4 (#912)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-20 21:57:08 +01:00
zkldi 275bfaf49c fix: bump rg stats to fix broken maimai/chuni stuff 2023-06-10 00:27:39 +01:00
zkldi 47c2d5a562 chore: bump dep 2023-04-12 12:57:01 +01:00
zkldi 085d1789b4 feat: new, less efficient, better search engine 2023-02-28 00:44:40 +00:00
zkldi 3e8fabc814 feat: seeds dockerisation 2023-02-08 04:18:59 +00:00
zkldi 76f1b10be5 feat: dockerise everything 2023-02-08 03:36:09 +00:00
zkldi a39a52c75a feat: we node18 now 2023-01-26 16:29:08 +00:00
zkldi 71bad3cad5 feat: bot works but we gotta go to new node types 2023-01-26 16:26:54 +00:00
zkldi 26dd656dd2 feat: autogen some important documentation 2023-01-23 22:37:20 +00:00
zkldi 2ff1dc1c29 feat: validators 2023-01-19 16:39:42 +00:00
zkldi 971db53130 checkpoint: 5 2023-01-19 16:39:17 +00:00
zkldi 45231a3914 checkpoint: 1 2023-01-19 16:39:15 +00:00
zkldi 95eee4343a feat: migration to typescript 4.9 2022-12-28 15:44:27 +00:00
Christopher Cooper c4f3a128dc add support for WaccaMyPageScraper CSV import 2022-12-27 09:20:19 +09:00
zkldi 52e4d341ee feat: fix favicon and use specific naming onpageload 2022-12-26 12:09:40 +00:00
zkldi 5dff2ee805 fix: change prudence's default export to named
this was causing issues with vite and is potentially a bug in prudence
or in vite. it's very hard to tell and i've already spent
3 hours trying to fix this, so here.
2022-12-23 09:04:25 +00:00
zkldi 93caf2911f fix: p n p m 2022-12-23 07:04:42 +00:00
zkldi a13895bab1 feat: vite migration + mui@5
**WOW** that was easy.
2022-12-23 05:59:01 +00:00
zkldi 2cd8112c78 feat: update bms-table-loader to support sha256 2022-12-22 14:25:52 +00:00