Scott Erickson
ae82875c57
Refactor post new level version handler, add failed save handling
...
When a new version is created, the latest version is updated, then
the new one is made. If making a new one fails (most commonly due to
a name conflict), the latest version is left in a broken state. Set up
the new middleware to revert changes to latest version in this case,
and update the level handler to use the middleware. Also added
warning logs if models do not have editableProperties or postEditableProperties
set.
2016-08-25 10:28:46 -07:00
Scott Erickson
09a9358b9e
Modify courses i18n edit view to be less error-prone
...
* Do not use 'backup' system
* Warn when about to lose changes
* Show list of patches and their statuses
2016-08-23 14:36:45 -07:00
Rob
07f6f98c24
Refactor remote server readpref and connection strings.
2016-08-16 13:35:15 -07:00
Scott Erickson
675e3290ac
Lock course content to classrooms
2016-04-27 09:58:04 -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
Scott Erickson
f21baa7af5
Migrate /db/trial.request for #3469
2016-03-18 11:03:55 -07:00
Scott Erickson
7749f9cc0a
Refactor out promisifyAll, use Mongoose's promises and promisify
2016-02-22 16:03:21 -08:00
Scott Erickson
23e3821e24
Switch from jasmine-node to jasmine, run server tests on a single process
...
This collapses the difference between master and single-process-server-tests, to
remove some larger fixtures files that were in that feature branch.
2015-12-09 14:27:10 -08:00
Nick Winter
77731dad84
Improve server caching and ladder view refresh performance
2015-12-05 08:18:36 -08:00
Michael Schmatz
be80b1e355
Add Sao Paulo database condition
2015-09-02 12:33:48 -04:00
Michael Schmatz
7f9301e8c6
Setting up read preferences and china specific configuration
2015-03-19 14:18:38 -04:00
Nick Winter
99b2c268b2
Also caching Aggregates.
2015-02-26 18:32:59 -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
Scott Erickson
7210de02e9
Set up stripe to get user emails so receipts can be emailed.
2014-12-03 16:36:03 -08:00
Tery Lim
618ade4946
Clean up mixed quotes
2014-07-01 12:23:22 +08:00
Michael Schmatz
1793d9a882
Fixed testing logic
2014-05-05 17:33:47 -07:00
Michael Schmatz
465ea22b1a
More progress with queues and client-side simulation
2014-02-10 13:18:39 -08:00
Michael Schmatz
824af18e39
Improved Mongo queueing and various refactors
2014-02-10 10:30:08 -08:00
Sébastien Moratinos
23a07303e3
move database setup (mongodb) out of db route (http endpoint)
2014-02-04 23:26:04 +01:00