Commit Graph
321 Commits
Author SHA1 Message Date
zkldi 04d1f6a795 feat: track score imports 2022-11-05 21:56:02 +00:00
zkldi 19e158333f feat: allow certain classes to be downgraded
Things like class colours, volforce classes, etc. should
be able to be downgraded if they fall below their requisites.
2022-11-04 14:40:56 +00:00
zkldi 2bb54cdaaa fix(lr2hook): handle early exiting *properly* 2022-10-30 15:47:29 +00:00
zkldi 53ddd4c247 feat: tests, static-import rejection 2022-10-22 19:31:34 +01:00
zkldi deb2329993 feat: sv6c static importing 2022-10-22 19:27:49 +01:00
zkldi 5ae4d720c7 test: add regression tests for sdvxInGameID importing 2022-10-22 12:41:26 +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 e2b3a8545d fix: use pnpm ts-node instead of ts-node 2022-10-20 11:28:27 +01:00
zkldi 839fac7bbc refactor!: rename milestones to quests and milestone-sets to questlines 2022-10-18 19:04:29 +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 2c3af78b7c feat: rival ranking on server 2022-10-14 23:53:35 +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 bf5828c5f2 feat: barbatos sdvx6 support 2022-08-25 23:39:17 +01:00
zkldi f9f8560923 fix(server): accidentally broken bms test data 2022-07-20 21:36:36 +01:00
zkldi 0bf635754e test: add regression tests for players endpoint 2022-07-03 13:10:07 +01:00
zkldi 87b8d331e1 test: fix noncompiling tests 2022-06-29 23:43:29 +01:00
zkldi de333a9a4b test: properly mock .text() on JSON fetches. 2022-06-21 22:21:03 +01:00
zkldi cad860413e fix: make all tests pass
I'm sorry for how disgustingly large all of these commits are. I promise
that this is the last time something this disgusting will happen.

This is a mono-patch for various things that were broken by the major
refactor. It's mostly things like error messages now being different
(and tests failing as a result).

Some notable fixes include me accidentally deleting the entire DELETE
api-tokens endpoint (lol), and timeAchieved: 0 in batch-manual not
coercing to null anymore. It appears the behaviour was intentional for
some reason. I'm not sure why though.
2022-05-31 17:56:14 +01:00
zkldi 0f7be3d551 Merge branch 'develop' into cadence-experiment 2022-05-31 14:33:57 +01:00
zkldi 7adff08b79 cherry-pick: Merge pull request #719 from TNG-dev/hotfix/v2.1.17 2022-05-31 14:04:54 +01:00
zkldi 2c8b0870fb experimental: massive hollis changes 2022-05-20 00:24:09 +01:00
zkldi 3f4a582ad7 experimental: misc ergonomic checking 2022-05-06 04:16:23 +01:00
zkldi 0adc39b5cb experimental: initial autofix blast 2022-05-06 03:39:03 +01:00
zkldi 0b84416c29 test: add tests for userID/Notifications 2022-04-24 23:09:24 +01:00
zkldi a5e2ede4be test: add regression tests for scores/all 2022-04-23 17:59:58 +01:00
zkldi 679a769fc0 refactor: add mkFakeImport util function 2022-04-23 00:40:17 +01:00
zkldi fd3d77c4ad style: remove unused import 2022-04-22 23:18:23 +01:00
zkldi 77f3ba76a4 fix: Move FAKE_MIGRATION out of test-data
Attempting to depend on anything inside test-utils at runtime is a
footgun, and may result in the server not booting.

This patch stops the server from depending on something that might not
exist at runtime, such as test-utils/test-data trying to get the buffer
of the eamusement csv and failing catastrophically.
2022-04-22 23:13:18 +01:00
zkldi bea7e1456e refactor: move ALL_PERMISSIONS to tachi-common 2022-04-22 18:45:51 +01:00
zkldi 715906eefb test: add tests for migrations 2022-04-22 02:12:32 +01:00
zkldi 4c4288aeb3 test: Add tests for rival endpoints 2022-04-21 16:04:30 +01:00
zkldi 3205a82a05 refactor(test-utils): add cleaner convenient test utils 2022-04-21 06:01:34 +01:00
zkldi 5ba924cb49 fix: game-settings should insert with an empty rivals array. 2022-04-21 04:10:57 +01:00
zkldi cabc8dd9fc Merge branch 'develop' into zkldi/issue-673 2022-04-17 02:37:33 +00:00
zkldi 9574ea80fd fix: de-corrupt test-data that requested user get a lamp of '1100' 2022-04-17 03:27:55 +01:00
zkldi 50e201ba0f test: add gpt milestone-sets endpoint tests 2022-04-16 19:31:35 +00:00
zkldi 74950d7a8a test: Add test alternative user data 2022-04-16 04:33:16 +01:00
zkldi c58aa14cac Remove parentMilestones as a feature. Handle it through database queries instead. 2022-04-14 03:10:06 +01:00
zkldi 0fc677dae0 UGPT Milestone Tests 2022-04-14 02:52:12 +01:00
zkldi ffe57046e2 Add UGPT Targets tests 2022-04-14 01:56:11 +01:00
zkldi 9f5316dfb4 Changing personal-bests data results in half the test suite breaking. 2022-04-13 23:31:59 +01:00
zkldi 07e7c46dd2 Fix failing folder tests. 2022-04-13 22:11:40 +01:00
zkldi 567ab7ce5d Full Add-Goal Tests 2022-04-13 20:50:05 +01:00
zkldi de6fe2ebe3 Add snapshot testing. 2022-04-13 16:31:55 +01:00
zkldi 6cfda1bb1e Un-Revert table-folders patch 2022-04-13 15:38:45 +01:00
zkldi 2b9b009d8e Undo all snapshot changes, since snapshots won't work.
This reverts commit f0e0bef853.
2022-04-13 14:12:57 +01:00
zkldi ba5828973b Add tablefolders to usc test chart 2022-04-13 12:50:17 +01:00
zkldi cfa5810d37 Merge pull request #680 from TNG-dev/hotfix/v2.1.15 2022-04-05 01:40:21 +01:00
zkldi 7361fcdb5f Fix bug where EXG was rejected in prudence validation 2022-04-05 01:31:11 +01:00