Commit Graph

667 Commits

Author SHA1 Message Date
0a3b4a8129 Fix Rubocop offense 2022-06-15 17:39:20 +02:00
ee8e76af07 Remote Submit: Add remark to check submission deadline 2022-06-08 16:49:43 +02:00
ea728f54ec Fix remote evaluations URL when using subdirectory for CO 2022-05-14 19:01:54 -04:00
e4384d7ddd Merge pull request #1242 from openHPI/refactor_testrun_table
Refactor testrun table
2022-05-04 00:25:08 +02:00
2ce9c4258a Remove New Relic 2022-04-29 22:53:36 +02:00
ea02dff0e5 Extend storage of Testrun Messages and truncate long output 2022-04-29 22:44:34 +02:00
5ecba6ef70 Persist TestrunMessages and store timestamp
So far, the Testrun messages are in addition to the Tesstrun.output column
2022-04-29 01:00:51 +02:00
9a0f26a84f Allow admins and teachers to remove explicit RfC text 2022-04-28 15:31:58 +02:00
e9efb5bc2b Add exit_code and status to Testruns, create model for TestrunMessages
* This is the first step to migrate the `output` column from Testruns to a dedicated table TestrunMessages
2022-04-28 15:18:51 +02:00
5191e70462 Fix SQL for FlowrController 2022-04-20 19:12:44 +02:00
492c7e9133 Fix CookieOverflow when adding a new user 2022-04-20 18:57:26 +02:00
e7d35af418 Resolve Pundit deprecation warning 2022-04-20 18:28:44 +02:00
4d0c65d2a2 Use Ruby syntax instead of SQL snippets for Testrun queries 2022-04-20 18:00:13 +02:00
83e09f33ec Merge pull request #1237 from openHPI/aws_experiment
Prepare AWS Experiment
2022-04-18 21:18:29 +02:00
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
d10735d0a8 Persist Execution Environment when running code 2022-04-15 15:22:19 +02:00
0583076c2b Fix Thread leakage when scoring or testing submissions
It is discouraged to do anything directly within the
Tubesock hijack block. We might only use the callbacks
(onopen, onmessage, onclose, onerror). Otherwise,
Tubesock might not close all Threads correctly and
will keep them awake every five seconds.
2022-04-07 19:57:31 +02:00
ccdba79cbf Extract locales in accordance with Rails/I18nLocaleTexts 2022-03-21 09:04:01 +01:00
61d3bffe1a Keep LTI parameters after submitting through the web interface 2022-03-16 13:46:47 +01:00
2f86b18fd6 Fix run and score statistics for internal and external users 2022-01-21 13:13:52 +01:00
11c3a888c2 Fix rubocop offenses 2022-01-19 08:57:07 +01:00
21009c7eaa Fix exercise statistics when external users share the same ID as internal users 2022-01-13 16:02:25 +01:00
0a6ae91db8 Introduce per_page parameter for custom page size 2022-01-12 20:46:54 +01:00
ea85519163 Update bundle (with newest rubocop version) and fix offenses 2022-01-04 09:42:37 +01:00
0c1a10959c Use file name with file path as identifier 2021-12-15 00:52:31 +01:00
8535cd9a9c Add option to sync single execution environment 2021-12-09 16:44:05 +01:00
3f9425277f Improve documentation of PingController 2021-12-06 17:38:49 +01:00
313397b35d Store sentry events for sync_all_to_runner_management 2021-11-26 00:02:18 +01:00
e314be1ed0 Fix access to first community solution 2021-11-24 09:21:23 +01:00
e5a4a1d48d Fix access to CommunitySolution 2021-11-24 09:20:25 +01:00
da4e10b990 Add CommunitySolution
* Also slightly refactor some JS files
2021-11-23 01:38:31 +01:00
d559cfb323 Extract Redirect Behavior to own module 2021-11-23 01:38:31 +01:00
9058ce00db Add A/B/n test for interventions 2021-11-23 01:38:10 +01:00
695c3de40e Ensure users are signed in before creating a submission 2021-11-14 23:07:44 +01:00
991fdef8bc Handle depleted containers for submit 2021-11-14 22:45:12 +01:00
f577fed03c Fix nil for @execution_environments 2021-11-09 19:25:00 +01:00
79e8caea45 Remove outdated execution environments after syncing all 2021-11-04 20:09:20 +01:00
c1ac401a49 Add retries to working_docker_image?
* Also synchronize images during save
2021-11-04 20:09:19 +01:00
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
38e1f5b486 Show error details of available_images 2021-11-04 20:06:40 +01:00
d033f71ae3 Catch Runner::Error in RemoteEvaluationController 2021-11-04 18:43:16 +01:00
d7e515f1c6 Fix rubocop offense 2021-11-02 10:46:48 +01:00
620dac935a Fix bug that prevented binary file uploads 2021-11-02 10:31:50 +01:00
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
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
447860892a Always remove exposed_ports_list if present 2021-11-01 17:13:13 +01:00
de83843496 Combine no_output and exit_status messages 2021-11-01 17:13:13 +01:00
1609bd2e0e Change default of raise_exception for execute_command 2021-11-01 17:13:11 +01:00
288c7693f7 Remove dump_docker method for admins 2021-11-01 17:13:08 +01:00
2b98905acb Remove usage of DockerClient from execution_environments_controller.rb 2021-11-01 17:13:07 +01:00