Commit Graph

40 Commits

Author SHA1 Message Date
Sebastian Serth
aab3b95a1d Resolve Bootstrap 5.3 deprecations 2023-07-31 11:27:49 +02:00
Sebastian Serth
01f4f0c2cd Remove legacy CodePilot integration 2023-07-28 08:50:00 +02:00
Sebastian Serth
15583ec552 Drop outdated JavaScript code no longer used 2023-05-09 22:10:40 +02:00
Sebastian Serth
240fbc5a3b Add Sentry instrumentation for JavaScript 2023-05-09 22:10:40 +02:00
Sebastian Serth
2f622174fa Handle undefined this.websocket when stopping code
Fixes CODEOCEAN-CJ
2022-09-22 19:24:26 +02:00
Sebastian Serth
dccc60b7ca Remove renderWebsocketOutput and use printWebsocketOutput instead
* The `render` command is not used much
* Originally added with commit 898074be3f
* The `#render` anchor (see findOrCreateRenderElement) was the "Render" button above the editor, nothing was rendered at all if executing code and otherwise it would be included _within_ the button.
2022-09-04 23:12:46 +02:00
Sebastian Serth
60dc8c3b7e Apply line-based coloring for output 2022-09-02 16:56:18 +02:00
Sebastian Serth
ffd7a0351a Improve display of images for code output 2022-08-25 20:13:22 +02:00
Sebastian Serth
ac170e8fd7 Allow images in augmentStacktraceInOutput 2022-06-17 00:04:05 +02:00
Sebastian Serth
19bd742bc9 Show a localized message if the program was killed.
* This will most likely happen by the OOM killer, thus we inform the user about the memory restriction.
2022-04-15 21:29:55 +02:00
Sebastian Serth
df9fb50c7d Re-allow Carriage Return in Output 2022-04-11 19:45:04 +02:00
Sebastian Serth
692cb1107e Remove non-printable characters from console 2022-04-07 18:17:27 +02:00
Sebastian Serth
18daa1c998 Enable image preview in STDOUT 2022-03-02 11:44:48 +01:00
Sebastian Serth
6ff14d6fc7 Connection Buffer: Replace \r in run and score output with \n 2021-11-01 17:13:14 +01:00
Sebastian Serth
3c8017f23e JS: Ensure to print status messages for score
* If only one response is available, no array will be passed (but rather an Object). The impact of this has been tackled with the changes included
2021-11-01 17:13:11 +01:00
Sebastian Serth
ad09230c50 Show UTC info for deadline 2021-03-03 14:25:16 +01:00
Sebastian Serth
41ae6c2880 Update deadline string shown to users 2021-02-09 00:20:05 +01:00
Sebastian Serth
6c5052ed84 Prevent printing empty lines in output 2020-11-24 00:22:56 +01:00
Sebastian Serth
be9cc8790c Check for result before trying to populate score card 2020-11-14 00:26:36 +01:00
Sebastian Serth
3cedcf5736 Check for null and undefined before accessing stderr and stdout 2020-11-14 00:19:39 +01:00
Sebastian Serth
307bc9bd7b Check for output before accessing stderr or stdout 2020-11-13 22:53:56 +01:00
Sebastian Serth
ffcf4dbbce Prevent access to file_role if no valid response was received 2020-11-09 21:20:01 +01:00
Sebastian Serth
7758d39970 Replace JS comparison with safe variant 2020-10-29 13:47:36 +01:00
Sebastian Serth
695b6ff373 Stop code execution before starting score 2020-10-29 12:29:24 +01:00
Sebastian Serth
799e37f9ae Add new style for linter and allow 0 points 2020-10-15 16:22:37 +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
0b9cf0bd45 Hide Turtle Canvas during cleanup 2020-03-07 23:24:06 +01:00
Sebastian Serth
bf6a343e2b Set onError binding to underscore's no-op 2020-03-05 14:53:46 +01:00
Sebastian Serth
99e4aec1cb Render submit button once results are available 2020-03-04 17:58:16 +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
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
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
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
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
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