f10bcb96a6
Replace Ace Editor with ToastUi editor in the ExecutionEnvironments form
...
Drop unused code related to the Ace markdown editor.
2024-04-26 13:31:49 +02:00
9a9efd5caa
Lint Slim files and fix offenses
...
The fixing was partially done manually and partially automatically.
2024-04-18 08:31:24 +02:00
aeb2bb2542
Hide button to sync execution environments from unauthorized users
2023-11-20 22:25:28 +01:00
319c3ab3b4
Add ProgrammingGroup & ProgrammingGroupMembership
...
* User can create programming group with other users for exercise
* Submission is shared in a group
* Also adjust specs
2023-08-24 19:32:06 +02:00
0234414bae
Rename user to contributor in submission
2023-08-24 19:32:06 +02:00
944b455194
Introduce Dark Mode
...
This commit mainly changes the color definitions. Mostly, those changes are semantically equally, but there are a few changes that occurred to align the color scheme within the app.
2023-07-31 11:48:42 +02:00
aab3b95a1d
Resolve Bootstrap 5.3 deprecations
2023-07-31 11:27:49 +02:00
a99da79550
Disable sorttable on tables without rows
...
Otherwise, the first element of the table body is being fetched which might result in an error for empty tables.
Fixes CODEOCEAN-JZ
2023-03-14 18:27:38 +01:00
99372464aa
Lock "sudo" switch for shell with root environments
2023-02-11 00:44:47 +01:00
58548555a5
Shell: Add file system browser to retrieve arbitrary files
2022-10-29 18:49:18 +02:00
f53c6cb3ee
Shell: Add toggle to execute command as root
2022-10-04 16:06:58 +02:00
eb188dcd71
Add privilegedExecution flag to database and Poseidon Strategy
2022-09-24 22:32:41 +02:00
8a055a0d68
Update Bootstrap from v4 to v5
2022-08-12 11:45:32 +02:00
b98c37ae64
Rename v4 FontAwesome icons to match v5/v6 name
...
While FontAwesome provides aliases for all icons, we switch to the new names for consistency. See all changes at:
https://fontawesome.com/docs/web/setup/upgrade/upgrade-from-v4#icons-renamed-since-version-4
2022-08-09 14:17:32 +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
8535cd9a9c
Add option to sync single execution environment
2021-12-09 16:44:05 +01:00
0db6f20933
Move MemoryLimit to Execution Environment
2021-11-01 17:13:06 +01:00
02a2673bf2
Add hint for CPU limit
2021-11-01 17:13:05 +01:00
7e2039ebc2
Fix bug that always showed the default value for CPU limit when editing the limit
2021-11-01 17:13:04 +01:00
06ef4430f5
Change exposed_ports to array
2021-11-01 17:13:02 +01:00
21e0571838
Remove unnecessary post parameter from sync_all view
2021-11-01 17:13:00 +01:00
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