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
Scott Erickson
95e627f346
Merge pull request #3374 from taptapdan/issue-3138-CastButtonView
...
Refactor CastButtonView to use view in template
2016-02-04 14:53:13 -08:00
Daniel Fiore
d0d19f94e9
Refactor ProblemAlertView to use view in template
2016-02-04 14:44:29 -08:00
Daniel Fiore
6ad5d6bc73
Refactor CastButtonView to use view in template
2016-02-02 15:57:55 -08:00
Nick Winter
4ae8eacd90
Treat Elemental Wars like Ace of Coders for mirror match and hero equipment
2016-01-26 13:20:23 -08:00
Robin Yang
dc248f8d29
Add additional formatting tags to Tome popup
...
Helps fix this #2945
2016-01-22 13:21:17 -08:00
Rob
3b4433e312
Use hero instead of this. Also use published aether package.
2016-01-04 17:23:58 -08:00
Rob
3baea9683c
Additional java support.
2016-01-04 16:41:24 -08:00
CodeCombat
41a532cb50
WIP - cashew integration
2016-01-04 16:27:27 -08:00
Imperadeiro98
b7ba677b00
Use view in template
2015-12-26 14:21:06 +00:00
Nick Winter
4a04a48f42
Got rid of testing ending line for indent visualizer
2015-12-10 11:11:12 -08:00
Nick Winter
608d45ba70
Don't do undefined slug collection scans
2015-12-10 09:05:34 -08:00
Rob
24a43f2be8
Don't show visual indent for comment ace things are blocks.
2015-12-08 14:20:23 -08:00
Nick Winter
7cbe679f6b
Remove red color for now for indentation visualizer ( #3232 )
2015-12-03 12:14:42 -08:00
Nick Winter
e7809c6622
Saven even more slowly for anonymous players during high load
2015-12-01 11:51:55 -08:00
Rob
d0f3aeec91
Draw visual indent marker by hand so it's more stylish.
2015-12-01 12:22:48 -05:00
Rob
db060e9816
Fix visual indents when document row doesn't match screen row.
2015-12-01 12:02:56 -05:00
Rob
fa21f9ef68
Add an extra indent line if the line following a range is only whitespace.
2015-11-30 17:23:29 -05:00
Nick Winter
cc3a62febd
Fix loss of editor focus when clicking error messages and property docs popovers
2015-11-30 14:18:42 -08:00
Nick Winter
2588bfb08b
Reduce some writes during HoC to help scaling
2015-11-30 13:05:34 -08:00
Nick Winter
26be2842ed
Don't highlight Done button as much until winning replay has finished
2015-11-30 11:34:47 -08:00
Rob
716f759e11
Be more helpful when opening a new indent.
2015-11-30 14:13:07 -05:00
Rob
79fe249291
Merge branch 'visual-indent'
2015-11-30 13:55:25 -05:00
Rob
1b43c3e54f
Clean up visual idents, limit to players under level 20 or with indentGuides turned on.
2015-11-30 13:54:50 -05:00
Nick Winter
95c703a7df
Simulate games in background while playing levels if we think there's extra compute power
2015-11-29 12:30:19 -08:00
Rob
e6afb51085
First pass at showing indention guides.
2015-11-27 20:46:55 -05:00
Nick Winter
88cca795c6
Don't try to autorank anonymous users playing autoranked ladder levels
2015-11-25 16:51:12 -08:00
Nick Winter
9f0a843593
Enable auto-submission to ladder for Wakka Maul
2015-11-24 13:35:15 -08:00
Nick Winter
a0038602a1
Fix some course level submit button behavior, also help mirror session scoring
2015-11-17 15:26:10 -08:00
Nick Winter
ef72286864
Don't autoplay hero or course levels by default. Fix Course: Known Enemy autocomplete string format.
2015-11-15 07:59:20 -08:00
Nick Winter
5d9d5c0ae6
Remove ProblemAlertView help button
2015-11-14 17:33:05 -08:00
Nick Winter
910dd8e6b6
Use course access control for shared course hero levels
2015-11-12 11:00:54 -08:00
Nick Winter
cb101c7905
Replace simple loops while while True in course level sample code
2015-11-12 11:00:51 -08:00
Scott Erickson
8b00c38350
Merge pull request #3168 from Imperadeiro98/use-view
...
Refactor to use view in template for issue #3138
2015-11-12 09:58:49 -08:00
Nick Winter
f6307ac04e
Made while True snippets work in course levels
2015-11-11 07:41:52 -08:00
Nick Winter
2259076800
LoadingScreen -> level intro behavior
2015-11-10 15:22:09 -08:00
Imperadeiro98
8e8a3103d5
Refactor to use view in template for issue #3138
...
This removes getRenderData from: CareersView, SaveCampaignModal,
InfiniteLoopModal, SpellListEntryThangsView, SaveLoadView,
PlaySettingsModal and JobProfileCodeModal.
2015-11-09 21:29:27 +00:00
Rob
39a97135de
Explicitly check for selection when overriding return.
2015-11-05 10:14:53 -08:00
Nick Winter
34715befcc
Increment user's concept stats on level completion
2015-11-04 13:42:09 -08:00
Rob
e048848d6b
Add 50% more room for fingers in the autocomplete box.
2015-10-29 18:16:58 -04:00
Rob
75c63a0ace
When pressing enter with an active selection, just make a new line under it.
2015-10-29 18:16:23 -04:00
Rob
f0e1fc1f77
Let API properties declare their return values should be captured.
...
Auto complete will know when to add a variable asingment.
2015-10-29 15:07:19 -04:00
Rob
da92e15bfb
Give some API properties priority in autocomplete.
2015-10-27 23:23:43 -04:00
Nick Winter
4af6162c5c
Replace simple loop docs with while-true docs in course levels
2015-10-22 10:29:10 -07:00
Matt Lott
3ed755076b
Enable while True auto yielding for all level types
2015-10-20 06:42:46 -07:00
Matt Lott
cc642e7254
Auto yield while True loops for course levels
2015-10-19 16:46:53 -07:00
Nick Winter
d200ac4a32
Fix #2926 : handle missing sub-code/spoken-languages in docs
2015-10-05 15:32:02 -07:00
Matt Lott
18d64e64fb
Merge pull request #3009 from Imperadeiro98/master
...
Use playSound across the code
2015-09-25 06:21:08 -07:00
Imperadeiro98
4f054fa31a
Fixed issue with string interpolation
2015-09-25 14:00:03 +01:00
Nick Winter
7a56ecfe4d
Disabled auto-submit for Ace of Coders ranking.
2015-09-17 14:42:13 -07:00
Imperadeiro98
bd4063ed3a
Use playSound across the code
2015-09-09 22:36:05 +01:00
Nick Winter
35ef48b108
Mirror ladder levels now copy source code to other side, too, not just transpiled code. Mirror sessions don't submit if there's a user code error.
2015-09-08 16:34:20 -07:00
Nick Winter
6d5ddb65ea
Not automatically showing melee ranges on action docs.
2015-09-08 06:31:19 -07:00
Nick Winter
3768783ceb
Don't be making LadderSubmissionViews in the CastButtonView unless it's a mirror match.
2015-09-04 18:11:19 -07:00
Nick Winter
73f3e7cdd9
League now preserved throughout ladder navigation flow. Mirror match support for submitting to both sides at once.
2015-09-04 16:21:45 -07:00
Nick Winter
a52e9a3189
Fixed #2939 .
2015-08-13 05:58:46 -07:00
Nick Winter
8d09357a7a
Fixed #2914 : no disabling spaces for Clojure and other advanced/experimental languages.
2015-08-02 14:12:15 -07:00
Nick Winter
15ecc92abc
Adding 'course' type levels. Removing 'campaign' type levels.
2015-07-24 17:37:42 -07:00
Nick Winter
107f94a08b
Fixed another cause of the bug fixed in 0d99b07b
with modified levels still granting rewards.
2015-07-24 08:56:20 -07:00
Nick Winter
7173fd367f
Re-enabled gutter highlights for executing code.
2015-07-10 09:39:08 -07:00
Nick Winter
36d3b8e910
Highlighting entry points is working pretty well, at least in Python through the forest.
2015-07-09 15:05:35 -07:00
Nick Winter
4f443efd8b
First draft of logic to work out where the code entry points should be.
2015-07-09 12:47:07 -07:00
Nick Winter
dfa0de7521
Bad testing version of code entry point arrow numbering.
2015-07-09 11:45:11 -07:00
Arthur Neves
6cb673e228
i18N press enter on spell view
2015-06-14 23:20:49 +02:00
Nick Winter
a85d52ebe2
Made a tabbed interface for Programmaticon V's Vector and standard library documentation.
2015-06-10 15:18:37 -07:00
Nick Winter
0d99b07bc3
Made it so that high scores and level victories are not achieved when playing changed levels from inside the level editor. Some additions for Nalfar.
2015-06-05 17:02:37 -07:00
Nick Winter
a0057910ac
Fixed #2597 : press escape to abort simulation now, if your code is going to be slow.
2015-04-18 19:54:34 -07:00
Nick Winter
7471b14c4d
Fixed #2013 : removed autorun code. Fixed preloading to actually happen, but only on short solutions without a ton of statement execution.
2015-04-18 15:52:24 -07:00
Nick Winter
ea80e22dc6
Don't point out Lost Viking, since most players shouldn't attempt it. Adjust autocomplete default parameter from string to variable for Known Enemy.
2015-04-18 14:13:05 -07:00
Nick Winter
e7df703d36
Fixed #2651 : indicate better that sample code is locked when it won't let them type in there.
2015-04-13 15:04:42 -07:00
Nick Winter
4c008e4686
Fixed #2406 .
2015-04-12 12:20:33 -07:00
Nick Winter
c1ec1611ad
Fixed style reversion for page loading bar showing over code area.
2015-04-07 08:55:33 -07:00
nemoyatpeace
b50c3fbc89
Update the shift-click insertion
...
Insertion is now language specific.
2015-03-29 01:14:13 +08:00
Nick Winter
7dff105cdf
Insane hackery for #1777 to give us more code editor space, better use of space with tall screens, and scrolling API properties. Watch out for bugs.
2015-03-25 16:47:31 -07:00
Nick Winter
e288b95543
Fixed #1961 (castDrainLife -> cast('drain-life') in the docs).
2015-03-20 13:43:00 -07:00
Nick Winter
bae7612703
Disabled pinned docs clicks for now, since their CSS is wonky.
2015-03-20 09:03:36 -07:00
Nick Winter
3ff41f5619
Rewriting sample code dynamically to fix findNearestEnemy / findNearest(findEnemies) issues.
2015-03-12 11:08:58 -07:00