phoenixeliot
58284dff33
Turn on Ace HTML worker for syntax errors
2016-07-19 11:30:02 -07:00
Nick Winter
6e65171a83
i18n, comments, misc cleanup
2016-07-17 00:53:17 -07:00
Nick Winter
b04e968da5
Add support for CSS docs
2016-07-16 23:17:05 -07:00
Nick Winter
0cd3278b8f
Add simple ImageGalleryView for some sample images in web-dev levels
2016-07-16 13:11:43 -07:00
Nick Winter
6ae89e31f1
Add direct link to play game/web-dev creations while coding them
2016-07-15 22:14:25 -07:00
Nick Winter
1e89775486
Basic campaign mode victory modal hookup for web-dev levels
2016-07-15 09:53:16 -07:00
Nick Winter
e3670165e7
Remove code for multiple spells; rename SpellListTabEntryView to SpellTopBarView; remove hero avatar from SpellTopBarView
2016-07-14 22:43:25 -07:00
Nick Winter
220db3106c
Run button now recreates web-dev DOM; no submit button
2016-07-14 19:48:27 -07:00
Nick Winter
33ba3f6033
Enable docs for web-dev levels
2016-07-14 19:14:18 -07:00
Nick Winter
ed320a8d9e
WebSurfaceView now parsing player code through virtual DOM into iframe
2016-07-14 18:07:36 -07:00
Nick Winter
16b10612b6
Stub WebSurface showing for web-dev levels
2016-07-14 12:34:22 -07:00
Nick Winter
c5c831c211
Remove real-time multiplayer prototype code
2016-07-14 10:26:09 -07:00
Nick Winter
349ab24da7
First pass at adding 'web-dev' level type
2016-07-14 09:38:45 -07:00
Nick Winter
c0a70cb2ab
Refactor level type checks for easy greppability (level.isType)
2016-07-14 08:58:43 -07:00
Nick Winter
a5a955ca6b
Always show indent guides
2016-07-11 08:35:44 -07:00
Scott Erickson
10d344504a
Add check to TomeView
...
Found a bug while playing Ogre Encampment: click the Chest before clicking past the
intro screen and the game throws an error, when `updateSpellPalette` tries to access
call `spell.getSource()` but `spell` is undefined. This check keeps the same behavior
but handles the error.
2016-07-08 13:27:42 -07:00
Rob
228019ac89
- Limit when this autocompletion can pop up.
...
- Remove some left over cruft from the text completer.
2016-07-06 13:31:46 -07:00
Rob
c7901c3237
Unbreak things when you don't have glasses.
2016-07-05 12:34:54 -07:00
Rob
9c7320e26a
- Move Zatanna out of own repo and into CodeCombat
...
- Move snippet creation out of SpellView
- Disable text based completions.
2016-07-01 16:39:21 -07:00
Matt Lott
425115ad37
Remove level type 'hero-practice', use level.practice
2016-06-25 08:38:59 -07:00
Rob
f100e7ab52
Non-integer indentation levels are impossible.
2016-06-22 15:08:20 -07:00
Matt Lott
e0170d0339
Add hero-practice level type and threshold to schema
...
Filtering out hero-practice levels from classrooms until the Ux
supports them.
2016-06-19 20:23:32 -07:00
Scott Erickson
86fc4a3846
Hints v1
...
Add per-level tips and tricks, available during gameplay to help unstick players.
Closes #3736
2016-06-15 16:12:41 -07:00
Nick Winter
a96d5df78e
Don't protect APIs in game-dev levels
2016-06-13 16:21:22 -07:00
Nick Winter
d2634e63ed
Fix #3642 : AIs using aiSource now don't need API protection (with new Aether)
2016-06-09 17:59:19 -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
Rob
2ef10f58b3
Fix bug where visual indents couldn't nest.
2016-06-03 14:01:37 -07:00
Rob
8d2df0baff
Kill some console logs @poojawins
2016-06-02 20:17:52 -07:00
Rob
3485abd413
Don't show indent guides for incorrect python indention.
2016-06-02 18:46:47 -07:00
Josh Callebaut
13b69d15f2
Display auto-complete box even after adding a new line
2016-05-31 16:50:22 -07:00
Nick Winter
dd08a8bd64
Fix always using JavaScript for enemy AI in multiplayer
2016-05-24 13:54:49 -07:00
Nick Winter
8fce97aad3
Fully remove Clojure and Io. Use new Aether 0.5.0.
2016-05-24 12:00:04 -07:00
Cat Sync
6e11b0dcda
Definitely use hero if hero is present in the user code.
2016-05-13 13:37:36 -04:00
Cat Sync
59408c0de2
Merge remote-tracking branch 'codecombat/master' into flip-hero-logic
2016-05-13 13:32:46 -04:00
phoenixeliot
9cb6e99942
Add operator keywords and truth values to translations
...
Add and tweak code translations
Translate shortened words to complete words
2016-05-12 13:46:44 -07:00
Cat Sync
50c8588231
Default to using hero unless self/this is present in the player's code.
...
This affects the autocomplete and spell palette api docs.
2016-05-09 12:49:25 -04:00
Nick Winter
e4c904463c
No more transpiledCode
2016-05-05 13:22:30 -07:00
Nick Winter
22007fff9b
Make multiplayer work in esper mode
2016-05-03 22:26:48 -07:00
phoenixeliot
7c1059bffa
Fix code review feedback
...
Fix code review feedback (2)
Fix code review feedback (3)
2016-04-26 16:37:36 -07:00
phoenixeliot
66f99dd834
Add translation tooltips for code
...
Tweak tooltips, add some translation keys
Fixed not showing translations for English-speakers
Remove comment
2016-04-26 16:37:07 -07:00
phoenixeliot
02d833639b
Make LevelComponent names translatable, show spell name translations in doc tooltips
2016-04-26 16:37:06 -07:00
Josh Callebaut
c4652d82e2
Implements the SPADE logger into the SpellView
...
* Updates spade.js vendor file, adds a sublime-project for developers to use
* Moves server logic away from handlers
* Moves session update logic to middleware, sets up server schema to autorender IDs as ObjectIDs
* Modernizes the supermodel loading scheme and switches from constructor to initalize
2016-04-26 09:56:30 -07:00
Catsync
b90f1fb18f
Hack to use hero instead of self/this in SpellPalette docs ( #3552 )
...
Hack to change SpellPalette docs to use hero instead of self/this
2016-04-16 14:59:18 -07:00
Catsync
7ff12f326f
Merge pull request #3548 from Catsync/autocomplete-hero
...
hero autocomplete hack
2016-04-13 14:59:21 -04:00
Nick Winter
a7114a2719
Implement headless verifier; fix headless client
2016-04-12 19:34:05 -07:00
Cat Sync
fddba4e0ce
Hacks autocomplete to use hero instead of self/this
...
Uses hero instead of self/this if “hero” is already in the code, in
javascript, python, and lua.
2016-04-12 14:31:50 -04:00
UltCombo
8326b5e182
JS beautifier: fix loop construct, fixes #3510
...
As JavaScript is the only language supported by the beautifier, and [CodeCombat is in the process of converting things to while (true)](https://github.com/codecombat/codecombat/issues/3510#issuecomment-201965310 ), I guess adding this quick hack to the view's code should suffice for now. Hopefully, the non-standard `loop` construct will be removed from other languages before they receive beautifier support.
If this doesn't seem good, I can move this hack to `aether.beautify`, where it is possible to perform this substitution in a language-aware way (i.e. inside Aether's JavaScript implementation's [`beautify` method](418ccf2414/src/languages/javascript.coffee (L137)
)). Seeing as the `loop` construct is specific to CodeCombat, I'm not sure if that would be a good idea. Passing an options object with a flag to support the `loop` construct seems a bit overkill.
Let me know what works best for you.
2016-03-28 00:00:40 -03:00
Nick Winter
59e8c42ddb
Client-side support for beating picoCTF levels
2016-03-03 17:18:24 -08:00
Imperadeiro98
92dc72cce1
Remove name from loadModel
2016-02-18 16:44:40 +00:00
Nick Winter
b5bb662ed2
Add picoCTF problem descriptions to levels; streamline picoCTF flows more
2016-02-17 11:33:56 -08:00