Commit graph

27 commits

Author SHA1 Message Date
Sabe Jones
9a32cfd7e1 Remove extraneous techy characters from boss fight and spellcasting chat notifications 2013-12-30 08:46:40 -06: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
c5ca9cf41b fix #2142 - show boss damage as Math.abs() 2013-12-27 10:50:23 -07:00
Tyler Renelle
2a63dfe687 quests: temporary fix to users who have left a party mid-quest 2013-12-26 15:39:09 -07:00
Tyler Renelle
4e811d632e bosses: temp defensive code against progress not being defined 2013-12-26 09:58:33 -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
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
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
550ca394a9 groups: remove _v for now, it's causing issues (cast to Number failed
for Object) and I don't know why
2013-11-14 20:30:48 -08:00
Adrien Lemaire
153d1957a8 clean code from websites
Need review !
2013-11-14 15:20:35 +11:00
Tyler Renelle
cde3bb4c69 user._v & group._v fixes 2013-11-04 13:43:24 -08:00
Tyler Renelle
b3804c4d1f [#1675] fixes to populating Group.challenges, and display challenges in party
page. I'm not sure about having challenges as a subdoc anymore, i think
it will be better performance and maintenance if we just reference
Challenge.group/members and remove User.challenges & Group.challenges
2013-10-31 16:20:48 -07:00
Tyler Renelle
d116ac7b81 challenges: lots of misc. bug fixes 2013-10-29 22:30:58 -07:00
Tyler Renelle
77fee06fdb gMerge branch 'challenges' into develop
Conflicts:
	migrations/20131028_cleanup_deleted_tags.js
	src/controllers/groups.js
	views/options/groups/group.jade
	views/options/profile.jade
2013-10-29 15:38:47 -07:00
Tyler Renelle
be657a76e0 challenges: pass down if user is member of group (group._isMember) for
performance. some bug fixes
2013-10-29 12:26:13 -07:00
Tyler Renelle
c5671550f1 challenges: add group.memberCount and ability to specifiy field projections in GET request /api/v1/groups?type=guild&fields=name,description,chat 2013-10-28 18:20:02 -07:00
Matteo Pagliazzi
5744146ff6 port group websites 2013-10-28 21:58:38 +01:00
Tyler Renelle
35c4a62de0 challenges: switch from ngRoute to ui-router 2013-10-28 11:34:08 -07:00
Tyler Renelle
fa25f3d300 challenges: WIP beginning challenges feature. some basic CRUD & some
basic subscribe / unsubscribe functional (but buggy)
2013-10-28 11:34:07 -07:00
Matteo Pagliazzi
8cdcbcf685 added comment for minimze: false 2013-10-27 10:55:43 +01:00
Matteo Pagliazzi
e4b575dcb7 add minimize: false also to group schema 2013-10-27 10:55:05 +01:00
Tyler Renelle
45383a9630 rewrite & api: use mongoose populate to replace group.members array with
popualte member objects. this puts a load on the front-end, we'll need
to optimize! also added some duplicates sanitization.
2013-08-31 17:47:03 -04:00
Tyler Renelle
e568a5ba31 api & rewrite: buy gems, reroll, fully converted server to JS, bug fixes 2013-08-29 01:45:54 -04:00