Commit graph

500 commits

Author SHA1 Message Date
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
Sean P. Kane
6edbcf2224 Add VMware support and fix ulimits 2015-07-24 08:48:34 -07:00
Matt Lott
f50840a11d Add headers to campaign level counts script 2015-07-03 13:00:36 -07:00
Matt Lott
624dabd55a Level completion counts script 2015-06-16 11:12:23 -07:00
Matt Lott
fdf500cac1 Average level playtimes script 2015-06-11 14:32:14 -07:00
Matt Lott
9d36acbc90 Delete unpaid gem payments script
For reference:
https://github.com/codecombat/codecombat/commit/a8a55021b999077e0d2bbb4f
2f512bac03f33e28
2015-05-19 14:28:51 -07:00
Nick Winter
6d01726982 Merge pull request #2680 from popey456963/master
Update Mongo Version
2015-04-19 08:45:35 -07:00
Popey Gilbert
51cc43a462 Update install-mongodb.ps1 2015-04-17 17:45:56 +01:00
Popey Gilbert
4d36c7ee3e Update mongo.py 2015-04-17 17:35:38 +01:00
Matt Lott
eb9ac2eede Update sub counts script
Show all non-zero priced subs.
2015-04-14 15:01:07 -07:00
Matt Lott
a9de6eaa55 Update bulk prepaid creation script
Better copy.
2015-04-14 15:01:06 -07:00
Alan Hohn
ae7f7fa44f vagrant brunch detect file changes made on host 2015-04-03 17:21:28 -04:00
Nick Winter
8208b7eb51 Merge pull request #2599 from AlanHohn/vagrant-node-modules
Vagrant node modules
2015-04-03 11:19:26 -07:00
Nick Winter
9e5f08aaaf Merge pull request #2598 from AlanHohn/vagrant-mongo-backup
add user backup / restore for Vagrant
2015-04-03 11:19:10 -07:00
Scott Erickson
77cc89a825 Updated subscriptionStats.js, to March and to skip over teacher subscriptions. 2015-04-02 14:13:47 -07:00
Matt Lott
2213aff909 Campaign level counts script 2015-03-30 14:29:54 -07:00
Alan Hohn
2bc2f90665 vagrant fix issues with node_modules bind mount 2015-03-28 22:58:04 -04:00
Alan Hohn
8bf7a29d9e vagrant node_modules workaround 2015-03-28 22:24:18 -04:00
Alan Hohn
58e05f63fe add user backup / restore for Vagrant 2015-03-28 18:27:38 -04: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
53de6c6134 Add current subscription counts view under the admin page 2015-03-27 15:27:34 -07:00
Nick Winter
bbf9628bde Merge pull request #2582 from AlanHohn/vagrant
Integrate Vagrant
2015-03-26 21:11:08 -07:00
Matt Lott
ca761866c0 Update daily Stripe subscriber counts script 2015-03-26 14:12:23 -07:00
Matt Lott
356a70fafa Update SubscriptionsPerDay.js script 2015-03-26 14:12:23 -07:00
Matt Lott
1841726faf Purchase event histories script 2015-03-26 14:12:22 -07:00
Alan Hohn
9b22fd2323 Integrate Vagrant 2015-03-26 16:36:38 -04:00
Matt Lott
ef0087c8b1 Create bulk prepaids script 2015-03-25 12:23:51 -07:00
Nick Winter
0b601ea695 Merge pull request #2558 from nixel2007/scocode
Add npm&bower update to SCOCODE.bat. Update ver #
2015-03-23 15:46:25 -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
Michael Schmatz
d2d7bdcd4e Changed dump URL 2015-03-22 16:53:48 -04:00
Michael Schmatz
3c9f9738ce Changed the public dump URL 2015-03-22 16:53:03 -04:00
nixel2007
13e2d97c46 Update scocode.bat sample 2015-03-22 20:12:31 +03:00
nixel2007
028c50a450 Add npm&bower update to SCOCODE.bat. Update ver # 2015-03-22 20:02:54 +03:00
Matt Lott
d8f2406ba7 Find Stripe subscribers script 2015-03-16 12:10:46 -07:00
Michael Schmatz
09e969405a Updated script to use new analytics database 2015-03-05 16:27:33 -08:00
nixel2007
40a7061b39 Update copy-i18n-tags.coffee.
No inserting {change} to not translated lines
2015-03-05 11:56:24 +03: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
a66e4aabca Parent email stats script 2015-03-04 10:24:03 -08:00
Nick Winter
e6cf298ed3 Propagated i18n. A couple other misc tweaks. 2015-03-04 09:00:32 -08:00
nixel2007
9b4c7b3fdc Adds escaping in {change} find 2015-03-04 00:15:45 +03:00
Scott Erickson
d0ebd50339 Slight tweak to the subscriptionStats, clearing out duplicate customers gotten from invoices. 2015-03-02 13:19:32 -08:00
Scott Erickson
b04a24880a Fixed subscriptionStats usage instructions. 2015-03-02 12:44:55 -08:00
Nikita Gryzlov
8e28608be3 Adding {change} to files when propagination.
Fix Issue #2428 https://github.com/codecombat/codecombat/issues/2428

