Commit Graph

343 Commits

Author SHA1 Message Date
1833435268 Use CodeOceanEditor.active_file to access file selected in JSFileTree 2018-12-05 13:46:44 +01:00
8dfcef3e45 Merge pull request #235 from openHPI/remove_old_hints
Completely remove old hints connected to the execution environment
2018-11-30 15:41:01 +01:00
64d5a0f9b2 Fix caret to show down (collapsed state) after initial load 2018-11-28 22:54:40 +01:00
212867f300 Fix flowr output to work with Bootstrap 4 2018-11-28 15:22:21 +01:00
b9dce854c4 Merge remote-tracking branch 'origin/master' into flowr
# Conflicts:
#	app/assets/javascripts/editor/evaluation.js
#	app/assets/javascripts/editor/participantsupport.js
#	app/views/exercises/_editor_output.html.slim
#	config/code_ocean.yml.example
#	config/routes.rb
2018-11-28 13:14:21 +01:00
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
16a5345a71 Migrate jQuery function use for ajax in case of success or failure
Deprecation Notice:

The jqXHR.success(), jqXHR.error(), and jqXHR.complete() callbacks will be deprecated in jQuery 1.8. To prepare your code for their eventual removal, use jqXHR.done(), jqXHR.fail(), and jqXHR.always() instead.
2018-11-26 12:23:30 +01:00
0fbbe97ae4 revert 8acd77d9c4 2018-11-16 10:38:36 +01:00
8acd77d9c4 temporary changes to render pictures again. 2018-11-13 13:07:49 +01:00
cc48361a15 Remove unused scrollbars in /implement 2018-11-06 16:49:44 +01:00
c44478783a Fix bootstrap CSS issues in Safari and Chrome 2018-11-06 16:49:44 +01:00
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
15b1670511 Update Turbolinks, load additional assets only on request, fix JS
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
772f4ad204 Merge pull request #223 from openHPI/jg/fix-editor-active-file
Jg/fix editor active file
2018-10-19 15:45:34 +02:00
17d20e2f5b Merge pull request #219 from jgraichen/fix/dot
Fix missing dot (fixes #218)
2018-10-19 15:32:45 +02:00
574e870bd1 fix reset for user created files (where therefore no original file is available) 2018-10-19 15:27:14 +02:00
730d5541bd allow running, testing and scoring of files in subfolders by using the full filepath 2018-10-19 15:25:05 +02:00
629c925e77 Fix setting active file in editor
The file select hook did construct an active_file but did not
assign it to the actual variables. This commit changes the hook to
use the existing setActiveFile helper function.
2018-10-19 12:34:12 +02:00
db9557108c Fix missing dot
Actually call replace on the filename.
2018-10-18 21:03:46 +02:00
131f610116 call text() again to prevent execution of javascript 2018-10-16 17:20:58 +02:00
ebea8da341 Open StackOverflow links in a new tab 2018-10-10 10:58:54 +02:00
46fd76f1aa Set default value for answers_per_query config 2018-10-10 10:58:34 +02:00
a07d440e02 Translate button 2018-10-05 15:03:27 +02:00
174db96081 Move magic number to config instead 2018-10-05 14:55:22 +02:00
fad97e36c1 Fix building stackoverflow query 2018-10-05 14:48:09 +02:00
dd48cc6d10 Create events on user interaction 2018-09-18 17:22:01 +02:00
b19402ba99 Implement client-side querying of stackoverflow 2018-09-18 15:14:17 +02:00
16533e2d89 Work around messy architecture 2018-08-14 21:48:16 +02:00
f73de94f4d Allow file_id to be captured 2018-08-14 21:36:24 +02:00
369b0c8908 Send paste events to CodeOcean events API instead of LearningAnalytics 2018-08-14 21:28:06 +02:00
11137fa5f6 Style exercise description as a card and display an additional (more obvious) toggle 2018-08-03 14:38:58 +02:00
331d12be3c Fix the spelling mistake "wether" with "whether" 2018-08-02 08:08:52 +00:00
39f1d3ec3a fix LED exercise part 2 2018-07-18 15:10:34 +02:00
35243a544c dont call text for the moment to allow pictures being rendered. Quickfix for LED exercise. 2018-07-18 14:51:35 +02:00
1627d10600 remove disabling of the RFC button after having posted an RFC 2018-07-18 09:33:29 +02:00
927eaaeb85 fix raw output, prevent angle brackets < and > from beeing interpreted as html tags 2018-07-13 11:01:53 +02:00
d948ded2a6 Merge pull request #179 from openHPI/remove-error-massage-from-panel
Remove error message from panel
2018-06-15 15:24:39 +02:00
7053544bcb Hide socket errors in Internet Explorer too 2018-06-05 11:31:08 +02:00
909d0de42e remove anchor test output 2018-06-03 16:57:57 +02:00
cb56a21951 Update execution.js.erb 2018-05-16 14:41:15 +02:00
e4525bca36 Cleanly close websocket 2018-05-16 14:37:13 +02:00
a92c13ed71 Mute "unknown error" messages in Edge which occur after the socket was closed successfully 2018-05-16 14:35:08 +02:00
8faab600b5 Fix nil config resulting in failing tests 2018-05-07 17:25:42 +02:00
bedaec76a8 Add missing semicolons 2018-05-07 16:40:22 +02:00
4440acec10 Ensure no malformed protocol definition 2018-05-07 16:38:26 +02:00
841a885711 Send hints when scoring 2018-03-13 14:52:40 +01:00
ccdcc43431 Display hints in editor frontend 2018-03-08 16:20:07 +01:00
851beac4e7 removed == true in condition 2017-11-16 17:11:37 +01:00
194984a620 add cause to testruns
trigger run and assess on request_for_comment
2017-09-21 17:21:10 +02:00
653aefa2c7 Update "last saved at" label after all types of submissions, not only autosaves 2017-08-13 16:24:03 +02:00