Commit Graph

269 Commits

Author SHA1 Message Date
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
Tyler Renelle 41c80b9433 fix #2061 "on the party" => "for the party" 2013-12-19 18:13:33 -07:00
Tyler Renelle 06ee34c09b fix #2040 - $rootScope.moment = window.moment. Fixes to applying spell 2013-12-17 23:08:41 -07:00
Tyler Renelle d03a996946 classes: very simple "buffs applied" icon next to level, add chat message
for party / member casts (@wc8 @sabrecat)
2013-12-17 19:16:31 -07:00
Tyler Renelle 016a5030c5 groups: 404 when group not found 2013-12-16 22:09:54 -07:00
Tyler Renelle 259f9033c4 APIv2: add paths /api/v2/* and /api/v1/*. v1 has limited deprecated routes (only the things I know currently work), and we'll notify 3rd-partyists to migrate to apiv2 once it's documented and tested 2013-12-15 17:54:34 -07:00
Tyler Renelle 91e1287d06 APIv2: some finalization of APIv2. Add new routes, re-rigg
query/param/body requirements. This overhauls the API pretty
substantially, so we'll indeed be moving this to apiv2, using v1 for the
old API, and limiting it's use substantially
2013-12-15 16:53:06 -07:00
Tyler Renelle d0b07ba4db apiv2: move tags to apiv2 (remove from client/server, move to Shared.ops) 2013-12-15 14:16:04 -07:00
Tyler Renelle d2121a8587 fix(classes) misc fixes 2013-12-13 17:08:25 -07:00
Brandon McPhail bf41216a9b Fixed challenge prize logic to avoid double paying 2013-12-13 15:48:18 -08:00