zkldi
5ae4d720c7
test: add regression tests for sdvxInGameID importing
2022-10-22 12:41:26 +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
d17bb49a6e
fix: remove misleading comment in sdvx class handler
2022-10-21 00:46:55 +01:00
zkldi
5e6151633f
docs: mention gifs
2022-10-20 20:53:21 +01:00
zkldi
64ca19e772
fix: tests pass for real
2022-10-20 12:27:48 +01:00
zkldi
ed1a199c16
fix: more test fixes
...
i'm getting very frustrated with this code rn
2022-10-20 11:59:05 +01:00
zkldi
82a9cc77aa
fix: we can't use pnpm ts-node
...
i have no idea why this doesn't work but I don't have the time
to investigate properly at the moment.
How bizarre. We definitely have ts-node installed,
and pnpm ts-node should work reliably.
If anything, what we're doing right now *shouldn't* work!
2022-10-20 11:49:40 +01:00
zkldi
c07b63f42d
style: local man forgets to run linter
2022-10-20 11:43:18 +01:00
zkldi
2e6e9e3e76
feat: actually support casthour and add regression tests
2022-10-20 11:41:15 +01:00
zkldi
e2b3a8545d
fix: use pnpm ts-node instead of ts-node
2022-10-20 11:28:27 +01:00
zkldi
7397406caa
feat: support casthour
2022-10-19 19:50:49 +01:00
zkldi
839fac7bbc
refactor!: rename milestones to quests and milestone-sets to questlines
2022-10-18 19:04:29 +01:00
zkldi
910a6756f8
fix: offByOne in initial rival ranking set
2022-10-17 00:21:37 +01:00
zkldi
ca4f4be9c0
fix: strict cookie settings also apply to staging
...
at the moment they were only applied to prod,
which means that browsers wont accept the login cookies
this issue only affects staging
lol
2022-10-16 23:54:19 +01:00
zkldi
ffb776e691
feat: recalc rivalRankings when you set new rivals
...
UNTESTED! lol
2022-10-16 23:47:18 +01:00
zkldi
946752853b
fix: override types so AWS passes checks.
2022-10-16 23:05:15 +01:00
zkldi
dd5fc52e1e
fix: make tests pass
2022-10-16 22:01:14 +01:00
zkldi
0985ca4f8c
Merge pull request #715 from TNG-dev/zkldi/rivals
2022-10-16 19:27:00 +01:00
zkldi
1be6acb326
fix: make server tests compile and work
2022-10-16 19:19:58 +01:00
zkldi
3e8dd5a4a6
feat: rivals scorederboard
2022-10-16 18:03:11 +01:00
zkldi
5941902257
feat: set default rival or global rankings
2022-10-16 15:26:00 +01:00
zkldi
0b54d6d862
feat: rival ranking in UI
2022-10-15 02:49:41 +01:00
zkldi
2c3af78b7c
feat: rival ranking on server
2022-10-14 23:53:35 +01:00
zkldi
d70e30e727
feat: rival chart dropdown
...
+ more stuff, score graph dropdowns, etc.
2022-10-14 21:21:45 +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
c6c716c0f7
feat: control what bms tables appear visually
2022-10-14 00:04:34 +01:00
zkldi
09becfcc3a
feat: add bms displayTables to gameSpecific settings, refactor duplicate implementation out
2022-10-14 00:04:34 +01:00
zkldi
8db22b7ff4
fix: make sure git configuration occurs in a git repo
...
otherwise it will fail. very crazy stuff going on today huh.
2022-10-14 00:04:34 +01:00
zkldi
de3cc0fd11
feat: revert integration endpoint
2022-10-14 00:04:34 +01:00
zkldi
28116909a1
feat: support sdvxInGameID as a matchType
...
this allows ANY_INF to be passed as a difficulty, which is convenient
for scripts that import from services that consider all of INF/GRV/HVN...
to be equivalent
2022-10-14 00:04:34 +01:00
zkldi
7591ad69b2
fix: account for context.version in inGameID batch-manual importing
2022-10-14 00:04:34 +01:00
zkldi
20ff2b0212
fix: arc no longer crashes due to _id clobbering
2022-10-14 00:04:34 +01:00
zkldi
b4778040ff
fix: separate some migrations to boku/kamai specific
...
since some migrations are boku/kamai specific, them
running on the wrong thing causes unecessary stress
and gray hairs
for me
2022-10-11 19:23:48 +01:00
zkldi
695fa98fec
feat: mount migration
...
confirmed to work on local hardware, should be good.
2022-10-07 01:48:21 +01:00
zkldi
ac0debe2e9
feat: add migration script for iidx notecounts
2022-10-07 01:09:12 +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
0a189a9eb6
Merge pull request #703 from TNG-dev/zkldi/new-tables
2022-10-03 21:22:02 +01:00
zkldi
c6dfae2cf2
feat: update how bms-table-sync works
2022-10-03 20:39:03 +01:00
zkldi
842c0b2e66
Merge pull request #702 from Bottersnike/fix/samesite-none-in-dev
2022-10-03 11:53:31 +01:00
Bottersnike
dc231f43f0
Drunk test name
2022-10-03 00:06:25 +01:00
Bottersnike
fef6ed4688
Fix auth cookies on newer chromium builds
2022-10-03 00:02:52 +01:00
Bottersnike
7e8315e7a6
Permit zero-length strings for about me
2022-10-02 23:51:25 +01:00
zkldi
131e0f2dc9
fix: use proper paths to deterministic coll sort
2022-09-30 13:26:54 +01:00
zkldi
ccb6ec74a5
fix: remove useless test
2022-09-30 12:30:54 +01:00
zkldi
3dd7737096
fix(test): add regression tests for invites
2022-09-30 11:21:25 +01:00
zkldi
df1082909f
style(server): fix imports
2022-09-29 19:26:42 +01:00
zkldi
ab9955c0e1
fix(server): make /invites routes check if invites are enabled
...
instead of checking if it's kamaitachi, since that's
less reliable (staging.bokutachi has invites)
2022-09-29 19:24:03 +01:00
zkldi
2c8ae63171
fix(test): fix test regression with new pb handling
2022-09-29 15:25:25 +01:00
zkldi
87eb00adef
fix: inherit combobreak from lampPB instead of scorePB
2022-09-29 11:29:14 +01:00
zkldi
6ab9ba7e33
fix: always apply lampPB merging
...
THIS WAS BROKEN!!! if a BP PB (lol) did not exist
then no lamp merging would happen.
whoops.
2022-09-29 11:29:14 +01:00