codecombat/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
..
commons Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
handlers Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
lib 🐛Fix license inquiry contact lookup boolean 2016-07-28 15:14:38 -07:00
middleware Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
models Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
plugins Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
queues Allow username-only signup for classroom users 2016-07-18 10:41:17 -07:00
routes Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
delighted.coffee Add state to delighted data if state was populated by nces 2016-06-17 13:53:49 -07:00
hipchat.coffee Change 'Slack' back to 'HipChat' in multicore and server. 2015-10-30 15:26:18 -07:00
sendwithus.coffee Add script that migrates users with email-formatted usernames 2016-08-12 14:34:08 -07:00
slack.coffee Redirect artisan events to artisans slack channel instead of dev-feed 2016-06-27 09:49:07 -07:00