Tyler Renelle
3a64c1104a
add pets count on character popover. also, static bindings wherever
...
possible - saves CPU
2013-04-15 02:27:38 -04:00
Tyler Renelle
9e86248120
"unlock all the pets" style stable layout
2013-04-15 02:03:32 -04:00
Tyler Renelle
2f50518579
remove debugger;
2013-04-14 21:48:21 -04:00
Tyler Renelle
fb6e83758b
rest: test _user.flags.rest is true explicitly
2013-04-14 21:47:43 -04:00
Tyler Renelle
0de27373ad
rest bug - lastCron must be set before "return if resting", otherwise
...
when they unrest they'll get piled by all the days they missed
2013-04-14 21:44:30 -04:00
Tyler Renelle
10da9a502f
Merge pull request #811 from wizonesolutions/587-taskstate
...
Use user's current day for completed/uncompleted.
2013-04-12 14:35:43 -07:00
Kevin Kaland
f6f397dcb0
Use user's current day for completed/uncompleted.
...
References #587 .
2013-04-12 23:20:30 +02:00
Tyler Renelle
299eaa8a14
Merge branch 'develop' of github.com:lefnire/habitrpg into develop
2013-04-12 16:38:41 -04:00
Tyler Renelle
88d2eee519
start adding tests for user.put
2013-04-12 16:38:07 -04:00
Tyler Renelle
cb34cb22b7
begin refactoring PUT /user & POST /user/tasks
2013-04-12 12:49:15 -04:00
Tyler Renelle
5fe344edc6
mass update-user function (PUT /user) which piggy-backs on PUT /tasks to mass-update tasks, including task.del (see mobile 961b86a)
2013-04-12 12:49:07 -04:00
Daniel Saewitz
9917173429
Rest
2013-04-11 18:22:06 -04:00
Tyler Renelle
3b3d4d243a
better wasCorrupted test
2013-04-11 11:49:55 -04:00
Tyler Renelle
81eb2afd9d
some more comments on corrupt tasks
2013-04-11 11:39:54 -04:00
Tyler Renelle
8ed72ae2aa
back to transction for corruptTasks
2013-04-11 11:33:50 -04:00
Tyler Renelle
0680822c19
remoeve character.coffee self-reference
2013-04-11 11:30:40 -04:00
Tyler Renelle
83649c6734
fix clear-completed
2013-04-10 19:24:33 -04:00
Tyler Renelle
570f376421
more fixes to task corruption
2013-04-10 19:24:27 -04:00
Tyler Renelle
b736713624
alright, i give up. put the full restore/cleanup function back in.
...
refLists...
2013-04-10 18:32:38 -04:00
Tyler Renelle
761aeef8cf
move task corruption cleanup back to server to solve #803 . This might
...
pose a problem for #769 , but it seems that websockets / nginx version
was the real culprit there.
2013-04-10 17:30:50 -04:00
Tyler Renelle
4af8a91793
move external script-loading back down to app.on('render')
2013-04-10 11:49:00 -04:00
Tyler Renelle
e9a164d2ad
enable websockets!
2013-04-09 22:15:04 -04:00
Tyler Renelle
d2f6597e9f
remove jquery-ui as git submodule, add it into public/vendor manually due to large direcotry size with build files
2013-04-09 13:45:09 -04:00
Tyler Renelle
72ee444608
back to our roots: store vendor files in public/vendor instead of
...
using CDN, hoping to fix #773 (hoping! will follow up). We can close #755 as a result. We use
require() to min/concat for performance. Note, previously we had "too
many files open" error because we had /vendor tracking git submodules,
which includes all files for those projects - now we're downloading
manually, which gives us minimum required files from each project's
build steps
2013-04-09 13:21:20 -04:00
Tyler Renelle
f6e53a377f
some bug-fixes & cleanup on removal of _view.*
2013-04-08 11:24:45 -04:00
Tyler Renelle
ba750141cf
fix to previous commit
2013-04-07 20:43:16 -04:00
Tyler Renelle
9222b56777
move task-corruption cleanup to cron, restore missing tasks to list -
...
let's see if this fixes #777
2013-04-07 20:38:28 -04:00
Tyler Renelle
6522badaa6
rename _view.* to _* - don't know why I did that whole _view.* thing
...
in the first place, but whatevs
2013-04-07 20:29:13 -04:00
Tyler Renelle
c55118a5bc
don't deduct GP unless purchase successful (see #233 )
2013-04-07 20:23:19 -04:00
Daniel Saewitz
9808b9a9f7
Merge pull request #770 from arscan/valuefix
...
Fixes bug when user attempts to create task with no value field through the API
2013-04-04 17:31:43 -07:00
Tyler Renelle
02a1a0d3b4
cap minimum %chance of drop to 1% so users still rewarded for
...
championed habits. Will remove once we have streaks / combos. Also
factor in task difficulty
2013-04-04 18:01:06 -04:00
Rob Scanlon
3139e51535
fix problem when updating task
2013-04-04 17:11:27 -04:00
Tyler Renelle
584759bd25
shift some require() statements around, attempt to get things out of
...
app.coffee top-level scope - working towards mem leak fix
2013-04-04 16:44:54 -04:00
Tyler Renelle
1c2cc06a6e
BREAKING CHANGE! this removes list cleanup / re-establishment. In the past, id-lists in refLists were being completely emptied (see #85 & #86 ). I'm still not sure why (see https://github.com/codeparty/racer/issues/101 or https://github.com/codeparty/derby/issues/237 possibly?). This commit reverts working around that issue, but potentially fixes #769 . Going to test this on heroku a bit before merging in
2013-04-04 16:24:13 -04:00
Tyler Renelle
0abbc98b1c
move all view helpers out of their respective files and into
...
helpers.coffee. we need viewHelpers at top-level scope, but nothing
else per se - this is preparation for memory leak fixing
2013-04-04 16:17:30 -04:00
Rob Scanlon
4113eefaf1
Fixes bug when user attempts to create task with no value field
2013-04-03 22:51:41 -04:00
Tyler Renelle
367ca4a76b
redirect about, team, extensions to the community site. remove header
2013-04-03 17:15:28 -04:00
Tyler Renelle
1bdbd93afa
redirect extensions to community site
2013-04-03 16:37:05 -04:00
Tyler Renelle
c9907f9558
move some external script loading into app.on('render') to see if that
...
solves https://groups.google.com/forum/?fromgroups=#!topic/derbyjs/x8FwdTLEuXo
2013-03-30 18:45:57 -07:00
Tyler Renelle
51f054e51c
show tokens in character modal at all times
2013-03-28 08:43:13 -07:00
Tyler Renelle
d2b4072ad6
better wording on buying tokens
2013-03-28 00:49:57 -07:00
Tyler Renelle
a966c2ce65
pets: rename base.name to from "Common" to "Base" for technical reasons
2013-03-28 00:34:05 -07:00
Tyler Renelle
6d6085e29b
Merge branch 'ads' into pets
2013-03-28 00:28:59 -07:00
Tyler Renelle
8bad13e5c7
pets: remove <strong> on "hatching potion"
2013-03-27 12:32:18 -07:00
Tyler Renelle
3a62482a4d
pets: bug fixes & rewording
2013-03-27 11:57:40 -07:00
Tyler Renelle
1ee008aea1
pets: raise egg cost a tad
2013-03-27 11:46:10 -07:00
Tyler Renelle
4edbb8bf3d
pets: rename everything "food" to "hatcing potions" (since we may be adding food in the near future)
2013-03-27 11:34:41 -07:00
Tyler Renelle
6520bfb789
pets: rename shaners Item_HatchingPotion to Pet_HatchingPotion to fit
...
previous architecture, add some placeholders for the un-finished
potions. got them working
2013-03-27 00:20:33 -07:00
Tyler Renelle
63f1a73d91
pets: re-price items based on rarity
2013-03-26 22:22:13 -07:00
Tyler Renelle
eec551b230
pets: small cleanup
2013-03-26 18:52:18 -07:00