feat(mystery): 201409

This commit is contained in:
Tyler Renelle
2014-09-24 23:15:46 -06:00
parent 632726fe02
commit 351e220b83
3 changed files with 28 additions and 12 deletions

View File

@@ -2,7 +2,7 @@ var _id = '';
var update = {
$push: {
'purchased.plan.mysteryItems':{
$each:['head_mystery_201408','armor_mystery_201408']
$each:['headAccessory_mystery_201409','armor_mystery_201409']
}
}
};

View File

@@ -108,6 +108,8 @@ api.getMember = function(req, res, next) {
var cid = req.params.cid;
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
// 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

View File

@@ -8,7 +8,22 @@ table
h3.popover-title
a(target='_blank', href='https://twitter.com/Mihakuu') Bailey
.popover-content
h5 Fall Festival! Limited-Edition Outfits, Candy Food Drops, And Npc Dress-Up
table.table.table-striped
tr
td
h5 Update: Diagnosing Server Problems
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
td
h5 September Item Set Revealed
.promo_mystery_201409.pull-right
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.
p.small.muted by Lemoness
p.small.muted 9/25/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
@@ -23,7 +38,6 @@ table
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?
p.small.muted 9/22/2014
h5 9/17/2014 - Rooster Pets, Party Sorting, And Back-To-School Challenge
table.table.table-striped