Tyler Renelle
85845d726a
static-groups: no need for parallel fetchs, squash them to a single fetch
2013-08-21 01:00:13 -04:00
Tyler Renelle
111ee1088e
auto reconnect db
2013-08-21 00:45:48 -04:00
Tyler Renelle
22265e9fac
send error page to user
2013-08-21 00:44:28 -04:00
Tyler Renelle
4438846beb
static-groups: groups are fetch now, not subscribe
2013-08-21 00:23:52 -04:00
Tyler Renelle
ea3f161289
static-groups: migrate user & groups initial subscription code to async,
...
laying groudnwork for no-subscription
2013-08-20 23:55:43 -04:00
Tyler Renelle
0d208bae92
add bailey notif for fixed cron
2013-08-20 22:22:58 -04:00
Tyler Renelle
69a6a235bb
now that API requires timezone on server, make sure it's save to user
...
from website too
2013-08-20 22:17:36 -04:00
Tyler Renelle
836d44e4bc
Revert "API - for now, disable cron until we fix it"
...
This reverts commit f105fccd2b .
2013-08-20 21:58:33 -04:00
Tyler Renelle
e8836deba0
Merge branch 'develop' of github.com:lefnire/habitrpg into develop
2013-08-19 14:44:48 -04:00
Tyler Renelle
f105fccd2b
API - for now, disable cron until we fix it
2013-08-19 14:43:29 -04:00
Tyler Renelle
758a044c90
Merge pull request #1346 from lefnire/sabe_tweak
...
Content tweaks
2013-08-18 19:41:53 -07:00
Sabe Jones
3069c3baf9
Move red tasks explanation link inline
...
Shortens up the message a bit.
2013-08-18 20:42:21 -05:00
Sabe Jones
3299e9cddd
Groups.html wording tweaks
...
Fix English syntax in the Tavern for real this time
Mild wording update for new guild buy-in
2013-08-18 20:35:15 -05:00
Sabe Jones
e94a3a8aec
Spice up descriptions of death and rerolls
...
Fleshes out the text in a couple of modals to be more informative and flavorful. ("Habiteer" is totally a thing, right?)
2013-08-18 20:29:27 -05:00
Tyler Renelle
8ff7e83e6b
reorder bailey notif
2013-08-18 17:28:50 -04:00
Tyler Renelle
c0123d506d
@lemoness: merging the <li>s into a single <ul>, since they're part of
...
the same date. <a> tags wrap the text, so `<a href="..">click this</a>`
instead of `click this<a href=".."></a>`. Other than that, great job and
I'll push up asap!
2013-08-18 17:26:15 -04:00
Tyler Renelle
eb96ef17ca
Merge pull request #1345 from lemoness/develop
...
Adding two Bailey alerts! @lefnire
2013-08-18 14:22:09 -07:00
lemoness
336404e2d7
Adding two Bailey alerts! @lefnire
2013-08-18 13:40:42 -07:00
Tyler Renelle
319c2667d7
some sloppy mocha tests for corrupt task handling
2013-08-15 00:28:27 -04:00
Tyler Renelle
aa54c073c7
alert if not enough GP
2013-08-15 00:28:00 -04:00
Tyler Renelle
0d83ac09fc
api; on batch-update, override res.send & res.json to call the series
...
callback instead, and simply skip error paths. we need to send down the
error eventually
2013-08-14 21:50:17 -04:00
Tyler Renelle
66bdd3616e
API utility sendResult function, new POST /api/v1/register route to register new uname/pass users (i'm thinking about nixing facebook altogether in the future)
2013-08-14 19:35:14 -04:00
Tyler Renelle
4b08353763
api: fix major "no open db connections" bug - run bulk-task-update
...
serial, not parallel.
2013-08-14 10:14:30 -04:00
Tyler Renelle
2252bebf9b
set mocha timeout to 4s
2013-08-14 09:42:25 -04:00
Tyler Renelle
006ff9ecc8
api: fixes to scoring task if no req.body sent
2013-08-13 19:30:48 -04:00
Tyler Renelle
e2943178f4
api:send 200 if not enough gp, no need to error
2013-08-13 17:26:15 -04:00
Tyler Renelle
2644e575ee
html typo fix
2013-08-13 00:07:15 -04:00
Tyler Renelle
ca14c39c5f
encapsulate items.buyItem better in habitrpg-shared/items.coffee so we can call from API, derby, & mobile app
2013-08-12 23:46:30 -04:00
Tyler Renelle
aeee52a0e7
Merge branch 'develop'
2013-08-12 20:50:19 -04:00
Tyler Renelle
ec17a5f379
pass in cron user as object, otherwise we're modifying a different user object
2013-08-12 20:41:19 -04:00
Tyler Renelle
65f819046d
return 400 if NO_USER_FOUND unecessary since handled in auth
2013-08-12 20:20:07 -04:00
Tyler Renelle
f5d80d0829
api: make sure userObj is fresh between calls, since many of them will
...
be chained and will modify user spec
2013-08-12 20:19:51 -04:00
Tyler Renelle
db57571ee6
HUGE hotfix - don't process todo / daily scoring if that checkbox didn't
...
come from the local model. This is the fix to the negative xp / gp bug!!
2013-08-12 20:07:59 -04:00
Tyler Renelle
932dd6df69
HUGE hotfix - don't process todo / daily scoring if that checkbox didn't
...
come from the local model. This is the fix to the negative xp / gp bug!!
2013-08-12 20:07:33 -04:00
Tyler Renelle
552eabfef8
add revive & cron to routes, add cron as interceptor to every API call
2013-08-12 20:06:30 -04:00
Tyler Renelle
61d0f51de7
remove hydrate-skips, cleanup api revive
2013-08-12 20:05:41 -04:00
Tyler Renelle
29c7517500
Merge pull request #1322 from lefnire/sabe_fix
...
Fix broken image on 500 error page
2013-08-12 09:47:06 -07:00
Tyler Renelle
d8c1b720b9
augment previous hydrate: false - make sure on cron too. This is so weird..
2013-08-11 21:50:19 -04:00
Tyler Renelle
c8a8c466ca
revert previous hydrate bit
2013-08-11 21:16:52 -04:00
Tyler Renelle
a70e7599ab
very weird fix. batchTxn() pass in option to skip hydration, which
...
sometimes achieves exactly the effect *hydrating* is supposed to
achieve. very strange, but anyway this fixes the habit scoring
2013-08-11 19:56:22 -04:00
Tyler Renelle
9c08c7f77b
api: some fixes to scoreTask - still having trouble with habits, but
...
fixes dailies
2013-08-11 19:37:39 -04:00
Tyler Renelle
7ffb990759
api: add task, res.send as callback
2013-08-11 15:13:53 -04:00
Tyler Renelle
1b3056e63d
some api bug-fixes
2013-08-11 12:20:00 -04:00
Sabe Jones
fe6f478a60
Remove unneeded class reference
...
Finish removing image rotation
2013-08-11 11:04:51 -05:00
Tyler Renelle
7a83be70b1
woops, res.json the error
2013-08-11 10:20:27 -04:00
Tyler Renelle
23f3154764
api res.json error in batch
2013-08-11 10:06:10 -04:00
Tyler Renelle
eb28ae3dd2
api: bug fix on delete task
2013-08-11 00:58:23 -04:00
Tyler Renelle
5b71e93fb5
api: allow PUT /user to update tasks for now, will change lager
2013-08-11 00:56:47 -04:00
Tyler Renelle
96b4f57adc
good-old racer unshift/push bug. gotta manually set the id list, works
...
like a charm :/
2013-08-11 00:50:00 -04:00
Tyler Renelle
d17bd6fe90
api: export all of api to functions, called by route. This way we can have our /batch-update route access the api functions
2013-08-11 00:47:40 -04:00