Commit Graph
72 Commits
Author SHA1 Message Date
zkldi 2ff1dc1c29 feat: validators 2023-01-19 16:39:42 +00:00
zkldi 971db53130 checkpoint: 5 2023-01-19 16:39:17 +00:00
zkldi 45231a3914 checkpoint: 1 2023-01-19 16:39:15 +00:00
zkldi 95eee4343a feat: migration to typescript 4.9 2022-12-28 15:44:27 +00:00
Christopher Cooper c4f3a128dc add support for WaccaMyPageScraper CSV import 2022-12-27 09:20:19 +09:00
zkldi 52e4d341ee feat: fix favicon and use specific naming onpageload 2022-12-26 12:09:40 +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 93caf2911f fix: p n p m 2022-12-23 07:04:42 +00:00
zkldi a13895bab1 feat: vite migration + mui@5
**WOW** that was easy.
2022-12-23 05:59:01 +00:00
zkldi 2cd8112c78 feat: update bms-table-loader to support sha256 2022-12-22 14:25:52 +00:00
ereti bd9206c454 fix: i dont care 2022-12-21 04:22:37 +00:00
zkldi b652335940 feat: tools, bms table selector 2022-12-19 09:15:58 +00:00
zkldi 1c9ec6c303 Merge pull request #796 from TNG-dev/zkldi/rm-overjoy-sgl 2022-12-19 06:31:44 +00:00
zkldi 4dc21507a7 feat: ugh full github bot rewrite with octokit 2022-12-19 05:08:56 +00:00
zkldi 936f42b5ed fix: sieglinde clean-up 2022-12-19 03:21:08 +00:00
zkldi a6d00ac273 feat: migrate from ktRating to curatorSkill (museca) 2022-12-18 23:58:49 +00:00
zkldi 164419548b feat: use intuitive sort 2022-12-16 06:15:09 +00:00
zkldi 171de06590 feat: folder session raises 2022-12-16 05:47:54 +00:00
zkldi 6a47a6bbc9 feat: session calendar 2022-12-14 19:24:03 +00:00
ereti 73008da84e chore: pnpm-lock go away 2022-12-14 05:22:56 +00:00
ereti b883d53f8e fix: more ci 2022-12-14 05:20:24 +00:00
ereti b59b6707c0 fix: ci 2022-12-14 05:08:01 +00:00
zkldi e3481f5734 chore: bump express to latest version to avoid qs vuln 2022-12-14 03:54:25 +00:00
zkldi 1d14b78dce fix: patch out obnoxious browserslist err 2022-12-14 03:32:51 +00:00
zkldi 48bb9151a9 fix: add @types/node in db-seeds package 2022-12-14 02:28:07 +00:00
zkldi 85896434f4 Merge branch 'pr/Meta-link/766' into staging 2022-12-12 22:52:28 +00:00
zkldi 0aa67ca898 feat: support new jubeat versions and refactor versions
kinda still sucks (have to remember to update something)
2022-12-12 22:10:03 +00:00
zkldi 6a7b8296ad fix: make sure lockfile correct after running pnpm install 2022-12-03 02:56:13 +00:00
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 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 c6112e765c fix: make sure banning users works properly 2022-11-23 00:12:07 +00:00
zkldi 44f4d1d327 feat: quest editor 2022-11-17 03:48:51 +00:00
zkldi e48ff929e4 fix: bump rg-stats to fix jubility problem 2022-11-03 02:31:49 +00:00
zkldi 5344d10a89 feat: add a bms-tablefolders synchronise script 2022-10-27 20:29:00 +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 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 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 33c800fa4d feat: iidx-mdb-parser + merger 2022-10-06 02:53:43 +01:00
zkldi c6dfae2cf2 feat: update how bms-table-sync works 2022-10-03 20:39:03 +01:00
zkldi bb47de0fa8 chore: add tap as a dependency to common 2022-10-02 21:14:22 +01:00
zkldi ee6d634be1 feat(ghbot): validate signatures coming in 2022-09-28 22:42:25 +01:00
zkldi 964ba91e09 feat(github-bot): make a github bot that listens for seeds changes
and posts links to the diff viewer!
2022-09-28 22:23:00 +01:00
zkldi cb7d5a3eed feat(seeds): diffing, reading remotes, everything else 2022-09-25 16:41:53 +01:00
zkldi 08844354e4 perf(sieglinde): replace logger with bare console
winston has some horrific performance issues under mass load
so we're just not going to use it.
2022-08-20 17:40:13 +01:00
zkldi a82641849d chore: make certain @types not devDeps
These are actually necessary in non-dev scenarios, as we use
ts-node/register as our loader. This expects types to exist
for our dependencies, for some reason.

I'm too tired to properly resolve this, so making @types mandatory
is my hack fix.

It's not like they add much to the build size anyway.
2022-08-18 02:54:11 +01:00
zkldi 6dba56aa12 fix: move ts-node out of devDependencies 2022-08-18 02:04:37 +01:00
zkldi 1e839acb90 feat: update bootstrap dep for "security"
they're wrong, by the way. they don't analyse lockfiles but instead
analyse package.jsons. I mean, they could be correct in theory, but this
is why we have lockfiles right?

Dependabot can shut the hell up. Support PNPM. Please!
2022-08-16 23:31:06 +01:00