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
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
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
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
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
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
f9a7e73719
Remove usage of safe_html in renderings
2021-10-12 11:23:22 +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
Tobias Kantusch
40d83dbb1d
Fix access to exercise-specific RfC listing
2021-04-07 14:06:32 +02:00
Sebastian Serth
36ac8b63cb
Use regular file as default for new exercise file roles
2021-03-17 14:33:40 +01:00
Sebastian Serth
6900d4ef2c
Add collapse_exercise_description LTI parameter
2021-01-29 13:54:47 +01:00
Sebastian Serth
aed9a3121f
Hide filename if not available
2021-01-20 23:12:04 +01:00
Sebastian Serth
2c99c2db62
Show filename and sort by it for statistic page
2021-01-19 12:37:05 +01:00
Sebastian Serth
4ea3cb29d3
Fix download for binary files
2021-01-11 15:10:41 +01:00
Sebastian Serth
9fba70cde2
Always show file upload box when editing exercises
2020-12-16 18:00:47 +01:00
Sebastian Serth
c32e7586cd
Remove consumer_id from session
...
* Each external (and also internal) user has a consumer attached. We don't need that information twice.
2020-11-25 21:19:18 +01:00
Sebastian Serth
a9008d2a26
Improve numbering format for tips
2020-10-25 17:24:25 +01:00
Sebastian Serth
c2feaca046
Update styling for Tips to make them less annoying
2020-10-20 13:50:29 +02:00
Sebastian Serth
ca9467bf3c
Merge branch 'linter_toggle'
...
# Conflicts:
# config/locales/de.yml
2020-10-15 18:33:19 +02:00
Sebastian Serth
a49c01645b
Move tips to left sidebar and set width = 25%
2020-10-15 17:40:48 +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
Sebastian Serth
2678d9ecdf
Add admin UI to assign tips to exercises
2020-10-14 14:34:27 +02:00
Sebastian Serth
8f8a4f3cca
Show tips when implementing an exercise
2020-10-14 14:34:26 +02:00
Sebastian Serth
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
Sebastian Serth
a77a5ff76d
Fix deadline bug for admins and teachers
2020-05-20 12:34:18 +02:00
Sebastian Serth
75b0767677
Fix feedback page
2020-05-12 18:36:37 +02:00