Carlo Zancanaro
4d6bd38648
Add GET routes for /user/tags and /user/tags/{id}
...
An operation that is useful for tools to be able to do is to list a
user's tags without having to pull down the entire user object (which is
likely significantly larger than the tags). This commit adds a route to
GET /user/tags, to get a list of the user's tags, as well as a GET
/user/tags/{id} to get the details of a particular tag.
This commit also includes tests for the two new routes.
2015-10-27 13:49:17 +11:00
Sabe Jones
825b316ba8
fix(analytics): Cap progressUp
...
Previously, users could cron with enormous quest progress values, and this would be logged to the cron event in Analytics. However, for the purposes of damaging world bosses, quest progress is capped at 900. Given that progressUp is primarily used to predict world boss damage, this commit now caps progressUp in analytics at 900 as well.
2015-10-13 14:27:16 -04:00
Dan Cecile
22284bbc24
Issue #2606 - Verify/fix indices during sortTask
...
Because the 'sortTask' operation uses a 'from' index and a 'to'
index as parameters, the server needs to check if these indices
are valid before performing the client's request. If the task ID
doesn't match the task at the 'from' index, then it's clear that
the client was looking at a preened list of todos (everything except
more-than-3-days-old-non-quest completed tasks). In that case, try
to recalculate the indices before continuing.
2015-10-06 21:24:34 -04:00
Alys
f035dfd8b9
fix "Advanced Options in tasks start collapsed" when "Open new tasks in edit mode" is on - fixes https://github.com/HabitRPG/habitrpg/issues/5981
2015-10-05 19:37:53 +10:00
Blade Barringer
928e8478f7
Add coffeescript back in
2015-10-03 06:39:10 -05:00
Blade Barringer
be3decf859
Merge branch 'develop' into refactor-content
2015-10-01 21:20:04 -05:00
Sabe Jones
233211adc9
Merge pull request #5962 from HabitRPG/sabrecat/magic-potions
...
Magic Potions!
2015-10-01 14:04:14 -05:00
Blade Barringer
2db4b7b7b2
Move i18n to javascript
2015-09-28 17:33:45 -05:00
Sabe Jones
ffe0cff7cd
fix(drops): Pick drop eggs from dropEggs
2015-09-28 16:28:59 -04:00
Sabe Jones
38bdbf020b
feat(content): Generalize canBuy
2015-09-25 15:01:08 -04:00
Blade Barringer
c21802e7e7
Merge branch 'develop' into refactor-content
2015-09-25 12:22:11 -05:00
Blade Barringer
3d1bbaf6ef
Move Content index file to js
2015-09-25 12:09:43 -05:00
Sabe Jones
0ceba13e7c
feat(analytics): Track daily progress
...
Adds progressUp and progressDown event properties to the Cron analytics event. With these, we can total up the site population's quest progress, both positive and negative, for the purposes of estimating likely pace of battle with a World Boss. Note that these values are tracked regardless of whether or not the user is currently questing.
2015-09-24 16:40:20 -04:00
Sabe Jones
8c67d22a91
feat(pets): Full purchase behavior
2015-09-22 17:03:41 -04:00
Sabe Jones
389b5b370a
feat(pets): Magic Hatching Potions WIP
2015-09-21 17:12:23 -04:00
Sabe Jones
b608e061a5
test(drops): Generalize
2015-09-21 12:57:35 -04:00
Sabe Jones
c8cc01fc44
feat(hourglass): Buy pets/mounts
...
Functionally complete as of this commit. Further commits will provide more polish and refactoring.
2015-09-16 14:35:43 -04:00
Sabe Jones
ce764ca28e
WIP(hourglass): Mystery sets API route
2015-09-15 15:41:57 -04:00
Sabe Jones
2ce52e980d
feat(hourglass): Buy pets/mounts
2015-09-15 14:55:38 -04:00
Sabe Jones
66a8be526b
WIP(hourglass): Error catches
2015-09-15 12:40:01 -05:00
Sabe Jones
bc16ec1729
Merge branch 'develop' into sabrecat/timetravel-stable
2015-09-15 11:32:28 -05:00
Blade Barringer
b9bbc3f1ea
Move content to own directory
2015-09-06 15:31:08 -05:00
Sabe Jones
5274fd236a
WIP(time-travel): Time Travel pets/mounts
...
Also begins process of adding tests for Mystic Hourglass purchases.
2015-09-01 17:17:50 -04:00
Alys
049f9280a2
Merge pull request #5798 from Alys/rebirth-keeps-free-gear-2015-08-12
...
prevent Orb of Rebirth from removing free gear (equipment that has zero gold cost) - partial fix for https://github.com/HabitRPG/habitrpg/issues/5750
2015-08-26 22:01:29 +10:00
Alys
bbcb9e6063
fix problem of Cheetah Costume Set mystery items not staying put -- code is ugly, improve later
2015-08-25 19:23:25 +10:00
Alys
57e7fc93d7
prevent Orb of Rebirth removing free equipment (gear that has zero gold cost) - partial fix for https://github.com/HabitRPG/habitrpg/issues/5750
2015-08-16 12:33:40 +10:00
Sabe Jones
ab91a6fba9
Merge pull request #5781 from HabitRPG/sabrecat/greeting-cards
...
Greeting and Thank-You Cards
2015-08-13 22:35:25 -05:00
Sabe Jones
00a212660a
feat(greeting-cards): Thank-You & Greets
2015-08-13 16:58:31 -05:00
Sabe Jones
b2100c2c54
WIP(greeting-cards): Abandon spell refactor
2015-08-13 14:31:34 -05:00
Blade Barringer
39ead02d6c
Remove comment
2015-08-12 19:09:11 -05:00
Blade Barringer
bcf7c9712e
Split out potion and armoire out of the itemStore object
...
Fixes #5743
2015-08-12 18:53:49 -05:00
Blade Barringer
203a26b6df
Refactor how cards are recieved
2015-08-12 08:36:57 -05:00
Alys
fd0176f4fc
fix an outdated comment
2015-08-09 14:09:10 +10:00
Alys
262340147d
remove code that was added purely for testing and development
2015-08-09 14:08:28 +10:00
Alys
06fd9c7a67
replace _.times with for loop to allow break
2015-08-09 13:58:18 +10:00
Alys
c3d65f0bcf
initial changes to cause cron to count multiple missed days as one missed day
2015-08-09 13:58:18 +10:00
Blade Barringer
383ae3be55
Merge pull request #5746 from crookedneighbor/enchanted_armoire_test_improvements
...
Enchanted armoire test improvements
2015-08-05 18:13:12 -05:00
Blade Barringer
e22e853f21
Fix some formatting
2015-08-05 08:18:03 -05:00
Blade Barringer
008a5f1209
Merge branch 'develop' of github.com:HabitRPG/habitrpg into vIiRuS-armoireResponse
2015-08-04 19:52:11 -05:00
Sabe Jones
13ab60cafe
feat(drops): Enable pets at Level 3
2015-07-28 13:28:45 -05:00
Alys
f5c66e51d1
refactor cron process for todos and dailys to give them separate code
2015-07-26 11:27:00 +10:00
Blade Barringer
fca6f91f13
Merge branch 'develop' into analytics-service-server-side
2015-07-24 15:19:31 -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
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
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
054d884154
Merge branch 'develop' into analytics-service-server-side
2015-07-19 10:13:34 -05:00
Blade Barringer
a950339f01
Clarify cron
2015-07-19 08:41:45 -05:00