Commit Graph

387 Commits

Author SHA1 Message Date
Sebastian Serth
eb188dcd71 Add privilegedExecution flag to database and Poseidon Strategy 2022-09-24 22:32:41 +02:00
Sebastian Serth
ac3dc8d30f Allow platform admins and internal users to switch their current study group 2022-09-22 19:24:26 +02:00
Janis Vaneylen
2e3480a068 Display study_groups in the show view of internal and external users 2022-09-22 19:24:26 +02:00
Sebastian Serth
4d2fe22daf Allow assignment of study groups for internal users 2022-09-22 19:24:26 +02:00
Janis Vaneylen
998a12e6bc Adjust filter for platform_admin user search and update views 2022-09-22 19:24:26 +02:00
Sebastian Serth
f5758ecb5e Capitalize app names in locales 2022-09-21 09:56:07 +02:00
Sebastian Serth
d02a1eae81 Validate password strength for internal users 2022-09-14 12:19:25 +02:00
Sebastian Serth
f1aa004284 Use controller method for 404 responses 2022-09-14 01:01:14 +02:00
Karol
dba3aac800 Merge branch 'master' into refactor_proforma_import_export 2022-09-13 22:47:50 +02:00
Sebastian Serth
80419db868 [CSP] Prevent use of unsafe-inline for links
* Also update all <a> tags in locals
2022-09-07 21:42:07 +02:00
Karol
3effdbe600 merge master 2022-08-20 22:20:52 +02:00
Janis4411
146eee673f changed send_thank_you_note and got_new_comment_for_subscription methods to use tokens properly, as well as new test scenarios for both cases 2022-08-05 08:05:07 +02:00
Janis4411
c638df12e7 updated locales/de.yml mail body texts 2022-08-05 08:05:07 +02:00
Sebastian Serth
2141fdb1ac Refactor external_user_statistics to own controller action 2022-07-22 13:19:22 +02:00
Janis4411
f17f987b89 added toggle autosave translation to the config yml files 2022-07-20 17:18:36 +02:00
Sebastian Serth
b364918cb6 Add link to Ralfs diss regarding interventions 2022-06-08 12:58:38 +02:00
Sebastian Serth
aa647bef6a Fix wrong key for English intervention explanation 2022-05-18 00:56:27 -04: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
298761885c Update German intervention locals 2022-04-07 20:05:15 +02:00
Sebastian Serth
a0c80dbc75 Update locales for exercise reset 2022-03-23 20:59:25 +01:00
Karol
c5c47715b3 Merge branch 'master' into refactor_proforma_import_export
# Conflicts:
#	spec/controllers/exercises_controller_spec.rb
2022-01-11 22:20:18 +01:00
Karol
886a5b68f6 update gem
fix codeharbor endpoint usage and translations
2022-01-10 22:34:03 +01:00
Sebastian Serth
9f8dfb645a Fix translation for CodeOcean::File 2021-12-15 00:52:31 +01:00
Sebastian Serth
89bb19bfa0 Fix typo for environment in en.yml 2021-12-13 16:13:52 +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
116511bd6e Update research_status locale for CommunitySolution 2021-11-23 10:02:17 +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
950b03af77 Fix typo in English locale 2021-11-20 12:44:45 +01:00
Sebastian Serth
81745504ea Fix CODEOCEAN-5Z
* add "cannot assign to comparison" to linter translation
2021-11-15 13:46:24 +01:00
Sebastian Serth
de83843496 Combine no_output and exit_status messages 2021-11-01 17:13:13 +01:00
Sebastian Serth
af93603ba3 Use strategy release in admin dashboard 2021-11-01 17:13:08 +01:00
Sebastian Serth
02a2673bf2 Add hint for CPU limit 2021-11-01 17:13:05 +01:00
Sebastian Serth
06ef4430f5 Change exposed_ports to array 2021-11-01 17:13:02 +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
Konrad Hanff
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
Sebastian Serth
f9a7e73719 Remove usage of safe_html in renderings 2021-10-12 11:23:22 +02:00
Sebastian Serth
671c2bd28b Allow changes to internal user when password is void 2021-07-12 13:27:41 +02:00
Sebastian Serth
da0a682ffb Apply manual 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
6e3127dad8 Add missing translation for activating internal users 2021-04-07 14:06:32 +02:00
Tobias Kantusch
40d83dbb1d Fix access to exercise-specific RfC listing 2021-04-07 14:06:32 +02:00
Sebastian Serth
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
Sebastian Serth
41ae6c2880 Update deadline string shown to users 2021-02-09 00:20:05 +01:00
Sebastian Serth
d791f99dee Add Rails Admin to de.yml 2021-01-20 22:40:56 +01:00
Sebastian Serth
3acc9f769f Capitalize RfC button on implement 2021-01-12 16:55:16 +01:00