Commit Graph
5219 Commits
Author SHA1 Message Date
zkldi 48a73df502 Merge pull request #713 from Bottersnike/fix/table-banner-gradient 2022-10-14 22:41:32 +01:00
zkldi 0e36b17827 fix(critical): Pin prudence to an exact version
This is a long one.

So, `instanceof` in Typescript is incredibly flimsy. There's a
documented bug with what happens when you extend built-in classes, such
as Error or Array. You can read more about it here: https://github.com/Microsoft/TypeScript/wiki/FAQ#why-doesnt-extending-built-ins-like-error-array-and-map-work

However, this normally works fine. A previous commit moved some schemas
from server/ to common/, our gameSpecific UGPT settings schemas. This
caused them to break in an interesting way. For any schema recursive
with a depth greater than 1, all errors would be ignored. Why on earth
was this happening?

Well Prudence passes errors up the stack with a "return Err" -> "if
ret instanceof Err: return Err" kind of approach. This normally works
fine.

The real kicker here is that because server/ and common/ were on 0.9.7
and 0.9.8 respectively, the "Err" instance in question would actually be
erased when ran at runtime. The "if ret instance of Err" would fail,
because the Err would be from 0.9.7, not 0.9.8. This subtle difference
in file results in catastrophic damage.

In short. InstanceOf is a footgun. I hate it. Lets never do it again.
Thanks.
2022-10-14 01:09:31 +01:00
zkldi c6c716c0f7 feat: control what bms tables appear visually 2022-10-14 00:04:34 +01:00
zkldi 09becfcc3a feat: add bms displayTables to gameSpecific settings, refactor duplicate implementation out 2022-10-14 00:04:34 +01:00
zkldi 8db22b7ff4 fix: make sure git configuration occurs in a git repo
otherwise it will fail. very crazy stuff going on today huh.
2022-10-14 00:04:34 +01:00
zkldi de3cc0fd11 feat: revert integration endpoint 2022-10-14 00:04:34 +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 7591ad69b2 fix: account for context.version in inGameID batch-manual importing 2022-10-14 00:04:34 +01:00
zkldi bd00f99d7f fix: update import paths and fix linter errs 2022-10-14 00:04:34 +01:00
zkldi 7fef820fa4 refactor: move all the rerunner scripts into better folders 2022-10-14 00:04:34 +01:00
zkldi ef176a9cdc feat: update popn-merge script to work pretty much without intervention 2022-10-14 00:04:34 +01:00
zkldi 9dea664724 feat: kaimei riddles seeds 2022-10-14 00:04:34 +01:00
zkldi 50873e5164 feat: support multiple shasums for a given popn chart 2022-10-14 00:04:34 +01:00
zkldi 5bf5aa519a feat: add kaimei to popn common types 2022-10-14 00:04:34 +01:00
zkldi 544694374d fix: they're no longer called skye
but they also keep trying on different names every week
since I cba updating this file, i'm calling them duck.

quack.
2022-10-14 00:04:34 +01:00
zkldi 20ff2b0212 fix: arc no longer crashes due to _id clobbering 2022-10-14 00:04:34 +01:00
zkldi 80aa83a99e feat: display pfps in userCell 2022-10-14 00:04:34 +01:00
zkldi 585131d91c fix: don't display stale bios on user 2022-10-14 00:04:34 +01:00
zkldi 46e4a41f5c feat: automatically infer links in your aboutMe 2022-10-14 00:04:34 +01:00
Bottersnike 8a5bcefee1 Use mask-image for banner transparency 2022-10-13 20:26:07 +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 a0f71f1465 Merge pull request #708 from GRIM657/iidx-ch-final 2022-10-07 02:17:32 +01:00
zkldi 823f2f951b feat: deprimary script 2022-10-07 01:58:34 +01:00
zkldi c7725f7064 feat: score, mindthegap new charts 2022-10-07 01:58:34 +01:00
zkldi 6dbf31000e feat: somebody like you new charts 2022-10-07 01:58:33 +01:00
zkldi f8d17f5baf feat: do back burn new charts 2022-10-07 01:58:33 +01:00
Rob Campbell adbc00d57a wip: iidx ch final seeds 2022-10-07 01:58:32 +01:00
zkldi b357364c40 Merge pull request #710 from TNG-dev/zkldi/iidx-28-omni-test 2022-10-07 01:57:55 +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 dc5ca0f206 fix: remove invalid versions from jelly kiss DPN and DPH
between 8th CS and 16th CS, jelly kiss was changed such that its
DPN became a DPH, and its DPH became a DPA.

