Commit Graph

220 Commits

Author SHA1 Message Date
64e6d01b9b Allow multiline Assertion Errors for python 2020-03-21 18:36:48 +01:00
24b9148a42 Always use latest websocket connection for Turtle events 2020-03-07 23:24:33 +01:00
0b9cf0bd45 Hide Turtle Canvas during cleanup 2020-03-07 23:24:06 +01:00
3735d0b6cd Replace vanilla JS redirects with Turbolinks 2020-03-07 11:53:44 +01:00
fe8aac4535 Resize ACE once transition finished 2020-03-07 11:53:44 +01:00
82e560cace Add link to WebSocket test if WebSocket connection failed 2020-03-07 11:53:44 +01:00
207cf1084b Fix duplication of code when navigation back and forth 2020-03-06 15:34:43 +01:00
3839704e77 Prevent autosave on window load 2020-03-05 17:10:48 +01:00
bf6a343e2b Set onError binding to underscore's no-op 2020-03-05 14:53:46 +01:00
427ee3e2e7 Stringify error messages for Sentry 2020-03-05 13:03:47 +01:00
f50e26095a Beautify error messages in JavaScript when scoring submissions 2020-03-05 11:04:03 +01:00
74d99df070 Add JavaScript sentry 2020-03-05 10:30:57 +01:00
99e4aec1cb Render submit button once results are available 2020-03-04 17:58:16 +01:00
ca82e4000a Always render "browser not supported" alert and disable it for supported browsers 2020-03-03 18:13:30 +01:00
a598816925 Merge pull request #487 from openHPI/reenable_rfc_timelimit
Reenable rfc timelimit
2020-02-07 10:50:09 +01:00
f07cad4da5 Disable reset active file for user defined files 2020-02-02 12:36:20 +01:00
75fe6e5b68 Add file name to reset this file action 2020-01-30 19:27:16 +01:00
d0eceac440 Upgrade font-awesome and add option reset only active file 2020-01-29 10:55:15 +01:00
007b31afd0 Re-enable RfC time limit 2020-01-27 14:44:07 +01:00
6fbb5b3b1a Allow direct RfC creation. 2020-01-27 14:43:31 +01:00
b51be3edb3 Add option to add multiple entry points which could be executed similar to the Main File 2020-01-16 11:14:59 +01:00
4f8fedf1bb Add R script adapter 2020-01-13 15:10:00 +01:00
1323619425 Fix CodeOcean event publishing mechanism 2019-12-20 16:16:23 +01:00
fa229a581e Ensure output is shown even if no test command is given 2019-12-16 14:53:17 +01:00
263b167da4 Set Tomorrow theme for Python (via Hack) 2019-12-02 10:13:32 +01:00
d45a68a123 Minor: Fix spelling in comment 2018-12-13 12:57:49 +01:00
a0d8b30ef2 Implement support for some basic embed options for work sheets via LTI
This commit also fixes an issue with the flash messages being positioned too high and displayed for too long
2018-12-11 14:29:36 +01:00
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