Commit graph

12490 commits

Author SHA1 Message Date
Phoenix Eliot
b08c1af038 Simplify logic now that we're not redirecting safe paths 2016-09-06 16:24:40 -07:00
Phoenix Eliot
bdabee865c Filter domains for webdev iFrame
This serves the web-dev surface iFrame from another domain, such that user-created levels can't sniff cookies from a visitor to their page. It forces a redirect if a path is accesses through the wrong domain.

Use ENV variables for hostnames

Allow messages from all relevant domains

Use the right iFrame URL for different domains

Let the load balancer check /healthcheck

Add special handling for china server

Generalize subdomain handling
2016-09-06 16:17:38 -07:00
Scott Erickson
f29f4cb82b Do not fetch sessions for course instances that do not have classrooms 2016-09-06 12:43:06 -07:00
Scott Erickson
914dd16530 Merge pull request #3911 from codecombat/achievement-updates
Fix, update and enable achievement updates
2016-09-06 10:52:55 -07:00
Scott Erickson
9088f98eae Add function to properties that trigger achievement updates 2016-09-06 10:32:54 -07:00
Scott Erickson
2fe28852b4 More achievement tweaks
* Clients check updated achievements as well as new ones
* Clients do not wait to keep checking
* Update achievement points along with everything else in EarnedAchievement.upsertFor
* Fix various bugs
2016-09-06 09:37:02 -07:00
Matt Lott
d223143557 List /teachers/classes classes most recent first 2016-09-03 11:11:09 -07:00
Matt Lott
0316cc507e 🐛Exclude practice levels from course progress counts 2016-09-03 11:11:09 -07:00
Rob
9888bb7cef Display info when connected to analytics mongo like we do for LS and main. 2016-09-02 16:00:50 -07:00
Rob
888d43fc5c Change how we connect to the analytics database. 2016-09-02 15:57:26 -07:00
Matt Lott
3dcfa2cc8a A/b test default language in home product 2016-09-02 15:33:29 -07:00
ksuszka
8dacc619a0 Fixed a few spelling erros and added a few lines to polish translation. (#3899)
* Translated a few new lines and corrected a few spelling erros.

* Fixed spelling.

* Fixed spelling.
2016-09-02 23:03:44 +01:00
Scott Erickson
2696effec8 Add time to realtime keyboard events 2016-09-02 12:02:43 -07:00
Matt Lott
99a148a136 bug:Fix /courses using outdated level slugs
Closes #3901
2016-09-02 11:50:14 -07:00
Robin Yang
60f5e88280 Recrop team photos 2016-09-02 11:31:53 -07:00
JurianLock
18d23a1e4b Update nl-NL.coffee (#3902)
Just a couple of upgrades.
2016-09-02 19:20:12 +01:00
Robin Yang
f2dbdce3b8 Merge pull request #3904 from codecombat/new-team-headshots
Add Hover behavior to Team Photos
2016-09-02 11:14:51 -07:00
Robin Yang
d7b4cadd29 Standardize avatar sizes 2016-09-02 11:06:43 -07:00
Robin Yang
af91c299a4 Update img urls 2016-09-02 10:58:00 -07:00
Robin Yang
2df6ef9f0f Add Hover behavior to Team Photos
Also reorganized image folders
2016-09-02 10:51:07 -07:00
Matt Lott
cb096b5727 🐛Fix close leads country code email routing 2016-09-02 10:47:06 -07:00
Robin Yang
7c085f73f4 Update Team Headshot Photos 2016-09-02 10:00:17 -07:00
themaka
8f20ccaed6 Add headshot thumbnails of full-time team 2016-09-01 16:39:08 -07:00
Phoenix Eliot
8780f335c7 Fix adjusting for whitespace in playercode 2016-09-01 15:57:59 -07:00
Robin Yang
6f1019878e Add Pair Programming Activity 2016-09-01 15:45:04 -07:00
Robin Yang
099781c513 Merge pull request #3900 from codecombat/course-curriculum
Update CS2 Guide
2016-09-01 15:08:23 -07:00
Robin Yang
9c31b21293 Update CS2 Guide
Changes to course progression/levels reflected in updated guide,
properties and input handling moved to CS3.
2016-09-01 14:52:59 -07:00
Scott Erickson
b02c1efa07 Re-disable CreateAccountModal checks; Travis still breaks on them 2016-09-01 14:15:38 -07:00
Scott Erickson
ed130e0c0e Fix Student and Teacher signup forms firstName, lastName inputs 2016-09-01 14:06:33 -07:00
Scott Erickson
f3254f1061 Change NewHomeView to HomeView 2016-09-01 10:41:43 -07:00
Scott Erickson
77e45072a5 Remove justPlayCourses heuristic, replace with isStudent, remove old HomeView 2016-09-01 10:41:43 -07:00
Matt Lott
e43d90ae23 🐛Fix auto level solutions numbering
Practice levels were being numbered normally.
2016-08-31 17:34:15 -07:00
Matt Lott
df69cb54a8 🐛/courses wd2 Start button goes to wrong level
We can’t cache course instance sessions by course because of web dev
primer levels and classroom versioning.
2016-08-31 17:04:43 -07:00
Matt Lott
527ba277ab Order /courses classrooms most recent first 2016-08-31 17:04:43 -07:00
Imperadeiro98
dfdb57e18f Fix {change} in en.coffee 2016-08-31 22:50:40 +01:00
Phoenix Eliot
e0dafc571a Fix making Problems from AetherProblems with no range 2016-08-31 14:35:50 -07:00
Phoenix Eliot
663c220eaf Show wev-dev iFrame error messages like Aether's
This heavily refactors SpellView and adds infrastructure for receiving and reporting Errors raised by the web-dev iFrame. The web-dev error system, the Aether error system, and the Ace html-worker avoid disturbing each others' errors/annotations (though currently Aether+web-dev errors won't coexist), and they clear/update their own asynchronously.

Show web-dev iFrame errors as Ace annotations

Add functional error banners (with poor messages)

Improve error banners, don't allow duplicate Problems

Refactor setAnnotations override

Convert all constructor calls for Problems

Add comments, clean up

Clean up

Don't clear things unnecessarily

Clean up error message sending from iFrame

Add web-dev:error schema

Clarify error message attributes

Refactor displaying AetherProblems

Refactor displaying user problem banners

Refactor onWebDevError

Set ace styles on updating @problems

Clean up, fix off-by-1 error

Add comment

Show stale web-dev errors differently
Some web-dev errors are generated by "stale" code — code that's still running in the iFrame but doesn't have the player's recent changes.
This shows those errors differently than if they weren't "stale", and suggests they re-run their code.

Hook up web-dev event schema

Destroy ignored duplicate problems

Functionalize a bit of stuff

Fix ProblemAlertView never loading
2016-08-31 10:59:06 -07:00
Scott Erickson
273845ce2e Fix POST /db/earned_achievement to be accessible to anonymous users 2016-08-31 10:07:19 -07:00
Scott Erickson
956ff3300b Fix POST /db/level/:names 2016-08-31 09:56:41 -07:00
Matt Lott
a7d51d672a Remove email activities from close lead export script 2016-08-31 08:04:58 -07:00
Matt Lott
275f708041 🐛Fix campaign editor next level arrows 2016-08-30 16:19:41 -07:00
Scott Erickson
9e24670993 Tweak README wording 2016-08-30 16:17:58 -07:00
Scott Erickson
f57ec17261 Fix play buttons not appearing sometimes on navigation
Repro steps:

* Go to a ladder page
* Click to play
* Click link back to ladder
* Before, the play buttons would not appear, now they do.
2016-08-30 16:05:31 -07:00
Matt Lott
3387e5ee34 🐛Don't overwrite close.io nces custom field data 2016-08-30 15:32:26 -07:00
Scott Erickson
652c5237aa Fix updateI18NCoverage, handles i18n objects with nothing to translate, fix #2630 2016-08-30 14:17:40 -07:00
Scott Erickson
be11c47e17 Have campaign-view translate campaign name normally 2016-08-30 10:49:48 -07:00
Robin Yang
a168ee905c Merge pull request #3892 from codecombat/homepage-updates
Remove Java from homepage, Update languages
2016-08-30 09:48:12 -07:00
Matt Lott
ee3ce24d6c 🐛Fix email case check in followup leads script 2016-08-30 09:21:50 -07:00
Robin Yang
c4dcf0f756 Remove Java from homepage, Update languages 2016-08-29 18:13:07 -07:00
Robin Yang
79415fc99d Merge pull request #3889 from codecombat/course-curriculum
Add Getting Started guide in Markdown
2016-08-29 17:09:32 -07:00