this is a problem, as we haven't accounted for this change properly.

we're just going to remove those versions from the db, and change it to
16-cs.
2022-10-07 01:48:07 +01:00
zkldi ac0debe2e9 feat: add migration script for iidx notecounts 2022-10-07 01:09:12 +01:00
zkldi 18b0eac821 fix: make sync-database-local work
also, use sync-database-local instead of sync-database when running
bootstrap.sh
2022-10-07 01:09:12 +01:00
zkldi d3cd2768d4 fix: IMPORTANT IIDX OMNI PATCHES
This patch
- Updates broken notecounts on a series of charts

these broken notecounts are *extremely* sinister, only off by one
or two in some cases. Furthermore, this has happened on relatively underplayed charts.
As such, this has gone unnoticed for a while!

- theme of denjin J is now rated 7 instead of 0
no idea why it was 0, but it was

- jelly kiss's another charts now appear
no idea why they didn't

- back into the light (recut) and the hope of tomorrow (recut) now appear in 28-omni
they didn't before, no idea why.

- サナ・モレッテ・ネ・エンテ(B.L.T.STYLE) now appears in 28-omni
same as above, no idea why.
2022-10-07 01:09:12 +01:00
zkldi 4f17546c4d feat: allow invoking parser.ts to debug. 2022-10-07 01:09:12 +01:00
zkldi 72bb772c28 Merge pull request #707 from GRIM657/patch-1 2022-10-07 01:05:08 +01:00
zkldi 8b2ad21f19 docs: typo fix and clarify docker compose vs docker-compose 2022-10-07 01:04:58 +01:00
zkldi 9d8c74c5af Merge pull request #709 from adamaq01/staging 2022-10-07 01:02:53 +01:00
zkldi a3d5643fbc fix: also patch khamen break for keyboard
this keyboard/ctrler split sucks
2022-10-07 00:59:01 +01:00
zkldi 232707f6f2 feat: Make id.test.ts work with array uniq ids
this works by cartesian producting our IDs, so that they're all added
to the set of unique IDs. If a chart has a unique ID On

["A", "B"], C, D

then A C D and B C D will be correctly be added to the set of uniq ids
now.

This is a regression test for the behaviour that let slightly broken
khamen break charts get into prod.
2022-10-07 00:55:02 +01:00
Adam Thibert 97961928aa fix: update wrong hash of a usc chart convert (khamen break inf) 2022-10-07 00:43:27 +02:00
GRIM657 1b66134c05 Update contributing/setup.md
Minor corrections/additions from following the guide
2022-10-06 01:36:46 -05:00
zkldi 2aaf739bef Merge pull request #706 from TNG-dev/zkldi/iidx-update-script 2022-10-06 03:32:33 +01:00
zkldi 33c800fa4d feat: iidx-mdb-parser + merger 2022-10-06 02:53:43 +01:00
zkldi 52ae999ab6 fix: patch invalid IIDX levels
these were likely from some faulty hand merging. Sorry!

Atleast you know the new tool caught this! :)
2022-10-06 02:49:52 +01:00
zkldi 5f76cd16bf fix: make seeds load working_directory properly 2022-10-06 02:40:01 +01:00
zkldi 8e2912d3a7 fix: DON'T LOOK AT THIS ONE PLEASE
i didn't mean to commit this it was here for testing i promise
2022-10-03 23:43:14 +01:00
zkldi 0bc19841ad fix(seedsviewer): still load even if localAPI failed 2022-10-03 21:36:11 +01:00
zkldi 4ef9b087fc feat: add bms table colours 2022-10-03 21:33:33 +01:00
zkldi 0a189a9eb6 Merge pull request #703 from TNG-dev/zkldi/new-tables 2022-10-03 21:22:02 +01:00
zkldi c6dfae2cf2 feat: update how bms-table-sync works 2022-10-03 20:39:03 +01:00