Commit Graph
5236 Commits
Author SHA1 Message Date
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 2b38acae17 feat: redirect to rival manage if you have no rivals set 2022-10-16 23:29:31 +01:00
zkldi 946752853b fix: override types so AWS passes checks. 2022-10-16 23:05:15 +01:00
zkldi 1f50924f45 refactor: reorder common deps such that it compiles
doesnt compile atm because cycles
2022-10-16 22:03:41 +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 5379dd491e feat: rivals on gptchartpage 2022-10-14 22:54:34 +01:00
zkldi 48a73df502 Merge pull request #713 from Bottersnike/fix/table-banner-gradient 2022-10-14 22:41:32 +01:00
zkldi d70e30e727 feat: rival chart dropdown
+ more stuff, score graph dropdowns, etc.
2022-10-14 21:21:45 +01:00
zkldi 543d1298ff feat: bump submodule scss 2022-10-14 21:03:29 +01:00
zkldi a3a1b87ba1 feat: only save rivals when user says so
setting rivals is expensive sorry
2022-10-14 20:44:02 +01:00
zkldi 83834d1655 feat: first rival outline 2022-10-14 19:38:39 +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 bd00f99d7f fix: update import paths and fix linter errs 2022-10-14 00:04:34 +01:00
zkldi 7fef820fa4 refactor: move all the rerunner scripts into better folders 2022-10-14 00:04:34 +01:00
zkldi ef176a9cdc feat: update popn-merge script to work pretty much without intervention 2022-10-14 00:04:34 +01:00
zkldi 9dea664724 feat: kaimei riddles seeds 2022-10-14 00:04:34 +01:00
zkldi 50873e5164 feat: support multiple shasums for a given popn chart 2022-10-14 00:04:34 +01:00
zkldi 5bf5aa519a feat: add kaimei to popn common types 2022-10-14 00:04:34 +01:00
zkldi 544694374d fix: they're no longer called skye
but they also keep trying on different names every week
since I cba updating this file, i'm calling them duck.

quack.
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 80aa83a99e feat: display pfps in userCell 2022-10-14 00:04:34 +01:00
zkldi 585131d91c fix: don't display stale bios on user 2022-10-14 00:04:34 +01:00
zkldi 46e4a41f5c feat: automatically infer links in your aboutMe 2022-10-14 00:04:34 +01:00
Bottersnike 8a5bcefee1 Use mask-image for banner transparency 2022-10-13 20:26:07 +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 a0f71f1465 Merge pull request #708 from GRIM657/iidx-ch-final 2022-10-07 02:17:32 +01:00
zkldi 823f2f951b feat: deprimary script 2022-10-07 01:58:34 +01:00
zkldi c7725f7064 feat: score, mindthegap new charts 2022-10-07 01:58:34 +01:00
zkldi 6dbf31000e feat: somebody like you new charts 2022-10-07 01:58:33 +01:00
zkldi f8d17f5baf feat: do back burn new charts 2022-10-07 01:58:33 +01:00
Rob Campbell adbc00d57a wip: iidx ch final seeds 2022-10-07 01:58:32 +01:00
zkldi b357364c40 Merge pull request #710 from TNG-dev/zkldi/iidx-28-omni-test 2022-10-07 01:57:55 +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 dc5ca0f206 fix: remove invalid versions from jelly kiss DPN and DPH
between 8th CS and 16th CS, jelly kiss was changed such that its
DPN became a DPH, and its DPH became a DPA.

this is a problem, as we haven't accounted for this change properly.

we're just going to remove those versions from the db, and change it to
16-cs.
2022-10-07 01:48:07 +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 d3cd2768d4 fix: IMPORTANT IIDX OMNI PATCHES
This patch
- Updates broken notecounts on a series of charts

these broken notecounts are *extremely* sinister, only off by one
or two in some cases. Furthermore, this has happened on relatively underplayed charts.
As such, this has gone unnoticed for a while!

- theme of denjin J is now rated 7 instead of 0
no idea why it was 0, but it was

- jelly kiss's another charts now appear
no idea why they didn't

- back into the light (recut) and the hope of tomorrow (recut) now appear in 28-omni
they didn't before, no idea why.

- サナ・モレッテ・ネ・エンテ(B.L.T.STYLE) now appears in 28-omni
same as above, no idea why.
2022-10-07 01:09:12 +01:00