Commit graph

9221 commits

Author SHA1 Message Date
Phoenix Eliot
32b56eacb8 Fix getting query parameters in CourseVictoryModal 2016-09-07 13:42:27 -07:00
Phoenix Eliot
e29fe7e761 Add CourseInstance ID to back-to-ladder link 2016-09-07 11:43:09 -07:00
Scott Erickson
15038026e2 Merge pull request #3912 from Imperadeiro98/add-sounds
Add opening/closing sounds to HintsView
2016-09-07 09:41:48 -07:00
Imperadeiro98
5922f0947b Add opening/closing sounds to HintsView 2016-09-07 14:13:29 +01: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
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
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
d7b4cadd29 Standardize avatar sizes 2016-09-02 11:06:43 -07:00
Robin Yang
2df6ef9f0f Add Hover behavior to Team Photos
Also reorganized image folders
2016-09-02 10:51:07 -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
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
Matt Lott
275f708041 🐛Fix campaign editor next level arrows 2016-08-30 16:19:41 -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
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
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
Robin Yang
5554a733a9 Merge pull request #3890 from codecombat/update-footer
Replace Educator Wiki footer link with Resource Hub
2016-08-29 17:08:59 -07:00
Robin Yang
3cdec61fe1 Add Getting Started guide in Markdown
- Replace PDF link on /teachers/resources
- Add .pngs
2016-08-29 17:06:05 -07:00
Scott Erickson
cf9d082ffa Have client check for achievement updates 2016-08-29 16:32:42 -07:00
Scott Erickson
2f8ad4afdf Prevent email-formatted usernames on teacher signup 2016-08-29 14:16:15 -07:00
Robin Yang
0d5185dca5 Replace Educator Wiki footer link with Resource Hub 2016-08-29 11:32:40 -07:00
Robin Yang
bd87783631 Merge pull request #3877 from codecombat/about-page-language-logos
Change programming language listing on About page
2016-08-29 09:30:03 -07:00
Robin Yang
c7c3eff0bd Merge pull request #3884 from codecombat/course-curriculum
Update formatting on CS2 Guide
2016-08-29 09:29:57 -07:00
Scott Erickson
8d582082a7 Merge pull request #3887 from Imperadeiro98/remove-minicolors
Remove jQuery minicolors
2016-08-29 09:09:15 -07:00
Matt Lott
d20600b381 Update campaign next level algorithm for practice levels
Don’t show not-started unlocked levels if previous incomplete practice
level is available
Yellow arrow points at adventurer levels too now

