Commit Graph
219 Commits
Author SHA1 Message Date
zkldi 839fac7bbc refactor!: rename milestones to quests and milestone-sets to questlines 2022-10-18 19:04:29 +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 e9441b69fb fix: user docs are now called wiki docs 2022-08-23 12:50:40 +01:00
zkldi 16d5c6e968 docs: fix mispointed docs urls 2022-08-23 12:29:10 +01:00
zkldi 80071b5bdd docs: migrate docs to docs.bokutachi.xyz from rtd 2022-08-20 13:06:19 +01:00
zkldi b1bbedf72d fix: thanks cadence!!!
prudence returns true | string. this caught that
2022-08-16 23:28:21 +01:00
zkldi 503ad5da05 feat: add seq support to the discord bot 2022-08-16 23:26:58 +01:00
zkldi 05fedd7dfa docs: update stale readmes 2022-07-18 02:03:54 +01:00
zkldi 231117bd2e refactor: trim unused bot deps 2022-07-17 20:02:45 +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 ecfd2e1e5b refactor: remove unused .github actions 2022-07-15 19:13:50 +01:00
zkldi cfa1e5cbb8 fix: LICENSE authors were incorrect 2022-07-04 12:06:19 +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 310b7ec719 chore: bump version 2022-06-12 18:07:50 +01:00
zkldi dffa6304c0 fix: only ever render god for popn 2022-06-12 18:07:43 +01:00
zkldi 90b2eaa2f7 chore: bump version to v2.1.8 2022-05-25 15:09:14 +01:00
zkldi 7deca34d86 fix: only emit notif if popn class is GOD 2022-05-25 15:08:59 +01:00
zkldi b77950e2b5 fix: only notify about the most important sdvx class changes 2022-05-25 15:08:27 +01:00
zkldi 22ceea2dac style: rename SDVXVFClasses to proper constant name 2022-05-25 15:06:08 +01:00
zkldi 6e9942eaa3 chore: bump version to v2.1.7 2022-05-18 20:39:40 +01:00
zkldi fd44e08885 fix: dont popn class update if user has less than 20 scores 2022-05-18 20:39:24 +01:00
zkldi b7a01b42b8 chore: bump version to v2.1.6 2022-05-18 01:23:16 +01:00
zkldi 53b1abd8e0 feat: add lr2 faq entry 2022-05-18 01:23:10 +01:00
ereti feeab408c5 Update Dockerfile 2022-05-06 02:02:32 +01:00
zkldi ebbfed9570 fix: use pnpm build instead of pnpx tsc 2022-05-03 13:50:28 +01:00
zkldi 562ec96105 chore: update version 2022-05-03 13:46:47 +01:00
zkldi 18e46380f0 fix: reduce amount of vfClasses we notify for 2022-05-03 13:46:30 +01:00
zkldi 9ef915ab88 chore: bump version to 2.1.4 2022-04-26 09:44:02 +01:00
zkldi 50205961de feat: ignore most SDVX VF Class Updates 2022-04-25 23:52:56 +01:00
zkldi 6424cc100b chore: bump version to v2.1.3 2022-04-23 18:04:16 +01:00
zkldi 12e87bdae0 fix: make userID clearer in user embeds 2022-04-23 18:04:04 +01:00
zkldi 76693d0ba2 chore(version): v2.1.2 2022-04-18 18:40:40 +01:00
zkldi 5aaf9f2be1 feat(faq): Add milestone/goal/set FAQ entries 2022-04-18 18:40:24 +01:00
zkldi 4b4fea2f8f Filter scores to be unique per chart in session view. 2022-04-07 18:07:11 +01:00
zkldi abc2188753 Merge branch 'main' into zkldi/two-point-one 2022-04-07 17:43:06 +01:00
zkldi 37a8e87164 (LOOK AT THIS COMMIT) Add support for other user's in last_score/session
Look at how beautifully clean this commit is. I'm the best programmer
ever made.
2022-04-07 17:40:11 +01:00
zkldi f7f7943952 last_session draft 2022-04-07 17:38:44 +01:00
zkldi db2bd2029d fix: profile command sending empty strings is illegal 2022-04-07 16:53:25 +01:00
zkldi 373e82d55b Improve profile error message 2022-04-07 16:51:07 +01:00
zkldi d92c8d2220 Add a haven't-played message 2022-04-07 16:50:27 +01:00
zkldi 3ab9758c12 Mount last_score 2022-04-07 16:47:37 +01:00
zkldi 92fec20444 initial last_score draft 2022-04-07 16:47:09 +01:00
zkldi 855525cf1d Bump version to 2.1.0 2022-04-07 16:47:03 +01:00
zkldi 65e459caee Bump version to v2.0.5 2022-04-06 02:52:17 +01:00
zkldi 907eb846bf Strip out SP/DP prefixes for IIDX 2022-04-06 02:52:06 +01:00
zkldi 98c3fb9717 Enforce minimum scores in classUpdate. 2022-04-05 19:34:46 +01:00