codecombat/server
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
..
commons Show wev-dev iFrame error messages like Aether's 2016-08-31 10:59:06 -07:00
handlers Refactor POST /db/earned_achievement 2016-08-29 14:53:36 -07:00
lib 🐛Fix license inquiry contact lookup boolean 2016-07-28 15:14:38 -07:00
middleware Have client check for achievement updates 2016-08-29 16:32:42 -07:00
models Have client check for achievement updates 2016-08-29 16:32:42 -07:00
plugins Refactor and better test EarnedAchievement.createForAchievement 2016-08-29 14:52:50 -07:00
queues Allow username-only signup for classroom users 2016-07-18 10:41:17 -07:00
routes Fix POST /db/earned_achievement to be accessible to anonymous users 2016-08-31 10:07:19 -07:00
delighted.coffee Add state to delighted data if state was populated by nces 2016-06-17 13:53:49 -07:00
hipchat.coffee Change 'Slack' back to 'HipChat' in multicore and server. 2015-10-30 15:26:18 -07:00
sendwithus.coffee Add script that migrates users with email-formatted usernames 2016-08-12 14:34:08 -07:00
slack.coffee Redirect artisan events to artisans slack channel instead of dev-feed 2016-06-27 09:49:07 -07:00