Commit Graph

1761 Commits

Author SHA1 Message Date
Tyler Renelle f7f4a0c166 feat(administrators): start adding features page for admin accounts 2014-01-27 18:24:24 -08:00
Tyler Renelle 0ddaae4d75 feat(homepage): start cleaning up homepage, add navbar for play button & upcoming links 2014-01-27 17:40:43 -08:00
Matteo Pagliazzi 5336134c7d refactor(translations) 2014-01-24 22:49:36 +01:00
Matteo Pagliazzi 95f1dc6e60 improve(translation): allow for data interpolation 2014-01-24 18:08:54 +01:00
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 f478d10c20 fix(quests): bug fix to multi-drop 2014-01-21 15:08:11 -08:00
Tyler Renelle d9e5725ee1 feat(quests): allow quests to drop multiple items 2014-01-21 13:13:15 -08: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
Cole Gleason 6d0168364c Revert "chore(errors): send req.body before JSON.parsing @colegleason"
This reverts commit 39f0961b75. @lefnire,
this was just sending `[object Object]` instead of `{}`. We want the
JSON.strigify, actually.
2014-01-20 11:44:10 -06: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 b0fc17bae5 chore(cluster): @colegleason I'm disabling cluster for now, people are
reporting more issues on develop (VersioError & 503) than before. Can
revert his commit in the near future, want to investigate a bit though
2014-01-19 14:52:57 -08:00
Tyler Renelle 39f0961b75 chore(errors): send req.body before JSON.parsing @colegleason 2014-01-18 18:17:33 -07:00
Tyler Renelle 7a479098dc fix(tests): don't use cluster in tests, else we get "connection refused" 2014-01-18 10:55:56 -07:00
Cole Gleason 2e62cc675b perf(cluster): user NodeJS cluster module to use all CPU cores
This makes the server.js file fork workers for the number of CPUs on the
system. Each worker will then bind to the MongoDB and Express
ports. They are really all using the same connection through the master
process, but this lets the logic happen in seperate threads. I do worry
that we may see more VersionErrors if one user makes more concurrent
API requests. That really isn't the fault of cluster though, as that
issue still would have been present in the previous single-core version.
2014-01-17 01:55:10 -06:00
Tyler Renelle 86220f3e0e Merge pull request #2319 from HabitRPG/sabe/preferences
Finish up @wc8 suggested user preferences: tags and Advanced Options
2014-01-15 21:04:05 -08:00
Tyler Renelle 1a2db28648 Merge pull request #2395 from HabitRPG/sabe/tweak2
Tweak to boss victory text
2014-01-15 15:42:45 -08:00
Tyler Renelle e66fdd80ef feat(perfect-day achievement) 2014-01-15 16:24:23 -07: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 b96ce1d07f add created (creation-date) to TaskSchema 2014-01-14 16:46:16 -07:00
Tyler Renelle 3701003baf add GET /api/v2/groups/{gid}/chat route (query) 2014-01-14 09:21:51 -07:00
Sabe Jones 13ebcd6528 Tweak to boss victory text 2014-01-13 22:33:01 -06:00
Tyler Renelle af0b1d0550 CDS: set min/max on preferences.dayStart 2014-01-09 11:22:25 -07:00
Sabe Jones 27e9dfa0d5 Finish up @wc8 suggested user preferences: tags and Advanced Options start collapsed 2014-01-08 22:19:38 -06:00
Cole Gleason 76ad3bbe78 Add challenge to user.challenges on creation. Fixes #2310 2014-01-08 16:44:08 -06:00
Tyler Renelle 11dbda6f8c Merge pull request #2298 from HabitRPG/sabe/preferences
New user preference: open new tasks in edit mode
2014-01-08 14:29:57 -08:00
Tyler Renelle be56b10d91 challenges: swagger param fix on 2014-01-07 21:15:19 -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
Tyler Renelle 05752c4afc #2217 swagger API docus: params => parameters 2014-01-07 20:23:22 -07:00
Sabe Jones 9c545add5e New user preference: open new tasks in edit mode 2014-01-07 20:14:57 -06: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 3a5eda1e98 Merge remote-tracking branch 'origin/sabe/attributes' into develop
Conflicts:
	views/shared/footer.jade
2014-01-04 16:02:22 -07:00
Tyler Renelle d9779d8e51 challenges: but provide default notes 2014-01-03 14:34:47 -07:00
Tyler Renelle c9e083b602 challenges: add "official habitrpg challenge" option 2014-01-03 13:36:13 -07:00
Tyler Renelle abd300199a challenges: allow members to override challenge.tasks.notes, and sycning
challenge won't update those notes.
2014-01-03 13:10:56 -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