codecombat/server/middleware
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
..
achievements.coffee Refactor achievement handler for #3469 2016-04-11 12:00:22 -07:00
auth.coffee Finish new CreateAccountModal 2016-07-07 15:56:41 -07:00
campaigns.coffee Improve CampaignEditor saving, particularly level order 2016-05-31 15:09:26 -07:00
classrooms.coffee Add primer level support to classroom Ux 2016-08-16 16:52:17 -07:00
codelogs.coffee Implements the SPADE logger into the SpellView 2016-04-26 09:56:30 -07:00
contact.coffee Finish new CreateAccountModal 2016-07-07 15:56:41 -07:00
course-instances.coffee Add primer level support to classroom Ux 2016-08-16 16:52:17 -07:00
courses.coffee Course translations fixes 2016-08-18 13:29:52 -07:00
files.coffee Refactor out promisifyAll, use Mongoose's promises and promisify 2016-02-22 16:03:21 -08:00
healthcheck.coffee Refactor, spec and fix GET /healthcheck 2016-05-05 13:11:39 -07:00
index.coffee Finish new CreateAccountModal 2016-07-07 15:56:41 -07:00
levels.coffee Practice levels Ux and next level algorithm 2016-06-27 14:05:42 -07:00
named.coffee Add mongoose require to named middleware 2016-02-25 10:39:10 -08:00
patchable.coffee Modify courses i18n edit view to be less error-prone 2016-08-23 14:36:45 -07:00
prepaids.coffee Add required district field to teacher trial request forms 2016-08-05 13:25:19 -07:00
rest.coffee Add course (name, description) translations 2016-08-18 10:10:18 -07:00
trial-requests.coffee Admin school counts page 2016-06-21 09:33:06 -07:00
users.coffee Remove schoolName from school-counts user query 2016-08-09 06:33:31 -07:00
versions.coffee Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00