Commit Graph
1814 Commits
Author SHA1 Message Date
zkldi c9ba888d39 feat: add jubility target support 2022-04-24 13:51:27 +01:00
zkldi 467d69f40d feat: declare how many people have played an orphaned bms chart 2022-04-24 13:18:30 +01:00
zkldi 53ef2e6752 test: add tests for import user intent endpoint 2022-04-24 12:17:23 +01:00
zkldi 57808834fd fix: use $lte instead of $lt in userID/Imports 2022-04-24 12:12:04 +01:00
zkldi 453dcba486 fix: use unix milliseconds instead as timeFinished input 2022-04-24 12:10:56 +01:00
zkldi 0da938c9f2 test: add tests for user/Import endpoints 2022-04-24 12:09:12 +01:00
zkldi 1941100322 fix: honour correct userID in user/Imports 2022-04-24 12:01:20 +01:00
zkldi ec2133646f fix: make User/imports return normal import documents 2022-04-24 11:47:07 +01:00
zkldi 200e74695f style: remove unused import 2022-04-24 11:44:40 +01:00
zkldi 13cc1c614d feat: add import endpoints 2022-04-24 11:43:45 +01:00
zkldi 974d96908d test: add tests for admins to delete others' scores 2022-04-23 19:47:19 +01:00
zkldi 246ac7aa58 feat: allow admins to delete others' scores 2022-04-23 19:47:11 +01:00
zkldi 39a0e6140b refactor: rename IsUserIDAdmin to IsRequesterAdmin 2022-04-23 19:07:30 +01:00
zkldi 4866f98dd2 fix: admin-created api tokens should not inherit admin permissions 2022-04-23 19:06:09 +01:00
zkldi bb7baae3db test: add tests for admins reverting others' imports 2022-04-23 19:00:21 +01:00
zkldi 2e8c0a98a9 feat: allow admins to revert others' imports 2022-04-23 19:00:07 +01:00
zkldi 07a42d5acb style: remove unecessary async in test 2022-04-23 18:27:49 +01:00
zkldi a5e2ede4be test: add regression tests for scores/all 2022-04-23 17:59:58 +01:00
zkldi ce8ec6bb3e fix: add rate limiting to pbs/all 2022-04-23 17:59:48 +01:00
zkldi 9c3b35d13e feat: add export-all-scores endpoint 2022-04-23 17:59:01 +01:00
zkldi fa32875232 docs: replace N with 5, as its hardcoded 2022-04-23 17:40:52 +01:00
zkldi e5dd8cea33 style: add newline between @param and @name 2022-04-23 17:40:20 +01:00
zkldi 54583373dc fix: add correct type import in fervidex tests 2022-04-23 06:20:20 +01:00
zkldi 103421e364 feat: make Force Static Import disable itself after being used 2022-04-23 06:06:25 +01:00
zkldi 9ccb49ce07 style: remove unused imports 2022-04-23 05:55:59 +01:00
zkldi 5757348dd6 style: replace Playtypes[Game] with Playtype 2022-04-23 05:55:37 +01:00
zkldi c6d4373f2e fix: make revert-import require delete_score perm 2022-04-23 00:58:21 +01:00
zkldi 7969460dd5 fix: perform 401 checks in RequireOwnerships 2022-04-23 00:57:54 +01:00
zkldi 63f19ce77b test: add tests for import endpoints 2022-04-23 00:57:40 +01:00
zkldi a1147401d2 style: remove unused import 2022-04-23 00:52:38 +01:00
zkldi 679a769fc0 refactor: add mkFakeImport util function 2022-04-23 00:40:17 +01:00
zkldi 2bd6468291 feat: add a revert-import endpoint 2022-04-23 00:33:27 +01:00
zkldi 14dd9ae257 test: add tests for reverting imports 2022-04-23 00:24:29 +01:00
zkldi f15a8cd14e feat: add import library for reverting imports 2022-04-23 00:22:38 +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 14a59235c5 test: add tests for batch-manual string classes 2022-04-22 21:13:40 +01:00
zkldi ea7d36e2ae BREAKING: make batch-manual classes take strings instead of ints 2022-04-22 21:13:26 +01:00
zkldi ed149f6fa8 Merge pull request #695 from TNG-dev/zkldi/issue-370 2022-04-22 19:02:58 +00:00
zkldi 80db6fb410 feat: properly define schemas from tachi-common 2022-04-22 19:12:50 +01:00
zkldi 60669e6d12 fix: Delete _id off of expected results 2022-04-22 18:48:52 +01:00
zkldi bea7e1456e refactor: move ALL_PERMISSIONS to tachi-common 2022-04-22 18:45:51 +01:00
zkldi 4f31d7be3b test: add regression tests to GetUsersWIthIDs 2022-04-22 18:39:20 +01:00
zkldi 8cc76c9e3b fix: make GetUsersWithIDs not throw on duplicate userID input 2022-04-22 18:36:50 +01:00
zkldi cb8adadfd8 refactor: simplify StaticDatabases declaration 2022-04-22 18:05:56 +01:00
zkldi 2940808915 style: add a comment explaining unapplied migrations 2022-04-22 04:47:48 +01:00
zkldi 0a79e3690e style: remove unused imports 2022-04-22 02:22:43 +01:00
zkldi 715906eefb test: add tests for migrations 2022-04-22 02:12:32 +01:00
zkldi b70f02de01 fix: make update script update more than one record 2022-04-22 01:43:23 +01:00
zkldi 960a7e93d3 fix: Remove migrations from pending when they fail 2022-04-21 18:36:27 +01:00