Commit graph

520 commits

Author SHA1 Message Date
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
Scott Erickson
bd3a77da9f Implement teacher accounts 2016-04-04 15:18:06 -07:00
Matt Lott
f37e2ad93e Update code language usage script 2016-04-01 14:40:18 -07:00
Matt Lott
918915813f Rewrite updateCloseIoLeads.js
Moving user-specific information from customized fields to activity
notes
Lots of data reformatting and renaming
Lots of perf/readability improvements via async.parallel
2016-03-31 09:23:38 -07:00
Nick Winter
0c40d7fb65 Make addExternalSubs automatically fill in details for most common payment case 2016-03-28 15:34:33 -07:00
Matt Lott
1bab6cee88 Add school classroom search script 2016-03-17 17:36:45 -07:00
Matt Lott
4e0ee60dce Use trial request name for Close.io leads 2016-03-15 09:25:36 -07:00
Matt Lott
57e8e61b1c 🐛Fix update sales leads script URL encoding 2016-03-14 14:24:18 -07:00
Matt Lott
97f7026a4f Update Close.io sales lead creation
Moving lead upserting to background script
2016-03-14 09:35:57 -07:00
Matt Lott
79db3766f9 Clean up analytics script locations
Restricting /queries folder to read-only scripts
2016-03-11 13:17:26 -08:00
Matt Lott
d9a52c62f1 🐛Fix analytics revenue payment.created 2016-02-28 15:36:52 -08:00
Matt Lott
e56efe5921 Fix analytics MAUs and campaign paid users 2016-02-28 15:24:35 -08:00
Matt Lott
609884eb51 Update furthest course dashboard tables
Adding a second table, setting range to be 60 and 365 days.
Updating teacher columns to prioritize student paid status over
furthest student course.
2016-02-24 06:25:01 -08:00
Matt Lott
0d68953808 Add end date to active users analytics script 2016-02-24 06:25:01 -08:00
Scott Erickson
10402fa945 Make fix-arena-sessions script run across all classrooms 2016-02-19 13:13:45 -08:00
Matt Lott
8f216a6915 Fix analytics active users script
MAUs were not calculated correctly
Missing log data was not approximated correctly
2016-02-19 09:11:59 -08:00
Matt Lott
ce525e7d99 Add played definition to analytics dashboard 2016-02-18 09:14:36 -08:00
Matt Lott
1f01b3ffbd Update revenue analytics with payment.prepaidID 2016-02-17 13:01:09 -08:00
Matt Lott
73657d5428 Update analytics dashboard
Splitting out classroom and campaign active users
Adding more detailed active users graphs
Patching up missing analytics log events for 2/2/16-2/9/16
2016-02-16 09:23:42 -08:00
Matt Lott
410dda11b9 Update average level playtimes script 2016-02-11 15:13:57 -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
Nick Winter
435d5bb6d2 Improve getHomePageGroup and narrow to two variants 2016-02-08 14:20:30 -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
Matt Lott
e75bca2b43 Add active class definitions to analytics dashboard 2016-02-05 09:40:08 -08:00
Matt Lott
e8c22679d9 Add trials to active classes analytics dashboard
Only looking at active classrooms, split into paid, trial, and free.
Active class: 12+ students total, 6+ active in last 30 days.
2016-02-04 16:31:52 -08:00
Nick Winter
d874029539 Tweak schoolCounts script to list total number of schools 2016-02-02 15:13:54 -08:00
Nick Winter
729ebfec8f Add script to export all trial requests 2016-01-26 13:20:35 -08:00
Matt Lott
2546694b06 Updating latest teacher trials script
Restricting to approved trials, and pulling some extra user data.
2016-01-21 12:08:55 -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
Matt Lott
c220ba9de4 School analytics scripts 2016-01-14 15:30:53 -08:00
Nick Winter
7adfc23f2a Look at subscriptionID instead of planID for checking active subscribers 2016-01-11 10:32:23 -08:00
Nick Winter
01b181ee43 Add script to find active subscribers by country 2016-01-11 09:50:44 -08:00
Nick Winter
848263d8a2 Merge pull request #3231 from weevilgenius/master
Fix up vagrant config
2015-12-21 15:54:33 -08:00
Matt Lott
9466cd7f74 🐛Fix level completions analytics string cache 2015-12-19 21:58:20 -08:00
Matt Lott
c721d863f8 Analytics aggregation script perf
Speeding up db finds.
Reducing memory usage via string caches.
2015-12-19 21:57:05 -08:00
Matt Lott
352e8283a7 Split analytics aggregation scripts 2015-12-19 15:02:39 -08:00
Matt Lott
c75673b515 Enrollment counts script 2015-12-17 16:30:06 -08:00
Matt Lott
a9e0447c7d Courses Ux funnels script 2015-12-17 15:37:23 -08:00
Matt Lott
fa25d12e67 Total managed subscriptions script 2015-12-16 16:39:46 -08:00
Nick Winter
7d7513eb3f Improvements to buildSchoolGraph to open a spreadsheet 2015-12-16 16:39:45 -08:00
Nick Winter
68f2a169dd Improve school suggestion rankings 2015-12-16 16:39:45 -08:00
Matt Lott
e0c88cf146 Update campaign analytics scripts 2015-12-16 16:39:45 -08:00
Nick Winter
a9b800251e Some buildSchoolGraph improvements 2015-12-16 16:39:45 -08:00
Matt Lott
ae1621ea09 Update analytics aggregation to process classrooms 2015-12-13 15:35:53 -08:00
Nick Winter
0539f796a7 buildSchoolGraph script working well 2015-12-09 11:55:03 -08:00
Nick Winter
324b2bca47 Add referrer grouping, trying to make it remember progress and run quickly 2015-12-08 17:17:33 -08:00
Matt Lott
5975bed348 Update teacher survey count script 2015-12-08 16:16:37 -08:00
Nick Winter
ce9127c7f6 More progress on school graph script. 2015-12-08 14:42:33 -08:00
Matt Lott
f64f209c99 Latest class owners script 2015-12-08 14:24:39 -08:00
Nick Winter
4c73112217 Work in progress on school name cleanup script 2015-12-08 12:12:56 -08:00
Matt Lott
6c9f79826f Latest teacher trials script 2015-12-08 11:33:12 -08:00
Nick Winter
ea5f9daaf1 Finished batchAddAchievements.js 2015-12-07 11:38:03 -08:00
Josh Callebaut
c1ffa28aa9 Adds the start of the batchAddAchievements node script. 2015-12-04 10:27:13 -08:00
Barry Stump
7048b2bc08 Fix up vagrant config
* Use Ubuntu 14.04 box which supports both VMWare and Virtualbox
* Correctly set memory/CPU settings for vmware_fusion provider
* Use nodesource repo instead of deprecated chris-lea PPA for installing node.js
* Upgrade npm to latest version
* Correct permissions for provisioner script (npm module install)
2015-12-03 11:39:04 -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
c0609dafd5 Stub script to organize schoolName data 2015-12-01 18:04:50 -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
848680181f Remove paypal DRR analytics group 2015-11-25 14:53:31 -08:00
Matt Lott
b457514406 Add course headcount to old trial requests script 2015-11-22 16:08:18 -08:00
Nick Winter
83051ac1fe Updated latest AB test script to run (it lives on the analytics server though) 2015-11-22 07:46:52 -08:00
Nick Winter
0044f488e6 Trying to add A/B test result script 2015-11-20 16:11:33 -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
Matt Lott
84acec2880 Classroom counts script 2015-11-20 14:29:06 -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
d9d5dce2e0 Merge branch 'master' into course-correction 2015-11-10 16:34:33 -08:00
Scott Erickson
e429d97f33 Add course-correction migration script 2015-11-10 16:34:00 -08:00
Matt Lott
717377eb43 Update analytics aggregation script
Giving preference to payments created field over _id date.
2015-11-10 14:55:48 -08:00
Matt Lott
95b61c2f83 Add recurring revenue to admin analytics page
https://app.asana.com/0/54276215890539/59638739614287
2015-11-08 17:00:24 -08:00
Matt Lott
7861faaf93 Add active classes to admin analytics page
https://app.asana.com/0/54276215890539/59638739614287
2015-11-06 14:11:39 -08:00
Rob
45e5e975f1 Uglify in // 2015-11-04 13:41:13 -08:00
Matt Lott
d445024cb6 Add admin analytics page with MAUs
Includes updating analytics insert script used to inject aggregated
data into production database.
2015-11-04 10:59:10 -08:00
Rob
9b704b5f15 Update vagrant configs. 2015-10-29 16:48:27 -04:00
Scott Erickson
8cde8b2c20 Delete old dev setup scripts 2015-10-29 13:35:25 -07:00
Matt Lott
93c51baea0 Add new course 2 campaign to update script 2015-10-29 11:26:37 -07:00
Nick Winter
afa410a370 Added Ace of Coders tournament rankings. 2015-10-26 13:30:49 -07:00
Nick Winter
6bf0efa9fa Script to download and process tournament results 2015-10-22 06:43:54 -07:00
Nick Winter
c427a72e45 Handle network failures in subscriptionStats.js 2015-10-22 06:41:54 -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
Nick Winter
5dde55c1f3 Add premium server recognition for Brazil 2015-10-09 08:05:34 -07:00
Matt Lott
38f6615762 Latest enabled teacher trial requests script 2015-10-08 10:30:56 -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
8d0c467ed6 HelpScout to Close.io script
Copies leads from HelpScout to Close.io based on a given HelpScout tag.
2015-09-08 15:43:26 -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
Matt Lott
c08675fc2f Compare subscriber poll answers script 2015-08-26 09:58:23 -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
Nick Winter
859627d232 Fixed cliff sprite scaling. 2015-08-07 19:26:47 -07:00
Matt Lott
4593b7d864 Teacher survey counts per day script 2015-08-05 11:40:57 -07:00
Matt Lott
0768b533e2 Subs dashboard perf
Caching older (at least 16 days) Stripe invoices in analytics
collection, which will be updated once a day via the analytics server
cron job.
2015-07-31 16:19:40 -07:00