Commit Graph
877 Commits
Author SHA1 Message Date
ereti 1af9942147 feat: the monorepo man 2022-12-01 21:10:23 +00:00
ereti 98a74e12cf feat: make monorepo sane 2022-11-28 00:58:38 +00:00
zkldi e5b91f8e90 chore: bump tachi-common to 2.2.0 and release 2022-11-26 22:49:29 +00:00
zkldi ef941053e7 feat: misc quest patches 2022-11-26 21:36:15 +00:00
zkldi 708949bb13 fix: notifications not reloading and add site announcements 2022-11-26 16:33:22 +00:00
zkldi 8a0309693f test: fix tests and tear out unused endpoints 2022-11-25 23:49:33 +00:00
zkldi 8c52b3ba48 feat: goals & quests fully functional 2022-11-25 20:49:53 +00:00
zkldi 25f26650c5 feat: remove "any" goals
they're stupid, too expensive, complex
nobody has any use for them. If you think you do, you don't.
2022-11-25 15:13:56 +00:00
zkldi a6d89f748e feat: bunch of new stuff + proper dependency handling 2022-11-25 03:46:11 +00:00
zkldi cbce1a31f4 feat: quests page + ugpt context 2022-11-23 23:43:55 +00:00
zkldi 2a76c90bdd feat: some initial quests and goals 2022-11-22 16:12:50 +00:00
zkldi 98f561f8ae feat: pretty functional quest editor UI 2022-11-22 03:45:40 +00:00
zkldi 4717197660 fix: i'm really messing up this formatchart util 2022-11-21 21:32:12 +00:00
zkldi 114da4f098 fix: incorrect space insertion on games with 1 playtype 2022-11-21 19:51:50 +00:00
zkldi acef4c6345 feat: remove quest criteria, allow importing quests 2022-11-21 19:27:47 +00:00
zkldi 44f4d1d327 feat: quest editor 2022-11-17 03:48:51 +00:00
zkldi f889ecdd83 feat: initial goals and quests 2022-11-15 04:16:16 +00:00
zkldi e8128c149f fix: make activity view slightly less insufferable on mobile 2022-11-11 23:50:20 +00:00
zkldi e565208e6e feat: activity all the things 2022-11-11 18:42:34 +00:00
zkldi 5e4dcaf8a1 fix: just allow aiLevel to be undefined 2022-11-11 13:49:42 +00:00
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