Commit Graph

379 Commits

Author SHA1 Message Date
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
Sebastian Serth
1ec345d47d Fix deadline information on exercise statistics 2020-05-12 17:51:06 +02:00
Sebastian Serth
26b9edabb4 Add deadline information to submission page and some minor bugfixes 2020-05-08 15:07:02 +02:00
Sebastian Serth
413ec9f956 Show up to three submissions for teachers and add overview to table 2020-05-08 11:36:27 +02:00
Sebastian Serth
914eeb6035 Add submission deadline to exercises and allow teachers to view their submissions 2020-05-07 21:23:27 +02:00
Sebastian Serth
4c571c4fb2 Add missing locales and fix access to public pages 2020-05-06 11:27:09 +02:00
Sebastian Serth
854d1dd032 Improve form filter style 2020-05-05 16:52:29 +02:00
Sebastian Serth
dec557da55 Readd collapse for editing an exercise 2020-05-05 16:52:29 +02:00
Sebastian Serth
d07b4f436e Add more actions to show exercise 2020-05-05 16:52:28 +02:00
Sebastian Serth
3756e4b6dd Fix specs by using global variable current_user 2020-05-04 18:13:16 +02:00