Commit Graph
61 Commits
Author SHA1 Message Date
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
zkldi 503ad5da05 feat: add seq support to the discord bot 2022-08-16 23:26:58 +01:00
zkldi e25ab75708 chore: trim dependencies further 2022-07-18 01:59:05 +01:00
zkldi e34bac8226 fix: add missing glob deps and update browserslist 2022-07-17 23:14:03 +01:00
zkldi 9cdfddd5f0 chore: bump node-fetch in sieglinde so they shut up 2022-07-17 21:46:10 +01:00
zkldi 90ae7d17d7 chore: clean up client and lint stuff finally 2022-07-17 20:14:07 +01:00
zkldi edd5142b4d fix: react-router-dom is broken and bad 2022-07-17 20:06:28 +01:00
zkldi 231117bd2e refactor: trim unused bot deps 2022-07-17 20:02:45 +01:00
zkldi 2d6e5a8acf refactor: trim unecessary server/client deps 2022-07-17 20:00:56 +01:00
zkldi 62559be245 feat: get database-seeds/scripts running
even if it whines a *lot* about types for some reason. who knows
2022-07-15 23:13:05 +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 bd50c89831 fix: potentially fix history types 2022-07-14 00:16:45 +01:00