update bailey notif

This commit is contained in:
Tyler Renelle 2013-09-03 20:08:49 -04:00
parent 5f2405a3f4
commit e43740e939
2 changed files with 11 additions and 7 deletions

View file

@ -167,17 +167,18 @@ function deleteTask(user, task) {
*/
/*
/**
This is called form deprecated.coffee's score function, and the req.headers are setup properly to handle the login
Export it also so we can call it from deprecated.coffee
*/
api.scoreTask = function(req, res, next) {
// FIXME this is all uglified from coffeescript compile, clean this up
var delta, direction, existing, id, task, user, _ref, _ref1, _ref2, _ref3, _ref4;
_ref = req.params, id = _ref.id, direction = _ref.direction;
/* Send error responses for improper API call*/
// Send error responses for improper API call
if (!id) {
return res.json(500, {
err: ':id required'

View file

@ -14,10 +14,13 @@ div(modal='user.flags.rewrite !== false')
.popover-content
p.
Hello my Habiteers! I have some amazing news to share with you, it's huge!
Has Habit ever crashed for you? (Joke). Well we <a target='_blank' href="http://habitrpg.tumblr.com/post/59104876969/website-issues-what-were-doing">re-wrote the website from the ground up</a>
Has Habit ever crashed for you? (Joke). Well we <u><a target='_blank' href="http://habitrpg.tumblr.com/post/59104876969/website-issues-what-were-doing">re-wrote the website</a></u> from the ground up
to conquor those critical bugs once and for all (more from Tyler in a bit). If you haven't seen me for a while (due to a bug in the old site), be sure to catch up with me on the right side of the screen for any missed news. Importantly:
<u><a target='_blank' href='https://play.google.com/store/apps/details?id=com.ocdevel.habitrpg'>Android</a> & <a target='_blank' href='https://itunes.apple.com/us/app/habitrpg/id689569235?mt=8'>iOS</a> Apps are out!</u>
They're open source, so help us make them awesome.
.alert.alert-success(style='margin-bottom:5px').
<a target='_blank' href='https://play.google.com/store/apps/details?id=com.ocdevel.habitrpg'>Android</a> & <a target='_blank' href='https://itunes.apple.com/us/app/habitrpg/id689569235?mt=8'>iOS</a> Apps are out!</u>
p.
They're open source, so help us make them awesome. As for the rewrite: not all the features are ported yet. If you miss your pets, inventory, etc - check in on them at <a href='http://old.habitrpg.com' target='_blank'>old.habitrpg.com</a>
and tell them to hurry on over. Don't worry, you're still getting drops and streak-bonuses in the background, even if you can't see them yet.
table(style='clear:both;')
tr