405 Commits

Author SHA1 Message Date
de83843496 Combine no_output and exit_status messages 2021-11-01 17:13:13 +01:00
af93603ba3 Use strategy release in admin dashboard 2021-11-01 17:13:08 +01:00
02a2673bf2 Add hint for CPU limit 2021-11-01 17:13:05 +01:00
06ef4430f5 Change exposed_ports to array 2021-11-01 17:13:02 +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
347e4728a0 Rework protocol inside websocket
Co-authored-by Felix Auringer <felix.auringer@student.hpi.uni-potsdam.de>
2021-11-01 17:12:44 +01:00
f9a7e73719 Remove usage of safe_html in renderings 2021-10-12 11:23:22 +02:00
671c2bd28b Allow changes to internal user when password is void 2021-07-12 13:27:41 +02:00
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
78230f0d97 Add message for expired session 2021-04-22 11:32:12 +02:00
6e3127dad8 Add missing translation for activating internal users 2021-04-07 14:06:32 +02:00
40d83dbb1d Fix access to exercise-specific RfC listing 2021-04-07 14:06:32 +02:00
293bcccc80 Introduce new enabled option for CodeHarbor
* Fix tests to ensure they work independent of config option
2021-02-16 14:29:54 +01:00
41ae6c2880 Update deadline string shown to users 2021-02-09 00:20:05 +01:00
d791f99dee Add Rails Admin to de.yml 2021-01-20 22:40:56 +01:00
3acc9f769f Capitalize RfC button on implement 2021-01-12 16:55:16 +01:00
9fba70cde2 Always show file upload box when editing exercises 2020-12-16 18:00:47 +01:00
028fc2989a #18 Add sql index for unpublished exercises
And remove spec for remove feature
2020-12-15 12:17:11 +01:00
2d3573d5ea PyLint: Add message about leading zeros 2020-11-30 18:28:58 +01:00
8e9c0ad1c3 Add newest messages 2020-11-27 16:27:18 +01:00
3d763a540a rails_admin Translation fixes 2020-11-27 14:59:52 +01:00
f98de3b66b Add Rails admin 2020-11-26 17:11:18 +01:00
cd577a53c5 Add "unexpected unindent" to PyLint messages 2020-11-19 00:59:10 +01:00
aa5d76e1b6 Fix typo in Linter translation 2020-11-17 23:19:14 +01:00
2f15a322ae Update confirm question for exercise and file reset 2020-11-16 01:50:43 +01:00
20bddf6f00 Update locales for start_over to reduce misconception
Some learners thought that "reset all files" will delete everything they ever did in a course.
2020-11-16 01:48:17 +01:00
afe0fc2255 Add support for syntax error with inconsistent tabs and spaces 2020-11-14 00:19:39 +01:00
5fe1590b39 Add filter for unknown PyLint messages 2020-11-13 22:52:56 +01:00
c9e5d60dfb Add missing translation if sign in failed 2020-11-13 13:01:11 +01:00
84c291626f Make note "not graded" optional for linters 2020-11-09 21:19:24 +01:00
69db6f98cf Update Linter translation 2020-11-09 21:18:50 +01:00
c24d382151 Improve wording of linter based on feedback 2020-11-08 21:40:03 +01:00
5fdfb12e62 Add German translations for PyLint adapter with basic spec 2020-11-08 01:04:39 +01:00
da064efef7 Merge pull request #771 from openHPI/add_handling_missing_file_type_on_import
Add handling for missing file type on import
2020-11-02 19:44:51 +01:00
f872cf73ee Review points, specs 2020-11-02 17:09:31 +01:00
4e61d53cb3 typos and cleanup 2020-11-01 11:18:06 +01:00
65a4274c7e Update translations for LTI score reduction 2020-10-29 09:45:59 +01:00
1b5d1d3dca Reduce score sent via LTI if too late 2020-10-28 11:58:40 +01:00
ca9467bf3c Merge branch 'linter_toggle'
# Conflicts:
#	config/locales/de.yml
2020-10-15 18:33:19 +02:00
dbd76e9316 Adjust default message for linter / unit test 2020-10-15 18:11:28 +02:00
799e37f9ae Add new style for linter and allow 0 points 2020-10-15 16:22:37 +02:00
be3ec82bd4 Add new file role teacher_defined_linter 2020-10-15 00:43:57 +02:00
2678d9ecdf Add admin UI to assign tips to exercises 2020-10-14 14:34:27 +02:00
8f8a4f3cca Show tips when implementing an exercise 2020-10-14 14:34:26 +02:00
2e1c97d87d Add database support and model for tips 2020-10-14 14:34:25 +02:00
85a05225ec Rename hints in German translation for consistency with upcoming tips 2020-10-14 14:34:25 +02:00
afafe0c218 Adjust teacher permissions:
* Hide non-public exercises and proxy exercises
* Hide average working time value on statistic page
* Add hint about filter to submission page for teachers
* Hide display name from feedback page
2020-09-07 19:04:34 +02:00
be82ee48f5 Improve German translations for deadline 2020-05-20 12:34:18 +02:00