Sebastian Serth
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
Sebastian Serth
d93e71dc28
Rename v5 FontAwesome icons to match 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/whats-changed#icons-renamed-in-version-6
2022-08-09 14:17:32 +02:00
Sebastian Serth
d4c567c722
Remove @submissions variable for external_user_statistics
2022-07-22 13:19:22 +02:00
Janis4411
66d9a2b22a
added logic to hide the show/hide autosaves feature for users without permission to view detailed_statistics
2022-07-20 17:18:36 +02:00
Janis4411
a83bff80ed
added a button to toggle autosave submissions as well as a label to indicate current toggle status
2022-07-20 17:18:36 +02:00
Sebastian Serth
4ef7da839d
Use TestrunMessages instead of Testrun.output when displaying output
2022-04-29 22:44:35 +02:00
Sebastian Serth
9a0f26a84f
Allow admins and teachers to remove explicit RfC text
2022-04-28 15:31:58 +02:00
Sebastian Serth
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
Sebastian Serth
9d9570b26b
Update intervention locale and add explanation
2022-04-15 14:23:05 +02:00
Sebastian Serth
2f86b18fd6
Fix run and score statistics for internal and external users
2022-01-21 13:13:52 +01:00
Sebastian Serth
ba11adb966
Fix working time statistics for internal and external users
2022-01-20 23:41:32 +01:00
Sebastian Serth
0c1a10959c
Use file name with file path as identifier
2021-12-15 00:52:31 +01:00
Sebastian Serth
46cb5e57f9
Hide FileTemplate for new files if not configured
2021-12-15 00:52:31 +01:00
Sebastian Serth
c438ce4c64
Allow specifying a new path for new files
2021-12-15 00:52:31 +01:00
Sebastian Serth
bd23247975
Handle unavailable Runner management for release info
2021-12-09 19:25:17 +01:00
Sebastian Serth
8535cd9a9c
Add option to sync single execution environment
2021-12-09 16:44:05 +01:00
Sebastian Serth
563e14a44a
Adapt dashboard to show idle and used runners
2021-12-07 00:08:31 +01:00
Sebastian Serth
ca5cbed5de
Use file type for exercise show (highlight.js)
2021-11-28 21:40:06 +01:00
Sebastian Serth
b8bf43eae8
Fix route path for update and delete of comments
2021-11-25 10:07:24 +01:00
Sebastian Serth
da4e10b990
Add CommunitySolution
...
* Also slightly refactor some JS files
2021-11-23 01:38:31 +01:00
Sebastian Serth
9079a0b15a
Implement Tips Intervention
2021-11-23 01:38:10 +01:00
Sebastian Serth
18f05db138
Always show CSRF error message for Ajax
2021-11-23 01:37:50 +01:00
Sebastian Serth
21185ea4b3
Make empty submissions not clickable
2021-11-16 13:32:51 +01:00
Sebastian Serth
571be87879
Fix range slider for external user statistics
2021-11-16 12:02:52 +01:00
Sebastian Serth
f15bbe2c29
Fix links for external user statistics
2021-11-16 11:57:43 +01:00
Sebastian Serth
aa49731e49
Remove submissions without visible files from statistic view
2021-11-16 11:43:23 +01:00
Sebastian Serth
e224e41564
Exercise view: Re-use @execution_environments
2021-11-08 22:39:10 +01:00
Sebastian Serth
eb69697b9a
Fix missing routes incompatible with a subpath
2021-11-03 16:02:21 +01:00
Sebastian Serth
af93603ba3
Use strategy release in admin dashboard
2021-11-01 17:13:08 +01:00
Sebastian Serth
0db6f20933
Move MemoryLimit to Execution Environment
2021-11-01 17:13:06 +01:00
Sebastian Serth
02a2673bf2
Add hint for CPU limit
2021-11-01 17:13:05 +01:00
Sebastian Serth
7e2039ebc2
Fix bug that always showed the default value for CPU limit when editing the limit
2021-11-01 17:13:04 +01:00
Sebastian Serth
06ef4430f5
Change exposed_ports to array
2021-11-01 17:13:02 +01:00
Sebastian Serth
21e0571838
Remove unnecessary post parameter from sync_all view
2021-11-01 17:13:00 +01:00
Sebastian Serth
cc17736bf5
Add CPU limit to Execution Environment index
2021-11-01 17:12:56 +01:00
Sebastian Serth
fd9e243064
Disable DCP if other strategy class is chosen
2021-11-01 17:12:54 +01:00
Sebastian Serth
30603cb7ab
Generalize method and constant names for runner management
2021-11-01 17:12:53 +01:00
Konrad Hanff
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
Konrad Hanff
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
Sebastian Serth
f9a7e73719
Remove usage of safe_html in renderings
2021-10-12 11:23:22 +02:00
Sebastian Serth
4926b33a5f
Introduce new config option for JS-based Sentry
...
* Also update environment_variables.md
2021-07-08 20:15:29 +02:00
Sebastian Serth
237c225732
Add support for running CodeOcean under a subpath
...
* Also refactor (JavaScript) routes
2021-07-06 19:33:55 +02:00
Sebastian Serth
4e8033f5d4
Show CO and DCP versions on admin dashboard
2021-06-25 21:57:17 +02:00
Sebastian Serth
4b8e12e49a
Disable turbolinks when switching the language.
...
This is required as code within the ACE editor would get duplicated if the switch forces a full pageload otherwise.
2021-06-16 14:25:33 +02:00
Sebastian Serth
649bb01249
Refactor h1 and inline button for exercise show
2021-06-08 09:00:25 +02:00
Sebastian Serth
f32661ad78
Rework left sidebar
...
* Move Buttons from left sidebar to JSTree
* Use light style for collapse sidebar buttons
2021-05-28 17:49:59 +02:00
Sebastian Serth
da0a682ffb
Apply manual rubocop fixes
2021-05-14 22:03:06 +02:00
Sebastian Serth
6cbecb5b39
Apply automatic rubocop fixes
2021-05-14 22:03:06 +02:00
Sebastian Serth
78230f0d97
Add message for expired session
2021-04-22 11:32:12 +02:00
Sebastian Serth
9a5514942e
Remove CSRF debug features
2021-04-22 11:31:30 +02:00