Phillip Thelen
e338fb8ce7
Merge branch 'apple_sub_fix' of https://github.com/HabitRPG/habitica into apple_sub_fix
2023-02-16 09:37:36 +01:00
Phillip Thelen
2d5dcae406
fix tests
2023-02-16 09:37:00 +01:00
Phillip Thelen
3203b09b7a
reset perkMonthCount when subscription ends
2023-02-15 10:05:18 +01:00
Phillip Thelen
6ee2e3a379
Merge remote-tracking branch 'origin/develop' into apple_sub_fix
2023-02-13 17:38:14 +01:00
Phillip Thelen
ad6555c92b
fix import
2023-02-06 17:16:43 +01:00
Phillip Thelen
c04e8ea514
comma
2023-02-06 13:01:06 +01:00
Phillip Thelen
aec2409227
lint fixes
2023-02-06 12:59:54 +01:00
Phillip Thelen
87aebcc19e
Merge branch 'apple_sub_fix' of https://github.com/HabitRPG/habitica into apple_sub_fix
...
# Conflicts:
# test/api/unit/libs/payments/apple.test.js
# website/server/libs/payments/subscriptions.js
2023-02-06 11:19:00 +01:00
Phillip Thelen
a3bc20f855
Fix case where a number was sometimes a string
2023-02-06 11:17:35 +01:00
Phillip Thelen
86e33b2364
remove log
2023-02-06 11:17:35 +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
SabreCat
e81a052f66
fix(lint): line lengths and so on
2023-02-06 11:17:35 +01:00
Phillip Thelen
82a1d6ff0e
Improve handling
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
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
f9a9d4919b
Improve recheck handling for test subs
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
Phillip Thelen
0dd25b6431
fix issue where subs would be applied multiple times
2023-02-06 11:17:35 +01:00
Phillip Thelen
777f7887b4
fix lint errors
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
SabreCat
742da1f2c6
fix(typo): customER
2023-02-06 11:16:24 +01:00
SabreCat
b3d5a8d083
fix(lint): line length
2023-02-06 11:16:24 +01:00
Phillip Thelen
b5f2e66025
fix check
2023-02-06 11:16:24 +01:00
Phillip Thelen
9a40674d8d
Allow sub upgrades/downgrades on iOS
2023-02-06 11:16:24 +01:00
SabreCat
a213fb723a
fix(purchases): correct hardcoded date range for Gryph
2023-02-03 09:23:21 -06:00
SabreCat
96a8c1a41c
fix(chat): correctly hide flag counts from non-moderators
2023-02-02 16:36:37 -06:00
SabreCat
27964a2d86
fix(analytics): add headers to group task assignment
2023-01-27 19:57:15 -06:00
SabreCat
ecac3f0c5f
fix(backgrounds): disallow equipping unowned bashground
...
Also add missing headers when recording group task creation
2023-01-27 19:26:19 -06:00
SabreCat
e1deb6adff
fix(payments): add missing SKU variations
2023-01-22 23:21:22 -06:00
SabreCat
f845bbd7a0
fix(payments): address some test failures
2023-01-22 22:30:48 -06:00
SabreCat
0dfc8de300
fix(lint): remove extraneous import
2023-01-20 16:25:24 -06:00
SabreCat
e5bbde7e97
feat(event): 10th Birthday Bash
...
with @CuriousMagpie and @phillipthelen
2023-01-20 16:14:33 -06:00
SabreCat
98c4910051
Merge branch 'release' into develop
2022-12-23 15:35:20 -06:00
Natalie L
55e7ef138e
chore(content): add NYE party hat and migration script ( #14419 )
...
* chore(content): add NYE party hat and migration script
* chore(subproj): update habitica-images
* chore(sprites): corrected sprite CSS run
* fix(event): unbork migration, add latecomer hook
Co-authored-by: SabreCat <sabe@habitica.com >
2022-12-23 15:35:23 -06:00
SabreCat
079279e5c1
Revert "fix(tests): if singleton event, always provide empty string suffix"
...
This reverts commit 64bf4ee4b6 .
2022-12-20 09:51:24 -06:00
SabreCat
6d33ec02a8
Merge branch 'release' into develop
2022-12-19 16:24:48 -06:00
SabreCat
64bf4ee4b6
fix(tests): if singleton event, always provide empty string suffix
2022-12-19 16:22:20 -06:00
SabreCat
1f59d95465
Merge branch 'sabrecat/pass-change-max' into release
2022-12-15 15:02:05 -06:00
tvday
cdd1bf1cf0
added field to updates to remove rewarded gear from pinned items, if present ( #14406 )
2022-12-15 14:48:22 -06:00
Adam Fitzgibbon
42e0bad4ac
added validation for blocked users when inviting to groups by username ( #14316 )
2022-12-15 14:47:54 -06:00
Phillip Thelen
b97da5fe57
Add support for getting chat limit from database ( #14392 )
...
* Add support for getting chat limit from database
* fix lint error
2022-12-15 14:38:28 -06:00
Phillip Thelen
2c9ee04c6d
Optimise chat storage by not storing both equipped and costume ( #14409 )
...
* don’t store both equipped and costume
* fix lint
2022-12-15 14:30:15 -06:00
SabreCat
1587827b22
Merge branch 'develop' into release
2022-12-15 14:04:11 -06:00
Sabe Jones
eb2cb9e921
Refactor FAQ ( #14372 )
...
* refactor(faq): fetch from API on web
Also make question list more maintainable, allowing different questions across platforms
* fix(tests): don't return null when function is expected
Also removes the unnecessary default to web in controller
* fix(tests): add new fields to expectation, add placeholders
* refactor(faq): allow reordering
Co-authored-by: SabreCat <sabe@habitica.com >
2022-12-15 11:34:07 -06:00
Natalie L
573c932565
chore(content): add Polar Pro achievement ( #14399 )
...
* chore(content): add Polar Pro achievement
* chore(script): add migration script
* fix(typo): rogue backticks
* fix(capitalization): revert css blurp
* fix(migration): no babby wuff
Co-authored-by: Sabe Jones <sabrecat@gmail.com >
Co-authored-by: SabreCat <sabe@habitica.com >
2022-12-13 14:50:53 -06:00
Phillip Thelen
cde5fbef85
Fix case where a number was sometimes a string
2022-12-09 12:16:33 +01:00