Commit Graph
2140 Commits
Author SHA1 Message Date
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
zkldi 6941c0707e feat: add schema for migrations 2022-04-21 18:35:22 +01:00
zkldi 102dd04266 fix: give migrationID a unique index 2022-04-21 18:15:06 +01:00
zkldi cb7e9f8946 style: Add comment for migration failures 2022-04-21 17:31:19 +01:00
zkldi 9fe155bf71 feat(migrations): apply unapplied migrations on init 2022-04-21 17:28:59 +01:00
zkldi c1900e1c93 feat(migration): add ugpt-rivals migration script 2022-04-21 17:22:30 +01:00
zkldi eaf2761c96 fix(migrations): add more logging 2022-04-21 17:22:15 +01:00
zkldi b1248f861a feat(migration): create a skeleton framework for applying migrations 2022-04-21 17:17:28 +01:00
zkldi f8b618c536 feat: add migration script 2022-04-21 16:10:47 +01:00
zkldi 4c4288aeb3 test: Add tests for rival endpoints 2022-04-21 16:04:30 +01:00
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 fdd3a5d9b6 chore: bump tachi-common to 0.8 2022-04-21 03:45:29 +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 eaafb9e758 fix(lockfile): recreate lockfile, fix faulty merge commit 2022-04-17 03:47:36 +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