Commit Graph

110 Commits

Author SHA1 Message Date
Cole Gleason 744d8a6780 When a user leaves a group, remove them from all group challenges 2014-01-04 20:05:48 -06:00
Tyler Renelle d3a4d35d5d quest: when new user joins party, invite to pending-invite quests. When
user in quest leaves party, knock user from group.quest.members & quest
from user.party.quest
2013-12-28 21:50:27 -07:00
Tyler Renelle ea0b5b9291 quest: add quest leader. only quest-leader can begin/abort. Abort
restores quest scroll to leader. Bug fixes on clearing quest
data (completion, abort, etc)
2013-12-28 16:36:16 -07:00
Tyler Renelle 44e89d1be7 bosses: misc small bugs 2013-12-25 00:55:38 -07:00
Tyler Renelle f8559b1762 bosses: pretty things up amongst the modals, etc. Move rewards to a
directive so we can share it. Add dialog on quest-completion using
user.party.quest.completed flag
2013-12-24 23:30:48 -07:00
Tyler Renelle f2f1d6621e rename user.party.tally => user.party.progress 2013-12-24 21:57:56 -07:00
Tyler Renelle 094989db13 quests: add collection quests, incl. polar bear pt 2, and quest arks, and achievements 2013-12-24 17:24:09 -07:00
Tyler Renelle f538a91538 bosses: no models, performance improvements 2013-12-23 14:17:08 -07:00
Tyler Renelle ae403a55a5 quests: add abort feature 2013-12-23 02:56:55 -07:00
Tyler Renelle 8095397317 Quests: hurt boss via score method, refactor chat function, change all content.*.name to content.*.key for consistency 2013-12-23 01:19:18 -07:00
Tyler Renelle ecb354e2cc Quests: initial Bosses WIP - invite, accept, reject, etc 2013-12-22 17:46:54 -07:00
Tyler Renelle 016a5030c5 groups: 404 when group not found 2013-12-16 22:09:54 -07:00
Tyler Renelle d9bef28c5d migrate flags.rest => preferences.sleep 2013-12-12 20:59:16 -07:00
Thibaut Girka f9489b3385 Fix mongoose query
This caused an "Invalid sort() argument." error when accessing groups.
2013-12-12 14:47:55 +01:00
Tyler Renelle ee1cd3c05d [#1977] APIv2 WIP - start of a framework where operations are shared
between client & server. If the op is called on the client, it updates
the user & then POSTs to the server with op of the same name. If called
on server, it updates the user and user.save()s
2013-12-11 21:42:57 -07:00
Tyler Renelle a85baa2725 groups: send down full user.items for party / guilds. It's not that much
really, and trying to keep it up-to-date with ever-evolving
UserSchema.items is a pain (eg, needed to add mounts)
2013-12-07 19:53:50 -07:00
Tyler Renelle 4fa4519b34 [#1829] sort challenge-box by creation date 2013-11-15 21:32:25 -08:00
Tyler Renelle b762ecba81 admin: add list of contributors. Add contributor.contributions, textarea for links of contributions for tracking. move all admin stuff to dedicated controller & routes 2013-11-15 19:27:23 -08:00
Tyler Renelle 53db31d4fb [#1828] don't let users create party if they already belong to one 2013-11-15 18:16:48 -08:00
Tyler Renelle 4c3f04cc49 Merge branch 'mounts' into develop
Conflicts:
	views/options/inventory/stable.jade
2013-11-14 13:04:44 -08:00
Adrien Lemaire 153d1957a8 clean code from websites
Need review !
2013-11-14 15:20:35 +11:00
Tyler Renelle 244fe63bdd mounts: add support for rare mounts 2013-11-10 14:36:40 -08:00
Tyler Renelle 085919c000 mounts: update all html & javascript to support UserSchema overhaul (60421a8). Also add very basic feeding & saddling mounts functionality. use progress bars to indicate pet feeding progress 2013-11-10 11:04:41 -08:00
Tyler Renelle ddd45d76d4 contrib: fix to upping lvl 0 contrib 2013-11-09 13:24:03 -08:00
Tyler Renelle 242bcda96a contrib: remove gems from admin section, update automatically when they
increase a level
2013-11-08 19:28:07 -08:00
Matteo Pagliazzi 03905ef90b solve conflicts 3 2013-11-08 17:09:06 +01:00
Matteo Pagliazzi e1b86c64a6 solve conflicts 2 2013-11-08 17:08:23 +01:00
Matteo Pagliazzi 02651d52a4 solve conflict 2013-11-08 17:05:03 +01:00
Matteo Pagliazzi a78297f129 update chat if necessary after new message posted or deleted 2013-11-08 17:03:10 +01:00
Tyler Renelle 4454cc502b contrib: only show contrib alert if they've gained, not lost 2013-11-07 14:22:56 -08:00
Tyler Renelle 7c94b4b6d3 contrib: add contributor achievement modal 2013-11-07 13:42:29 -08:00
Tyler Renelle 962cf9a3be contrib: add name-tag colors based on contributor level 2013-11-07 12:23:12 -08:00
Tyler Renelle f61c35975a contrib: award profile Dragon-Hydra if admin sets level >= 6 2013-11-06 17:47:00 -08:00
Tyler Renelle d679fa1e62 contrib: add Admin page to update contributor status. Start migrating from User.backer => User.contributor 2013-11-06 15:59:56 -08:00
Matteo Pagliazzi 3b18c322bc return whole group.chat after chat message is sent 2013-11-06 21:27:24 +01:00
Matteo Pagliazzi 5ebab59780 return 204 on group.update 2013-11-06 21:19:23 +01:00
Matteo Pagliazzi a4951e151c use $resource class methods to avoid sending whole model to server & reduce some responses 2013-11-06 20:31:39 +01:00
Matteo Pagliazzi 774ded9fb2 fix #1740 2013-11-04 15:17:09 +01:00
Tyler Renelle 0d6d20b939 [#1740] temp workaround to chat duplication 2013-11-03 23:39:09 -08:00
Tyler Renelle c9776b8857 fix to deleting chat message 2013-11-03 23:30:09 -08:00
Tyler Renelle 8a9059aabf [#1723] send down pets array for clicked members for now (we'll eventually want to just
send count(items.pets) for better performance)
2013-11-02 16:22:42 -07:00
Matteo Pagliazzi f784e2a0d2 remove blank line 2013-11-02 15:55:28 +01:00
Matteo Pagliazzi 567b69a0f1 fix #1669 2013-11-02 15:54:10 +01:00
Matteo Pagliazzi 3fa023452f Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into develop 2013-11-02 09:56:32 +01:00
Tyler Renelle 0a6eefe5c1 [#1718] order of operations on group check. (false && false || true) ==
true... am I just a n00b?
2013-11-02 01:54:54 -07:00
Matteo Pagliazzi b08a30a76b Merge branch 'develop' of https://github.com/HabitRPG/habitrpg into develop 2013-11-02 09:54:44 +01:00
Matteo Pagliazzi 5a103db716 upgrade lodash to 2.2.1 2013-11-02 09:52:48 +01:00
Tyler Renelle 08498e37ac [#1718] don't 404 for group not found 2013-11-02 01:38:51 -07:00
Tyler Renelle 43eafb3cb7 [#1711] refactored handling of group population 2013-11-01 22:45:26 -07:00
Tyler Renelle b512f16223 [#1711] more limiting fields returned by party/guild queries 2013-11-01 22:45:26 -07:00