Commit graph

86 commits

Author SHA1 Message Date
Scott Erickson
2fe28852b4 More achievement tweaks
* Clients check updated achievements as well as new ones
* Clients do not wait to keep checking
* Update achievement points along with everything else in EarnedAchievement.upsertFor
* Fix various bugs
2016-09-06 09:37:02 -07:00
Matt Lott
fe49867043 Don't key off slugs in updateCourses.js 2016-08-22 06:27:02 -07:00
Matt Lott
0cae331e2f Update gd2 and wd2 to released 2016-08-19 16:48:06 -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
Matt Lott
b280e6ff79 Find invalid courses script 2016-08-18 18:36:31 -07:00
Matt Lott
d6d208803c Undefined check on homepage, update updateCourses.js 2016-08-18 18:36:31 -07:00
Matt Lott
fb0357e0f9 Remove duplicate course entries from updateCourses.js 2016-08-18 15:27:06 -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
Matt Lott
f61f14571f Remove CS: prefixes, add game-dev-2 course 2016-08-18 09:57:09 -07:00
Matt Lott
8054cd6cf0 Update gd1 course to released 2016-08-16 15:27:34 -07:00
Matt Lott
f49305bd9d Update wd1 to released 2016-08-15 13:47:24 -07:00
Matt Lott
341154ab31 🐛Fix course description typo 2016-08-11 16:03:56 -07:00
Matt Lott
e51186ec46 Add JS primer to update courses script 2016-08-02 11:08:46 -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
c3381c1274 Fix updatePrepaid.js user updates 2016-07-22 09:33:50 -07:00
Scott Erickson
e19d31b9b2 updatePrepaid function can modify creator property 2016-07-21 16:42:32 -07:00
Scott Erickson
2b09a24436 Have createLicenses.js script include redeemers array 2016-07-21 16:41:39 -07:00
Scott Erickson
b52cbd6b62 Tweak output 2016-07-21 11:33:24 -07:00
Scott Erickson
4bc9ea77c6 Add updatePrepaid.js stored mongodb script 2016-07-21 11:31:08 -07:00
Scott Erickson
6b78ab3fe8 Add createLicenses.js mongodb script 2016-07-21 11:23:14 -07:00
Nick Winter
0922eec2cc Add stubs for game-dev-1, web-dev-1, and web-dev-2 to updateCourses script 2016-07-15 14:47:42 -07:00
Scott Erickson
de567c6570 Add script for unsettings a user's student role 2016-06-27 09:39:29 -07:00
Scott Erickson
cf76434943 Add script for removing anonymous users from classrooms 2016-05-31 15:09:26 -07:00
Scott Erickson
886ddd381d Add getPrepaidsFor script for updating start/end dates 2016-05-26 10:50:48 -07:00
Scott Erickson
673c608d5a Add deteacher script 2016-05-25 14:46:07 -07:00
Scott Erickson
bcf015e3a4 Update to final version of enrollment start/end dates migration script 2016-05-24 16:25:19 -07:00
Scott Erickson
f0fa88206d Add Enrollment start/end dates, remove self-serve
* Refactor several related endpoints and views
* Redesign EnrollmentView, add TeacherContactModal
* Add "Enrollment Status" tab to TeacherClassView
* Delete PurchaseCoursesView and related files
* Style-flatten RemoveStudentModal
* Fix error handling in ActivateLicensesModal
* TeacherCoursesView loads faster by only loading course campaigns, and not load prepaids
2016-05-24 14:07:28 -07:00
Scott Erickson
50e8000faf Update move-deleted-classroom-members script 2016-04-29 13:12:39 -07:00
Scott Erickson
7415e61763 Update move-deleted-classroom-members script 2016-04-29 09:39:16 -07:00
Matt Lott
b25312265b Create school sale payment script 2016-04-28 16:13:20 -07:00
Scott Erickson
7479357869 Tweak course population script 2016-04-28 14:14:41 -07:00
Scott Erickson
675e3290ac Lock course content to classrooms 2016-04-27 09:58:04 -07:00
phoenixeliot
e2d08fa7cf Stuff
Partially fix ActivateLicensesModal.spec

