Commit graph

30 commits

Author SHA1 Message Date
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
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
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
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
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
Scott Erickson
e429d97f33 Add course-correction migration script 2015-11-10 16:34:00 -08:00
Nick Winter
9712c95b4a Added script to add clan leagues to sessions. 2015-08-20 05:53:46 -07:00
Matt Lott
05a9013164 Remove deprecated prepaid schema properties 2015-08-13 11:13:15 -07:00
Matt Lott
7f48191017 Migrate prepaids to v2 schema script 2015-08-13 10:25:25 -07:00
Nick Winter
b33fee406b Server now logs the messages of its bad responses instead of just sending them to the client. Added a script that migrated bad ObjectIds in purchased items. 2014-11-10 13:27:40 -08:00
Scott Erickson
f8f67833d1 Refactored the config defaults script to work on systems, too, and save results. 2014-08-28 09:52:46 -07:00
Scott Erickson
87d455e98b Wrote a script to migrate component config defaults to the new system. 2014-08-27 18:16:19 -07:00
Scott Erickson
8cb7cd770c Fixed i18n population because mongoose has problems with empty objects. 2014-07-12 09:58:28 -07:00
Scott Erickson
cf63989ee3 Tweak to make sure errors are noticed. 2014-07-10 14:18:35 -07:00
Scott Erickson
e18b906e04 Name conflicts migration script. 2014-07-10 11:13:11 -07:00
Scott Erickson
9ae8847be0 Wrote a script for populating watchers. 2014-05-08 15:56:18 -07:00
Scott Erickson
5294bad097 Archiving the script I used to migrate emailSubscriptions to emails. 2014-04-22 11:03:33 -07:00