codecombat/server/models
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
..
Achievement.coffee Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
AnalyticsLogEvent.coffee Refactor level type checks for easy greppability (level.isType) 2016-07-14 08:58:43 -07:00
AnalyticsPerDay.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
AnalyticsString.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
AnalyticsStripeInvoice.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
AnalyticsUsersActive.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
Article.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
Campaign.coffee Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
Clan.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
Classroom.coffee Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
CodeLog.coffee Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
Course.coffee Sort courses in teacher ux 2016-08-22 11:18:26 -07:00
CourseInstance.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
EarnedAchievement.coffee Add checks to keep User purchased.gems from becoming NaN 2016-06-20 16:44:07 -07:00
Level.coffee Refactor post new level version handler, add failed save handling 2016-08-25 10:28:46 -07:00
LevelComponent.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
LevelFeedback.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
LevelSession.coffee Fix sending too much and not enough data on arena sessions 2016-08-23 16:02:03 -07:00
LevelSystem.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
LevelThangType.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
MailSent.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
Mandate.coffee Add Mandate for modifying simulation throughput on the fly, other things later 2015-12-16 16:39:45 -08:00
Patch.coffee Add course (name, description) translations 2016-08-18 10:10:18 -07:00
Payment.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
Poll.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
Prepaid.coffee Add Enrollment start/end dates, remove self-serve 2016-05-24 14:07:28 -07:00
Product.coffee Move product information to the db 2015-12-14 11:10:50 -08:00
Purchase.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
ScoringTask.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
ThangType.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
TrialRequest.coffee Send request licenses emails to Close.io sales contact 2016-05-25 16:03:08 -07:00
User.coffee Tweak username-should-not-be-email error message 2016-08-22 11:02:40 -07:00
UserCodeProblem.coffee Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -07:00
UserPollsRecord.coffee Add checks to keep User purchased.gems from becoming NaN 2016-06-20 16:44:07 -07:00
UserRemark.coffee Refactor handlers to /server/handlers 2016-04-07 09:40:53 -07:00