[IN PROGRESS] Don't display deleted users

Move userID to classroom.deletedMembers on user delete (not retroactive)

Fix PDF links for course guides, remove old PDFs from repo

Remove deprecated SalesView

Remove underline for not-yet-linked student names

Only show class select when there's more than one

Ignore case when sorting student names

Use student.broadName instead of name for display and sorting

Fix initial load not showing progress after joining a course (hacky)

Fix text entry for enrollment number input

Fix enrollment statistics

Fix enrollment stats completely (and add back in per-class unenrolled count)

Add deletedMembers to classroom schema

More fixes to enrollment stats (don't count nonmember prepaids)

Don't use 0 as implicit false for openSpots

Update suggested number of credit to buy automatically

Fix classroom edit form ignoring cleared values

Add alert text when more users selected than enrollments available

Alert user when trying to assign course to unenrolled students

Alert user when assigning course to nobody

Add some tests for TeacherClassView bulk assign alerts

Fix TeacherClassView tests failing without demos

Use model/collection.fakeRequests :D

Remove unused comment

Fix handling of improperly sorted deleted users on clientside

Add test for moving deleted users to deletedMembers

Add script for moving all deleted classroom members to classroom.deletedMembers

Completely rewrite tallying up enrollment statistics

Fix some tests to not be dependent on logged-in user

Address PR comments

Fix default number of enrollments to buy

Fix i18n for not enough enrollments

Use custom error message for classroom name length
2016-04-19 12:32:20 -07:00
Scott Erickson
5a69936899 Update init-school-roles 2016-04-13 09:43:05 -07:00
Cat Sync
debc337dd5 Add mongo script for finding which level(s) unlock a given level 2016-04-06 14:12:19 -04:00
phoenixeliot
beb53d9f2f Various fixes and changes to teacher-accounts and teacher-dashboard 2016-04-04 15:42:29 -07:00
Scott Erickson
bd3a77da9f Implement teacher accounts 2016-04-04 15:18:06 -07:00
Nick Winter
0c40d7fb65 Make addExternalSubs automatically fill in details for most common payment case 2016-03-28 15:34:33 -07:00
Scott Erickson
10402fa945 Make fix-arena-sessions script run across all classrooms 2016-02-19 13:13:45 -08:00
Scott Erickson
8c2b6868f1 Add script for fixing level session language settings in arena levels for classrooms 2016-02-11 12:32:59 -08:00
Scott Erickson
bb38c58903 Properly fix duplicate course instances
* Add script to merge existing course instances
* Have client only send one course instance creation
* Have server return existing course instance if one for the given classroom/course exists
* Remove bandaid code from ClassroomView
2016-02-08 12:48:29 -08:00
Scott Erickson
a8f4f9d2ec Update updateCourses script and add course 5 to it with new screenshot 2016-01-15 09:46:24 -08:00
Nick Winter
803abafa99 Added script to output all level guides for a campaign 2015-12-01 18:05:18 -08:00
Nick Winter
9d21f87345 Add migration script to backfill user concept stats 2015-11-29 12:19:59 -08:00
Nick Winter
7a317370b5 Add a couple scripts for resetting user progress and migrating course sessions to hero levels 2015-11-26 06:54:23 -08:00
Matt Lott
b457514406 Add course headcount to old trial requests script 2015-11-22 16:08:18 -08:00
Matt Lott
9d329d4a1d Migrate external trial requests to database
Added created field to ~2800 older trial.requests
Inserted ~700 external requests from Google forms
2015-11-20 15:53:00 -08:00
Nick Winter
3d71451e10 Add script to migrate course instance ladder leagues 2015-11-19 12:10:20 -08:00