Commit Graph
263 Commits
Author SHA1 Message Date
zkldi 49926bb9c3 feat: letmein maybe work 2023-01-26 19:47:13 +00:00
zkldi 5ab2a7eed0 fix: fml 2023-01-26 19:16:17 +00:00
zkldi 0ff91fca05 fix: again 2023-01-26 19:10:17 +00:00
zkldi ebf7f6f747 fix: another another one 2023-01-26 18:59:25 +00:00
zkldi 6999b24e5d fix: another one 2023-01-26 18:55:22 +00:00
zkldi c1dbc2ed49 fix: bot crashing and no logs 2023-01-26 18:45:31 +00:00
zkldi a39a52c75a feat: we node18 now 2023-01-26 16:29:08 +00:00
zkldi 71bad3cad5 feat: bot works but we gotta go to new node types 2023-01-26 16:26:54 +00:00
zkldi a06286eec7 feat: new search ui 2023-01-24 21:29:02 +00:00
zkldi a576bc6438 checkpoint: 19 2023-01-19 16:39:37 +00:00
zkldi 06bc83375a checkpoint: 17 2023-01-19 16:39:32 +00:00
zkldi a046fceb4c checkpoint: 16 2023-01-19 16:39:31 +00:00
zkldi a3208f3ce5 checkpoint: 14 2023-01-19 16:39:31 +00:00
zkldi 75a99610a5 checkpoint: 11 2023-01-19 16:39:27 +00:00
zkldi 5f979f2790 checkpoint: 8 2023-01-19 16:39:21 +00:00
zkldi 95eee4343a feat: migration to typescript 4.9 2022-12-28 15:44:27 +00:00
zkldi 5dff2ee805 fix: change prudence's default export to named
this was causing issues with vite and is potentially a bug in prudence
or in vite. it's very hard to tell and i've already spent
3 hours trying to fix this, so here.
2022-12-23 09:04:25 +00:00
zkldi 257faa50e3 fix: maybe defer reply 2022-12-23 01:58:42 +00:00
zkldi d71984ae99 fix: typo 2022-12-22 18:55:52 +00:00
zkldi 947477fb8c fix: respond if return is null 2022-12-22 18:48:18 +00:00
zkldi bd48e3eb0d feat: completely tear out arc support 2022-12-22 11:51:59 +00:00
zkldi 63e4932c63 fix: null lmao 2022-12-22 11:24:01 +00:00
zkldi ab7fda73fa feat: automatic approval 2022-12-22 11:19:28 +00:00
zkldi 690338215d fix: better typing in bot 2022-12-21 10:27:18 +00:00
zkldi 4cc6b5fecc fix: make bot able to respond to goal things 2022-12-21 09:10:56 +00:00
zkldi e63cab2159 feat: gitadora frontend 2022-12-20 14:36:27 +00:00
zkldi 54a0578ebc refactor: remove /dashboard prefix and change /users/ to /u/
This overhaul automatically redirects old routes to new routes
they served no purpose anyway and were link noise.
i don't like them
2022-12-19 02:31:35 +00:00
zkldi a060edd217 feat: enable cg on bot 2022-12-18 09:02:05 +00:00
ereti b59b6707c0 fix: ci 2022-12-14 05:08:01 +00:00
zkldi 7584e406cd fix: revert "remove redundant versions" for bot and server
we use these to tag docker images. my bad.
2022-12-03 03:13:49 +00:00
ereti 1af9942147 feat: the monorepo man 2022-12-01 21:10:23 +00:00
zkldi b78d400c3b fix: also add tsconfig-paths as bot dep 2022-11-27 17:38:54 +00:00
zkldi 6f6fa6b0ac fix: bot depends on ts-node 2022-11-27 17:29:38 +00:00
zkldi 4876b82b7c chore: bump bot to 2.2.0 2022-11-26 22:49:29 +00:00
zkldi db6a3e1b82 fix: remove redundant versions 2022-11-26 22:49:28 +00:00
zkldi ed7e49e770 feat: announce target achievements 2022-11-26 16:04:43 +00:00
zkldi 99a2b15115 fix: maybe make bot work 2022-11-12 01:13:10 +00:00
zkldi 862c5ea135 fix: make bot work 2022-11-12 00:31:20 +00:00
zkldi 6d869e7e0f fix: bot not deploying 2022-11-12 00:06:25 +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 7f5084b963 refactor: remove bot/CONTRIBUTING.md 2022-10-27 13:55:09 +01:00
zkldi 9239365c16 fix(ci): completely refactor how bot ci works 2022-10-22 15:54:55 +01:00
zkldi aa13f17105 feat: make typescript a bot dependency (it wasn't) 2022-10-22 15:39:54 +01:00
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