phoenixeliot
bb6262483f
Allow username-only signup for classroom users
...
Address some code review feedback
Correct error code in test
Don't try to send emails to empty addresses
Add tests for subscriptions
Add tests for Next Steps email
Fix specs
Add reason for disabled test
2016-07-18 10:41:17 -07:00
Nick Winter
71e20395c9
Fix submitted code not being present sometimes before submitted code compression
2016-05-24 13:42:37 -07:00
Nick Winter
d0be5c1f22
Handle a couple errors I saw in the logs
2016-05-08 10:05:26 -07:00
Nick Winter
e4c904463c
No more transpiledCode
2016-05-05 13:22:30 -07:00
Scott Erickson
c3e5416166
Refactor server models into /server/models, remove request and mongoose from test globals
2016-04-06 16:06:52 -07:00
Nick Winter
8e3a7915de
No more simulations for Elemental Wars
2016-03-28 15:34:19 -07:00
Nick Winter
2dc4b17b94
Adjust ladder simulations
2016-03-25 20:01:42 -07:00
Nick Winter
622c3d46de
More investigation for baffling _.pluck bug
2016-01-20 09:34:32 -08:00
Nick Winter
770379c521
Testing fix for weird _.pluck issue
2016-01-18 16:09:19 -08:00
Nick Winter
129d3b793d
Add Mandate for modifying simulation throughput on the fly, other things later
2015-12-16 16:39:45 -08:00
Nick Winter
7269dc85d4
Update our updates' callbacks' argument signature for Mongoose 4
2015-12-09 11:56:18 -08:00
Nick Winter
453c5759cc
Add simulation throughput counter
2015-12-09 06:22:40 -08:00
Nick Winter
80b72edff1
Handling a few more server errors I saw
2015-12-07 03:41:33 -08:00
Nick Winter
5a92825347
Removed nonsensical lean model set calls that don't work in new Mongoose
2015-12-06 09:53:25 -08:00
Nick Winter
5555fdfe50
Removed some logs
2015-12-06 09:28:03 -08:00
Nick Winter
1187390fd0
Improve simulation game logic, and re-enable automatic simulations under certain conditions, better targeted toward the matches the player cares about
2015-12-06 09:20:37 -08:00
Nick Winter
f38eea3590
Merged. Turn off chained rankings for now since they are slow and don't work anyway
2015-12-06 04:36:41 -08:00
Nick Winter
95c703a7df
Simulate games in background while playing levels if we think there's extra compute power
2015-11-29 12:30:19 -08:00
Nick Winter
c8ceca4d3d
Add user.courseInstances, use it for course ladders
2015-11-19 10:41:31 -08:00
Scott Erickson
7a6c42b89f
Set up course-ladder level handling
...
* LadderView displays course info, different style for course-ladder levels
* LadderView hides simulate tab for course-ladder levels
* HeroVictoryModal links to LadderView for course-ladder levels
* CourseDetails page links to LadderView for course-ladder levels
* Enable course instances for league simulation
2015-11-18 14:02:45 -08:00
Nick Winter
f96a0a018c
Track ladderAchievementDifficulty in multiplayer human level sessions
2015-11-17 15:23:35 -08:00
Nick Winter
da9567f85f
Add Wakka Maul to simulation rotation
2015-10-30 09:45:07 -07:00
Nick Winter
e15b30893f
Note tournament end, undo tournament simulation bias
2015-10-15 06:32:52 -07:00
Nicholas Winter
3eeb9a6a26
Reset some stuff for Ace of Coders and Robot Ragnarok. Put multiplayer link back now that we have two good mirror match levels and aren't listing the old arenas.
2015-09-12 06:54:14 -07:00
Nick Winter
4d68080c4c
Bumped up Ace of Coders simulations for the tournament.
2015-09-09 21:54:22 -07:00
Nick Winter
b13504eeb5
Watching out for finding a null session when getting two games.
2015-09-09 08:59:33 -07:00
Nick Winter
0d2d1ddad0
A couple mirror match ladder tweaks. Made programmableMethods other code languages use proper code formatting.
2015-09-07 18:00:48 -07:00
Nick Winter
98b0bcfc75
Fixed playback victory message for spectate mode. Spectate mode now opens in new tabs.
2015-09-03 15:05:10 -07:00
Nick Winter
d412a7d5ee
Fixed blank duel stats bar in single player, oops. Handling getTwoGames from non-logged-in users.
2015-08-28 10:45:07 -07:00
Nick Winter
96b838da03
Fixed league-based simulation randomness.
2015-08-20 05:54:10 -07:00
Nick Winter
bda2483738
Added league-based ladder game simulation.
2015-08-15 05:38:47 -07:00
Nick Winter
f757f220be
Refactored scoring.coffee into separate files per route plus a scoringUtils file, and cleaned up a few of the verbose methods.
2015-08-13 11:17:38 -07:00
David Liu
7d64087e29
Fix the headless simulator
...
Shims `lscache`, support io.js < v3.0.0. Make simulating `one-game`
possible.
Tested on Linux with Node.js v0.10.40 and v0.12.7; as well as io.js
v2.5.0.
It still won't work with io.js v3.0.0 because `webworker-threads`
doesn't compile properly, so that's another problem.
2015-08-10 18:12:53 -07:00
Nick Winter
e6cef389cd
Simplified some of scoring.coffee and dramatically reduced the amount of database work recordTwoGames is doing.
2015-04-12 21:57:47 -07:00
Nick Winter
c40123f656
Removed a log.
2015-04-12 17:26:39 -07:00
Nick Winter
eb075b99a0
Fixed #2448 with better random session query distribution.
2015-04-12 11:34:19 -07:00
Nick Winter
f8beed9ce8
Fixed #2464 . Well, let's see if it works.
2015-04-10 16:57:16 -07:00
Nick Winter
98b749eb1b
Making simulator stuff more efficient by using less bandwidth.
2015-04-08 12:00:23 -07:00
Nick Winter
e6f53d437a
Adding zero-sum to simulated ladder levels.
2015-03-20 10:16:19 -07:00
Nick Winter
57e77a0cd7
Upcoming ladder level Zero Sum equalizes all players' heroes and equipment.
2015-03-14 09:39:43 -07:00
Nick Winter
2767fbc7aa
Even less emphasis on recent games, for #2448 . But we might need something different due to the time-clustered nature of submissions leading to an uneven distribution.
2015-03-01 07:57:21 -08:00
Nick Winter
d881476731
Let's try less emphasis on most recently submitted games.
2015-02-27 07:52:48 -08:00
Nick Winter
4082110382
Cleaned up getTwoGames random session simulation fetcher. Made it more efficient, made it have a better spread over all games submitted to a ladder with a better bias towards the most recently submitted games.
2015-02-26 21:25:17 -08:00
Nick Winter
b4e9ee67f0
Added one-minute in-memory server caching for a bunch of common queries.
2015-02-26 17:20:27 -08:00
Nick Winter
d310fa9476
Harrowland was being slow in simulator for some reason.
2015-02-25 21:47:57 -08:00
Nick Winter
7e889a2a80
Simulating games for Harrowland, now, too. Alternative way of loading hero when sticking with same hero from within level when changing inventory.
2015-02-25 18:09:55 -08:00
Michael Schmatz
5b39c6bb19
Try moving projection after sort/limit
...
Trying to get these queries to be faster
2015-02-20 11:05:58 -05:00
Nick Winter
a8dc353f86
Aether now loading all code languages possibly used in a match before the level can begin. Hopefully, this will fix #1943 and fix #1892 .
2015-02-12 18:40:38 -08:00
Nick Winter
7000048bee
Fixed a few more issues with the headless simulator.
2015-02-12 17:07:29 -08:00
Nick Winter
8936d5fa40
Simulator version 2 takes into account flag history when simulating matches.
2015-02-12 10:59:34 -08:00