Commit Graph

34 Commits

Author SHA1 Message Date
cc17736bf5 Add CPU limit to Execution Environment index 2021-11-01 17:12:56 +01:00
30603cb7ab Generalize method and constant names for runner management 2021-11-01 17:12:53 +01:00
598de3bcff Add button to synchronize all execution environments
This adds a button to the execution environment index page that, when
clicked, causes all execution environments to be synchronized to the
runner management (Poseidon) by creating or replacing them.

CodeOcean does not synchronize it's execution environments on startup or
when a new runner management configuration is used for the first time.
The administrator has to manually start this process by pressing this
button.

The equivalent for syncing just one execution environment is updating
it.
2021-11-01 17:12:49 +01:00
90fac7b94c Copy execution environment to Poseidon on create and update
When creating or updating an execution environment, an API call to
Poseidon is made with the necessary information to create the
corresponding Nomad job.

If runner management is configured, his will display a warning
(currently in the same color as if it were a success) in the UI, if the
API call fails. The environment is saved even if it fails.
If runner management is not configured, this warning will not be created.
2021-11-01 17:12:48 +01:00
6e6e7f4765 Update app/views/execution_environments/statistics.html.slim 2018-12-18 16:29:30 +01:00
1a26d67c82 Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/views/application/_breadcrumbs.html.slim
#	app/views/application/welcome.html.slim
#	app/views/exercise_collections/show.html.slim
#	app/views/external_users/index.html.slim
#	app/views/layouts/application.html.slim
#	app/views/proxy_exercises/index.html.slim
#	app/views/user_exercise_feedbacks/index.html.slim
#	app/views/user_mailer/send_thank_you_note.slim
2018-12-14 00:53:06 +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
2125fb1c1d Ensure views only link to those actions allowed for current user 2018-12-12 14:09:19 +01:00
7a63a9c1c1 Hide navigation elements in the UI based on policies 2018-12-12 14:09:19 +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
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
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
55cf067799 Round statistics values 2016-01-20 14:43:59 +01:00
5b8f710196 added standard deviations 2016-01-11 19:00:53 +01:00
e8cb23849a Make tables sortable 2016-01-07 17:45:00 +01:00
a508d47e3e Retrieve user statistics in an execution environment for all exercises at once 2016-01-07 15:42:53 +01:00
f195607ba1 Fix execution environment statistics view 2016-01-07 13:55:28 +01:00
943e3c6c3a reworked execution_environment statistics 2016-01-07 13:19:02 +01:00
76e91ec2cf Add number of users and relative scores to execution environment statistics 2016-01-06 16:59:51 +01:00
4eba0aecd4 Link to exercise statistics from execution environment statistics 2015-12-15 16:11:58 +01:00
41b2c80b39 Merge remote-tracking branch 'origin/master' into statistics 2015-11-19 16:01:53 +01:00
04e51caf7e Show Poolsize on ExecutionEnvironments Index Page 2015-11-17 16:18:29 +01:00
d4031c363f Fix number of runs 2015-11-05 10:57:07 +01:00
c41818e324 Push statistics features to model 2015-10-29 15:08:02 +01:00
78422647fe Add execution environment statistics 2015-10-29 14:19:31 +01:00
9be0e12990 extended execution environments index 2015-03-17 17:14:46 +01:00
15d8984a9e added the ability to prohibit network access for code submissions executed using Docker 2015-03-17 17:14:25 +01:00
b1218e0b80 added the ability to limit memory consumption of code submissions executed using Docker 2015-03-17 15:51:59 +01:00
612d226588 improvements for togglable form inputs 2015-03-12 17:57:15 +01:00
acf03b1f51 added pagination for all resources 2015-03-11 16:13:45 +01:00
3ae749bfc5 extended execution environments by a default file type that is used as the default for associated exercises' files 2015-03-10 18:14:26 +01:00
5f0815b140 implemented pooling for Docker containers 2015-02-06 15:59:51 +01:00
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00