Phillip Thelen
75c9731ca4
filter stripe webhooks for correct server ( #15320 )
...
Co-authored-by: Kalista Payne <sabrecat@gmail.com >
2024-11-26 12:24:23 -06:00
Kalista Payne
fbf69a4a34
Squashed commit of the following:
...
commit dd0a410fa6c3741dc0d6793283cf4df3c37790a5
Author: Kalista Payne <sabrecat@gmail.com >
Date: Mon Nov 4 14:24:30 2024 -0600
fix(subs): center next hourglass message
commit 72d92ffd76bb43fee8ba2bbabd211e595afbd664
Author: Kalista Payne <sabrecat@gmail.com >
Date: Fri Nov 1 14:17:59 2024 -0500
fix(subs): don't hide HG preview entirely
commit ea0ecb0c3d519ed3d5c42266367eaaa7283ac5de
Author: Kalista Payne <sabrecat@gmail.com >
Date: Fri Nov 1 13:01:06 2024 -0500
fix(subs): Google wording and HG escape
commit 2bd2c69e18e37c8c8c7106c62f186c372d25c5d2
Author: Kalista Payne <sabrecat@gmail.com >
Date: Fri Nov 1 09:25:30 2024 -0500
fix(layout): tighten cancellation note
commit eb2fc40d24
Author: Kalista Payne <sabrecat@gmail.com >
Date: Thu Oct 24 15:41:43 2024 -0500
fix(g1g1): don't try to find Gems promo during bogo
commit d3eea86bd7
Author: Kalista Payne <sabrecat@gmail.com >
Date: Thu Oct 24 15:00:09 2024 -0500
fix(subs): fix typeError
commit e3ae9a2d67
Author: Kalista Payne <sabrecat@gmail.com >
Date: Thu Oct 24 13:57:27 2024 -0500
fix(subs): also redirect to subs after gift sub
commit 690163a0de
Author: Phillip Thelen <phillip@habitica.com >
Date: Wed Oct 23 16:42:38 2024 +0200
fix test
commit 2ad7541fc0
Author: Phillip Thelen <phillip@habitica.com >
Date: Wed Oct 23 16:34:52 2024 +0200
fix test
commit 7e337a9e59
Author: Phillip Thelen <phillip@habitica.com >
Date: Wed Oct 23 11:54:15 2024 +0200
remove only
commit 7462b8a57f
Author: Phillip Thelen <phillip@habitica.com >
Date: Wed Oct 23 11:51:25 2024 +0200
fix bug with incorrectly giving HG bonus
commit acd6183e95
Author: Kalista Payne <sabrecat@gmail.com >
Date: Mon Oct 21 17:22:26 2024 -0500
fix(subs): unhovery and un-12-monthy
commit 935e9fd6ec
Author: Kalista Payne <sabrecat@gmail.com >
Date: Fri Oct 18 14:50:17 2024 -0500
fix(subs): try again on gifts
commit 6e1fb7df38
Author: Kalista Payne <sabrecat@gmail.com >
Date: Thu Oct 17 18:19:20 2024 -0500
fix(lint): do negate object ig
commit 71d434b94e
Author: Kalista Payne <sabrecat@gmail.com >
Date: Thu Oct 17 18:15:11 2024 -0500
fix(lint): unnecessary ternary
commit b90b0bb9c3
Author: Kalista Payne <sabrecat@gmail.com >
Date: Thu Oct 17 17:34:24 2024 -0500
fix(subs): gifts DON't renew
commit 19469304c5
Author: Kalista Payne <sabrecat@gmail.com >
Date: Thu Oct 17 17:13:29 2024 -0500
fix(subs): pass autoRenews through Stripe
commit 6819e7b7e5
Author: Kalista Payne <sabrecat@gmail.com >
Date: Thu Oct 17 16:03:25 2024 -0500
fix(subscriptions): minor visual updates
commit 74633b5e5e
Author: Kalista Payne <sabrecat@gmail.com >
Date: Wed Oct 16 17:27:09 2024 -0500
fix(subscriptions): more gift layout revisions
commit a90ccb89de
Author: Kalista Payne <sabrecat@gmail.com >
Date: Wed Oct 16 15:37:50 2024 -0500
fix(subscription): update layout when gifting
commit c24b2db8dc
Author: Phillip Thelen <phillip@habitica.com >
Date: Mon Oct 14 16:11:46 2024 +0200
fix issue with promo hourglasses
commit 7a61c72b47
Author: Phillip Thelen <phillip@habitica.com >
Date: Mon Oct 14 15:59:40 2024 +0200
don’t give additional HG for new sub if they already got one this month
commit f14cb09026
Author: Phillip Thelen <phillip@habitica.com >
Date: Mon Oct 14 10:38:01 2024 +0200
Admin panel display fixes
commit f4cff698cf
Author: Kalista Payne <sabrecat@gmail.com >
Date: Thu Oct 3 17:58:59 2024 -0500
fix(stripe): correct redirect after success
commit c468b58f3f
Author: Kalista Payne <sabrecat@gmail.com >
Date: Thu Oct 3 17:35:37 2024 -0500
fix(subs): correct border-radius and redirect
commit 78fb9e31d6
Author: Kalista Payne <sabrecat@gmail.com >
Date: Wed Oct 2 17:41:49 2024 -0500
fix(css): correct and refactor heights and selection states
commit e2babe8053
Author: Kalista Payne <sabrecat@gmail.com >
Date: Mon Sep 30 16:45:29 2024 -0500
feat(subscription): max Gems progress readout
commit 61af8302a3
Author: Phillip Thelen <phillip@habitica.com >
Date: Fri Sep 27 15:11:22 2024 +0200
fix test
commit ef8ff0ea9e
Author: Phillip Thelen <phillip@habitica.com >
Date: Fri Sep 27 14:14:44 2024 +0200
show date for hourglass bonus if it was received
commit 4bafafdc8d
Author: Phillip Thelen <phillip@habitica.com >
Date: Fri Sep 27 14:12:52 2024 +0200
add new field for cumulative subscription count
commit 30096247b7
Author: Phillip Thelen <phillip@habitica.com >
Date: Fri Sep 27 13:39:49 2024 +0200
fix missing transaction type
commit 70872651b0
Author: Phillip Thelen <phillip@habitica.com >
Date: Fri Sep 27 13:31:40 2024 +0200
fix admin panel strings
commit f3398db65f
Author: Kalista Payne <sabrecat@gmail.com >
Date: Thu Sep 26 23:11:16 2024 -0500
WIP(subs): extant Stripe state
commit c6b2020109
Author: Phillip Thelen <phillip@habitica.com >
Date: Thu Sep 26 11:41:55 2024 +0200
fix admin panel display
commit d9afc96d2d
Author: Phillip Thelen <phillip@habitica.com >
Date: Thu Sep 26 11:40:16 2024 +0200
Fix hourglass logic for upgrades
commit 6e2c8eeb64
Author: Phillip Thelen <phillip@habitica.com >
Date: Wed Sep 25 17:48:54 2024 +0200
fix hourglass count
commit cd752fbdce
Author: Kalista Payne <sabrecat@gmail.com >
Date: Fri Sep 20 12:24:21 2024 -0500
WIP(frontend): draft of main subs page view
commit 0102b29d59
Author: Kalista Payne <sabe@habitica.com >
Date: Wed Sep 18 15:29:08 2024 -0500
fix(admin): correct logic and style for shrimple subs
commit 5469a5c5c3
Author: Kalista Payne <sabe@habitica.com >
Date: Wed Sep 18 15:07:36 2024 -0500
fix(test): short circuit this.
commit 526193ee6c
Author: Phillip Thelen <phillip@habitica.com >
Date: Wed Sep 18 14:42:06 2024 +0200
fix gem limit
commit 19cf1636aa
Author: Phillip Thelen <phillip@habitica.com >
Date: Tue Aug 13 17:00:40 2024 +0200
return nextHourglassDate again
commit eea36e3ed5
Author: Phillip Thelen <phillip@habitica.com >
Date: Tue Aug 13 13:11:22 2024 +0200
subscription test improvements
commit ca78e74330
Author: Phillip Thelen <phillip@habitica.com >
Date: Mon Aug 12 15:46:15 2024 +0200
add more subscription tests
commit f4c4f93a08
Author: Phillip Thelen <phillip@habitica.com >
Date: Fri Aug 9 13:35:22 2024 +0200
finish basic implementation of new logic
commit e036742048
Author: Phillip Thelen <phillip@habitica.com >
Date: Fri Aug 9 11:37:44 2024 +0200
cleanup
commit 6431865688
Author: Phillip Thelen <phillip@habitica.com >
Date: Wed Aug 7 05:41:18 2024 -0400
update cron tests
commit 930d875ae9
Author: Phillip Thelen <phillip@habitica.com >
Date: Thu Aug 8 10:36:50 2024 +0200
begin refactoring
commit 96623608d0
Author: Phillip Thelen <phillip@habitica.com >
Date: Tue Aug 6 16:28:16 2024 +0200
begin removing obsolete tests
2024-11-14 12:31:57 -06:00
Sabe Jones
8fa91a3805
chore(node): upgrade to Node 20
2024-03-11 09:59:57 -05:00
Phillip Thelen
f8d315ff6e
Upgrade to mongoose 7 ( #14971 )
...
* remove some unused dependencies
* update mongoose version
* make common tests pass
* Make unit tests pass
* make api v3 integration tests pass
* fix lint issues
* fix issue with package-lock
* fix(lint): we don't need no .js
* fix(lint): update to latest config-habitrpg
* chore(npm): update package locks
* fix(test): replace deprecated fn
* chore(package): update eslint-habitrpg again
* fix(lint): server linting
* fix(lint): client linting
* fix(client): correct mangled common imports
* chore(npm): update package-locks
* fix(lint): punctuation, module
---------
Co-authored-by: SabreCat <sabrecat@gmail.com >
Co-authored-by: SabreCat <sabe@habitica.com >
2024-01-16 15:18:47 -06:00
Phillip Thelen
d4a5823916
Fix one-off issue for monthly subs ( #14643 )
...
* Fix initial plan.consecutive.offset for 1 month subs
* fix initial values for group plan subs
* Make perkMonthCount editable in admin panel
* Add aditional info to admin panel
* Implement automatic fix for affected users
* fix(lint): exclusive test, code style
* fixes
* fix issue with initialization
---------
Co-authored-by: SabreCat <sabe@habitica.com >
2023-05-24 13:29:42 -05:00
Phillip Thelen
d2d4af227b
Fix an issue with gifting subs ( #14550 )
...
* Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (405 of 405 strings)
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2781 of 2781 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (135 of 135 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (217 of 217 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (56 of 56 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (13 of 13 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (112 of 112 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (131 of 131 strings)
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (405 of 405 strings)
Translated using Weblate (Portuguese)
Currently translated at 81.7% (331 of 405 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (214 of 214 strings)
Translated using Weblate (Portuguese)
Currently translated at 62.5% (5 of 8 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (61 of 61 strings)
Translated using Weblate (Portuguese)
Currently translated at 63.8% (1777 of 2781 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (182 of 182 strings)
Translated using Weblate (Portuguese)
Currently translated at 71.6% (43 of 60 strings)
Translated using Weblate (Portuguese)
Currently translated at 79.7% (609 of 764 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (375 of 375 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (47 of 47 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (770 of 770 strings)
Translated using Weblate (Portuguese)
Currently translated at 100.0% (146 of 146 strings)
Translated using Weblate (German)
Currently translated at 100.0% (404 of 404 strings)
Translated using Weblate (German)
Currently translated at 79.5% (97 of 122 strings)
Translated using Weblate (German)
Currently translated at 97.7% (753 of 770 strings)
Translated using Weblate (German)
Currently translated at 100.0% (146 of 146 strings)
Translated using Weblate (Portuguese)
Currently translated at 77.0% (94 of 122 strings)
Translated using Weblate (Indonesian)
Currently translated at 76.7% (310 of 404 strings)
Translated using Weblate (Portuguese)
Currently translated at 76.2% (93 of 122 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 85.6% (2381 of 2781 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (60 of 60 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (217 of 217 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (112 of 112 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (267 of 267 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (404 of 404 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (182 of 182 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 95.8% (732 of 764 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (122 of 122 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (375 of 375 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (770 of 770 strings)
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (146 of 146 strings)
Translated using Weblate (Portuguese)
Currently translated at 74.5% (91 of 122 strings)
Translated using Weblate (Portuguese)
Currently translated at 72.1% (88 of 122 strings)
Co-authored-by: Ana Beatriz <anabeatriz.augusto06@yahoo.com >
Co-authored-by: Andressa Murari Sudré <andressa@sudre.com.br >
Co-authored-by: Cachinhos <cachnhos@gmail.com >
Co-authored-by: Falzart Werefox <muh_fauzi_ramadhan@yahoo.co.id >
Co-authored-by: Jay <fallacyofwildlifeconservation@gmail.com >
Co-authored-by: Jerry Chen <minecjraft@qq.com >
Co-authored-by: Weblate <noreply@weblate.org >
Co-authored-by: Yu-Wei Tien <a38498987911@gmail.com >
Translate-URL: https://translate.habitica.com/projects/habitica/achievements/de/
Translate-URL: https://translate.habitica.com/projects/habitica/achievements/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/achievements/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/de/
Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/backgrounds/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/de/
Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/communityguidelines/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/content/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/content/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/contrib/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/faq/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/faq/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/front/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/front/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/gear/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/gear/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/gear/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/generic/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/de/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/id/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/pt_BR/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/zh_Hans/
Translate-URL: https://translate.habitica.com/projects/habitica/groups/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/limited/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/messages/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/npc/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/overview/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/pets/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/pets/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/questscontent/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/rebirth/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/spells/pt/
Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/pt_BR/
Translate-URL: https://translate.habitica.com/projects/habitica/subscriber/zh_Hant/
Translate-URL: https://translate.habitica.com/projects/habitica/tasks/pt/
Translation: Habitica/Achievements
Translation: Habitica/Backgrounds
Translation: Habitica/Communityguidelines
Translation: Habitica/Content
Translation: Habitica/Contrib
Translation: Habitica/Faq
Translation: Habitica/Front
Translation: Habitica/Gear
Translation: Habitica/Generic
Translation: Habitica/Groups
Translation: Habitica/Limited
Translation: Habitica/Messages
Translation: Habitica/Npc
Translation: Habitica/Overview
Translation: Habitica/Pets
Translation: Habitica/Questscontent
Translation: Habitica/Rebirth
Translation: Habitica/Spells
Translation: Habitica/Subscriber
Translation: Habitica/Tasks
* gift subscription fix
* remove only
---------
Co-authored-by: Weblate <noreply@weblate.org >
Co-authored-by: Ana Beatriz <anabeatriz.augusto06@yahoo.com >
Co-authored-by: Andressa Murari Sudré <andressa@sudre.com.br >
Co-authored-by: Cachinhos <cachnhos@gmail.com >
Co-authored-by: Falzart Werefox <muh_fauzi_ramadhan@yahoo.co.id >
Co-authored-by: Jay <fallacyofwildlifeconservation@gmail.com >
Co-authored-by: Jerry Chen <minecjraft@qq.com >
Co-authored-by: Yu-Wei Tien <a38498987911@gmail.com >
Co-authored-by: SabreCat <sabe@habitica.com >
2023-03-23 14:34:40 -05:00
Phillip Thelen
def24142ca
remove wrong test
2023-02-27 13:30:44 +01:00
Phillip Thelen
62b171ffa5
fix linting
2023-02-24 10:47:50 +01:00
Phillip Thelen
3f56b7fa3f
fix offset calculation
2023-02-17 15:42:31 +01:00
Phillip Thelen
6ee2e3a379
Merge remote-tracking branch 'origin/develop' into apple_sub_fix
2023-02-13 17:38:14 +01:00
Natalie L
0335eb1f7e
chore(content): add February backgrounds and Enchanted Armoire Items ( #14482 )
...
* chore(content): add February backgrounds and Enchanted Armoire Items
* fix(test): birthday week adjustment
* fix(strings): .
* fix(strings): correct background tokens
---------
Co-authored-by: SabreCat <sabe@habitica.com >
Co-authored-by: Sabe Jones <sabrecat@gmail.com >
2023-02-07 09:12:19 -06:00
Phillip Thelen
aec2409227
lint fixes
2023-02-06 12:59:54 +01:00
Phillip Thelen
12479edb77
fix tests and some cases
2023-02-06 11:17:35 +01:00
Phillip Thelen
c0c6657536
handle upgrades and creations better
2023-02-06 11:17:35 +01:00
Phillip Thelen
0f7001b609
fix lint
2023-02-06 11:17:35 +01:00
Phillip Thelen
87558a325e
Handle subscription cancelation better
2023-02-06 11:17:35 +01:00
Phillip Thelen
614850e56c
fix tests
2023-02-06 11:17:35 +01:00
Phillip Thelen
64a3515c10
Add logic for different types of sub upgrades
2023-02-06 11:17:35 +01:00
Phillip Thelen
8dfa21a4b8
Add field to track when current subscription type started
2023-02-06 11:17:35 +01:00
Phillip Thelen
ddf1b4060d
Better handling for cancellation when user had multiple subs
2023-02-06 11:17:35 +01:00
Phillip Thelen
967717a010
Fix logic for apple subscriptions
2023-02-06 11:17:35 +01:00
SabreCat
9b791b4ba0
fix(test): save user to avoid lock errors
2023-02-06 11:17:35 +01:00
SabreCat
5aca5b4be7
fix(test): linting
2023-02-06 11:17:35 +01:00
Phillip Thelen
0dd25b6431
fix issue where subs would be applied multiple times
2023-02-06 11:17:35 +01:00
Phillip Thelen
cf75d941fa
fix test
2023-02-06 11:17:35 +01:00
Phillip Thelen
f07d0f6441
Implement correct handling for when subs are up/downgraded
2023-02-06 11:17:24 +01:00
Phillip Thelen
98ec1757f9
fix tests
2023-02-06 11:16:24 +01:00
SabreCat
ac239e32ce
fix(payments): wrap up adjusted test expectations
2023-01-23 00:45:31 -06:00
SabreCat
3474cbf138
fix(payments): correct more tests
2023-01-22 23:02:18 -06:00
SabreCat
f845bbd7a0
fix(payments): address some test failures
2023-01-22 22:30:48 -06:00
SabreCat
e5bbde7e97
feat(event): 10th Birthday Bash
...
with @CuriousMagpie and @phillipthelen
2023-01-20 16:14:33 -06:00
SabreCat
f1fa6a8456
Revert "Allow sub upgrades/downgrades on iOS ( #14303 )"
...
This reverts commit 9e98e56e9b .
2022-11-21 16:40:56 -06:00
SabreCat
f2aaee15f3
Merge branch 'release' into develop
2022-11-18 15:29:06 -06:00
SabreCat
febffb3f07
Revert "Fix double subscriptions, second attempt ( #14345 )"
...
This reverts commit 1a5cba57b7 .
2022-11-18 14:26:49 -06:00
SabreCat
fdfa2d6df4
Merge branch 'release' into develop
2022-11-15 19:29:37 -06:00
Sabe Jones
1a5cba57b7
Fix double subscriptions, second attempt ( #14345 )
...
* fix(subscriptions): reject subs that come in too fast
* fix(lint): remove unused import
* fix(groups): individual subs may come rapidly
* fix(subscriptions): bad paren, handle rapid testing
* fix(test): reset dateUpdated between subs
* fix(test): one more block for dateUpdated
Co-authored-by: SabreCat <sabe@habitica.com >
2022-11-15 19:19:37 -06:00
SabreCat
9b1a726875
Revert "feat(subs): allow upgrade/downgrade on iOS"
...
This reverts commit 27440772f0 .
2022-11-02 09:00:29 -05:00
Phillip Thelen
9e98e56e9b
Allow sub upgrades/downgrades on iOS ( #14303 )
...
* Allow sub upgrades/downgrades on iOS
* fix check
* fix(lint): line length
* fix(typo): customER
* fix tests
* Implement correct handling for when subs are up/downgraded
* fix lint errors
* fix test
Co-authored-by: SabreCat <sabe@habitica.com >
Co-authored-by: Sabe Jones <sabrecat@gmail.com >
2022-11-01 21:07:23 -05:00
SabreCat
27440772f0
feat(subs): allow upgrade/downgrade on iOS
...
by @phillipthelen
2022-11-01 20:53:04 -05:00
SabreCat
aea0be3245
fix(subs): establish lock to prevent race condition
2022-11-01 20:47:21 -05:00
negue
f7a03d2eb5
improve transactions logs + split createSubscription ( #14289 )
...
* improve transactions logs + split createSubscription
2022-10-27 08:39:06 +02:00
Sabe Jones
90250d1a25
Establish lock to avoid race scenario in subscriptions ( #14267 )
...
* fix(subscription): establish lock to avoid race scenario
* fix(lint): import syntax
* fix(lint): whitespace, dependency cycle
* fix(subs): skip locking on gifts and groups
* fix(subs): correctly reset _subSignature
* fix(sub): use findOneAndUpdate for unlock
* fix(test): save newly created user for some reason
Co-authored-by: SabreCat <sabe@habitica.com >
2022-10-25 16:44:33 -05:00
SabreCat
40997854dd
fix(test): restore event list function
2022-09-30 14:32:21 -05:00
SabreCat
e0eed8238e
fix(test): stub full event list
2022-09-23 16:42:15 -05:00
SabreCat
4c34c68d78
fix(test): stub newly relevant function
2022-09-15 12:20:11 -05:00
Phillip Thelen
65d2eac4c3
Correctly handle google accounts with multiple subscriptions ( #13982 )
2022-06-10 14:07:36 -05:00
SabreCat
08352c5f49
fix(subs): correct cancellation check logic and test
2022-02-22 11:26:15 -06:00
SabreCat
7080715bcc
fix(tests): renewig typos
2022-02-22 10:13:32 -06:00
Phillip Thelen
c6d07983b2
Fix issue with validating android sub cancellation
2022-02-22 10:12:10 -06:00
SabreCat
e2fd6a72c2
fix(test): correct stub restore
2021-12-21 16:25:29 -06:00