Commit Graph

818 Commits

Author SHA1 Message Date
Sebastian Serth
f53c6cb3ee Shell: Add toggle to execute command as root 2022-10-04 16:06:58 +02:00
Sebastian Serth
0b374491ac Link to protected_upload_path in file render 2022-09-28 11:06:15 +02:00
Sebastian Serth
eb188dcd71 Add privilegedExecution flag to database and Poseidon Strategy 2022-09-24 22:32:41 +02:00
Sebastian Serth
16c00ec136 Add support for signed URLs used by the render_file function 2022-09-23 21:35:22 +02:00
Sebastian Serth
0e7c38657f Allow teachers to access internal users and manage them in their study groups 2022-09-22 19:24:26 +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
664110f8f1 Show all study groups per consumer 2022-09-22 19:24:26 +02:00
Sebastian Serth
3869785ddd User: Allow removing the consumer filter 2022-09-22 19:24:26 +02:00
Sebastian Serth
9e08f3a6a8 Enable Subresource Integrity 2022-09-06 11:21:37 +02:00
Sebastian Serth
a2bb2844b4 Add a Content Security Policy 2022-09-06 11:20:57 +02:00
Sebastian Serth
1581d658ea Simplify user search for external teachers 2022-09-04 19:03:15 +02:00
Sebastian Serth
b67daedfc9 Remove dead code from ProxyExercise 2022-09-04 00:05:38 +02:00
Sebastian Serth
60dc8c3b7e Apply line-based coloring for output 2022-09-02 16:56:18 +02:00
Sebastian Serth
b3f9a1ec90 Allow line breaks in feedback texts 2022-08-25 00:31:32 +02:00
Sebastian Serth
6dcccd324b Show feedback without rendering Markdown
* We do not instruct learners how to write Markdown, this might yield to an unexpected rendering
2022-08-25 00:23:08 +02:00
Sebastian Serth
166aa3cc6f Remove Ransack from Exercise edit for tags
* Also improve Ransack usage of attributes and associations
2022-08-20 01:33:00 +02:00
Sebastian Serth
3248bd74d1 Fix authorization for communitySolutionsIndex 2022-08-18 16:28:10 +02:00
Sebastian Serth
145c4aa8d5 Refactor various ruby files
* Insights based on brakeman report
2022-08-18 15:25:04 +02:00
Sebastian Serth
0e96bc79c4 Conditionally show file tree 2022-08-16 23:27:39 +02:00
Sebastian Serth
f38052d235 Allow fa-spin to spin, actually
When using `display: inline;`, many browsers won't rotate the icon.
2022-08-12 18:01:47 +02:00
Sebastian Serth
4d569475c9 Fix access to external_user_statistics
Amends #1304
https://github.com/openHPI/codeocean/pull/1304
2022-08-12 17:33:45 +02:00
Sebastian Serth
e7dd6ac596 Fix layout for ExternalUser search after Bootstrap update 2022-08-12 17:25:10 +02:00
Sebastian Serth
e7f409c1df Align dropdown menu for filters to the left hand side 2022-08-12 14:39:46 +02:00
Sebastian Serth
8a055a0d68 Update Bootstrap from v4 to v5 2022-08-12 11:45:32 +02:00
Sebastian Serth
d223abfb5e Update from webpacker v5 to shakapacker v6.0.0.rc13
Using a two-step process is recommended:
332e25186a/docs/v6_upgrade.md
2022-08-12 10:22:55 +02:00
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