Commit Graph
54 Commits
Author SHA1 Message Date
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 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
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 6c97016ec5 feat: automatically free import locks (#1024)
* feat: automatically free import locks

* feat: automigration
2024-04-09 22:30:27 +01:00
zkldi 821cc343a8 feat: rename ktchi to kamai and btchi to boku 2024-04-05 16:39:35 +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 c5af58663e feat: remove 2dxtra migration 2023-01-26 11:42:25 +00:00
zkldi 6d8684619b fix incorrect goal migrations 2023-01-19 16:39:54 +00:00
zkldi 0c48b6cef0 fix: that's all probably 2023-01-19 16:39:53 +00:00
zkldi 64d83c2e9f feat: full impl tests and migration 2023-01-19 16:39:52 +00:00
zkldi c9964d9662 fix: temp migrations 2023-01-19 16:39:52 +00:00
zkldi bae2775cf0 checkpoint: 22 2023-01-19 16:39:38 +00:00
zkldi a576bc6438 checkpoint: 19 2023-01-19 16:39:37 +00:00
zkldi a3208f3ce5 checkpoint: 14 2023-01-19 16:39:31 +00:00
zkldi 666120ce42 feat: migrate from "session.scoreInfo" to "scoreIDs"
this vastly simplifies session storage and enforces that score info
is calculated on-request, rather than cached. This caching was
a violently bad idea, and i'm very happy to get rid of it.
2022-12-28 10:56:55 +00:00
zkldi b40e0d2703 feat: remove session views 2022-12-28 07:09:16 +00:00
zkldi c4a16f4da4 feat: add curator skill migration 2022-12-19 00:00:45 +00:00
zkldi 1977b75dd5 feat: remove #RANDOM migration 2022-12-16 10:28:18 +00:00
zkldi cda29fe07d feat: probably fix jubeat 1dp stuff 2022-12-16 08:14:41 +00:00
zkldi 98271923ec feat: following endpoints 2022-12-14 01:09:26 +00:00
zkldi 21c3a66d9d feat: add friends to types and create migration 2022-12-14 00:52:00 +00:00
zkldi 2e9d791fa4 fix: utterly broken and nonsensical migrations 2022-11-06 02:40:35 +00:00
zkldi 5830b67922 fix: kshook scores shouldn't be marked with user intent 2022-11-06 02:38:06 +00:00
zkldi 2a71641f9e fix: migrate to fix incorrect fervidex userIntent 2022-11-06 02:29:06 +00:00
zkldi 6ea0d34ec7 fix: add migration for broken inf score merge 2022-11-02 16:17:47 +00:00
zkldi 1f9f62fc7c feat: add migration script for old charts 2022-10-30 17:03:28 +00:00
zkldi a8ebb2c3c0 feat: add migration to fix borked bms charts 2022-10-28 03:26:21 +01:00
zkldi 7eaa8bc06b fix(lr2hook): reject BP if user failed
LR2Hook sends invalid BP if the user ends up exiting the song early.
We need to handle this, and not accept it.
2022-10-27 19:46:33 +01:00
zkldi 5941902257 feat: set default rival or global rankings 2022-10-16 15:26:00 +01:00
zkldi b4778040ff fix: separate some migrations to boku/kamai specific
since some migrations are boku/kamai specific, them
running on the wrong thing causes unecessary stress
and gray hairs
for me
2022-10-11 19:23:48 +01:00
zkldi 695fa98fec feat: mount migration
confirmed to work on local hardware, should be good.
2022-10-07 01:48:21 +01:00
zkldi ac0debe2e9 feat: add migration script for iidx notecounts 2022-10-07 01:09:12 +01:00
zkldi 05cc2ac02a feat: add migration script for removing jubeatNightScores 2022-08-25 13:09:08 +01:00
zkldi a90ed51061 fix: iidx migration name whoops 2022-08-18 18:52:43 +01:00
zkldi 984e29e042 fix: mount migrations removeiidxbeginners/updatejubeatpreferredtables 2022-08-18 18:26:59 +01:00
zkldi 91e2dd300a feat(server): add migration script to safely delete beginner scores 2022-07-20 21:57:22 +01:00
zkldi 8d2408575d feat: add migration for jubeat preferredTables 2022-07-17 22:50:35 +01:00
tachi-seeds c0d5d40944 fix: refactor process.exit(1) calls to run after logger flushes
https://stackoverflow.com/questions/18771707/how-to-flush-winston-logs
2022-06-22 11:55:16 +01:00
zkldi 9dd935dfba feat: add migration for removing array-based folder-stats 2022-06-01 15:09:53 +01:00
zkldi cad860413e fix: make all tests pass
I'm sorry for how disgustingly large all of these commits are. I promise
that this is the last time something this disgusting will happen.

This is a mono-patch for various things that were broken by the major
refactor. It's mostly things like error messages now being different
(and tests failing as a result).

Some notable fixes include me accidentally deleting the entire DELETE
api-tokens endpoint (lol), and timeAchieved: 0 in batch-manual not
coercing to null anymore. It appears the behaviour was intentional for
some reason. I'm not sure why though.
2022-05-31 17:56:14 +01:00
zkldi a6d23ad40a experimental: final cadence validation commit 2022-05-25 21:29:54 +01:00
zkldi 0adc39b5cb experimental: initial autofix blast 2022-05-06 03:39:03 +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 2940808915 style: add a comment explaining unapplied migrations 2022-04-22 04:47:48 +01:00
zkldi 715906eefb test: add tests for migrations 2022-04-22 02:12:32 +01:00
zkldi b70f02de01 fix: make update script update more than one record 2022-04-22 01:43:23 +01:00
zkldi 960a7e93d3 fix: Remove migrations from pending when they fail 2022-04-21 18:36:27 +01:00
zkldi cb7e9f8946 style: Add comment for migration failures 2022-04-21 17:31:19 +01:00