Blade Barringer
01237df213
Add buttons to challenge participant modal
2015-08-03 08:40:33 -05:00
Alys
07bdc89738
habitrpg.wikia.com -> habitica.wikia.com. Also a trello URL change.
2015-07-31 18:53:32 +10:00
Blade Barringer
661e79d668
Use party variable
2015-07-28 21:27:15 -05:00
Blade Barringer
442c1f358b
Use Groups.party()
2015-07-28 21:05:33 -05:00
Sabe Jones
7c56f5e7f6
fix(analytics): Tweaks per code review
2015-07-28 13:26:39 -05:00
Sabe Jones
f6bbae3beb
fix(analytics): Bad comparison
...
Corrects an error caught via test, where the check for intro tour completion would always fail. Also tweaks the updateUser behavior to save an explicit false if tour completion data is not found, including a test for that behavior.
2015-07-27 15:13:59 -05:00
Sabe Jones
e9ed561907
fix(analytics): Add missing ID update
...
Also make the order of partyID and partySize consistent across updateUser calls.
2015-07-27 14:34:31 -05:00
Sabe Jones
9d7a2a1c24
feat(analytics): Party properties
...
Adds tracking of the user's party ID and size as user-level analytics properties.
2015-07-27 14:25:11 -05:00
Blade Barringer
6aae668b8c
Rework gem adjustment so it actually makes sense
2015-07-24 17:30:47 -05:00
Blade Barringer
9e25c29e04
Correct maxPrize calculation
2015-07-24 17:30:47 -05:00
Blade Barringer
e37c60e0f2
Expand functions to make them readable
2015-07-24 17:30:45 -05:00
Blade Barringer
0b85dc3e27
Correct getChallenges name
2015-07-24 17:30:44 -05:00
Blade Barringer
61d0172567
Add mising semi colons and line breaks
2015-07-24 17:30:43 -05:00
Blade Barringer
bac979ca4d
Eliminate unused variable
2015-07-24 17:30:42 -05:00
Blade Barringer
2441f6363e
Consolidate transition code
2015-07-24 17:30:42 -05:00
Blade Barringer
5cd42e85c7
bail out and alert user if prize is too high
2015-07-24 17:30:41 -05:00
Blade Barringer
7c4486e001
Use gem calc functions
2015-07-24 17:30:41 -05:00
Blade Barringer
c92678008b
Write functions to check if user has balance for challenge creation
2015-07-24 17:30:41 -05:00
Blade Barringer
cb27c3dc44
Correct indentation and equality checks on shuldShowChallenge
2015-07-24 17:30:40 -05:00
Blade Barringer
eea01216d7
Move backToChallenges to private functions section
2015-07-24 17:30:40 -05:00
Blade Barringer
fb6a34c2ed
Set default group to tavern if no default group is found
2015-07-24 17:30:40 -05:00
Blade Barringer
fe2fb6deba
Remove out of context comment
2015-07-24 17:30:40 -05:00
Blade Barringer
f8e2e74336
Move getChallenges private method to bottom of file
2015-07-24 17:30:39 -05:00
TheHollidayInn
ef9dfac087
Create new function to check for enough gems, added @crookedneighbor 's tests, and added tests to check for enoughGems when user creates a habitrpg challenge
2015-07-24 17:30:37 -05:00
TheHollidayInn
53c21b07a3
Reset enough gems variable if user selects group other than habitrpg
2015-07-24 17:30:36 -05:00
TheHollidayInn
fce622ddc7
Added hide and error message when a user tries to create a challenge for HabitRPG group and they have no gems
2015-07-24 17:30:36 -05:00
Blade Barringer
fca6f91f13
Merge branch 'develop' into analytics-service-server-side
2015-07-24 15:19:31 -05:00
Sabe Jones
dc26e1680c
Merge pull request #5661 from HabitRPG/sabrecat/mystery
...
July 2015 subscriber goodies
2015-07-24 12:29:07 -07:00
Sabe Jones
c8982b3513
fix(analytics): Track intro tour steps 1-2
2015-07-23 15:07:37 -05:00
Sabe Jones
d32d05e873
feat(mystery): July 2015 goodies
...
Also makes the mystery box opening notification translatable and adds item graphics to it.
2015-07-23 12:05:13 -05:00
Blade Barringer
8a363efc43
Merge branch 'develop' into TheHollidayInn-pet-actions-esc-to-cancel
2015-07-22 17:59:50 -05:00
Blade Barringer
c41271e558
Merge branch 'develop' into refactor_member_modal_and_stats_page
2015-07-22 17:39:39 -05:00
Blade Barringer
7b9102c88c
Move gear counting to counting script
2015-07-22 17:37:35 -05:00
Blade Barringer
f40cfd2b66
Move all pet counting to shared count scripts
2015-07-22 17:32:12 -05:00
TheHollidayInn
c61eccaaba
Removed if statements and fixed style issues
2015-07-22 15:38:17 -05:00
Sabe Jones
6d52f842ff
fix(quest): Move party jump to cb
2015-07-22 11:52:15 -05:00
TheHollidayInn
107e27a2c6
Deselect food, egg, and potion when hitting the escape key
2015-07-21 21:52:29 -05:00
Sabe Jones
0313170921
feat(quests): Invite party button
2015-07-21 15:25:34 -05:00
Sabe Jones
632faafa4f
fix(quests): Refactoring
...
Based on feedback from @crookedneighbor and @gisikw. Removes double ternary in the block that normalizes the item type string, and reverts the notification logic to if/else if format instead of switch/case. Also removes a block of commented-out code once used for death notifications.
2015-07-20 14:17:35 -05:00
Blade Barringer
65c14b1e3f
Refactor inventory ctrl variables
2015-07-20 12:51:10 -05:00
Blade Barringer
3d40da4004
Remove countPets and countMounts from codebase
2015-07-20 08:11:00 -05:00
Blade Barringer
2695419182
Use better beastMaster / mountMaster counts
2015-07-19 21:51:30 -05:00
Blade Barringer
3643d11d97
Refactor pet and mount count into one method
2015-07-19 20:56:14 -05:00
Blade Barringer
aee37b2a0e
Swap out pet and mount count with stat calc functions
2015-07-19 20:40:15 -05:00
Blade Barringer
89bfc83b95
Organize stat functions alphabetically
2015-07-19 20:19:16 -05:00
Blade Barringer
054d884154
Merge branch 'develop' into analytics-service-server-side
2015-07-19 10:13:34 -05:00
Blade Barringer
9994b27f1e
Fix member modal on static/front
2015-07-18 16:00:09 -05:00
Blade Barringer
d44dbef859
Move member modal controller to own file
2015-07-18 16:00:08 -05:00
Blade Barringer
b716d882b6
Began refactor of stats page
2015-07-18 16:00:08 -05:00
Blade Barringer
c784b97586
Create private method for how stats should be displayed
2015-07-18 16:00:08 -05:00