codecombat/server/routes
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
..
db Add Brazil coupon test. Generalize prices in subscription test a bit more. Handle brazil_basic_subscription product in one more place. 2016-01-12 12:25:13 -08:00
admin.coffee Added recalculation for patches. Struggled with translations. Won't recalculate those probably 2014-07-24 14:41:06 +02:00
base.coffee Clean up mixed quotes 2014-07-01 12:23:22 +08:00
contact.coffee 🐛Don't route level load error mails to sales 2016-07-19 06:36:11 -07:00
db.coffee Update Slack message destinations 2016-03-21 05:36:44 -07:00
file.coffee Fixed #2458, I think. 2015-04-18 19:57:37 -07:00
folder.coffee Clean up mixed quotes 2014-07-01 12:23:22 +08:00
github.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
index.coffee Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
languages.coffee Removed log infos, iPad language selection 2014-11-30 16:19:01 -05:00
mail.coffee Allow username-only signup for classroom users 2016-07-18 10:41:17 -07:00
queue.coffee Merge branch 'master' into production 2015-08-19 15:35:30 -07:00
sprites.coffee use a mapping for handlers, schemas, and routes 2014-02-04 23:27:24 +01:00
stacklead.coffee Clean up mixed quotes 2014-07-01 12:23:22 +08:00
stripe.coffee Add checks to keep User purchased.gems from becoming NaN 2016-06-20 16:44:07 -07:00