Karol
3260d8f82f
tiny refactor from exercise_found to task_found
2022-01-11 22:17:09 +01:00
Karol
886a5b68f6
update gem
...
fix codeharbor endpoint usage and translations
2022-01-10 22:34:03 +01:00
Sebastian Serth
ea85519163
Update bundle (with newest rubocop version) and fix offenses
2022-01-04 09:42:37 +01:00
Sebastian Serth
0c1a10959c
Use file name with file path as identifier
2021-12-15 00:52:31 +01:00
Sebastian Serth
8535cd9a9c
Add option to sync single execution environment
2021-12-09 16:44:05 +01:00
Sebastian Serth
3f9425277f
Improve documentation of PingController
2021-12-06 17:38:49 +01:00
Sebastian Serth
313397b35d
Store sentry events for sync_all_to_runner_management
2021-11-26 00:02:18 +01:00
Sebastian Serth
e314be1ed0
Fix access to first community solution
2021-11-24 09:21:23 +01:00
Sebastian Serth
e5a4a1d48d
Fix access to CommunitySolution
2021-11-24 09:20:25 +01:00
Sebastian Serth
da4e10b990
Add CommunitySolution
...
* Also slightly refactor some JS files
2021-11-23 01:38:31 +01:00
Sebastian Serth
d559cfb323
Extract Redirect Behavior to own module
2021-11-23 01:38:31 +01:00
Sebastian Serth
9058ce00db
Add A/B/n test for interventions
2021-11-23 01:38:10 +01:00
Sebastian Serth
695c3de40e
Ensure users are signed in before creating a submission
2021-11-14 23:07:44 +01:00
Sebastian Serth
991fdef8bc
Handle depleted containers for submit
2021-11-14 22:45:12 +01:00
Sebastian Serth
f577fed03c
Fix nil for @execution_environments
2021-11-09 19:25:00 +01:00
Sebastian Serth
79e8caea45
Remove outdated execution environments after syncing all
2021-11-04 20:09:20 +01:00
Sebastian Serth
c1ac401a49
Add retries to working_docker_image?
...
* Also synchronize images during save
2021-11-04 20:09:19 +01:00
Sebastian Serth
ecf470bddd
Refactor sync_environment methods
...
* Add delete_environment method
* Change return value to allow raising an exception
2021-11-04 20:06:40 +01:00
Sebastian Serth
38e1f5b486
Show error details of available_images
2021-11-04 20:06:40 +01:00
Sebastian Serth
d033f71ae3
Catch Runner::Error in RemoteEvaluationController
2021-11-04 18:43:16 +01:00
Sebastian Serth
d7e515f1c6
Fix rubocop offense
2021-11-02 10:46:48 +01:00
Sebastian Serth
620dac935a
Fix bug that prevented binary file uploads
2021-11-02 10:31:50 +01:00
Sebastian Serth
c3642b5d0c
Add an empty line before printing exit message
...
* The empty line is only added if the output is not empty
2021-11-01 17:52:44 +01:00
Sebastian Serth
1e7cf1c622
Prevent parallel execution of run and test during RfC creation
...
* Otherwise, the output of both might be mixed and saved incorrectly for the RfC
2021-11-01 17:13:14 +01:00
Sebastian Serth
447860892a
Always remove exposed_ports_list
if present
2021-11-01 17:13:13 +01:00
Sebastian Serth
de83843496
Combine no_output and exit_status messages
2021-11-01 17:13:13 +01:00
Sebastian Serth
1609bd2e0e
Change default of raise_exception for execute_command
2021-11-01 17:13:11 +01:00
Sebastian Serth
288c7693f7
Remove dump_docker method for admins
2021-11-01 17:13:08 +01:00
Sebastian Serth
2b98905acb
Remove usage of DockerClient from execution_environments_controller.rb
2021-11-01 17:13:07 +01:00
Sebastian Serth
d87e23b9a3
Add execute_command
method to runner.rb
...
* This is now used by the score and test runs
* This also re-enables the interactive shell for execution environments
2021-11-01 17:13:05 +01:00
Sebastian Serth
06ef4430f5
Change exposed_ports to array
2021-11-01 17:13:02 +01:00
Sebastian Serth
7285978ea3
Re-add test method for SubmissionsController
2021-11-01 17:13:01 +01:00
Sebastian Serth
56a1d78793
Use correct embed_option to disable_score
2021-11-01 17:13:01 +01:00
Sebastian Serth
2377f8370c
Clarify set_file and set_files in SubmissionsController
2021-11-01 17:13:00 +01:00
Sebastian Serth
345860c779
Adapt output buffering to Poseidon and DCP
...
* Refactor flushing of messages
* Introduce two separate buffers for stdout and stderr
2021-11-01 17:13:00 +01:00
Sebastian Serth
7e7b7ebdfa
Allow flushing the WebSocket connection
...
* This will prevent the current thread from crashing when a single newline character is received.
2021-11-01 17:12:59 +01:00
Sebastian Serth
f4c806fe43
Forward JSON from runner to client if possible
2021-11-01 17:12:59 +01:00
Sebastian Serth
3240ea7076
Forward input as raw_event to runner
...
* Also, rename #send to #send_data in order to prevent debugging issues in RubyMine
2021-11-01 17:12:58 +01:00
Sebastian Serth
f896d041f8
Restructure submissions_controller and remove outdated copy_comments method
2021-11-01 17:12:58 +01:00
Sebastian Serth
1403fc03c4
Remove outdated lines from #download method
2021-11-01 17:12:57 +01:00
Sebastian Serth
601e1fab5c
Remove all occurrences of server-sent events
2021-11-01 17:12:57 +01:00
Sebastian Serth
4ad898ad8b
Remove set_docker_client method from submissions_controller.rb
2021-11-01 17:12:54 +01:00
Felix Auringer
1bf92d8c90
Fix sentry error capturing in submissions controller
2021-11-01 17:12:53 +01:00
Sebastian Serth
30603cb7ab
Generalize method and constant names for runner management
2021-11-01 17:12:53 +01:00
Felix Auringer
c7369366d5
Ensure that only one EventMachine is running
2021-11-01 17:12:52 +01:00
Felix Auringer
5cc180d0e9
Fix rubocop, I18n, cleanup rebase
2021-11-01 17:12:52 +01:00
Felix Auringer
2dff81a510
Attach duration information to the exception object
2021-11-01 17:12:52 +01:00
Felix Auringer
36578a2817
Ensure to save Testrun even when an error occurs
2021-11-01 17:12:52 +01:00
Felix Auringer
d1a5773e60
Add debug log statements to runner connection
2021-11-01 17:12:51 +01:00
Felix Auringer
704407b9fc
Add strategy for DockerContainerPool
...
In order to provide an alternative to Poseidon, a strategy for the
DockerContainerPool is added that is used by the runner model.
Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de >
2021-11-01 17:12:51 +01:00