Commit Graph

275 Commits

Author SHA1 Message Date
Sebastian Serth
398bd67e1c Fix Flowr support and generic event framework 2020-10-14 14:34:25 +02:00
Sebastian Serth
8aaf93af6b Remove JS debugger statement 2020-05-12 17:51:06 +02:00
Sebastian Serth
26b9edabb4 Add deadline information to submission page and some minor bugfixes 2020-05-08 15:07:02 +02:00
Sebastian Serth
7154bafb7e augmentStacktraceInOutput no longer duplicates results 2020-05-05 16:52:28 +02:00
Sebastian Serth
83ba0a3f4b Allow new line characters in test results 2020-03-22 11:07:50 +01:00
Sebastian Serth
64e6d01b9b Allow multiline Assertion Errors for python 2020-03-21 18:36:48 +01:00
Sebastian Serth
24b9148a42 Always use latest websocket connection for Turtle events 2020-03-07 23:24:33 +01:00
Sebastian Serth
0b9cf0bd45 Hide Turtle Canvas during cleanup 2020-03-07 23:24:06 +01:00
Sebastian Serth
3735d0b6cd Replace vanilla JS redirects with Turbolinks 2020-03-07 11:53:44 +01:00
Sebastian Serth
fe8aac4535 Resize ACE once transition finished 2020-03-07 11:53:44 +01:00
Sebastian Serth
82e560cace Add link to WebSocket test if WebSocket connection failed 2020-03-07 11:53:44 +01:00
Sebastian Serth
207cf1084b Fix duplication of code when navigation back and forth 2020-03-06 15:34:43 +01:00
Sebastian Serth
3839704e77 Prevent autosave on window load 2020-03-05 17:10:48 +01:00
Sebastian Serth
bf6a343e2b Set onError binding to underscore's no-op 2020-03-05 14:53:46 +01:00
Sebastian Serth
427ee3e2e7 Stringify error messages for Sentry 2020-03-05 13:03:47 +01:00
Sebastian Serth
f50e26095a Beautify error messages in JavaScript when scoring submissions 2020-03-05 11:04:03 +01:00
Sebastian Serth
74d99df070 Add JavaScript sentry 2020-03-05 10:30:57 +01:00
Sebastian Serth
99e4aec1cb Render submit button once results are available 2020-03-04 17:58:16 +01:00
Sebastian Serth
ca82e4000a Always render "browser not supported" alert and disable it for supported browsers 2020-03-03 18:13:30 +01:00
MrSerth
a598816925 Merge pull request #487 from openHPI/reenable_rfc_timelimit
Reenable rfc timelimit
2020-02-07 10:50:09 +01:00
Sebastian Serth
f07cad4da5 Disable reset active file for user defined files 2020-02-02 12:36:20 +01:00
Sebastian Serth
75fe6e5b68 Add file name to reset this file action 2020-01-30 19:27:16 +01:00
Sebastian Serth
d0eceac440 Upgrade font-awesome and add option reset only active file 2020-01-29 10:55:15 +01:00
Sebastian Serth
007b31afd0 Re-enable RfC time limit 2020-01-27 14:44:07 +01:00
Sebastian Serth
6fbb5b3b1a Allow direct RfC creation. 2020-01-27 14:43:31 +01:00
Sebastian Serth
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
Sebastian Serth
4f8fedf1bb Add R script adapter 2020-01-13 15:10:00 +01:00
Sebastian Serth
1323619425 Fix CodeOcean event publishing mechanism 2019-12-20 16:16:23 +01:00
Sebastian Serth
fa229a581e Ensure output is shown even if no test command is given 2019-12-16 14:53:17 +01:00
Sebastian Serth
263b167da4 Set Tomorrow theme for Python (via Hack) 2019-12-02 10:13:32 +01:00
Sebastian Serth
d45a68a123 Minor: Fix spelling in comment 2018-12-13 12:57:49 +01:00
Sebastian Serth
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
Sebastian Serth
1833435268 Use CodeOceanEditor.active_file to access file selected in JSFileTree 2018-12-05 13:46:44 +01:00
rteusner
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
Sebastian Serth
64d5a0f9b2 Fix caret to show down (collapsed state) after initial load 2018-11-28 22:54:40 +01:00
Sebastian Serth
212867f300 Fix flowr output to work with Bootstrap 4 2018-11-28 15:22:21 +01:00
Maximilian Grundke
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
Sebastian Serth
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
Sebastian Serth
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
Ralf Teusner
0fbbe97ae4 revert 8acd77d9c4 2018-11-16 10:38:36 +01:00
Ralf Teusner
8acd77d9c4 temporary changes to render pictures again. 2018-11-13 13:07:49 +01:00
Sebastian Serth
cc48361a15 Remove unused scrollbars in /implement 2018-11-06 16:49:44 +01:00
Sebastian Serth
c44478783a Fix bootstrap CSS issues in Safari and Chrome 2018-11-06 16:49:44 +01:00
Sebastian Serth
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
Sebastian Serth
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
rteusner
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
rteusner
17d20e2f5b Merge pull request #219 from jgraichen/fix/dot
Fix missing dot (fixes #218)
2018-10-19 15:32:45 +02:00
Ralf Teusner
574e870bd1 fix reset for user created files (where therefore no original file is available) 2018-10-19 15:27:14 +02:00
Ralf Teusner
730d5541bd allow running, testing and scoring of files in subfolders by using the full filepath 2018-10-19 15:25:05 +02:00
Jan Graichen
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