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
Tyler Renelle
3b0f882d49
pets: temporary notification taht pet hatched until we can get around
...
that `model.emit('bulkUpdate')` causing modal redraw (bringing user
back to avatar tab)
2013-03-26 18:24:12 -07:00
Tyler Renelle
fb0117c71e
pets: implement drop daily limit (2 for now)
2013-03-26 18:21:17 -07:00
Tyler Renelle
f6b2c08a60
Merge branch 'develop' into pets
...
Conflicts:
views/app/rewards.html
2013-03-26 17:54:31 -07:00
Tyler Renelle
76512eef46
parties: bunch of bug fixes. enable parties by default, just notify
...
them at lvl 3 if they haven't started using it. Show a bell-icon
notification in user, reset dom properly after invitation
2013-03-26 14:54:14 -07:00
Tyler Renelle
77e696554a
bug: popovers where being attached to ".main-avatar" which was changed
...
to ".main-herobox" in the redesign
2013-03-26 12:54:34 -07:00
Tyler Renelle
124409bfc5
Merge pull request #715 from switz/translations
...
@lefnire => i18n support... aka Translations!
2013-03-25 18:42:53 -07:00
Tyler Renelle
01f2bfeab7
remove FAQ page, redirect to http://community.habitrpg.com/faq-page
2013-03-25 17:41:25 -07:00
Tyler Renelle
64e421d529
pets: add eggs to market, move from rewards tab to avatar modal
2013-03-25 15:44:41 -07:00
Tyler Renelle
8f993ba6d4
pets: take task reddness into account when calculating chance drop
2013-03-25 14:12:43 -07:00
Tyler Renelle
afb8dcbf83
pets: adjust so eggs = 40%, food = 60%
2013-03-25 14:01:31 -07:00
Tyler Renelle
3eb0093626
pets: implement food-type rarity in item drops
2013-03-25 13:57:56 -07:00
Tyler Renelle
c5c6629419
pets: add base food
2013-03-25 12:42:38 -06:00
Tyler Renelle
e8848ba0ad
pets: fix to not being able to select pet right after hatching
2013-03-25 12:00:23 -06:00
Tyler Renelle
007e9bd339
pets: bug fix for can't feed pet
2013-03-25 10:42:17 -06:00
Tyler Renelle
7a5a4819e6
pets: bug fix - user.remove(path, idx, count) was wiping the whole
...
eggs/food arrays on page refresh, using array.splice &
user.set('items.food', splicedFood), etc
2013-03-25 09:42:30 -06:00
Tyler Renelle
f34df36152
pets: alert & return if they already own that pet
2013-03-25 09:31:12 -06:00
Daniel Saewitz
8107200105
i18n implemented
2013-03-23 16:03:12 -04:00
Tyler Renelle
68bc02af72
pets: fix bug that food not getting added to
2013-03-23 00:09:05 -06:00
Tyler Renelle
3c75caffd8
Merge branch 'develop' into pets
2013-03-22 23:50:41 -06:00
Tyler Renelle
a6f4e01de7
move random-drop inside batch operations
2013-03-22 22:35:51 -06:00
Tyler Renelle
6fd9bfbab4
pets: use pet.name for unique identifier, not pet.text. general cleanup
2013-03-22 22:17:25 -06:00