Commit graph

6688 commits

Author SHA1 Message Date
Nick Winter
58716f5b75 Revert "Fixed #1076, and all other instances of empty objects being stripped out of documents. Turns out mongoose was doing this intentionally as a feature? I don't understand why that's on by default. Oh mongoose."
Saw that this caused 500s on /auth/whoami with no cookies set, with this error:

debug: 500: MongoError: E11000 duplicate key error index: coco.users.$emailLower_1 dup key: { : null }

Probably we need to be much more careful about what changes this blanket change to the minimize Mongoose option might introduce, since tests didn't catch this, but it would have taken the site down for anyone not logged in already.

This reverts commit 121f07d020.
2015-01-09 18:30:05 -08:00
Scott Erickson
82eb47bf5f Fixed #1056. 2015-01-09 12:56:48 -08:00
Scott Erickson
c8298679a4 Tweaked achievement notification handling, also disabling an endless loop of achievement fetching. 2015-01-09 12:38:00 -08:00
Scott Erickson
121f07d020 Fixed #1076, and all other instances of empty objects being stripped out of documents. Turns out mongoose was doing this intentionally as a feature? I don't understand why that's on by default. Oh mongoose. 2015-01-09 11:56:54 -08:00
Matt Lott
29c6b7c9f1 Prune internal analytics event data 2015-01-09 09:27:33 -08:00
Imperadeiro98
83efcb5113 Some spacing corrections 2015-01-09 15:00:38 +00:00
Imperadeiro98
3ec86b3e14 Merge pull request #2070 from steveshining/master
I hope this commit could be helpful
2015-01-09 14:59:49 +00:00
Imperadeiro98
2563c5b896 Merge pull request #2074 from nixel2007/master
Update ru.coffee
2015-01-09 14:58:29 +00:00
Imperadeiro98
b8e995c72b Merge pull request #2072 from RubenDjOn/master
Added es-ES translations
2015-01-09 14:55:38 +00:00
Nick Winter
3900af043d Added an es-419 Diplomat. 2015-01-08 20:49:18 -08:00
nixel2007
f65c464eb1 small fix 2015-01-09 05:40:11 +03:00
nixel2007
5b089c29d5 Update ru.coffee 2015-01-09 05:37:16 +03:00
Matt Lott
05beebee68 Add play_counts API input null check 2015-01-08 17:17:34 -08:00
Matt Lott
372ac20a67 Update campaign editor analytics
Level view recent sessions is latest - 10 minutes.
2015-01-08 17:00:06 -08:00
Nick Winter
583cb03b89 Added a couple more contributor avatars. 2015-01-08 16:39:12 -08:00
RubenDjOn
6dd39dd99b Added es-ES translations 2015-01-09 01:19:28 +01:00
Matt Lott
8977450fed Add levelID to Saw Victory analytics event 2015-01-08 16:09:39 -08:00
Matt Lott
bc93a2b181 Update campaign editor analytics
Restrict level view completion rates to unique users. Super slow, perf
work to do here.
Increase level view completion rate date range to 2 weeks.
Increase level view average playtimes date range to 2 weeks.
Display player name if available in level view recent sessions.
2015-01-08 16:01:49 -08:00
Scott Erickson
d69c5941b3 Fixed #1968. 2015-01-08 11:57:31 -08:00
Nick Winter
04e0624268 Possible hacky workaround for #2068. 2015-01-08 11:42:42 -08:00
Nick Winter
79c5b53de1 Updated GitHub README avatars. Added HipChat notifications when CLAs are signed. 2015-01-08 11:33:59 -08:00
Scott Erickson
d8e89f31b1 Fixed #1967. 2015-01-08 11:29:10 -08:00
Imperadeiro98
68ed142bd6 Update auth.coffee 2015-01-08 19:27:37 +00:00
Nick Winter
c1d9a5ae13 Merge pull request #2066 from GeetikaBatra/patch-1
Added soldiers,librarian and ninja
2015-01-08 08:13:00 -08:00
Nick Winter
0fd387c937 Merge branch 'PaulaThoelen-patch-1' 2015-01-08 08:04:25 -08:00
Nick Winter
fbcbfc7368 Merged nl-BE.coffee. 2015-01-08 08:04:15 -08:00
izumi
6a6102fd75 I hope this commit could be helpful
Your guys realy do a great job!
2015-01-08 17:09:33 +08:00
Nick Winter
d66243ad75 Beating replayable levels now shows you the proper gems and xp. 2015-01-07 18:36:02 -08:00
Scott Erickson
aeebee891e Added 'submitting...' text to the i18n translation form button to show when a submission is successful. 2015-01-07 16:15:26 -08:00
Scott Erickson
c235b1cc15 The noty error for server errors now shows more detailed info. 2015-01-07 16:02:52 -08:00
Scott Erickson
2a4f997b1d Fixed registration point scaling for vector portraits, so they match their raster versions. 2015-01-07 15:11:43 -08:00
Nick Winter
4016476c4d Fixed achievement plugin creation of repeatable achievements. Fixed some bugs in recalculating repeatable achievement exp. Implemented recalculating repeatable achievement gems. Achievement tests pass again. 2015-01-07 15:03:39 -08:00
Matt Lott
c54fea929e Update campaign editor analytics
Optimize analytics.log.event user event data find() to use stream()
instead of exec(), which is better for large result sets
Fix startDay formatting bug
Per-level recent sessions to 100
2015-01-07 14:49:24 -08:00
Imperadeiro98
3eb34bab5c Merge pull request #2069 from Imperadeiro98/master
Removed some unused titles
2015-01-07 21:52:10 +00:00
Imperadeiro98
b47fc93912 Update ambassador.jade 2015-01-07 21:45:36 +00:00
Imperadeiro98
3c51d4d014 Update scribe.jade 2015-01-07 21:45:11 +00:00
Imperadeiro98
2a3892a572 Removed unnecessary titles 2015-01-07 21:44:05 +00:00
Nick Winter
1455dc0550 Working on repeatable achievement posting. Two tests still fail, though, so it's not there yet. 2015-01-07 12:25:43 -08:00
Geetika Batra
1480baf000 Added soldiers,librarian and ninja 2015-01-07 22:56:27 +05:30
Imperadeiro98
a0a8b2a961 Merge pull request #2064 from Kindleme/patch-2
Update zh-HANS.coffee
2015-01-07 17:14:04 +00:00
Imperadeiro98
41080daaad Merge pull request #2063 from RubenDjOn/master
Added es-ES translations.
2015-01-07 17:09:43 +00:00
Kindleme
ac46e65ec9 Update zh-HANS.coffee 2015-01-07 18:24:50 +08:00
Matt Lott
d89b0d90e3 Campaign analytics - unique users, dropped count
Fixing incorrect dropped counts.
Restricting start/finish level events to unique users.
Does not fix campaign editor level view analytics.
2015-01-06 21:38:49 -08:00
Nick Winter
4ea2a51ff6 In middle of debugging non-functioning repeatable achievements. 2015-01-06 21:32:58 -08:00
Scott Erickson
2f36884456 Got proportionalTo working with gems as well as points. Probably also got it working for LevelSessions, but this should be tested. 2015-01-06 18:14:19 -08:00
Scott Erickson
7f203f246c Fixed a bug where projection in /db/campaign/.../levels wasn't working correctly anymore if project wasn't included. 2015-01-06 16:59:56 -08:00
RubenDjOn
ac4925b2da Added es-ES translations. 2015-01-07 01:08:53 +01:00
Matt Lott
1c1f2be497 Changing analytics.log.event indexes to compound
Changing this back.  Using mongodb hint() and explain() on our find()
call indicates the compound index is better than the two single indexes.
2015-01-06 14:54:56 -08:00
Matt Lott
a144c5ff0d Update analytics.log.event indexes to match prod
These were applied as single indexes directly in production.
2015-01-06 14:07:22 -08:00
Imperadeiro98
9a6933023c Update patches.jade 2015-01-06 21:22:20 +00:00