codecombat/spec/server
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
..
functional Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
integration/models Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
scripts Add script that migrates users with email-formatted usernames 2016-08-12 14:34:08 -07:00
unit Clean server test logging 2016-06-17 10:35:22 -07:00
common.coffee Clean server test logging 2016-06-17 10:35:22 -07:00
nock-utils.coffee Clean server test logging 2016-06-17 10:35:22 -07:00
request.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
require-files.spec.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
utils.coffee Add course (name, description) translations 2016-08-18 10:10:18 -07:00