Commit Graph

278 Commits

Author SHA1 Message Date
Tyler Renelle 16a602f94c feat(challenges): add csv export for challenge progress. WIP, will refine this over time - but we need it something like this for the STWC come 1/31. 2014-01-22 22:47:41 -08:00
Tyler Renelle 6878596cb4 Merge branch 'lefnire/spells' into develop 2014-01-22 00:32:29 -08:00
Tyler Renelle e0646bb98d fix(spells): add some spells tests, don't send up body to spell paths 2014-01-22 00:16:52 -08:00
Tyler Renelle c6f7ab8a5c fix(spells): some $rootScope.applying action fixes so cast-ending is
immediate instead of waiting on response. Also, slim down party
population to the essentials to avoid RequestEntityTooLarge
2014-01-21 23:04:01 -08:00
Cole Gleason 187ea1c739 chore(VersionError): add debug code to emails showing completed ops
This adds a field to the email if there is an error on batchUpdate. This
field contains all the attempted operations. So the last item in the
list would be the operation that we encountered the error at. @lefnire,
mind taking a look at this and pushing if you feel comfortable with
adding more to the emails?
2014-01-22 00:50:14 -06:00
Tyler Renelle 4efd0f5ed8 fix(bosses): don't reset progress.up when starting a new quest. We want
to be able to carry over damage from the same day a boss battle begins,
even if the dailies were completed before battle-start. Fixes #2168
2014-01-20 16:40:48 -08:00
Tyler Renelle b1afc177aa fix(todos): add dateCompleted to todos so they're archived 3 days after
completion, not 3 days after creation. Fixes #2478
2014-01-19 17:12:33 -08:00
Tyler Renelle 6536b855c9 instead of clearing completed on cron, simply hide them from the angular
apps (which only use batch-update API route) @colegleason
2014-01-14 18:03:16 -07:00
Tyler Renelle 3701003baf add GET /api/v2/groups/{gid}/chat route (query) 2014-01-14 09:21:51 -07:00
Tyler Renelle 5501969262 Merge pull request #2255 from colegleason/leave-guild-challenges
When a user leaves a group, remove them from all group challenges
2014-01-07 19:57:39 -08:00
Cole Gleason b10c29f02f Fixed bug where user wasn't really removed. Changed popup depending on if user was in challenges. Fixed selectedChal typo 2014-01-06 23:06:14 -06:00
Tyler Renelle f6e6d115ac chat: add +1 (like) to messages. @snicker does views/options/social/chat-message.jade flag you for any performance issues which should be optimized with bindonce? (I'm still a bit of a bo-noob) 2014-01-05 22:12:02 -07:00
Tyler Renelle 5ccd8c4b85 hall: fixed load-more, sort contribs by lvl 2014-01-05 19:58:19 -07:00
Tyler Renelle eb5a9150ab hall: use infinite-scroll to load patrons, since there are so many 2014-01-05 19:51:33 -07:00
Tyler Renelle a5db8628e2 hall: start moving admin stuff to hall-of-heroes / hall-of-patrons, so everyone can see contribs / backers 2014-01-05 19:19:34 -07:00
Tyler Renelle eda79a73df admin: use {$ne:null} instead of {$exists:true} for listing contributors
in admin. Who knew $exists had such poor performance!
https://groups.google.com/forum/#!topic/mongodb-user/FKJWoi3lb9I
@sabrecat @wc8, admin page should be snappier now
2014-01-05 16:17:26 -07:00
Tyler Renelle 6c6f364499 challenges: sort first by official (in tavern) 2014-01-05 16:15:08 -07:00
Tyler Renelle a326072858 start adding quests tests 2014-01-05 15:08:10 -07:00
Tyler Renelle e474278ab3 groups: upon group-creation, creator is automatically assigned as leader
and only member. Remove sending up leader & members from the client,
should all be handled on the server
2014-01-05 15:08:10 -07:00
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 c9e083b602 challenges: add "official habitrpg challenge" option 2014-01-03 13:36:13 -07:00
Tyler Renelle 5e321b0205 apiv2 swagger fixes to paypal, and send admin emails 2014-01-03 12:50:03 -07:00
Tyler Renelle 6d8e4ed8a2 tests: api.mocha.coffee cleanup WIP 2014-01-03 10:26:46 -07:00
Tyler Renelle 2c1eb955ac fix #1954 . Start updating API tests, beginning with challenges. Use
test to fix "challenge updates not updating users' tasks"
2014-01-03 00:01:24 -07:00
Tyler Renelle 580279eeda #2217 apiv2 update documentation 2014-01-01 22:26:59 -07:00
Tyler Renelle 548d4f5b78 #2217 swagger-ui: allow authentication for interacting with routes 2014-01-01 21:09:01 -07:00
Sabe Jones 9a32cfd7e1 Remove extraneous techy characters from boss fight and spellcasting chat notifications 2013-12-30 08:46:40 -06:00
Tyler Renelle 2f4fd2faca fix #2163 add stats.maxMP in GET /api/v2/user. @russtaylor let me know
if you need it in other locations
2013-12-29 17:13:39 -07:00
Tyler Renelle 46f772581d Merge pull request #2153 from HabitRPG/sabe/tweak3
Don't need angle brackets anymore for party cast notifications
2013-12-28 21:14:48 -08:00
Tyler Renelle 8ed891db83 Merge pull request #1984 from SyntaxPickax/patch-2
Fixed challenge prize logic to avoid double paying
2013-12-28 21:09:48 -08: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
Sabe Jones 47c4b1dbe5 Don't need angle brackets anymore for party cast notifications 2013-12-28 17:46:18 -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 827d04e4dc APIv2: send response for user.ops 2013-12-28 12:06:24 -07:00
Tyler Renelle f8b7d313da typo on req.body.notes 2013-12-27 15:39:49 -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 aa3767afd9 admin: calculate 2gem bonus *after* the manual gem update from admin 2013-12-26 09:58:33 -07:00
Tyler Renelle fc83ef73ac admin: add section in admin page for manually granting gems and
disabling ads. @sabrecat @wc8 @lemoness @bobbyroberts99 @redphoenix - no pressure,
just in case you see tavern cries that i don't see.apology-gems and restore-streaks
2013-12-25 20:33:21 -07:00
Tyler Renelle 8aacb37e2c API: safe-guarding against POSTing to create 3rd-party tasks with no {type} value 2013-12-25 10:59:52 -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 faeeecdf04 add GET /api/v2/content which lists all item definitions @magicmicky 2013-12-22 12:09:44 -07:00
Tyler Renelle 9518cd1b51 winter: add salt spell to remove snowball buff 2013-12-20 18:35:50 -07:00
Tyler Renelle 676112c1b5 winter event! npcs, snowball=>snowman, new hairs/beards. Fixes to beard/chin overlays. move Fortify Service => "Fortify Potion" Special. @sabrecat let me know what you think: http://gyazo.com/55cd424f104b8f3acb557b99d918cb4b). Sorry for mixing concerns in this commit, some rebase difficulties 2013-12-20 10:26:23 -07:00