zkldi
4939149abd
feat: include our assets in localdev
2022-09-04 15:57:10 +01:00
zkldi
9c4afe2d8f
fix: don't verify emails if EMAIL_CONFIG isn't set
2022-09-03 13:54:22 +01:00
zkldi
33263e0103
fix: don't have invite codes by default
2022-09-03 13:49:45 +01:00
zkldi
84387ba78b
fix: improper logging of classes in score import
2022-08-31 01:48:52 +01:00
zkldi
dd821e0a69
refactor: use tagged unions instead of instanceof
...
Instanceof appears to be somewhat broken in typescript. Still looking
into it.
2022-08-31 01:48:52 +01:00
zkldi
eeb7d21602
fix: pin server ts target at es2020
...
I'm *pretty* sure it should be inheriting this from the parent tsconfig,
but it doesn't seem like it is. instanceof doesn't work if we're
compiling for ES3, and I think we might be doing that?
2022-08-30 13:43:59 +01:00
zkldi
47c893f1eb
fix: set individualDifference on dp tiers
...
(it's invalid to not have this set, not sure why it wasn't)
2022-08-27 16:39:19 +01:00
zkldi
078a34afc2
feat: allow forcing local seeds via env var
...
Every-so-often we want to run a script that works against local seeds
rather than a remote. It's inconvenient to have a variable passed to all
of the times seeds are clones, so this env var allows this to be
overridden globally. Likely only for script usage; not even documented.
2022-08-27 16:37:56 +01:00
zkldi
5eb3c51849
feat: add importType to import context
2022-08-25 23:57:44 +01:00
zkldi
bc1918454e
test: update how POST /ir/barbatos checks scores
2022-08-25 23:48:56 +01:00
zkldi
bf5828c5f2
feat: barbatos sdvx6 support
2022-08-25 23:39:17 +01:00
zkldi
5db86c29a3
fix: inherit prototypes, not classes
2022-08-25 17:12:38 +01:00
zkldi
afe6e0ba84
fix: enforce prototypes in converter-failures
...
Typescript sometimes decides to "compile out" prototype chains like this
we have to *enforce* that these classes have the right inheritance,
because we do instanceof checks to determine what kind of error was
thrown. We could switch to a tagged union approach, but this seems more stable.
2022-08-25 14:40:19 +01:00
zkldi
05cc2ac02a
feat: add migration script for removing jubeatNightScores
2022-08-25 13:09:08 +01:00
zkldi
d7900638ba
fix: defer discord transport submissions if we get 429d
...
This was giving us brownout problems. When we tried to restart all of
our things, only some of them would connect to discord. The rest
would be 429d, and not boot.
This stopped us from firing up score workers, amusingly.
2022-08-24 09:25:25 +01:00
zkldi
674568a915
docs: sync-state is inefficient, but we don't care
2022-08-22 05:07:39 +01:00
zkldi
c509ab1c28
feat(server): add "recalc-everything" to package.json
2022-08-22 04:28:12 +01:00
zkldi
6463e39b0b
test: fix faulty test with invites
2022-08-22 03:34:47 +01:00
zkldi
308245a2ee
Merge pull request #642 from TNG-dev/zkldi/issue-637
2022-08-22 03:25:50 +01:00
zkldi
16b9ecc32c
fix: DON'T DELETE THE LOCAL WORKING SEEDS
...
i've made this option even more obvious now given that i just messed it up
2022-08-22 02:33:53 +01:00
zkldi
877feb08b3
fix: dont ever delete local seeds
2022-08-22 02:08:35 +01:00
zkldi
b72ffeec57
feat: support syncing database-seeds from local
2022-08-22 02:06:30 +01:00
zkldi
13f66e5772
fix: make invite-code change compile properly
...
also, fix a bug with the import-locks schema
2022-08-20 18:10:10 +01:00
zkldi
4147131b29
fix: invite thread safety
2022-08-20 00:10:01 +01:00
zkldi
bbe4d560ab
feat: allow admins to make invites regardless of max allowed
2022-08-20 00:05:23 +01:00
zkldi
a90ed51061
fix: iidx migration name whoops
2022-08-18 18:52:43 +01:00
zkldi
94de0fce6f
fix: stupid typo
2022-08-18 18:32:50 +01:00
zkldi
984e29e042
fix: mount migrations removeiidxbeginners/updatejubeatpreferredtables
2022-08-18 18:26:59 +01:00
zkldi
cfd646c8e1
fix: beatoraja class-submit was broken
2022-08-18 17:41:57 +01:00
zkldi
e07297f5d1
feat: always log original object on prudence rejection
2022-08-18 15:07:48 +01:00
zkldi
338c25105d
docs: delete old changelogs, migrate to top level one
2022-08-18 04:25:22 +01:00
zkldi
1dd065cfcd
fix: read monorepo root pkg json
2022-08-18 04:07:37 +01:00
zkldi
27c920bb01
chore: someone didn't run the linter
2022-08-18 03:55:47 +01:00
zkldi
d1deeab8de
feat: enable storing commitHash in env var
2022-08-18 03:48:02 +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
bb919fc524
fix: don't return a promise from wrapscriptpromise
2022-08-17 20:29:19 +01:00
zkldi
eccab72f56
feat: track bestExScore in PBs
2022-08-17 19:53:49 +01:00
zkldi
c3d888b84d
feat: store exScore from sv6c imports
2022-08-17 18:44:23 +01:00
zkldi
a1bf2a12a0
fix: winston logging callback didn't work
2022-08-16 23:11:51 +01:00
zkldi
72918c8d6a
EMERG: Clean up score import jobs after they are ran.
...
WHY IS THIS NOT THE DEFAULT???
We've been shredding our servers disk and generally getting into
trouble by having redis infinitely balloon up score imports
and then writing them to disk for backup.
we were writing upwards of 200Mbit/s.
Goddamnit bull.
2022-07-24 16:14:46 +01:00
zkldi
80b36feec1
feat(server): clean up cloned /tmp seeds after use
2022-07-23 15:24:33 +01:00
zkldi
ea44d1ebd3
feat: make bms-table-sync also sync the meta table
2022-07-23 14:46:59 +01:00
zkldi
96702f7503
refactor: move bms tables to a constant place
2022-07-23 13:42:50 +01:00
zkldi
b781775cf6
fix(server): log incorrect usc hit windows
2022-07-22 11:31:13 +01:00
zkldi
37e80b3f41
fix(pb): older scores should beat newer ones in chart leaderboard ties
...
the existing behaviour was to do the opposite, which was definitely wrong.
2022-07-22 02:48:40 +01:00
zkldi
6b271ec2ee
test(server): update weirdly depended on errmsgs
2022-07-21 20:09:45 +01:00
zkldi
11b48cb521
fix: raise batch-manual service char limit to 60
2022-07-21 01:00:42 +01:00
zkldi
91e2dd300a
feat(server): add migration script to safely delete beginner scores
2022-07-20 21:57:22 +01:00
zkldi
3120242e94
feat(server): always import dans from /profile/submit, even if force-static-import isn't enabled
2022-07-20 21:39:59 +01:00