Commit graph

518 commits

Author SHA1 Message Date
Matt Lott
5d09e219c0 Update add zp script to call APIs in series
Takes 25s instead of 10s now.
2016-07-06 13:21:43 -07:00
Nick Winter
bf1b2adf6a Only fetch ZenProspect leads that have replied, for performance 2016-07-05 16:31:42 -07:00
Scott Erickson
de567c6570 Add script for unsettings a user's student role 2016-06-27 09:39:29 -07:00
Matt Lott
15fb9ae0a9 Add more intercom data to Close.io leads
intercom_lastSeen
intercom_sessionCount
2016-06-26 20:46:03 -07:00
Matt Lott
cd30e4d083 Send sales auto mails from same user per lead 2016-06-18 23:21:09 -07:00
Matt Lott
190c5407c8 ZenProspect to Close contact import script 2016-06-17 21:05:46 -07:00
Matt Lott
409b170891 Update inbound lead assignment splits 2016-06-14 16:44:51 -07:00
phoenixeliot
c191f63c15 Revert all of my sendwithus changes
Revert "Fix more sendwithus things"

This reverts commit 9d4215d99d.

Revert "Fix some missed sendwithus changes"

This reverts commit 08bc32e005.

Revert "Fix email tests"

This reverts commit fcb2ce8504.

Revert "Use SendWithUs versioning"

This reverts commit 81d9e19221.
2016-06-06 16:54:15 -07:00
phoenixeliot
81d9e19221 Use SendWithUs versioning 2016-06-06 15:53:11 -07:00
Matt Lott
33b614911c Support alternate NL spelling in lead import automation 2016-06-06 13:43:52 -07:00
Rob
c20ee729ca Merge branch 'bug-smash' 2016-06-01 16:45:01 -07:00
Scott Erickson
cf76434943 Add script for removing anonymous users from classrooms 2016-05-31 15:09:26 -07:00
duybkict
27f270856a Merge remote-tracking branch 'upstream/master' 2016-05-28 12:44:51 +07:00
duybkict
72f95843ee update vagrant script 2016-05-28 12:44:38 +07:00
Matt Lott
4bb3ac1f0a Replace Anoner with Anonymous
Closes #3686
2016-05-26 16:54:24 -07:00
Scott Erickson
3ca32f93a1 Merge pull request #3680 from duybkict/vagrant-brunch-v2
Add vagrant box for brunch v2
2016-05-26 11:12:41 -07:00
Scott Erickson
886ddd381d Add getPrepaidsFor script for updating start/end dates 2016-05-26 10:50:48 -07:00
duybkict
36fdd79b6a add new vagrant box "brunchv2", revert npm package upgrades in package.json 2016-05-26 15:44:35 +07:00
Scott Erickson
673c608d5a Add deteacher script 2016-05-25 14:46:07 -07:00
Matt Lott
c7d3857d46 Send all imported NL/BE leads to NL contact 2016-05-24 16:54:38 -07:00
Scott Erickson
bcf015e3a4 Update to final version of enrollment start/end dates migration script 2016-05-24 16:25:19 -07:00
Matt Lott
f733ce222a Update inbound lead importing
Assigning lower priority EU leads to NL contact
Fix bug where we sent intl emails to US leads
Send Dutch emails to NL and BE low priority leads
2016-05-24 16:10:33 -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
Matt Lott
1ae2537591 Update inbound lead importing
Send international emails to international leads
Update lead assignment breakdown
2016-05-19 14:08:01 -07:00
duybkict
519b0f69b7 organize Vagrant scripts 2016-05-18 09:48:13 +07:00
Nick Winter
f723b2155b copy-i18n-tags now adds quotes around necessary translation keys 2016-05-13 15:42:41 -07:00
Matt Lott
b8dd0f0a45 Filter out low priority sales leads on initial import 2016-05-12 11:03:35 -07:00
duybkict
672c89e0bc Update Vagrant setup scripts
install nodejs using nvm
fix issues with Windows/Linux new line characters
update auto-reload-brunch
drop bless-brunch
resolve related issue #3588
2016-05-12 09:46:34 -07:00
Matt Lott
deb4117a9c Add Close.io NCES lead data to custom fields 2016-05-11 10:21:56 -07:00
Matt Lott
b604060bc7 Add call tasks to inbound leads after 3 days 2016-05-10 14:40:48 -07:00
Matt Lott
7982188e30 Script to find users with incorrect role based on classrooms 2016-05-10 14:40:48 -07:00
Matt Lott
884b1e6a4a 2nd automatic email follow up on Close.io imported leads
async.parallel needs better error handling before we can use it on
current lead quantities, and would improve performance drastically.
2016-05-03 15:52:56 -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
Josh Callebaut
c6cbcd4777 Merge pull request #3395 from Zerrien/spade
Implements Spade functionality, and adds the sublime project file.
2016-04-26 11:15:17 -07:00
Matt Lott
49c1dd8cf7 Update lead status values for Close.io inbound inserts 2016-04-26 10:31:12 -07:00
Josh Callebaut
c4652d82e2 Implements the SPADE logger into the SpellView
* Updates spade.js vendor file, adds a sublime-project for developers to use
* Moves server logic away from handlers
* Moves session update logic to middleware, sets up server schema to autorender IDs as ObjectIDs
* Modernizes the supermodel loading scheme and switches from constructor to initalize
2016-04-26 09:56:30 -07:00
Matt Lott
1feb8a26a4 Add duplicate mail checks to updateCloseIoLeads.js
Fetching leads by name via Close.io API is not reliable.  Adding two
checks to protect against sending duplicate emails:
1. Query leads via recipient email to avoid creating duplicate leads.
Duplicate leads can result in duplicate automatic emails sent.
2. Lookup lead email activity when sending mails, and compare email
templates and recipient address.
2016-04-23 16:47:10 -07:00
Matt Lott
8f16f5f487 🐛Fix Close.io lead query by name 2016-04-22 10:23:40 -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
Matt Lott
cd7ec7f8dd Send email when adding contacts to Close.io leads 2016-04-07 21:23:42 -07:00
Scott Erickson
29cd880480 Refactor handlers to /server/handlers 2016-04-07 09:40:53 -07:00
Scott Erickson
c3e5416166 Refactor server models into /server/models, remove request and mongoose from test globals 2016-04-06 16:06:52 -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
Matt Lott
69b999866e 🐛Ignore parse error in updateCloseIoLeads.js 2016-04-04 18:37:04 -07:00
phoenixeliot
beb53d9f2f Various fixes and changes to teacher-accounts and teacher-dashboard 2016-04-04 15:42:29 -07:00