Nick Winter
da90ab980e
Fix some failing tests
2016-05-31 10:59:06 -07:00
Matt Lott
fd8f65cadc
Help button should open "Overview" (Guide) by default
2016-05-31 10:37:30 -07:00
Matt Lott
ffcd89d327
Turn off video tutorials for course levels
2016-05-31 10:12:22 -07:00
Nick Winter
4160058505
Make skipping real-time playback jump to final frame. Fix #2827 .
2016-05-31 08:50:17 -07:00
Nick Winter
96e6e0de9e
Fix #2889 : show incremental gem and xp award for replayable levels, not total
2016-05-30 17:33:15 -07:00
Nick Winter
88a07b5c09
Destroy vim mode option
2016-05-30 17:08:11 -07:00
Nick Winter
065069cfdd
Make CourseVictoryModal respect Markdown in next level description
2016-05-30 16:26:55 -07:00
Matt Lott
4bb3ac1f0a
Replace Anoner with Anonymous
...
Closes #3686
2016-05-26 16:54:24 -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
Rob
dbc6f6821f
No ads for now.
2016-05-13 11:26:52 -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
Rob
9bf118962f
Disable Clojure and IO
2016-05-12 11:36:10 -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
Scott Erickson
fffe5f995d
Merge branch 'master' of https://github.com/Marvellanius/codecombat into dutch-localization-update
2016-05-06 12:03:34 -07:00
Nick Winter
32f74531e4
Enable Esper by default in certain cases; improve verifier a bit; misc cleanup
2016-05-05 16:56:58 -07:00
Nick Winter
e4c904463c
No more transpiledCode
2016-05-05 13:22:30 -07:00
Marvellanius
cef1f95a5a
add dutch localisation to payment
...
add dutch localisation static files
2016-05-04 15:38:33 +02:00
Marvellanius
532dbda651
fix empty product bug
2016-05-04 15:38:33 +02:00
Nick Winter
22007fff9b
Make multiplayer work in esper mode
2016-05-03 22:26:48 -07:00
phoenixeliot
91fa467251
Fix teacher sessionless play; uses default campaign levels
...
Fix typo
Fix race condition with loading next level
Return an empty object for next level instead of an error;
Supermodel has a race condition when some of the models fail to load,
when we override an error response as "success".
Fix next level spec
Remove comment per Scott's request
2016-04-28 12:46:09 -07:00
Matt Lott
7b88eb0250
Remove Clojure from /about and play modals
2016-04-27 16:15:27 -07:00
Scott Erickson
675e3290ac
Lock course content to classrooms
2016-04-27 09:58:04 -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
c6cbcd4777
Merge pull request #3395 from Zerrien/spade
...
Implements Spade functionality, and adds the sublime project file.
2016-04-26 11:15:17 -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
edtrist
405fbeabf8
use view jquery
2016-04-25 22:19:28 +01:00
edtrist
fb15c0bf94
Pause help videos when guide modal is not visible
2016-04-20 00:38:44 +01: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
phoenixeliot
c3da6a23c9
Change isTeacher checks to isSessionless for /play
2016-04-15 10:58:52 -07:00
phoenixeliot
0416528de0
Fix language-getting for next level URL on teacher courses play
2016-04-13 16:32:39 -07:00
Catsync
7ff12f326f
Merge pull request #3548 from Catsync/autocomplete-hero
...
hero autocomplete hack
2016-04-13 14:59:21 -04:00
phoenixeliot
a524256b5b
Add sessionless play for Teachers
2016-04-12 19:34:05 -07: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
905c9cdb93
Use victory text and next level data on level completion. Update picoCTF logo.
2016-03-18 14:18:41 -07:00
Matt Lott
255ebbc048
Ads for free campaign players
...
Display leaderboard ads on campaign and play views.
Do no show ads in classroom, picoCTF, or to teachers.
Add no ads blurb to subscription features matrix.
Scale game UI for ads on short screens.
Closes #3491
2016-03-18 10:29:31 -07:00
Scott Erickson
ebc98f988f
Refactor CreateAccountModal out of AuthModal, add class code to signup
2016-03-10 10:52:11 -08:00
Nick Winter
1ccad78782
Submit picoCTF solutions, show progress, disable sound
2016-03-04 11:44:43 -08:00
Nick Winter
59e8c42ddb
Client-side support for beating picoCTF levels
2016-03-03 17:18:24 -08:00
Scott Erickson
e7366040f3
Add full screen button to tutorial videos in Safari
2016-02-25 17:13:42 -08:00
Imperadeiro98
42f84de394
Merge master branch
2016-02-24 19:40:21 +00:00
Scott Erickson
3390663486
Fix GuideView to use session.codeLanguage by default
2016-02-19 10:55:42 -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
Nick Winter
37fbd8ca21
Start to play picoCTF levels as course levels without hero selection
2016-02-17 09:53:45 -08:00
Nick Winter
fe351be32e
Start to rework CampaignView when we're in picoCTF mode
2016-02-16 20:39:59 -08:00
Matt Lott
06436a4bb7
Add levelID property to show subscription modal events
...
Allows us to consolidate analytics collection indexes and code someday.
2016-02-09 16:50:55 -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
Scott Erickson
277c526dc3
Add CourseVictoryModal
2016-01-25 13:03:29 -08:00
Rob Blanckaert
28d085f6d3
Merge pull request #3349 from ryang217/master
...
Add additional formatting tags to Tome popup
2016-01-22 13:22:56 -08:00
Robin Yang
dc248f8d29
Add additional formatting tags to Tome popup
...
Helps fix this #2945
2016-01-22 13:21:17 -08:00
Imperadeiro98
f47640e59a
Cleaned couple files
...
Removed some unused styles, a template, a view and changed the class
name of some views
2016-01-16 12:07:15 +00:00
Nick Winter
e872ead632
Implement Brazil coupon
2016-01-11 09:52:46 -08:00
Rob
86d9b081c1
Merge branch 'cashew'
2016-01-06 12:03:49 -08:00
Daniel Fiore
a215c2e01c
Fix Earned Achievements Check
2016-01-04 19:23:14 -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
Nick Winter
187a6f87a9
Include course info in contact message session links
2015-12-28 08:15:48 -08:00
Imperadeiro98
f369c73b2a
Remove unnecessary sound
2015-12-28 16:11:09 +00:00
Imperadeiro98
b7ba677b00
Use view in template
2015-12-26 14:21:06 +00:00
Imperadeiro98
e70cbed4e4
Use view in template
2015-12-21 15:51:46 +00:00
Nick Winter
129d3b793d
Add Mandate for modifying simulation throughput on the fly, other things later
2015-12-16 16:39:45 -08:00
Nick Winter
31eb6e6045
Fix #3017
2015-12-16 16:39:45 -08:00
Scott Erickson
a28e7bde2c
Update tests for db products, some cleanup
2015-12-16 16:39:44 -08:00
Scott Erickson
7c516c4d9f
Move product information to the db
2015-12-14 11:10:50 -08:00
Nick Winter
4458a57771
Save our MongoDB oplog
2015-12-10 14:51:34 -08: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
Nick Winter
0945e3ee90
Merge pull request #3250 from Imperadeiro98/master
...
Courses i18n
2015-12-09 06:34:13 -08:00
Rob
24a43f2be8
Don't show visual indent for comment ace things are blocks.
2015-12-08 14:20:23 -08:00
Imperadeiro98
e284ec7959
Courses i18n
...
Also, removed duplicated 'Continue' string
2015-12-08 20:05:08 +00:00
Nick Winter
e375b8cdc8
Merge pull request #3185 from Imperadeiro98/the-branch
...
Refactor to use view in template
2015-12-07 09:28:26 -08:00
Nick Winter
0a1be8e80e
Don't load ambient sound in CampaignView if muted
2015-12-06 12:33:28 -08:00
Nick Winter
1187390fd0
Improve simulation game logic, and re-enable automatic simulations under certain conditions, better targeted toward the matches the player cares about
2015-12-06 09:20:37 -08:00
Scott Erickson
97c28e1c8a
Improve slow level loading on CampaignView
...
* Fix LevelSetupManager to call onLevelSync asynchronously if level is not loaded on init
* Show a progress bar in level-info-container while level is loading asynchronously
2015-12-04 10:26:09 -08:00
Nick Winter
7cbe679f6b
Remove red color for now for indentation visualizer ( #3232 )
2015-12-03 12:14:42 -08:00
Nick Winter
b0e9670453
Fixed course indexing for first levels in courses
2015-12-03 12:04:49 -08:00
Nick Winter
80253305fb
Add ?simulate=true option for testing background simulations
2015-12-02 14:57:06 -08:00
Scott Erickson
3c1a55fc2f
Merge branch 'courses-vhoc'
2015-12-02 13:16:24 -08:00
Nick Winter
e5a68f1ae9
Disable background simulations while playing levels for now
2015-12-02 12:07:43 -08:00
Nick Winter
0d65d73024
Finish merging master into courses-vhoc
2015-12-02 10:10:50 -08:00
Nick Winter
c77e1c0fa2
Add course complete visual state for student CourseDetailsView
...
Also including a few misc tweaks to CourseDetailsView and the end-of-course HeroVictoryModal state.
2015-12-02 09:52:52 -08:00
Nick Winter
83f41e7808
Add buildable ogre types to DuelStatsView army power table
2015-12-02 06:46:39 -08:00
Nick Winter
55529cc2bb
Don't show higher AI difficulty achievements in victory modal
2015-12-01 12:32:51 -08:00
Nick Winter
6b1c859e91
Preserve SuperModel when navigating between course levels
2015-12-01 12:23:01 -08:00
Nick Winter
e7809c6622
Saven even more slowly for anonymous players during high load
2015-12-01 11:51:55 -08:00
Nick Winter
ae6eca583a
Present 'Play Classroom Version' before playing a campaign level when appropriate
2015-12-01 11:24:16 -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
Nick Winter
851e3a092e
Play button goes to /courses if that's all the player has played
2015-11-30 16:43:33 -08:00
Nick Winter
a8eaa79db3
Always shows level intro doc scrollbars
2015-11-30 15:33:50 -08:00
Nick Winter
22af180a86
Move gold display to DuelStatsView for Wakka Maul and remove army power display for non-army ladders
2015-11-30 14:58:36 -08: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
252b9a66e9
Don't encourage skip (esc) when in full-screen mode where esc exits full-screen mode
2015-11-30 14:10:34 -08:00
Nick Winter
97043c4a25
Autoplay when observing others' replays
2015-11-30 14:01:39 -08:00
Nick Winter
8fd47535d1
Put video into its own guide tab, fix intro tabs
2015-11-30 13:54:13 -08:00
Nick Winter
69379fb54f
Show floating hero player names in course-ladder levels
2015-11-30 13:05:34 -08:00
Nick Winter
2588bfb08b
Reduce some writes during HoC to help scaling
2015-11-30 13:05:34 -08:00
Imperadeiro98
60f40bb859
Add closing sound to InventoryModal
2015-11-30 20:53:52 +00: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
542cd98329
Fix #3221
2015-11-30 07:23:33 -08:00
Nick Winter
ee6be55a9d
Don't load sounds from level while muted
2015-11-29 12:32:04 -08: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
Nick Winter
46e738a737
Collapse sets of achievements in achievements list
2015-11-28 08:39:05 -08:00
Rob
e6afb51085
First pass at showing indention guides.
2015-11-27 20:46:55 -05:00
Nick Winter
a6f980dab1
Support for pre-configuring hero on Assembly Speed
2015-11-27 12:12:58 -08:00
Nick Winter
d465a3080d
Merge branch 'master' of https://github.com/codecombat/codecombat
2015-11-25 16:51:27 -08: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
8d444e7ce8
Fix returning to course-ladder in HeroVictoryModal when arrived at via next-level button
2015-11-25 16:50:42 -08:00
Matt Lott
7b01fd7b65
Add course name to victory modal
2015-11-25 14:23:35 -08:00
Matt Lott
24345cf296
Course victory modal current and next level names
2015-11-24 16:46:27 -08:00
Nick Winter
b44714a60b
Fix achievement loads never happening if you didn't earn any of them
2015-11-24 13:49:38 -08:00
Nick Winter
9f0a843593
Enable auto-submission to ladder for Wakka Maul
2015-11-24 13:35:15 -08:00
Nick Winter
ec7f17a149
Show level indexes in courses
2015-11-24 08:56:28 -08:00
Nick Winter
d675e14f59
Fix issue returning to ladder when playing course-ladder levels outside of a course arena
2015-11-24 08:36:57 -08:00
Nick Winter
65890130bb
Change how goals are expanded/collapsed at beginnings of levels
2015-11-24 08:28:05 -08:00
Nick Winter
21810be8eb
End an A/B test
2015-11-22 07:53:49 -08:00
Nick Winter
be00cae1df
Fix returning to course ladder from arena modals
2015-11-19 16:36:29 -08:00
Nick Winter
ef7618497f
Fix #3184 : get more of our campaign overworld properties we need
2015-11-19 13:20:42 -08:00
Nick Winter
c8ceca4d3d
Add user.courseInstances, use it for course ladders
2015-11-19 10:41:31 -08:00
Scott Erickson
7a6c42b89f
Set up course-ladder level handling
...
* LadderView displays course info, different style for course-ladder levels
* LadderView hides simulate tab for course-ladder levels
* HeroVictoryModal links to LadderView for course-ladder levels
* CourseDetails page links to LadderView for course-ladder levels
* Enable course instances for league simulation
2015-11-18 14:02:45 -08:00
Imperadeiro98
a19225013b
Refactor to use view in template
2015-11-18 19:16:44 +00: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
a5fc31dbb3
Allow multiplayer levels to earn achievements
2015-11-17 15:23:35 -08:00
Nick Winter
01c9948b5b
Favor complete over incomplete sessions in CampaignView flag status
2015-11-17 15:23:34 -08:00
Rob
7a86f754df
Add flavor to overworld.
2015-11-17 11:27:08 -08:00
Rob
991fead0f6
Create specific campaign view for campaign selection screen.
2015-11-17 11:15:56 -08:00
Nick Winter
0abb9a38ad
Use nanoscroller to allow intro doc scrolling
2015-11-15 08:23:12 -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
aee2f7c219
Add loading indicators, hide UI pre-load for /play
2015-11-14 17:30:37 -08:00
Nick Winter
9e61928080
Add reset progress feature in account settings
2015-11-12 15:27:28 -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
Nick Winter
f7f7cd683e
Allow using hero levels as course levels. Refactor current course tracking to use GET parameters.
2015-11-12 10:25:25 -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