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
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
a0c80dbc75
Update locales for exercise reset
2022-03-23 20:59:25 +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
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
3acc9f769f
Capitalize RfC button on implement
2021-01-12 16:55:16 +01:00
Sebastian Serth
9fba70cde2
Always show file upload box when editing exercises
2020-12-16 18:00:47 +01:00
Maximilian Pass
028fc2989a
#18 Add sql index for unpublished exercises
...
And remove spec for remove feature
2020-12-15 12:17:11 +01:00
Karol
3d763a540a
rails_admin Translation fixes
2020-11-27 14:59:52 +01:00
Karol
f98de3b66b
Add Rails admin
2020-11-26 17:11:18 +01:00
Sebastian Serth
2f15a322ae
Update confirm question for exercise and file reset
2020-11-16 01:50:43 +01:00
Sebastian Serth
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
Sebastian Serth
c9e5d60dfb
Add missing translation if sign in failed
2020-11-13 13:01:11 +01:00
Sebastian Serth
84c291626f
Make note "not graded" optional for linters
2020-11-09 21:19:24 +01:00
Sebastian Serth
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
Karol
f872cf73ee
Review points, specs
2020-11-02 17:09:31 +01:00
Karol
4e61d53cb3
typos and cleanup
2020-11-01 11:18:06 +01:00
Sebastian Serth
65a4274c7e
Update translations for LTI score reduction
2020-10-29 09:45:59 +01:00
Sebastian Serth
1b5d1d3dca
Reduce score sent via LTI if too late
2020-10-28 11:58:40 +01:00
Sebastian Serth
ca9467bf3c
Merge branch 'linter_toggle'
...
# Conflicts:
# config/locales/de.yml
2020-10-15 18:33:19 +02:00
Sebastian Serth
dbd76e9316
Adjust default message for linter / unit test
2020-10-15 18:11:28 +02:00
Sebastian Serth
799e37f9ae
Add new style for linter and allow 0 points
2020-10-15 16:22:37 +02:00
Sebastian Serth
be3ec82bd4
Add new file role teacher_defined_linter
2020-10-15 00:43:57 +02:00