218 Commits

Author SHA1 Message Date
1546f70818 Begin to refactor websocket handling and implement test
Co-authored-by: Felix Auringer <felix.auringer@student.hpi.uni-potsdam.de>
2021-11-01 17:12:43 +01:00
3cf70a33d8 Integrate new API with websocket (run only)
Co-authored-by: Felix Auringer <felix.auringer@student.hpi.uni-potsdam.de>
2021-11-01 17:12:43 +01:00
2e2cd1855e Add Container abstration with new API calls and adapt running a submission
Co-authored-by: Felix Auringer <felix.auringer@student.hpi.uni-potsdam.de>
2021-11-01 17:12:43 +01:00
3840b45f8a Revert "Revert "Use switch_locale instead of I18n.with_locale directly""
This reverts commit 2c08e270e7.

Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de>
2021-08-05 23:17:06 +02:00
2c08e270e7 Revert "Use switch_locale instead of I18n.with_locale directly"
This reverts commit 125c342f35.
2021-08-05 11:55:54 +02:00
125c342f35 Use switch_locale instead of I18n.with_locale directly 2021-07-26 12:01:25 +02:00
448b5e4a7a Use current_locale for "not_graded" hint 2021-07-22 10:23:57 +02:00
d7eb562389 Prevent underscores from being removed during command substitution 2021-07-07 20:42:59 +02:00
9696fcb06f Remove unnecessary require for zip download 2021-07-06 09:27:44 +02:00
e7cf4ef5db Apply automatic rubocop fixes 2021-06-25 14:41:49 +02:00
5243808d54 Apply automatic rubocop fixes 2021-05-17 19:40:38 +02:00
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
4958f5b9a9 Add StudyGroup to RemoteEvaluationMapping 2021-04-30 12:06:12 +02:00
1e5a9b0825 Remove unused SubmissionsController#stop action 2021-04-07 17:45:38 +02:00
ef50b9b859 Turtle: Catch more parts for buffering 2021-03-15 19:53:29 +01:00
b10e23dd16 Upgrade to newest Sentry 2021-03-04 14:02:16 +01:00
de0c1e60c6 Less strict filter for workspace output 2021-02-02 11:28:35 +01:00
6216786e3e Forward exit message even if part of multiple lines 2021-01-20 22:16:57 +01:00
862e274739 Allow binary files to be downloaded 2021-01-11 15:19:37 +01:00
8c04ecdfd1 Print no_output message also for Python container 2020-11-24 00:46:39 +01:00
1df4685f38 Enable buffering for Turtle Commands in WebSocket output 2020-11-24 00:21:39 +01:00
839e6e0936 Prevent displaying of bash errors in output 2020-11-23 23:36:34 +01:00
c2a816968e Show no run output for Python execenv 2020-11-08 14:53:50 +01:00
10bbc68829 Save file ref for code runs in testrun 2020-10-28 14:07:09 +01:00
6ed0185038 Refactor handling of new lines for Docker 2020-10-16 19:07:26 +02:00
fcd393b9d5 Prevent parsing error for empty client commands 2020-10-14 14:34:26 +02:00
13b6e50573 Exit Python container based on cmd 2020-10-14 14:34:26 +02:00
278d48ca6c Docker Output: Convert any object to string if not done automatically 2020-05-05 22:43:25 +02:00
48d06b6dbe Persist metrics for container usage (execution time and waiting time) to Testrun table 2020-03-26 16:28:56 +01:00
2a7e64490f Remove logging for invalid JSON from Docker container 2020-03-05 16:30:59 +01:00
74d99df070 Add JavaScript sentry 2020-03-05 10:30:57 +01:00
06b3059655 Ensure to close DB connections within threads 2020-03-04 12:25:09 +01:00
8eddcd44bc Remove gsub from matcher 2019-12-17 12:20:21 +01:00
fa229a581e Ensure output is shown even if no test command is given 2019-12-16 14:53:17 +01:00
baa0784ede Add custom_embed_option to disallow downloading submissions 2019-03-29 14:56:14 +01:00
a0b544fb26 Upgrade Ransack #search to #ransack to prevent deprecation warning 2019-03-11 09:59:38 +01:00
d63700c7db Add live dashboard for teachers in the context of an exercise
This commit also adds the fundamentals for ActionCable
2019-03-06 14:00:59 +01:00
4a1cd3037c Fix execution of code via Ajax.
Add output message for program runs without any output
2018-12-13 13:55:45 +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
56c59a616e Completely remove old non-structured errors and migrate existing ones. 2018-11-30 11:27:25 +01:00
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
1131d08e2b Add user_type to RemoteEvaluationMappings 2018-11-26 17:56:07 +01:00
9666683bd7 Fix error, submission, hints and help views 2018-11-06 16:46:01 +01:00
de52db89f0 Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
e583fe16a4 Disable hints when scoring 2018-03-14 14:29:44 +01: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
a228541dd3 Send hints to the frontend via websocket connection 2018-03-08 15:25:39 +01:00
83eba22e7b Add exercise description as txt file to downloaded zip 2018-03-07 11:07:45 +01:00