Scott Erickson
ebc98f988f
Refactor CreateAccountModal out of AuthModal, add class code to signup
2016-03-10 10:52:11 -08:00
Scott Erickson
47f3223be1
Fix and improve new errors system
...
* Fix error property name -> errorName
* showNotyError can handle Backbone error callbacks where jqxhr is second param
* showNotyError correctly shows JSON error message or name
* Add timeout to showNotyError
2016-03-03 13:59:17 -08:00
Scott Erickson
7749f9cc0a
Refactor out promisifyAll, use Mongoose's promises and promisify
2016-02-22 16:03:21 -08:00
Scott Erickson
7fb08f343a
Refactor /db/article to use generators
2016-02-22 16:03:21 -08:00
Scott Erickson
9f3b177574
Fix getting a document by slug or id and projecting it without its permissions
2016-02-22 09:30:36 -08:00
Matt Lott
d2921f66cb
Add approved teacher trials to mail news group
2016-01-17 07:39:30 -08:00
Nick Winter
82ec29247b
Fix error handling callback
2015-12-16 16:39:46 -08:00
Nick Winter
3981c8887d
Parse numeric arguments in admin query condition URLs
2015-12-16 16:39:43 -08:00
Nick Winter
c242317d91
Enhance logging for bad PUTs with 'undefined' slug ids
2015-12-11 10:09:53 -08:00
Nick Winter
608d45ba70
Don't do undefined slug collection scans
2015-12-10 09:05:34 -08:00
Scott Erickson
23e3821e24
Switch from jasmine-node to jasmine, run server tests on a single process
...
This collapses the difference between master and single-process-server-tests, to
remove some larger fixtures files that were in that feature branch.
2015-12-09 14:27:10 -08:00
Nick Winter
77731dad84
Improve server caching and ladder view refresh performance
2015-12-05 08:18:36 -08:00
Nick Winter
e3db0dea3a
Add Classroom, Clan, and Achievement indexes. Fix logging for undefined slugs indentation.
2015-12-03 11:15:34 -08:00
Nick Winter
b3edafe285
Add missing CourseInstance indexes. Log undefined slug lookups.
2015-12-03 10:55:08 -08:00
Rob
abfce4299c
Send unique users to perfmon
2015-12-02 10:58:02 -08:00
Rob
7a377350e8
Tabs -> Spaces
2015-11-17 15:19:17 -08:00
Rob
32861b025a
Support sending performance information to stats.
2015-11-17 14:57:12 -08:00
Nick Winter
b31e5fc93a
Fix user.code.problem routes to use . instead of _
2015-11-14 16:32:21 -08:00
Rob
6ecd54baa5
Use grep to find other mismapped routes.
2015-11-13 15:13:47 -05:00
Rob
24f352fb72
Fix route mappings for trail requests.
2015-11-13 14:57:15 -05:00
Rob
631cc7766d
Fix analytics mapping.
2015-11-13 14:11:07 -05:00
Rob
836a01d1a8
Pull out schema fetching, as some times we fetch schemas when we don't actually have a handler for the type.
2015-11-12 15:01:33 -05:00
Rob
234d1b5950
Bind express /db roots one at a time.
...
Don't forget about the module root!
Route maps better.
2015-11-12 14:43:50 -05:00
Scott Erickson
0c5b39e029
Merge branch 'master' into course-correction
...
Some package scripts got in the way of each other
2015-11-09 18:18:02 -08:00
Nick Winter
c6bb5b5329
Improve indexing for /editor/level and editor/thang
2015-11-03 09:32:59 -08:00
Scott Erickson
27d423a410
Add Classroom server model and endpoints
2015-11-02 17:07:23 -08:00
Scott Erickson
39bddb889e
Have LayerAdapter use prerendered spritesheets (unfinished)
2015-10-13 16:43:56 -07:00
Matt Lott
2d8d107a58
Update Handler admin get query params
...
Unclear how this was supposed to work before these changes.
2015-10-09 14:26:04 -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
Michael Schmatz
be80b1e355
Add Sao Paulo database condition
2015-09-02 12:33:48 -04:00
Matt Lott
8de00767b3
Initial courses object model
2015-08-29 07:15:39 -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
Matt Lott
d7cddcb136
Teacher trial subscription form
...
Add a teacher survey form for applying for a free trial subscription
for evaluation purposes.
Add an admin trial requests review page, where admins can approve/deny
requests.
2015-06-05 06:48:19 -07:00
Nick Winter
cea5798b10
Fixed Clans DatabaseError without error giving the server heart attacks.
2015-04-20 09:09:42 -07:00
Nick Winter
98b749eb1b
Making simulator stuff more efficient by using less bandwidth.
2015-04-08 12:00:23 -07:00
Nick Winter
f02a8b54f3
Fixed #2596 . Stopped bless-brunch from using its cacheBuster feature. Set no-cache header for /db/model.type/slug so that we can use Cloudflare on /db/model.type/object-id. Fixed a coffeelint warning.
2015-04-07 19:03:35 -07:00
Matt Lott
482b66b8a4
Create and list clans
...
Replace mock data with some real functionality.
2015-04-01 11:56:48 -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
53de6c6134
Add current subscription counts view under the admin page
2015-03-27 15:27:34 -07:00
Michael Schmatz
d8c21771fc
Merge branch 'master' into china
2015-03-20 16:08:18 -04:00
Matt Lott
fec3ac38e9
Prepaid subscriptions
...
Admins can generate a prepaid code, which a user can use to subscribe
for free via the account/subscription page.
The subscription will be identical to the normal monthly subscription
(e.g. 3500 gems per month), except they won’t be charged.
Does not require the recipient to enter billing information.
Can be applied to an existing subscription, which will be converted to
free.
Prepaid code can only be used once.
Prepaid subscription cannot be unsubscribed via the UI.
2015-03-19 15:04:15 -07:00
Michael Schmatz
7f9301e8c6
Setting up read preferences and china specific configuration
2015-03-19 14:18:38 -04:00
Nick Winter
e21360127d
Polls!
2015-03-08 16:36:17 -07:00
Nick Winter
99b2c268b2
Also caching Aggregates.
2015-02-26 18:32:59 -08:00
Nick Winter
b4e9ee67f0
Added one-minute in-memory server caching for a bunch of common queries.
2015-02-26 17:20:27 -08:00
Nick Winter
dec201ad22
Removed watcher emails for overloaded watchers.
2015-02-25 11:16:57 -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
880d22ed50
Limiting how many results try to get fetched on admin DB searches like /db/user so that we don't blow up the DB.
2015-02-18 14:12:23 -08:00
Nick Winter
ae07a25657
Fixed #2329 : ordered spoken languages first by popularity (for top 8), then by alphabetical.
2015-02-17 09:29:21 -08:00
Nick Winter
685c3b3318
Fixed patch fetches to handle when the patches are targeting strings instead of ObjectIds.
2015-02-16 17:38:25 -08:00