Commit graph

61 commits

Author SHA1 Message Date
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
Matt Lott
9bf07d9ab3 Add free property to courses update script 2015-11-14 06:36:58 -08:00
Matt Lott
17a5073a72 Add courses 3 & 4 to update courses script 2015-11-13 10:51:56 -08:00
Scott Erickson
e429d97f33 Add course-correction migration script 2015-11-10 16:34:00 -08:00
Matt Lott
93c51baea0 Add new course 2 campaign to update script 2015-10-29 11:26:37 -07:00
Matt Lott
3658f9dc4f Update courses v1 beta users script 2015-10-19 11:22:01 -07:00
Matt Lott
6f421b2ccc Courses v1 beta users script 2015-10-16 15:23:13 -07:00
Matt Lott
32441f1c8d Only generate lowercase prepaid codes
Will be easier to make them case-insensitive later if needed.
2015-10-07 14:06:09 -07:00
Nick Winter
b3f2b6d38a Add a few analytics scripts. 2015-09-18 05:02:18 -07:00
Matt Lott
b888e9f97a Read concepts from campaign in course data update script 2015-09-10 10:56:01 -07:00
Matt Lott
a2577cc521 Update courses landing page 2015-09-10 10:39:21 -07:00
Matt Lott
9131d8668f Course enroll page
Will add a prepaid purchase once the prepaid-v2 branch is merged into
master.
2015-09-03 11:04:52 -07:00
Matt Lott
8de00767b3 Initial courses object model 2015-08-29 07:15:39 -07: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
Matt Lott
9c39bf7656 Update prepaids to support multiple redeemers for a single code
Will remove deprecated properties after updating production.
2015-08-12 15:51:18 -07:00
Matt Lott
a9de6eaa55 Update bulk prepaid creation script
Better copy.
2015-04-14 15:01:06 -07:00
Nick Winter
0b1bb6a4aa Added admin/pending-patches view. Fixed accepting several kinds of patches. Added keyboard shortcuts for accepting (a) and rejecting (r) patches. Fixed #2490. Fixed #2515. Fixed #2304. 2015-03-28 13:54:44 -07:00
Matt Lott
ef0087c8b1 Create bulk prepaids script 2015-03-25 12:23:51 -07:00
Nick Winter
b4ea78e5cb Implementing alternative pricing with Alipay in China to support dedicated China server. 2015-03-23 15:26:44 -07:00
Matt Lott
cd59b90e37 Add custom payments
Example:
https://codecombat.com/account/invoices?a=21600&d=9%20monthly%20subscrip
tions
2015-03-04 15:40:53 -08:00
Matt Lott
52bc660391 Add external subs script 2015-02-26 08:44:56 -08:00
Nick Winter
bf4c030d33 Updated data from playtime breakdown script. 2014-12-02 18:13:37 -08:00
Nick Winter
a7b617eab3 Slight update to playtime breakdown script to run faster. 2014-12-02 16:56:42 -08:00
Nick Winter
6cfb45e7a6 Pausing branchingGroup temporarily for school testing. 2014-12-02 09:18:39 -08:00