Commit Graph
309 Commits
Author SHA1 Message Date
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
zkldi e61bfad70f Organise Imports 2022-04-01 13:57:31 +01:00
zkldi 73c7011e89 Refactor to my slightly unhinged push/pull parentMilestones system 2022-03-30 04:18:43 +01:00
zkldi 5dc667d2a1 Tests pass again 2022-03-29 16:47:47 +01:00
zkldi 431b539ce1 More renaming and moving (I lost my original work...) 2022-03-29 15:28:12 +01:00
zkldi 35ec22e3c0 Rename the types, too 2022-03-29 15:17:45 +01:00
zkldi a2c35a80c4 Rough Goal Outline (no tests) 2022-03-14 19:21:59 +00:00
zkldi 104d3e22a4 Assorted critical PMS database fixes. 2022-03-01 16:05:06 +00:00
zkldi 38d01ebf29 Apply various fixes including tachi-common bump
- Bump tachi-common
- Put classes into the BatchManual definition
- Make sure all test functions are strict
- Fix some issues with your prudence validation
- Some other stuff, probably.
2022-02-27 05:16:59 +00:00
zkldi b577e28b7b Update dependencies. This took forever. 2022-02-07 16:46:13 +00:00
zkldi 7a1d7575e9 Support searching on BMS/PMS chart hashes
Fixes #630
2022-02-06 21:45:59 +00:00
zkldi cfc4232ddf Patch buggy stuff in sv6c 2022-02-01 17:15:14 +00:00
zkldi c96b9b89e4 Migrate to using RG-Stats for RG Stats Library.
Fixes #647
2022-01-31 15:44:43 +00:00