Commit Graph
4991 Commits
Author SHA1 Message Date
zkldi bf8a9b28e8 Merge pull request #640 from TNG-dev/zkldi/issue-629 2022-08-21 00:28:47 +01:00
zkldi 0f5cba5545 fix: reset captcha on register fail 2022-08-21 00:27:23 +01:00
zkldi dd025d4210 fix: reset captcha if you fail to login 2022-08-21 00:23:53 +01:00
zkldi 11f87f2706 docs: enforce pnpm run <scriptname>
Can you believe it? pnpm <scriptname> goes through this bizarre
anti-logic wrt. running scripts.

If the script is a dedicated pnpm command, it will run that command.
Else if the script exists in package.json, it will run it.

At this point, it then tries to run it as a normal shell command. By
checking if <scriptname> is in $PATH and then executing that.

What the hell? This was helpfully revealed to my by a tester who found
`pnpm sort` was taking too long. That's because it was running
`sort(1)`.

Absolutely insane behaviour. Why???
2022-08-20 23:54:39 +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 80071b5bdd docs: migrate docs to docs.bokutachi.xyz from rtd 2022-08-20 13:06:19 +01:00
zkldi be345c1205 fix: show internal levelNums on newline in small cells 2022-08-20 00:14:24 +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 96129456cd fix: don't display cbs if they're 0 (full combo, lol) 2022-08-19 23:58:58 +01:00
zkldi 61f049b3c3 fix: whoops i suck at programming 2022-08-19 23:23:33 +01:00
zkldi bac9ff2418 fix: display percent in bms graph
also: chore, local man forgets to run linter
2022-08-19 23:05:10 +01:00
zkldi 8b1433e63c refactor: rename bms/pms difficulty cell 2022-08-19 22:55:28 +01:00
zkldi 0f6cdb9f62 fix: display that scores in folders are pbs 2022-08-19 22:55:14 +01:00
zkldi 71ea8d1f93 fix: don't crash if viewing a session while not logged in 2022-08-19 17:12:11 +01:00
zkldi 05b67b01b9 fix: only render highlight/comment buttons if its your session
lol
2022-08-19 17:10:02 +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 e455246376 fix: this star doesn't render on mobile devices
unicode maintains two star icons and only
one of them is properly supported on certain devices

huge pain because my editor and browser renders them
properly. wonderful.
2022-08-18 14:58:30 +01:00
zkldi f25ffe7788 Revert "ci: skip server testing when force deploying"
This reverts commit 16ea47b19f.
2022-08-18 05:05:54 +01:00
zkldi 16ea47b19f ci: skip server testing when force deploying 2022-08-18 05:01:54 +01:00
zkldi 6195c93760 ci: update git to 2.30 inside server container 2022-08-18 04:58:43 +01:00
zkldi f236457e77 docs: update changelog 2022-08-18 04:31:10 +01:00
zkldi 338c25105d docs: delete old changelogs, migrate to top level one 2022-08-18 04:25:22 +01:00
zkldi 72669dad55 fix(ci): whoops, all esoteric handlebars syntax! 2022-08-18 04:14:12 +01:00
zkldi 17974af4a4 ci: add workflow_dispatch to docs 2022-08-18 04:10:19 +01:00
zkldi b5ec3cfb71 fix(ci): actually expand the variable we're referring to 2022-08-18 04:08:00 +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 b014058323 ci: workaround for potential pnpm bug
I have absolutely no idea why this is like this. It does not
make any sense, so I am inclined to believe it is some sort of bug
with pnpm and workspaces.

ah well.
2022-08-18 03:49:45 +01:00
zkldi 323da739d9 ci: github actions pass short_sha as commit_hash 2022-08-18 03:48:51 +01:00
zkldi 8c81f1409b ci: pass commit_hash at build time to server 2022-08-18 03:48:37 +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 7f63ae9187 ci: workflow should deploy for server
this might be a footgun in the future, who knows.
I feel like having a dedicated button for "deploy" disguised as "run
workflow" might result in an accidental deploy. ah well.
2022-08-18 02:33:05 +01:00
zkldi 74f3d2af5c fix: ignore STRICT_PEER_DEPS via .npmrc in pnpm install 2022-08-18 02:22:03 +01:00
zkldi 6dba56aa12 fix: move ts-node out of devDependencies 2022-08-18 02:04:37 +01:00
zkldi 643b1cf345 Merge pull request #632 from TNG-dev/zkldi/session-raise-comments 2022-08-17 23:32:32 +01:00
zkldi 89c0f12f9d feat: session comments, additional zkldi genius
WE'RE BACK IN THE DRIVERS SEAT BABY
2022-08-17 23:31:49 +01:00
zkldi 6fbb3b3372 Merge pull request #631 from TNG-dev/zkldi/store-sv6-exscore 2022-08-17 22:45:45 +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 29473602ec fix: use PB term consistently 2022-08-17 18:42:37 +01:00
zkldi 57363db5bc feat: ugpt overview show raises, improve raises ui on mobile 2022-08-17 15:17:06 +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 d819c66e59 Merge pull request #627 from TNG-dev/zkldi/issue-172 2022-08-16 23:29:29 +01:00