Sebastian Serth
13b6e50573
Exit Python container based on cmd
2020-10-14 14:34:26 +02:00
Sebastian Serth
278d48ca6c
Docker Output: Convert any object to string if not done automatically
2020-05-05 22:43:25 +02:00
Sebastian Serth
48d06b6dbe
Persist metrics for container usage (execution time and waiting time) to Testrun table
2020-03-26 16:28:56 +01:00
Sebastian Serth
2a7e64490f
Remove logging for invalid JSON from Docker container
2020-03-05 16:30:59 +01:00
Sebastian Serth
74d99df070
Add JavaScript sentry
2020-03-05 10:30:57 +01:00
Sebastian Serth
06b3059655
Ensure to close DB connections within threads
2020-03-04 12:25:09 +01:00
Sebastian Serth
8eddcd44bc
Remove gsub from matcher
2019-12-17 12:20:21 +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
baa0784ede
Add custom_embed_option to disallow downloading submissions
2019-03-29 14:56:14 +01:00
Sebastian Serth
a0b544fb26
Upgrade Ransack #search to #ransack to prevent deprecation warning
2019-03-11 09:59:38 +01:00
Sebastian Serth
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
Sebastian Serth
4a1cd3037c
Fix execution of code via Ajax.
...
Add output message for program runs without any output
2018-12-13 13:55:45 +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
56c59a616e
Completely remove old non-structured errors and migrate existing ones.
2018-11-30 11:27:25 +01:00
Sebastian Serth
efacb5a6a9
Completely remove old hints connected to the execution environment
2018-11-28 01:21:13 +01:00
Sebastian Serth
1131d08e2b
Add user_type
to RemoteEvaluationMappings
2018-11-26 17:56:07 +01:00
Sebastian Serth
9666683bd7
Fix error, submission, hints and help views
2018-11-06 16:46:01 +01:00
Sebastian Serth
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
Maximilian Grundke
e583fe16a4
Disable hints when scoring
2018-03-14 14:29:44 +01:00
Maximilian Grundke
841a885711
Send hints when scoring
2018-03-13 14:52:40 +01:00
Maximilian Grundke
ccdcc43431
Display hints in editor frontend
2018-03-08 16:20:07 +01:00
Maximilian Grundke
a228541dd3
Send hints to the frontend via websocket connection
2018-03-08 15:25:39 +01:00
Maximilian Grundke
83eba22e7b
Add exercise description as txt file to downloaded zip
2018-03-07 11:07:45 +01:00
Ralf Teusner
1004acd1d5
allow numbers to be passed via std.in (numbers are valid json, but crashed when we tried to access them in a hash way. This is now prevented.)
2018-03-01 16:09:29 +01:00
Maximilian Grundke
40fe5c4e69
Save submission alongside structured error
2018-01-30 11:28:29 +01:00
Maximilian Grundke
7768d34275
Fix error detection in run output
2018-01-30 11:08:00 +01:00
Maximilian Grundke
e51865c561
Lint
2018-01-29 16:18:40 +01:00
Maximilian Grundke
32c274d455
Rename attribute and restructure conditions
2017-11-29 10:39:05 +01:00
Ralf Teusner
1369f9285b
The .co file of downloaded submissions has to contain the (original) file_id of the respective files, not the "id".
...
Otherwise, the merge of the files does not work and will result in duplicate files...
2017-11-22 16:20:56 +01:00
Maximilian Grundke
9bebbe9a6c
Merge remote-tracking branch 'origin/master' into error-info
...
# Conflicts:
# app/controllers/concerns/submission_scoring.rb
# app/views/application/_navigation.html.slim
# config/locales/de.yml
# config/locales/en.yml
# db/schema.rb
2017-10-15 17:02:19 +02:00
Ralf Teusner
da4d54859c
save run outputs with cause requestComments with more content (5000 chars instead of 500). Always save full JSON content.
2017-09-21 17:21:13 +02:00
Ralf Teusner
194984a620
add cause to testruns
...
trigger run and assess on request_for_comment
2017-09-21 17:21:10 +02:00
Maximilian Grundke
280b4dbe0c
Fix question mark bug
2017-08-23 15:37:48 +02:00
Maximilian Grundke
4d684a7a05
Extract structured errors on run and submit
2017-07-12 09:52:33 +02:00
Niklas Kiefer
8f81bb728c
change tmp-filename of .co-file
2017-04-25 14:16:29 +02:00
Niklas Kiefer
5949d1208e
Merge branch 'master' into client-routesv2
2017-04-25 13:50:08 +02:00
Niklas Kiefer
4fab791e7f
Update submissions_controller.rb
2017-03-27 15:52:06 +02:00
Ralf Teusner
bdbc372c0c
fixed saving run results. also fixed websocket closing.
2017-03-24 18:47:30 +01:00
Ralf Teusner
0930cba095
changed position of saving the run output, so it catches timeouts as well
2017-03-23 14:12:26 +01:00
Thomas Hille
a142e1c73f
save messages returned from runs
2017-03-22 17:30:20 +01:00
Ralf Teusner
9b8027e4c0
replaced exit-command for containers from 'exit' to '#exit', otherwise it will always really exit the container (which is then in state: exited) if we execute it in bash.
2017-02-14 13:35:21 +01:00
Niklas Kiefer
4d314317ae
parse target url to .co file, update remote scripts
2017-02-03 09:13:59 +01:00
Niklas Kiefer
3562aa9103
create remote evaluation
2017-02-02 18:14:33 +01:00
Ralf Teusner
f2db88f952
Merge branch 'master' into travis-green-docker
...
took all the newer versions. Only thing I deleted is the part #to pass the test "it executes the run command" ...
We need to shortly discuss this yqbk.
Conflicts:
lib/docker_client.rb
2016-11-09 18:25:02 +01:00
Ralf Teusner
ac88956d27
Put blocking score submission call into a thread to keep the puma server responsive
2016-10-12 18:15:16 +02:00
yqbk
1945a47109
apply changes after review
2016-10-11 12:44:16 +02:00
Alexander Kastius
6ff3d36809
Fixed container-ending on exit.
2016-09-09 17:06:30 +02:00
Alexander Kastius
3fd43fdee2
Sending command 'client_kill' on stop button click now.
...
Killing a container only if command client_kill was send.
Moved propmpt to prompt.js
2016-09-09 16:41:20 +02:00
Ralf Teusner
0d550a44af
send exit commands from rails server when score or test have finished - this is needed to reset the buttons in the frontend correctly.
2016-09-01 17:15:44 +02:00
yqbk
4183a16178
merge with master
2016-08-03 12:09:58 +02:00