Tyler Renelle
4f426b9d24
perf(challenges): use some query & elemMatch magic on memberCount to reduce challenges.list overhead. memberCount is now updated when leaving/joining challenges
2014-02-20 10:43:41 -08:00
Tyler Renelle
a50f025132
feat(donations): add txnCount for each purchase
2014-02-18 17:17:56 -08:00
Tyler Renelle
78fcdd20c9
chore(tests): tests to go along with #1883 challenges fix
2014-02-14 20:37:16 -07:00
Tyler Renelle
33b326b596
fix(challenges): better handling of deleted challenges. If !chal, break the task.challenge. Move the function into userController#score so we have access to next, etc. fixes #1883
2014-02-14 19:49:34 -07:00
Tyler Renelle
fd6eb8724e
feat(valentine): valentine event
2014-02-13 18:40:33 -07:00
Tyler Renelle
ce82be637d
feat(groups): add group chat notifications
2014-02-12 21:21:30 -07:00
Tyler Renelle
72b6c9bc91
feat(event-tracking): track registration count
2014-02-11 17:53:12 -07:00
Tyler Renelle
9217b5174a
feat(event-tracking): pass ga to server user.ops
2014-02-11 17:49:19 -07:00
Tyler Renelle
0c99976bf5
fix(event-tracking): stripe sub, not pp
2014-02-10 18:54:29 -07:00
Tyler Renelle
d89fb17b03
feat(event-tracking): track ecommerce events
2014-02-10 14:14:45 -07:00
Tyler Renelle
f7b4a04a59
feat(event-tracking): add server-side GA tracking for ecommerce events
2014-02-10 11:35:33 -07:00
Lorian
8d03cfc6b5
Made incorrect username and password show the same error, for security purposes.
2014-02-07 21:08:13 -08:00
Tyler Renelle
e24d7476e8
refactor(errors): remove more res.json(500) in favor of next(err)
2014-02-07 09:20:40 -07:00
Tyler Renelle
0c21f54c67
fix(user): make sure next is passed to all routes, and is available in
...
err-back of batch updates
2014-02-05 21:28:46 -07:00
Tyler Renelle
4c3c4b2ae7
perf(user): save user.save till very end of ops queue
2014-02-05 21:22:25 -07:00
Tyler Renelle
bf5e9016a4
fix(errors): return next(err) when experiencing errors, instead of res.json(500,{err:err}). Let the top-level error handler handle this (needed for upcoming versionerror discarding)
2014-02-05 17:28:59 -07:00
Tyler Renelle
9b3814575e
perf(hall): use $gt in contributors.level index instead of $ne:null for
...
better performance
2014-02-04 09:49:49 -07:00
Tyler Renelle
dfa27b3fa2
Merge pull request #2685 from colegleason/logging
...
chore(logging): add Winston and replace console.log
2014-02-02 22:06:35 -08:00
Cole Gleason
36f21196f4
fix(challenges): challenge csv export now has proper filename
...
This sets the Content-disposition filename for the Challenge CSV export
to be {challenge_id}.csv.
Fixes #2689 .
2014-02-01 12:14:24 -06:00
Cole Gleason
4494600d92
chore(logging): replace console.* with new logging module
2014-02-01 02:01:19 -06:00
Tyler Renelle
54064debf3
feat(quests): allow dropping scrolls in quests
2014-01-31 15:06:56 -07:00
Tyler Renelle
800231cf64
feat(quests): allow html in quest notes
2014-01-31 15:06:56 -07:00
Tyler Renelle
179316e10f
feat(restore): add restore-gp back in. Parly to end the winter event,
...
partly due to the convo at #2681 regarding subscriptions. Fixes #2681
2014-01-31 12:54:37 -07:00
Tyler Renelle
a72b013131
fix(hall): let's try $gt instead of $ne:null, the query is still
...
slow
2014-01-31 11:11:42 -07:00
Tyler Renelle
87d196b038
chore(throttling): throttle in dev too
2014-01-31 11:11:16 -07:00
Tyler Renelle
ab86ba11bd
fix(user): if need to upgrade site, send 501, not 400
2014-01-31 10:27:02 -07:00
Tyler Renelle
afee0968f8
fix(groups): pass missing next into Like function
2014-01-30 23:31:58 -07:00
Tyler Renelle
a960c63f00
refactor(groups): small groups-creation cleanup
2014-01-30 21:54:24 -07:00
Tyler Renelle
0aec4caa78
fix(user): PUT user retricted path errors are 401, not 500
2014-01-30 21:39:19 -07:00
Tyler Renelle
f967962996
fix(batch-update): send errors to client if batch-update found an error,
...
crash pid.
2014-01-30 21:33:28 -07:00
Tyler Renelle
5b6c4427b5
fix(groups): send error if +1 errored
2014-01-30 21:11:11 -07:00
Tyler Renelle
3660f1a85c
feat(premium): backport server code for premium subs (it's just ccard
...
handling & uer model stuff)
2014-01-30 10:51:32 -07:00
Tyler Renelle
241d04140f
fix(spells): temp workaround for spell & task being undefined. #2649 #2640
2014-01-29 21:37:59 -07: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
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