Closes #3882
2016-08-29 06:26:40 -07:00
Imperadeiro98
dd6f862f70 Remove minicolors image 2016-08-28 23:14:25 +01:00
Yuki Ueda
8bef580909 Update ja.coffee (#3886) 2016-08-27 12:13:30 +01:00
Imperadeiro98
cc2bf8ebd9 Some fixes to pt-BR 2016-08-27 12:12:55 +01:00
Abimael Alcebíades
7a2911951c Update pt-BR.coffee (#3885)
* Update pt-BR.coffee

translations updated

* Update pt-BR.coffee

Updated translations
2016-08-27 12:11:14 +01:00
Robin Yang
d6d8d84722 Update formatting on CS2 Guide 2016-08-26 16:53:28 -07:00
Matt Lott
a700a00c94 Autocomplete game.
And don’t create duplicate entries for hero. autocompletes

Closes #3883
2016-08-26 15:10:22 -07:00
Matt Lott
b8d4e51331 Add line endings and newlines for fuzzy autocompletes
Closes #3351
2016-08-26 10:32:56 -07:00
Josh Callebaut
e54cd7c05f Merge pull request #3881 from Zerrien/intro-view
View for tracking Intro/Overview guide issues
2016-08-25 16:53:38 -07:00
Josh Callebaut
ff00091408 Tweaks based on CR from Rob 2016-08-25 15:52:49 -07:00
Josh Callebaut
cb41100d2e Style-fix quotes and EOD newlines 2016-08-25 15:37:49 -07:00
Josh Callebaut
53e68a79a6 Add a page for tracking intro/guide issues 2016-08-25 15:31:24 -07:00
Matt Lott
9553238a64 🐛Fix adjacent campaign map arrows 2016-08-25 10:40:07 -07:00
Josh Callebaut
f5770c3a2a Merge pull request #3878 from Zerrien/adv-color-2
Adventurer levels lose star and become purple
2016-08-25 10:38:27 -07:00
Nick Winter
878dcbdc49 Better handling of non-user-code problems in game-dev mode. Don't simulate whole level first time a game-dev level is loaded. 2016-08-24 15:21:09 -07:00
Josh Callebaut
18e985a845 No longer display star on adventurer levels and make all adventurer levels purple 2016-08-24 14:35:26 -07:00
Robin Yang
8435789691 Change programming language listing on About page 2016-08-24 14:02:03 -07:00
Matt Lott
f391030b44 Add hints test group distinction comments 2016-08-24 12:05:40 -07:00
Matt Lott
22e3f445c0 Add achievement hidden property 2016-08-24 07:37:11 -07:00
Rob Blanckaert
d9b688c5b8 Merge pull request #3874 from codecombat/course-curriculum
Create Markdown for CS1, CS2 Curriculum
2016-08-23 18:16:19 -07:00
Rob
5c6fb20d7f Add back to top buttons. 2016-08-23 18:12:44 -07:00
Robin Yang
b550aae76a Remove target grades from Curriculum 2016-08-23 16:07:10 -07:00
Robin Yang
c3b3c6ea2a Update Student License requirement copy 2016-08-23 16:05:16 -07:00
Nick Winter
bfa49cbbc6 Fix sending too much and not enough data on arena sessions 2016-08-23 16:02:03 -07:00
Robin Yang
52c1f3d625 Add CS1, CS2 to Resource Hub
Also adding additional worksheets/PDFs.
2016-08-23 14:46:02 -07:00
Robin Yang
5d31496ceb Update CS1, CS2 curriculum content 2016-08-23 14:45:32 -07:00
Scott Erickson
09a9358b9e Modify courses i18n edit view to be less error-prone
* Do not use 'backup' system
* Warn when about to lose changes
* Show list of patches and their statuses
2016-08-23 14:36:45 -07:00
Scott Erickson
ae28223b96 Add course edits stats properties to user schema 2016-08-23 13:34:19 -07:00
Scott Erickson
7d9d42a23f Fix i18nCoverage bug
Sometimes, translations is undefined, so check that it exists
2016-08-23 13:33:51 -07:00
Scott Erickson
24848da7bf Fix scrolling on PlayGameDevLevelView 2016-08-23 12:50:50 -07:00
Phoenix Eliot
e929686502 Enable session spectating for WebDev levels 2016-08-23 11:48:02 -07:00
Phoenix Eliot
209b7d724e Fix webdev for china server 2016-08-23 11:08:57 -07:00
Scott Erickson
ef0547f72a Simplify applying licenses
In TeacherClassView, when a teacher assigns a paid course to any unenrolled
student, the view automatically enrolls those students, rather than requiring
the teacher to enroll those students manually first. Update copy throughout.

Also add back (smaller) padding to progress dots in TeacherClassView.
2016-08-23 10:43:31 -07:00
Matt Lott
c2ae4d3748 Add gd2 and wd2 to individual game
Closes #3875
2016-08-23 10:15:47 -07:00
Robin Yang
f8caa86579 Move resource templating from coffee to jade files 2016-08-23 09:38:11 -07:00
Scott Erickson
382304a256 Merge pull request #3869 from kdparkinson/master
Thang name contributions
2016-08-23 09:10:49 -07:00
Matt Lott
2584124017 Add array option to adjacentCampaigns.showIfUnlocked 2016-08-23 05:42:23 -07:00
Kenny Parkinson
2642dc896f Removed duplicate Anya 2016-08-22 19:14:55 -06:00
Robin Yang
fe3b9e01e0 Create Markdown for both CS1, CS2 Curriculum 2016-08-22 17:33:49 -07:00
Phoenix Eliot
3d8d0b96d3 Make popover pins stickier 2016-08-22 13:29:35 -07:00
Phoenix Eliot
b4fe0a3bee Fix SpellPaletteView's popover Ace 2016-08-22 13:23:52 -07:00
Phoenix Eliot
7f2d3d8b57 Fix iFrame being truncated 2016-08-22 12:01:48 -07:00
Scott Erickson
136d274d54 Render from partially-completed prerendered spritesheet correctly, fix #3641 2016-08-22 11:45:43 -07:00
Matt Lott
0cef562d9b Update subscription dialog blurbs 2016-08-22 11:29:30 -07:00
Matt Lott
61be34a0f4 Sort courses in teacher ux
Closes #3870
2016-08-22 11:18:26 -07:00
Matt Lott
7c9f7cbce7 Show correct programming language in level intro 2016-08-22 06:11:01 -07:00
Matt Lott
f2597229b5 No autocomplete x y, rename Zatanna to Autocomplete
Don’t autocomplete common variables ’x’ or ‘y’:
return if /^x$|^y$/i.test(prefix)
Renaming zatanna to autocomplete

Closes #3865
2016-08-22 05:46:07 -07:00
Kenny Parkinson
c1e9730499 added klondike as name for Polar Bear Pet #53 2016-08-20 09:39:05 -06:00
Kenny Parkinson
023a0e9ca8 Added 'Anya' as a female pixie. 2016-08-20 09:17:21 -06:00
Robin Yang
2b586420f3 Add i18n for Resource Hub 2016-08-19 17:42:02 -07:00
Robin Yang
611368f742 Add Resource Hub to teacher dashboard 2016-08-19 17:41:06 -07:00
Scott Erickson
c595183177 Remove teacher class view progress dot padding 2016-08-19 16:47:25 -07:00
Matt Lott
05159ff7c2 Support course slugs that match course names
Must be backwards compatible until we update the course slugs.

Closes #3867
2016-08-19 16:05:37 -07:00