Commit graph

125 commits

Author SHA1 Message Date
Scott Erickson
21fcc01cca Add istanbul coverage npm script 2016-09-21 15:56:56 -07:00
Scott Erickson
1ac40a94e7 Add initial nightwatch smoke test, package commands 2016-09-19 16:18:40 -07:00
Rob
61bf5824ac Query sphinx search if configured. 2016-09-13 11:48:49 -07:00
Scott Erickson
71a63709e7 Restrict server jasmine to 2.4.1 2016-09-12 10:44:07 -07:00
Scott Erickson
7bab895dee Generalize new I18N view system
Previously, when diplomats submit translations, the system
would try to figure out whether it should be a 'patch' or a 'change',
and then would either create a patch for an admin or artisan to
review and accept or reject, or would apply the changes immediately
and they would be live. This was done as a compromise between
getting translations live quickly, but also preventing already-translated
text from getting overwritten without oversight.

But having the client handle this added logical complexity. So
this makes all diplomats submit patches, no matter what. The server
is then in charge of deciding if it should auto-accept the patch or not.
Either way, a patch is created.

There was also much refactoring. This commit includes:

* Update jsondiffpatch so changes within array items are handled correctly
* Refactor posting patches to use the new auto-accepting logic, and out of Patch model
* Refactor POST /db/patch/:handle/status so that it doesn't rely on handlers
* Refactor patch stat handling to ensure auto-accepted patches are counted
* Refactor User.incrementStat to use mongodb update commands, to avoid race conditions
* Refactor Patch tests
2016-09-09 10:59:26 -07:00
Nick Winter
cb085d019d Update Aether version 2016-07-15 11:27:58 -07:00
Nick Winter
bc5375770e Fix Mongoose at 4.5.3 while 4.5.4 has bug creating new clans and trial requests 2016-07-15 10:13:45 -07:00
Matt Lott
63e38c82b2 Update school counts page with geoip and 10+ buckets
Placing teachers and students in unknown districts and schools if we
have geoip countries and states/regions.
Placing teachers/students in unknown schools if there are 10+ students.
2016-06-29 15:01:04 -07:00
Nick Winter
b0fcddac68 Add game-dev level type (#3725)
* Initial pass adding new game-dev level type.

* Fix a failing test with updated LevelSystem required properties

* Bring back normal Angel worker timeout times

* Fix another failing LevelSystem test since removing propertyDocumentation
2016-06-08 16:57:00 -07:00
Matt Lott
5fcc3669af 🐛Revert to css-brunch ^1.7.0 2016-05-27 11:19:50 -07:00
duybkict
877bea35e7 add new vagrant box "brunchv2", revert npm package upgrades in package.json 2016-05-27 10:41:02 -07:00
duybkict
e3c2947e2d upgrade brunch related packages to >=2.0.0 2016-05-27 10:40:54 -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
Nick Winter
8fce97aad3 Fully remove Clojure and Io. Use new Aether 0.5.0. 2016-05-24 12:00:04 -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
Scott Erickson
c8398cb090 Fix Node 4
Importing packages which are available through other packages but not explicitly included in package.json
only works in Node >5, not Node 4.
2016-05-16 15:33:08 -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
Nick Winter
22007fff9b Make multiplayer work in esper mode 2016-05-03 22:26:48 -07:00
Nick Winter
13a5d58113 Remove bless-brunch since we no longer support IE9 (or 10) 2016-05-02 13:08:39 -07:00
Scott Erickson
2aa0b35c6e Fix server running on Node 4
Node 5 doesn't care whether you explicitly list co in the list of dependencies,
when it's a dependency of co-express. But Node 4 does.
2016-04-27 14:07:41 -07:00
Matt Lott
49c1dd8cf7 Update lead status values for Close.io inbound inserts 2016-04-26 10:31:12 -07:00
Nick Winter
a7114a2719 Implement headless verifier; fix headless client 2016-04-12 19:34:05 -07:00
Scott Erickson
8ff80fc92d Add npm 'proxy' script for developing client on prod server 2016-04-07 13:59:38 -07:00
Rob
f10bcd632c Add esper support 2016-03-29 23:27:27 -07:00
Scott Erickson
e1e5b66d7f Update request, make server tests work with it 2016-03-03 16:07:07 -08:00
Scott Erickson
7fb08f343a Refactor /db/article to use generators 2016-02-22 16:03:21 -08:00
Nick Winter
35a380b59f Insignificant change to get new production slug 2016-01-20 15:01:30 -08:00
Nick Winter
195e2d0e1b Never mind, bayesian-battle doesn't work when imported straight from GitHub 2016-01-20 13:38:16 -08:00
Nick Winter
b8afaae454 Use bayesian-battle version from GitHub for now 2016-01-20 13:07:59 -08:00
Scott Erickson
51408a94de Update jasmine for server tests to 2.4.1, fix server focus tests
Before if you focused tests, they would bypass the setup "tests" and break.
Now the server setup logic is in a beforeEach.
2016-01-19 16:34:48 -08:00
Rob
3b4433e312 Use hero instead of this. Also use published aether package. 2016-01-04 17:23:58 -08:00
CodeCombat
41a532cb50 WIP - cashew integration 2016-01-04 16:27:27 -08:00
Nick Winter
d56ba6e1e8 Try upgrading webworker-threads 2015-12-23 10:34:01 -08:00
Scott Erickson
24aa11903f Remove jasmine-node and jasmine-spec-reporter from package.json 2015-12-09 16:26:57 -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
421a63bba1 Update gridfs-stream to match new Mongo/Mongoose 2015-12-06 10:14:53 -08:00
Nick Winter
28f5b9d14e Remove extra mongoose entry 2015-12-06 05:40:54 -08:00
Nick Winter
f38eea3590 Merged. Turn off chained rankings for now since they are slow and don't work anyway 2015-12-06 04:36:41 -08:00
Nick Winter
77731dad84 Improve server caching and ladder view refresh performance 2015-12-05 08:18:36 -08:00
Rob
c0c712064c Update mongoose. 2015-12-04 17:01:09 -08:00
Rob
7bbcd705c6 Use Node 5.x 2015-12-04 16:43:15 -08:00
Rob
b783f6f5fe Enable new relic support in container builds. 2015-12-02 11:16:20 -08:00
Rob
32861b025a Support sending performance information to stats. 2015-11-17 14:57:12 -08:00
Nick Winter
3562b50bc0 Use official mongoose-cache now that my patch is in 2015-11-14 16:32:49 -08: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
Rob
45e5e975f1 Uglify in // 2015-11-04 13:41:13 -08:00
Rob
361b5229e6 Use an newer, official build of ace instead of just copying the files into our source tree. 2015-11-03 17:33:35 -08:00
Rob
a2feec730c Add npm script to start mutlicore server. 2015-11-03 10:30:39 -08:00
Nick Winter
80ecf1aa1d Make webworker-threads an optional dependency 2015-11-02 13:23:38 -08:00