Commit Graph
842 Commits
Author SHA1 Message Date
zkldi 00a3b856e4 feat: allow sdvxInGameID in schemas
schema-type-desync sucks
2022-10-22 12:41:16 +01:00
zkldi b650213cc2 feat: enable batch manual errmsgs in client before uploading
this runs prudence schemas on the browser

straightforward enough, required a little refactoring, but we're good.
2022-10-21 01:48:50 +01:00
zkldi 839fac7bbc refactor!: rename milestones to quests and milestone-sets to questlines 2022-10-18 19:04:29 +01:00
zkldi 1f50924f45 refactor: reorder common deps such that it compiles
doesnt compile atm because cycles
2022-10-16 22:03:41 +01:00
zkldi 0985ca4f8c Merge pull request #715 from TNG-dev/zkldi/rivals 2022-10-16 19:27:00 +01:00
zkldi 5941902257 feat: set default rival or global rankings 2022-10-16 15:26:00 +01:00
zkldi 2c3af78b7c feat: rival ranking on server 2022-10-14 23:53:35 +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 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 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 56da759c09 feat: add new bms tables + use table header urls
instead of body urls
2022-10-02 21:14:55 +01:00
zkldi bb47de0fa8 chore: add tap as a dependency to common 2022-10-02 21:14:22 +01:00
zkldi 43fbf50b59 feat: add new bms tables and only export tables
instead of exporting that weird icons thing that we
never needed.
2022-09-30 22:16:59 +01:00
zkldi 9d7eb053df feat: add ln overjoy table 2022-09-30 21:25:55 +01:00
zkldi c4d636c412 fix: point to new insane table 2022-09-30 11:22:53 +01:00
zkldi 947abe5867 feat: able to load seeds from remote and local
this isn't very performant. maybe we can look into ways
of improving this down the road.
2022-09-22 00:15:40 +01:00
zkldi 67485e9837 refactor: improve performance of song lookups
use lookup tables to optimise looking up songs; the former solution
was O(n^2), this one is O(1) with a small hit to memory.
2022-09-04 20:03:31 +01:00
zkldi eeb7d21602 fix: pin server ts target at es2020
I'm *pretty* sure it should be inheriting this from the parent tsconfig,
but it doesn't seem like it is. instanceof doesn't work if we're
compiling for ES3, and I think we might be doing that?
2022-08-30 13:43:59 +01:00
zkldi fad5881a3b fix: remove useless internal number from sgl formatting 2022-08-22 02:15:53 +01:00
zkldi e455246376 fix: this star doesn't render on mobile devices
unicode maintains two star icons and only
one of them is properly supported on certain devices

huge pain because my editor and browser renders them
properly. wonderful.
2022-08-18 14:58:30 +01:00
zkldi c3d888b84d feat: store exScore from sv6c imports 2022-08-17 18:44:23 +01:00
j1nxie 8d12c01a7f fix: typos in wacca import page + config 2022-08-08 18:27:05 +07:00
zkldi 6fcc54d999 feat: add starlight and stardust tables 2022-07-23 13:48:45 +01:00
zkldi 96702f7503 refactor: move bms tables to a constant place 2022-07-23 13:42:50 +01:00
zkldi e3c0fc5a8a feat(client): aiRating on UI 2022-07-18 00:55:27 +01:00
zkldi 44bd12e7a8 fix: allow 0 length about-mes 2022-07-17 21:39:47 +01:00
zkldi cb397be104 feat: add XCD to common 2022-07-17 21:33:41 +01:00
zkldi 8299075040 fix: bms schemas, duplicate folders, iidx nonsense 2022-07-17 18:33:27 +01:00
zkldi 5f368077f9 fix: bms ailevel is a string, not a number 2022-07-17 17:42:48 +01:00
zkldi 487dfadc68 feat: add qubell tables and folders, mark as inactive
fix: patch an annoying mess in folders & tables.json

feat: get jubeat tables and folders right

fix: noooise
2022-07-17 17:42:26 +01:00
zkldi caf0b2e9d5 feat: dependency management is hell and you are all going to it 2022-07-15 19:56:39 +01:00
zkldi e05270c9f7 style: remove unecessary taprc comment 2022-07-04 12:11:58 +01:00
zkldi 00e45dbc25 refactor: delete unused metafiles 2022-07-04 02:16:31 +01:00
zkldi 218f4926f3 refactor: meld gitignores 2022-07-04 02:16:31 +01:00
zkldi d1dcffb6de refactor: apply cadence to bot and make it compile 2022-07-04 02:16:10 +01:00
zkldi 1e8e334ca0 refactor: force parent common dependencies 2022-07-04 02:15:43 +01:00
zkldi e55a0eb129 fix: get tachi-server to atleast boot and sync with common 2022-07-04 02:15:43 +01:00
zkldi 68403c84eb refactor: monorepo genesis commit 2022-07-04 02:15:42 +01:00
zkldi 39abeb4448 chore: bumpversionbecausewearentinamonorepoyet 2022-07-02 21:03:46 +01:00
zkldi 1eecdf3e96 feat: add schemas for new challenge database things 2022-07-02 21:03:37 +01:00
zkldi 114b395fa5 chore: just so bad 2022-07-02 20:48:05 +01:00
zkldi d59b628066 fix: i can't wait to move to a monorepo 2022-07-02 20:48:00 +01:00
zkldi 0e0dc5ba75 chore: bump version 2022-07-02 20:44:02 +01:00
zkldi b68f368693 feat: add challenge types 2022-07-02 20:43:54 +01:00
zkldi 81931874ba chore: bump version 2022-06-26 16:56:23 +01:00
zkldi f0cfe8e75e fix: aiLevel is a string, not a number 2022-06-26 16:56:15 +01:00
zkldi af4b020eaf chore: bump version 2022-06-26 16:28:21 +01:00