Commit graph

12407 commits

Author SHA1 Message Date
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
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
139efe4cf7 Implement POST /db/user/:handle/check-for-new-achievement, couple tweaks
* Enforce being logged in for POST /db/earned_achievement
* Extend timeout for race condition user tests
2016-08-29 14:53:51 -07:00
Scott Erickson
f509c95a4b Refactor POST /db/earned_achievement 2016-08-29 14:53:36 -07:00
Scott Erickson
5c8b8832b3 Refactor and better test EarnedAchievement.createForAchievement 2016-08-29 14:52:50 -07:00
Scott Erickson
2f8ad4afdf Prevent email-formatted usernames on teacher signup 2016-08-29 14:16:15 -07:00
Matt Lott
0b3c7d3189 Don't overwrite Close.io Lead Origin custom field 2016-08-29 11:58:00 -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
Imperadeiro98
3b29aae616 Remove jQuery minicolors 2016-08-27 23:03: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
Scott Erickson
ae82875c57 Refactor post new level version handler, add failed save handling
When a new version is created, the latest version is updated, then
the new one is made. If making a new one fails (most commonly due to
a name conflict), the latest version is left in a broken state. Set up
the new middleware to revert changes to latest version in this case,
and update the level handler to use the middleware. Also added
warning logs if models do not have editableProperties or postEditableProperties
set.
2016-08-25 10:28:46 -07:00
Matt Lott
76b1efdefb Update Close lead creation when have NCES data 2016-08-25 10:21:39 -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
Matt Lott
80f8fd60d8 Update close automated emails 2016-08-24 14:46:15 -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
Matt Lott
d85cfcaddf Update zp -> close import script to be more forgiving 2016-08-24 14:33:47 -07:00