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
|
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 |
|