Scott Erickson
cf9d082ffa
Have client check for achievement updates
2016-08-29 16:32:42 -07:00
Scott Erickson
139efe4cf7
Implement POST /db/user/:handle/check-for-new-achievement, couple tweaks
...
* Enforce being logged in for POST /db/earned_achievement
* Extend timeout for race condition user tests
2016-08-29 14:53:51 -07:00
Scott Erickson
f509c95a4b
Refactor POST /db/earned_achievement
2016-08-29 14:53:36 -07:00
Scott Erickson
5c8b8832b3
Refactor and better test EarnedAchievement.createForAchievement
2016-08-29 14:52:50 -07:00
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
Matt Lott
22e3f445c0
Add achievement hidden property
2016-08-24 07:37:11 -07:00
Nick Winter
bfa49cbbc6
Fix sending too much and not enough data on arena sessions
2016-08-23 16:02:03 -07:00
Scott Erickson
09a9358b9e
Modify courses i18n edit view to be less error-prone
...
* Do not use 'backup' system
* Warn when about to lose changes
* Show list of patches and their statuses
2016-08-23 14:36:45 -07:00
Matt Lott
61be34a0f4
Sort courses in teacher ux
...
Closes #3870
2016-08-22 11:18:26 -07:00
Scott Erickson
cdba1788e7
Tweak username-should-not-be-email error message
2016-08-22 11:02:40 -07:00
Matt Lott
05159ff7c2
Support course slugs that match course names
...
Must be backwards compatible until we update the course slugs.
Closes #3867
2016-08-19 16:05:37 -07:00
Scott Erickson
300c81e72b
Course translations fixes
...
* Restrict patch handling properly
* Fix #3860 , CS 2 description
* i18nCoverage is updated when new translations are auto-accepted
* Course patches are listed on PendingPatchesView properly
* 'Artisan' permission allows editing course translations
2016-08-18 13:29:52 -07:00
Scott Erickson
d4af931e05
Add course (name, description) translations
2016-08-18 10:10:18 -07:00
Nick Winter
8ec17265dc
Give China server all free levels but hide paid levels ( #3855 )
...
* Give China server all free levels but hide paid levels
* Don't prompt to buy gmes on free-only server on insufficient gems for item/hero purchases
2016-08-17 10:00:56 -07:00
Matt Lott
84e3ee270a
Add primer level support to classroom Ux
...
Exclude levels if classroom.aceConfig.language == level.primerLanguage
Closes #3856
2016-08-16 16:52:17 -07:00
Rob
07f6f98c24
Refactor remote server readpref and connection strings.
2016-08-16 13:35:15 -07:00
Scott Erickson
a5f18f88be
Add script that migrates users with email-formatted usernames
2016-08-12 14:34:08 -07:00
Matt Lott
5a6bed96b2
🐛 Fix course solutions level ordering
2016-08-11 22:26:47 -07:00
Matt Lott
a7e290fffe
Replace course guide PDFs with solutions pages
2016-08-11 15:29:56 -07:00
Matt Lott
eaddf2fa8d
Add level schema primerLanguage
...
For web-dev 2 course in the short term
2016-08-11 06:08:58 -07:00
Scott Erickson
2e5c15cc6d
Internationalize student UI for game dev levels
2016-08-10 12:47:34 -07:00
Matt Lott
1439016f9b
Remove schoolName from school-counts user query
2016-08-09 06:33:31 -07:00
Scott Erickson
c89ee139ed
Have GET param 'project' work with [] notation
...
Otherwise queries like $.ajax('/db/campaign', {data: {project:['name','slug']}})
cause 500 errors.
2016-08-08 09:35:42 -07:00
Matt Lott
6f08d5e422
Add required district field to teacher trial request forms
...
School now optional
N/A placeholder on district field and don't save it if it's n/a
Updating required field error UI a bit, and there is some larger
refactoring needed here later.
NCES phone number for district only entries will currently be a child
school, will fix later.
Closes #3818
2016-08-05 13:25:19 -07:00
Matt Lott
96cbcfada2
🐛 Fix prepaids middleware missing this.logError
2016-08-05 09:21:37 -07:00
Nick Winter
246469bdde
A couple fixes for demo flow
2016-08-04 18:37:13 -07:00
phoenixeliot
5f560f3e7d
Don't allow conversion to student without a ClassCode
...
Fix i18n and tests
2016-08-01 16:44:57 -07:00
phoenixeliot
94e3c5a2b5
Add first/last names to Account Settings
2016-08-01 14:12:35 -07:00
Matt Lott
00221e6c91
🐛 Fix license inquiry contact lookup boolean
2016-07-28 15:14:38 -07:00
Rob
ccb1d3cd94
Plural
2016-07-25 16:36:49 -07:00
Scott Erickson
053ce34faf
Prevent users from signing up with or changing to an email-like username
2016-07-25 16:33:48 -07:00
Rob
782aacf35e
Patch Earned Achievements more generally.
2016-07-25 16:33:11 -07:00
Rob
d292e180d2
Fix earned acheivements
2016-07-25 16:12:14 -07:00
Scott Erickson
34310642c7
Add destudent and deteacher buttons to AdministerUserModal
2016-07-25 16:09:24 -07:00
phoenixeliot
f1f020a50d
Use course.releasePhase instead of .adminOnly
...
Remove old comment
2016-07-25 11:29:30 -07:00
Scott Erickson
b1c69b686c
Add admin button to update course content for classrooms
2016-07-21 15:16:17 -07:00
phoenixeliot
b1277dc95f
Merge branch 'game-dev-levels'
2016-07-21 10:14:22 -07:00
Matt Lott
7bf3fc6a78
🐛 Don't route level load error mails to sales
2016-07-19 06:36:11 -07:00
Nick Winter
cb1021e013
Fix typo in game-dev-2 ordering
2016-07-18 22:27:20 -07:00
Matt Lott
1f1132ecf8
Prioritize displaying first/last names over username
2016-07-18 12:38:29 -07:00
phoenixeliot
4e449fea3b
Fix gplus/fb signin and tests
2016-07-18 11:41:18 -07:00
phoenixeliot
bb6262483f
Allow username-only signup for classroom users
...
Address some code review feedback
Correct error code in test
Don't try to send emails to empty addresses
Add tests for subscriptions
Add tests for Next Steps email
Fix specs
Add reason for disabled test
2016-07-18 10:41:17 -07:00
Matt Lott
68ebfa0e39
Update license inquiry call task name
2016-07-18 10:08:23 -07:00
Matt Lott
607c129c7f
School active licenses admin page
2016-07-18 09:41:42 -07:00
Nick Winter
d37527d21b
Ordering/labeling courses: CS1, CS2, GD1, WD1, CS3, etc
2016-07-16 00:35:52 -07:00
Nick Winter
dc6a1de9fa
Ordering/labeling courses: CS1, CS2, GD1, WD1, CS3, etc
2016-07-16 00:33:10 -07:00
Scott Erickson
7b38181241
Merge branch 'master' into game-dev-levels
2016-07-15 16:02:21 -07:00
Scott Erickson
ab704a1cab
Merge remote-tracking branch 'origin/web-dev-levels' into game-dev-levels
...
# Conflicts:
# app/views/play/level/PlayLevelView.coffee
2016-07-15 16:01:57 -07:00
Scott Erickson
10ca59d10f
Have CourseVictoryModal used for course-ladder levels
2016-07-15 15:54:22 -07:00
Scott Erickson
486949d07c
Admin only courses ( #3797 )
...
* adminOnly course field
* Properly check not-admin-only when fetching courses
2016-07-15 13:28:35 -07:00