Commit Graph
1755 Commits
Author SHA1 Message Date
zkldi df480f5515 fix: make GetChallengerIDs return challengers instead of rivals 2022-04-21 16:03:16 +01:00
zkldi 600ac12d68 refactor: change rival err handling to use error codes 2022-04-21 15:52:25 +01:00
zkldi 1cbcf781e8 style: remove unused import 2022-04-21 06:07:15 +01:00
zkldi 5c2bfc25e1 refactor(rivals): make rival assignment honour manage_rivals 2022-04-21 06:06:49 +01:00
zkldi 3205a82a05 refactor(test-utils): add cleaner convenient test utils 2022-04-21 06:01:34 +01:00
zkldi 07f950beae fix: unbreak tests as a result of the rivals addition 2022-04-21 05:29:56 +01:00
zkldi 282139861c feat(rivals): add challengers endpoint 2022-04-21 05:13:19 +01:00
zkldi 41ddd2de71 feat: index rivals in game-settings 2022-04-21 04:16:40 +01:00
zkldi 42c45c5534 fix: make rivalling yourself illegal 2022-04-21 04:16:34 +01:00
zkldi 5ba924cb49 fix: game-settings should insert with an empty rivals array. 2022-04-21 04:10:57 +01:00
zkldi b98492e2ee feat: add get/set rival endpoints 2022-04-21 04:09:28 +01:00
zkldi f4880c1b06 style: fix outdated prudence comment 2022-04-21 03:55:46 +01:00
zkldi cac9a947cd feat(rivals): add core rival library functionality 2022-04-21 03:55:31 +01:00
zkldi 7682a960e1 fix: handle case where GetUsersWithIDs hits desync 2022-04-21 03:45:19 +01:00
zkldi 928e0da0b6 fix: use new unsubMilestone signature 2022-04-17 04:59:36 +01:00
zkldi a27ac55ccf fix: unsubscribe users if milestone gets deleted 2022-04-17 04:59:07 +01:00
zkldi 8c61c33172 fix: removing a milestone-sub no longer needs to care about parenting goals 2022-04-17 04:57:01 +01:00
zkldi 84bbb939a4 feat: sync milestones with db-seeds and update subs accordingly 2022-04-17 04:53:19 +01:00
zkldi 2d900670d7 feat: add the ability to update milestone subscriptions 2022-04-17 04:53:02 +01:00
zkldi 120c9cbb52 feat: add goal sync support 2022-04-17 04:26:27 +01:00
zkldi cabc8dd9fc Merge branch 'develop' into zkldi/issue-673 2022-04-17 02:37:33 +00:00
zkldi ac4f379820 fix: add failsafes incase a corrupt goal gets evaluated again 2022-04-17 03:35:58 +01:00
zkldi d83366ca7d style: remove unused import 2022-04-17 03:34:10 +01:00
zkldi 2709fb1d32 fix(test): evaluate milestones against someone with a play 2022-04-17 03:34:01 +01: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 91297d6d29 fix: limit percent to 2dp in progressHuman 2022-04-17 03:26:36 +01:00
zkldi ecc5f9c4f2 scratch: BROKEN TESTS. PUSHING SO I CAN CONTINUE WORK AT HOME 2022-04-16 20:58:02 +00:00
zkldi 696453a507 test: add tests for gpt/milestones/milestoneID 2022-04-16 20:20:20 +00:00
zkldi cd57962a8f test: add tests for gpt/milestones/popular 2022-04-16 20:02:28 +00:00
zkldi 918c26b233 fix: GetMostSubscribedMilestones shouldn't wrap milestones in array 2022-04-16 20:01:19 +00:00
zkldi f7988428d4 test: add GPT milestone search tests 2022-04-16 19:44:38 +00:00
zkldi aacdabe279 fix: SearchCollection no longer returns _id. 2022-04-16 19:32:53 +00:00
zkldi 50e201ba0f test: add gpt milestone-sets endpoint tests 2022-04-16 19:31:35 +00:00
zkldi 0a4858709f fix: add text index to milestone-sets 2022-04-16 19:22:56 +00:00
zkldi b557d5a250 test: add tests for evaluate-for 2022-04-16 05:07:24 +01:00
zkldi 0b8b7f5594 fix: hide _id in GetMostSubscribedGoals output 2022-04-16 05:05:21 +01:00
zkldi 912f575d83 test: tests for gpt/goals 2022-04-16 04:33:44 +01:00
zkldi e04f1aa508 fix: GetMostSubscribedGoals shouldn't wrap goal in array 2022-04-16 04:33:35 +01:00
zkldi 74950d7a8a test: Add test alternative user data 2022-04-16 04:33:16 +01:00
zkldi 83519ad590 chore: remove unused import 2022-04-14 03:35:08 +01:00
zkldi 19591514cf Patch faulty parentMilestone logic 2022-04-14 03:31:25 +01:00
zkldi 532cb494db Fix mistake in GET UGPT goalID 2022-04-14 03:13:21 +01:00
zkldi e10cfbcc78 Fix accidental argument passed to SubscribeToGoal 2022-04-14 03:11:37 +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 83e7e37f4a fix: Obscure undeleted monk props on test data 2022-04-13 23:42:12 +01:00
zkldi bc8bb2eecc Always flush foldercache in tests 2022-04-13 23:33:53 +01:00
zkldi 7d47feb1e3 Add custom PB data for add-goals. 2022-04-13 23:32:10 +01:00
zkldi 9f5316dfb4 Changing personal-bests data results in half the test suite breaking. 2022-04-13 23:31:59 +01:00