Merge branch 'release' into develop

This commit is contained in:
SabreCat 2022-06-29 14:04:39 -05:00
commit 6975b6061b
8 changed files with 43 additions and 6 deletions

@ -1 +1 @@
Subproject commit 847f56dd8f54f3594135f6c3cb8905edc8f15a3b
Subproject commit 896d1aedaddcfb650f0fb67c01ab36c8a9b3ef97

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "habitica",
"version": "4.234.1",
"version": "4.235.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View file

@ -1,7 +1,7 @@
{
"name": "habitica",
"description": "A habit tracker app which treats your goals like a Role Playing Game.",
"version": "4.234.1",
"version": "4.235.0",
"main": "./website/server/index.js",
"dependencies": {
"@babel/core": "^7.18.5",

View file

@ -26830,6 +26830,36 @@
width: 68px;
height: 68px;
}
.broad_armor_mystery_202207 {
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/broad_armor_mystery_202207.png');
width: 117px;
height: 120px;
}
.head_mystery_202207 {
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/head_mystery_202207.png');
width: 117px;
height: 120px;
}
.shop_armor_mystery_202207 {
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_armor_mystery_202207.png');
width: 68px;
height: 68px;
}
.shop_head_mystery_202207 {
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_head_mystery_202207.png');
width: 68px;
height: 68px;
}
.shop_set_mystery_202207 {
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/shop_set_mystery_202207.png');
width: 68px;
height: 68px;
}
.slim_armor_mystery_202207 {
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/slim_armor_mystery_202207.png');
width: 117px;
height: 120px;
}
.broad_armor_mystery_301404 {
background-image: url('https://habitica-assets.s3.amazonaws.com/mobileApp/images/broad_armor_mystery_301404.png');
width: 90px;

View file

@ -428,7 +428,7 @@
"weaponSpecialSummer2022RogueText": "Crab Claw",
"weaponSpecialSummer2022RogueNotes": "If you're in a pinch, don't hesitate to show these fearsome claws! Increases Strength by <%= str %>. Limited Edition 2022 Summer Gear.",
"weaponSpecialSummer2022WarriorText": "Cyclone Shield",
"weaponSpecialSummer2022WarriorText": "Whirling Cyclone",
"weaponSpecialSummer2022WarriorNotes": "It spins! It redirects! And it brings the storm! Increases Strength by <%= str %>. Limited Edition 2022 Summer Gear.",
"weaponSpecialSummer2022MageText": "Manta Ray Staff",
"weaponSpecialSummer2022MageNotes": "Magically clear the waters ahead of you with one swirl of this staff. Increases Intelligence by <%= int %> and Perception by <%= per %>. Limited Edition 2022 Summer Gear.",
@ -1185,6 +1185,8 @@
"armorMystery202112Notes": "Glide through icy seas and never get cold with this glimmering tail. Confers no benefit. December 2021 Subscriber Item.",
"armorMystery202204Text": "Virtual Adventurer Capsule",
"armorMystery202204Notes": "Looks like doing your tasks now requires pushing these mysterious buttons! What could they do? Confers no benefit. April 2022 Subscriber Item.",
"armorMystery202207Text": "Jammin' Jelly Armor",
"armorMystery202207Notes": "This armor will have you looking glamorous and gelatinous. Confers no benefit. July 2022 Subscriber Item.",
"armorMystery301404Text": "Steampunk Suit",
"armorMystery301404Notes": "Dapper and dashing, wot! Confers no benefit. February 3015 Subscriber Item.",
"armorMystery301703Text": "Steampunk Peacock Gown",
@ -1918,6 +1920,8 @@
"headMystery202202Notes": "You gotta have blue hair! Confers no benefit. February 2022 Subscriber Item.",
"headMystery202206Text": "Sea Sprite Circlet",
"headMystery202206Notes": "The blue pearl in this circlet grants you waterbending powers. Use them wisely! Confers no benefit. June 2022 Subscriber Item.",
"headMystery202207Text": "Jammin' Jelly Helm",
"headMystery202207Notes": "Need a hand with your tasks? Will several dozen bioluminescent tentacles do? Confers no benefit. July 2022 Subscriber Item.",
"headMystery301404Text": "Fancy Top Hat",
"headMystery301404Notes": "A fancy top hat for the finest of gentlefolk! January 3015 Subscriber Item. Confers no benefit.",
"headMystery301405Text": "Basic Top Hat",
@ -2323,7 +2327,7 @@
"shieldSpecialSpring2022HealerText": "Peridot Shield",
"shieldSpecialSpring2022HealerNotes": "Formed by molten rock of the upper mantle, this shield can withstand any hit that comes its way. Increases Constitution by <%= con %>. Limited Edition 2022 Spring Gear.",
"shieldSpecialSummer2022WarriorText": "Shark Blade",
"shieldSpecialSummer2022WarriorText": "Feisty Shark",
"shieldSpecialSummer2022WarriorNotes": "It snaps! It bites! And it never, ever stops! Increases Constitution by <%= con %>. Limited Edition 2022 Summer Gear.",
"shieldSpecialSummer2022HealerText": "Remedial Ripples",
"shieldSpecialSummer2022HealerNotes": "Send out restorative magic in gentle ripples through the reef. Increases Constitution by <%= con %>. Limited Edition 2022 Summer Gear.",

View file

@ -135,6 +135,7 @@
"mysterySet202204": "Virtual Adventurer Set",
"mysterySet202205": "Dusk-Winged Dragon Set",
"mysterySet202206": "Sea Sprite Set",
"mysterySet202207": "Jammin' Jelly Set",
"mysterySet301404": "Steampunk Standard Set",
"mysterySet301405": "Steampunk Accessories Set",
"mysterySet301703": "Peacock Steampunk Set",

View file

@ -57,6 +57,7 @@ const armor = {
202110: { },
202112: { },
202204: { },
202207: { },
301404: { },
301703: { },
301704: { },
@ -190,6 +191,7 @@ const head = {
202112: { },
202202: { },
202206: { },
202207: { },
301404: { },
301405: { },
301703: { },

View file

@ -35,7 +35,7 @@ export async function socialEmailToLocal (user) {
).exec();
if (!conflictingUser) return socialEmail;
}
return null;
return undefined;
}
export async function loginSocial (req, res) { // eslint-disable-line import/prefer-default-export