mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
feat(mystery): 201409
This commit is contained in:
@@ -2,7 +2,7 @@ var _id = '';
|
|||||||
var update = {
|
var update = {
|
||||||
$push: {
|
$push: {
|
||||||
'purchased.plan.mysteryItems':{
|
'purchased.plan.mysteryItems':{
|
||||||
$each:['head_mystery_201408','armor_mystery_201408']
|
$each:['headAccessory_mystery_201409','armor_mystery_201409']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -108,6 +108,8 @@ api.getMember = function(req, res, next) {
|
|||||||
var cid = req.params.cid;
|
var cid = req.params.cid;
|
||||||
var uid = req.params.uid;
|
var uid = req.params.uid;
|
||||||
|
|
||||||
|
// We need to start using the aggregation framework instead of in-app filtering, see http://docs.mongodb.org/manual/aggregation/
|
||||||
|
|
||||||
// See http://stackoverflow.com/a/18546277/362790
|
// See http://stackoverflow.com/a/18546277/362790
|
||||||
// However, this doesn't work. If not all $match conditions are met (eg, if a challenge doesn't have any one of habit/daily/todo/reward
|
// However, this doesn't work. If not all $match conditions are met (eg, if a challenge doesn't have any one of habit/daily/todo/reward
|
||||||
// then the $match fails and that user object is removed from the results. See http://stackoverflow.com/questions/23636175/filter-subdocument-array-while-still-returning-parent-data-if-empty
|
// then the $match fails and that user object is removed from the results. See http://stackoverflow.com/questions/23636175/filter-subdocument-array-while-still-returning-parent-data-if-empty
|
||||||
|
|||||||
@@ -8,22 +8,36 @@ table
|
|||||||
h3.popover-title
|
h3.popover-title
|
||||||
a(target='_blank', href='https://twitter.com/Mihakuu') Bailey
|
a(target='_blank', href='https://twitter.com/Mihakuu') Bailey
|
||||||
.popover-content
|
.popover-content
|
||||||
h5 Fall Festival! Limited-Edition Outfits, Candy Food Drops, And Npc Dress-Up
|
|
||||||
p Autumn is upon us! The air is crisp, the leaves are red, and Habitica is feeling spooky. Come celebrate the Fall Festival with us... if you dare!
|
|
||||||
table.table.table-striped
|
table.table.table-striped
|
||||||
tr
|
tr
|
||||||
td
|
td
|
||||||
h5 Limited Edition Class Outfits
|
h5 Update: Diagnosing Server Problems
|
||||||
p Habiticans everywhere are dressing up. From now until October 31st, limited edition outfits are available in the Rewards column. Depending on your class, you can be a Witchy Wizard, Monster of Science, Vampire Smiter, or Mummy Medic! You'd better get productive to earn enough gold before your time runs out...
|
p Our servers have been under a massive strain recently, and so we've created a <a href='https://github.com/HabitRPG/habitrpg/issues/4079' target='_blank'>Github ticket</a> that you can follow for updates on the things we're doing to fix the problem. We've also written a <a href='http://blog.habitrpg.com/post/98367930371/update-diagnosing-server-problems' target='_blank'>blog post</a>. We'll keep you updated with new developments as we strive to solve this problem.
|
||||||
|
p If you've lost any of your stats during this time, you can restore them using Settings > Site > Fix Character Values. Thank you so much for your patience and encouragement as we work to fight this fearsome foe!
|
||||||
|
p.small.muted by lefnire, Lemoness
|
||||||
tr
|
tr
|
||||||
td
|
td
|
||||||
h5 Candy Food Drops!
|
h5 September Item Set Revealed
|
||||||
p You've received some Candy in your inventory in honor of the Fall Festival! Plus, for the duration of the Event, Habiticans may randomly find candy drops when they complete their tasks. These candies function just like normal food drops - can you guess which flavor your pet will like best?
|
.promo_mystery_201409.pull-right
|
||||||
tr
|
p In happier news, the September Subscriber Item has been revealed: the Autumn Strider Item Set. All people who are subscribed before the end of September will receive the Autumn Antlers and the Strider Vest. Thank you so much for your support - it means a lot to us, especially right now.
|
||||||
td
|
p.small.muted by Lemoness
|
||||||
h5 NPC Dress-Up
|
p.small.muted 9/25/2014
|
||||||
p Looks like the NPCs are really getting in to the spooky autumnal mood around the site. Who wouldn't?
|
|
||||||
p.small.muted 9/22/2014
|
h5 9/22/2014 - Fall Festival! Limited-Edition Outfits, Candy Food Drops, And Npc Dress-Up
|
||||||
|
p Autumn is upon us! The air is crisp, the leaves are red, and Habitica is feeling spooky. Come celebrate the Fall Festival with us... if you dare!
|
||||||
|
table.table.table-striped
|
||||||
|
tr
|
||||||
|
td
|
||||||
|
h5 Limited Edition Class Outfits
|
||||||
|
p Habiticans everywhere are dressing up. From now until October 31st, limited edition outfits are available in the Rewards column. Depending on your class, you can be a Witchy Wizard, Monster of Science, Vampire Smiter, or Mummy Medic! You'd better get productive to earn enough gold before your time runs out...
|
||||||
|
tr
|
||||||
|
td
|
||||||
|
h5 Candy Food Drops!
|
||||||
|
p You've received some Candy in your inventory in honor of the Fall Festival! Plus, for the duration of the Event, Habiticans may randomly find candy drops when they complete their tasks. These candies function just like normal food drops - can you guess which flavor your pet will like best?
|
||||||
|
tr
|
||||||
|
td
|
||||||
|
h5 NPC Dress-Up
|
||||||
|
p Looks like the NPCs are really getting in to the spooky autumnal mood around the site. Who wouldn't?
|
||||||
|
|
||||||
h5 9/17/2014 - Rooster Pets, Party Sorting, And Back-To-School Challenge
|
h5 9/17/2014 - Rooster Pets, Party Sorting, And Back-To-School Challenge
|
||||||
table.table.table-striped
|
table.table.table-striped
|
||||||
|
|||||||
Reference in New Issue
Block a user