So, how it works.
Dev change some line in en.coffee. 
If he add {change} in comment of this line:
* this {change} will be added to all non-en files for this lines
* {change} will be removed from en.coffee

If there is no comment in non-eu - " # {change}" will be added to line
If there is {change} in non-eu already - no doubles of {change}

Old mechanism of syncing comments from en also not broken - if there is a change in comment in eu and {change} in non-eu then new_comment + {change} will be added to non-eu
2015-03-02 14:28:37 +03:00
Nick Winter
77bca72002 Added A/B test on whether Signs and Portents or Forgetful Gemsmith is the fourth level. Ran and completed some A/B tests. Turned level indicator in CampaignView white. 2015-02-26 14:24:00 -08:00
Matt Lott
52bc660391 Add external subs script 2015-02-26 08:44:56 -08:00
Matt Lott
b0665527ed 🐛Update analytics aggregation script slugify
Mad Maxer: Redemption
2015-02-25 15:05:41 -08:00
Nick Winter
498eae328a Migrated from mongoose-text-search to new built-in operators. Fixed #2367. 2015-02-21 14:22:51 -08:00
Nick Winter
1ba79b83a9 Added a script to recalculate all gems purchased. 2015-02-20 11:11:12 -08:00
Nick Winter
c1e14dc973 Fixed achievement recalculation to work from the command line. 2015-02-18 09:57:03 -08:00
Nick Winter
52648399c6 Fixed recording of gamesCompleted. Fixed recalculateStatistics scripts to not explode memory, and to report progress. 2015-02-17 20:51:32 -08:00
Nick Winter
d3707306cc Added a script to count spoken language usage. 2015-02-16 17:12:59 -08:00
Nick Winter
578ec6d7d0 Was confused about achievement collections and categories. 2015-02-13 17:10:30 -08:00
Nick Winter
6cdd6fbc44 Improvements for recalculating earned achievements, recreating earned achievements that should exist, and updating proportionalTo achievements like simulatedBy that don't get updated with a post-save hook. 2015-02-13 16:33:13 -08:00
Matt Lott
ed7d7b0412 Mixpanel gem prompt a/b test script
Investigating some weirdness where no-prompt group is 50% larger than
prompt group.  True in Mixpanel and in our internal analytics.
2015-02-11 13:57:30 -08:00
Matt Lott
6178800d16 Add browser segments to a/b test scripts 2015-02-11 11:07:36 -08:00
Matt Lott
cf78e4068f Add correct start dates to a/b test scripts 2015-02-10 15:28:45 -08:00
Nick Winter
f16ec24893 Fixed a few typos in analytics queries. 2015-02-10 13:16:09 -08:00
Matt Lott
30c31f908b Add a/b test results scripts 2015-02-10 11:34:14 -08:00
Scott Erickson
097dbd11dd Added a script for getting some subscription data more easily. 2015-02-05 15:32:15 -08:00
Matt Lott
20e70c316e Help usage analytics script 2015-02-04 15:50:17 -08:00
Imperadeiro98
2a1d74ab59 Update downloads.coco 2015-01-31 22:36:23 +00:00
Imperadeiro98
a68698f0c1 Update install-mongodb.ps1 2015-01-31 22:32:03 +00:00
Matt Lott
35cf7afb8d Update level played before sub script 2015-01-28 20:04:51 -08:00
Matt Lott
c2abefb637 Updating internal analytics scripts
Result of some data sleuthing.  They are only used for investigations,
and not production aggregation.  Hence, a bit ugly and unfinished.
2015-01-28 16:07:27 -08:00
Imperadeiro98
54d047e948 Update setup.py 2015-01-27 22:50:06 +00:00
Imperadeiro98
c491b93799 Update repositoryInstaller.py 2015-01-27 22:49:19 +00:00
Imperadeiro98
2ef4af21d9 Update mongo.py 2015-01-27 22:48:04 +00:00
Imperadeiro98
2ffb5b82c5 Update downloader.py 2015-01-27 22:47:42 +00:00
Imperadeiro98
7a387edf69 Update directoryController.py 2015-01-27 22:47:31 +00:00
Imperadeiro98
84551899d9 Update dependency.py 2015-01-27 22:45:41 +00:00
Imperadeiro98
ec2624e370 Update configuration.py 2015-01-27 22:45:31 +00:00
Imperadeiro98
5195da3bef Update node.py 2015-01-27 22:44:53 +00:00
Imperadeiro98
3821f5d9ec Update factories.py 2015-01-27 22:39:26 +00:00
Imperadeiro98
94f6693503 Update bootstrap.sh 2015-01-27 22:33:38 +00:00
Matt Lott
e49c74259b Update campaign editor analytics
Adding shown and purchased subscription counts.
Locking down analytics to admin-only.
2015-01-21 13:41:38 -08:00
katemamba
6c5f472112 Update factories.py
for enabling devsetup in ubuntu
2015-01-22 00:22:40 +05:30
Matt Lott
7fda59ee2d Update campaign editor analytics
Adding help click counts and help videos start counts to level view
analytics.
2015-01-20 10:43:02 -08:00
Matt Lott
05f028d944 Update campaign editor analytics
Adding ‘left game’ counts to overall campaign view.  This is the number
of players that left the game after playing the given level.
2015-01-18 16:29:47 -08:00
Nick Winter
865ae66b5c Merge pull request #2087 from emhs/master
Distro-specific devSetup for Arch Linux and Ubuntu
2015-01-14 16:23:32 -08:00
Matt Lott
3fd5f49220 Analytics data revamp
Add analytics per-day aggregation collection.
Add analytics strings collection.
Add per-day aggregation mongo insertion script.
Update campaign editor to use aggregation collection.
Update queries to use _id instead of created field.
2015-01-14 11:09:01 -08:00
Elliott Seyler
70542acb04 Commenting out mongo autostart on Arch. 2015-01-12 12:03:54 -08:00
Elliott Seyler
a9974b2929 Adding build-essential for Ubuntu 2015-01-11 22:37:56 -08:00
Elliott Seyler
c638090cc9 Missing import 2015-01-11 22:35:24 -08:00
Elliott Seyler
84c2d3b9a7 Ubuntu starts mongo automatically 2015-01-11 22:32:51 -08:00
Elliott Seyler
9153e1463d Adjusting the subprocess call. 2015-01-11 20:42:34 -08:00
Elliott Seyler
ace7d3d64e Switching to a fresher source of node for Ubuntu 2015-01-11 20:23:44 -08:00
Elliott Seyler
6c731d1e03 Python2 fix 2015-01-11 19:08:59 -08:00
Elliott Seyler
33b505bd87 Fixing Ubuntu code slightly. 2015-01-11 19:01:01 -08:00
Elliott Seyler
9465a41efd Added Arch and Ubuntu distro-specific installation options. 2015-01-11 16:26:59 -08:00
Elliott Seyler
247db0c7f3 Testing for Python 2/3 before installing Node packages. 2015-01-11 16:26:21 -08:00
Matt Lott
29c6b7c9f1 Prune internal analytics event data 2015-01-09 09:27:33 -08:00
Matt Lott
bc93a2b181 Update campaign editor analytics
Restrict level view completion rates to unique users. Super slow, perf
work to do here.
Increase level view completion rate date range to 2 weeks.
Increase level view average playtimes date range to 2 weeks.
Display player name if available in level view recent sessions.
2015-01-08 16:01:49 -08:00
Matt Lott
d89b0d90e3 Campaign analytics - unique users, dropped count
Fixing incorrect dropped counts.
Restricting start/finish level events to unique users.
Does not fix campaign editor level view analytics.
2015-01-06 21:38:49 -08:00
Nick Winter
de343f4160 Updated analytics scripts. 2015-01-05 11:23:42 -08:00
Imperadeiro98
07b344e5f4 Merge pull request #2030 from osanseviero/patch-17
Create tips-es.coco
2014-12-30 15:53:12 +00:00
Omar S.
d14546cd14 Update tips-es.coco
Sorry for always doing this tiny mistakes
2014-12-30 10:51:08 -05:00
Omar S.
63763cf2b9 Update readme-es.coco 2014-12-30 10:50:35 -05:00
Omar S.
02f5f70318 Create readme-es.coco 2014-12-30 10:46:03 -05:00
Omar S.
82aa972fbc Create tips-es.coco 2014-12-30 10:42:19 -05:00
Imperadeiro98
4f4daab71f Update en.coco 2014-12-30 12:39:47 +00:00
Imperadeiro98
0000abf86d Update tips.coco 2014-12-30 12:37:56 +00:00
Imperadeiro98
6625d64ef1 Update readme.coco
Don't know if the @ signs are needed before links or not. Also, check if the persons names are right.
2014-12-30 12:36:30 +00:00
Imperadeiro98
9996688e2c Update license.coco 2014-12-30 12:35:12 +00:00
Matt Lott
de334b8ced Campaign drop off rates script
Shows where players stop playing.
2014-12-29 23:18:29 -08:00
Michael Schmatz
1df017b271 Changed latest to 2.6.6 to fix #2007 2014-12-29 23:28:59 -05:00
Omar S.
6df8adde24 Updated gitbash.exe 2014-12-29 15:56:39 -05:00
Omar S.
88bc7938fd Updated the links of node for windows, linux and mac 2014-12-29 15:22:49 -05:00
Omar S.
b4a39c9b04 Update install-mongodb.ps1
I changed the link, but the link is just for 64 bit systems...I don't know if it will work with 32 bit systems
2014-12-29 14:58:26 -05:00
Nick Winter
acbdabe5f7 Merge pull request #2016 from osanseviero/patch-11
Update languages.coco
2014-12-29 10:39:53 -08:00
Omar S.
44b9655639 Update languages.coco 2014-12-29 13:38:18 -05:00
Omar S.
2b4a027904 Create es.coco 2014-12-29 13:28:24 -05:00
Omar S.
688c4d5aa2 Updated mongo and node 2014-12-29 12:40:38 -05:00
Matt Lott
19d95cfb85 Average code problem count for level rates script 2014-12-24 16:56:57 -08:00
Matt Lott
bf54e3d04e Add average playtime to level rates script 2014-12-24 15:34:30 -08:00
Matt Lott
b33e3a93ba Level completion rates script 2014-12-24 11:09:58 -08:00
Matt Lott
9522da28e8 Help video a/b results - helps clicked afterwards 2014-12-19 15:59:25 -08:00
Matt Lott
b70b82c019 Help video a/b results - level completion
Also using initial event counts to account for weird uneven  sampling
rates.
2014-12-19 15:17:22 -08:00
Matt Lott
ffa3366b8a Help videos A/B results - sub followed?
Shows which level/style combo was followed by a sub purchase.
2014-12-18 17:18:48 -08:00
Matt Lott
368e5e24ee Help videos A/B results - watched more videos?
Shows which style per-level yielded more additional videos watched.
2014-12-18 16:21:04 -08:00
Matt Lott
77a4ec1aa0 Help videos A/B test results script 2014-12-18 13:59:01 -08:00
Matt Lott
345e793d35 Mixpanel script for A/B subscribe copy test 2014-12-16 16:38:54 -08:00