Commit Graph
311 Commits
Author SHA1 Message Date
zkldi 1486ccf2f5 feat: prometheus metrics (#1033) 2024-04-10 02:31:47 +01:00
zkldi a16a3035cc feat: redo logging (#1032)
file/whatever logging options are silly
2024-04-10 02:02:31 +01:00
zkldi 0bb76fb338 merge cirratism 2024-04-09 23:27:10 +01:00
zkldi ee9d2bb3c0 bump version 2024-04-06 14:21:27 +01:00
zkldi b42eacf1ad feat: 7 2023-10-16 13:07:41 +01:00
zkldi 37516ffc56 feat: unscrew pnpm forcefully 2023-10-16 12:55:11 +01:00
Lumineandbeerpiss b51be4eb27 feat: arcaea support (#951)
Co-authored-by: beerpiss <lacvtg.a1.2023@gmail.com>
2023-10-11 10:47:47 +01:00
zkldi cdc97bfd8e fix: remove xml2js, bump fast-xml parser 2023-08-03 13:45:06 +01:00
zkldi 0d25b70555 release: 2.4.3 2023-06-29 18:04:02 +01:00
zkldi 275bfaf49c fix: bump rg stats to fix broken maimai/chuni stuff 2023-06-10 00:27:39 +01:00
zkldi 47c2d5a562 chore: bump dep 2023-04-12 12:57:01 +01:00
zkldi 085d1789b4 feat: new, less efficient, better search engine 2023-02-28 00:44:40 +00:00
zkldi 03a0932c84 fix: faulty set-indexes script 2023-02-09 01:41:58 +00:00
zkldi dd259fa6a4 feat: bootstrap containerisation
insane laughter ensues
2023-02-08 23:43:02 +00:00
zkldi 76f1b10be5 feat: dockerise everything 2023-02-08 03:36:09 +00:00
zkldi a39a52c75a feat: we node18 now 2023-01-26 16:29:08 +00:00
zkldi f7975d3201 fix: i'm just going to call this 2.4 2023-01-24 22:48:09 +00:00
zkldi 377df6495b feat: first overhaul 2023-01-23 14:43:35 +00:00
zkldi 0c48b6cef0 fix: that's all probably 2023-01-19 16:39:53 +00:00
zkldi c9964d9662 fix: temp migrations 2023-01-19 16:39:52 +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 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 c2bccd64ae feat: just a bunch of cleanup
- no deduping, ui improvements, general fixups
2022-12-22 17:23:37 +00:00
zkldi 2cd8112c78 feat: update bms-table-loader to support sha256 2022-12-22 14:25:52 +00:00
zkldi a6d00ac273 feat: migrate from ktRating to curatorSkill (museca) 2022-12-18 23:58:49 +00:00
zkldi b2335d71ba feat: pnpm make-user-admin 2022-12-14 07:14:50 +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 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
zkldi 7b8d17b379 fix: make server pkg.json commands work 2022-12-03 02:56:01 +00:00
ereti 489fad867e fix: typecheck 2022-12-01 23:13:46 +00:00
ereti dc5581e7d1 fix: b shouldn't be there 2022-12-01 22:53:24 +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 db6a3e1b82 fix: remove redundant versions 2022-11-26 22:49:28 +00:00
zkldi c6112e765c fix: make sure banning users works properly 2022-11-23 00:12:07 +00:00
zkldi e48ff929e4 fix: bump rg-stats to fix jubility problem 2022-11-03 02:31:49 +00: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 18b0eac821 fix: make sync-database-local work
also, use sync-database-local instead of sync-database when running
bootstrap.sh
2022-10-07 01:09:12 +01:00
zkldi c6dfae2cf2 feat: update how bms-table-sync works 2022-10-03 20:39:03 +01:00
zkldi c509ab1c28 feat(server): add "recalc-everything" to package.json 2022-08-22 04:28:12 +01:00
zkldi b72ffeec57 feat: support syncing database-seeds from local 2022-08-22 02:06:30 +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 e34bac8226 fix: add missing glob deps and update browserslist 2022-07-17 23:14:03 +01:00
zkldi 2d6e5a8acf refactor: trim unecessary server/client deps 2022-07-17 20:00:56 +01:00
zkldi 73c7815c63 feat: instant bootstrap script 2022-07-16 17:43:33 +01:00
zkldi 19cdb4691d fix: add .env to tachi server and make deploy scripts suck less 2022-07-16 16:38:34 +01:00
zkldi cbbf8246d2 fix: pnpm silently made run a reserved word 2022-07-16 16:31:28 +01:00