Commit Graph
857 Commits
Author SHA1 Message Date
zkldi fec9fe0ea8 refactor!: Tear out most bot functionality
These commands never get used and are generally ugly.

I'm trying to decrease the maintenance of this project, and this is
an unecessary expense imo.
2022-11-10 02:00:10 +00:00
zkldi 0db471d5f3 refactor: rename PublicUserDocument to UserDocument 2022-11-10 00:36:39 +00:00
zkldi 5e6c6f4b7c fix: remove traces of challenges ever existing 2022-11-10 00:25:37 +00:00
zkldi 09c84c71a2 feat: notifications UI
minimal, but just works (tm)
2022-11-10 00:22:43 +00:00
zkldi 2b362d1fdd feat: import viewer/analyser util 2022-11-06 00:26:10 +00:00
zkldi a58582ca10 feat: expose import trackers and add general endpoints
also fix the bug where import errors weren't tracked anymore
as they were being exiled from redis.
2022-11-05 21:56:45 +00:00
zkldi 04d1f6a795 feat: track score imports 2022-11-05 21:56:02 +00:00
zkldi 19e158333f feat: allow certain classes to be downgraded
Things like class colours, volforce classes, etc. should
be able to be downgraded if they fall below their requisites.
2022-11-04 14:40:56 +00:00
zkldi b379028e15 feat: 29-omni in common 2022-11-02 03:11:15 +00:00
zkldi 04ada46d84 fix: add 30 to dp valid versions aswell! 2022-11-02 01:24:13 +00:00
zkldi cedbcb14fa fix: whoops 2022-11-02 01:21:44 +00:00
zkldi d97d129cda fix: invalid bms charts backsynced 2022-11-01 01:07:55 +00:00
zkldi c411145345 feat: make aiLevel optional in bms charts 2022-10-30 01:58:44 +00:00
zkldi 8611515a6d fix: change broken URL in luminous table. 2022-10-27 20:29:18 +01:00
zkldi 103689593c feat: kshook settings 2022-10-22 19:31:13 +01:00
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