25 Commits

Author SHA1 Message Date
f8330b39fb Replace manual activerecord translations with helpers 2024-05-21 19:42:26 +02:00
9a9efd5caa Lint Slim files and fix offenses
The fixing was partially done manually and partially automatically.
2024-04-18 08:31:24 +02:00
df666b4389 Fix missing whitespace for exercise feedback page 2022-12-05 18:21:44 +01:00
f17718f69f CSP: Extract JavaScript from layout to assets
Fixes CODEOCEAN-CP
2022-11-16 19:47:58 +01:00
a2bb2844b4 Add a Content Security Policy 2022-09-06 11:20:57 +02:00
b3f9a1ec90 Allow line breaks in feedback texts 2022-08-25 00:31:32 +02:00
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
8a055a0d68 Update Bootstrap from v4 to v5 2022-08-12 11:45:32 +02:00
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
ba11adb966 Fix working time statistics for internal and external users 2022-01-20 23:41:32 +01:00
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
75b0767677 Fix feedback page 2020-05-12 18:36:37 +02:00
af75ed9e91 Translate feedback to text meaning 2019-11-29 15:51:05 +01:00
9dfe6b4529 Add score and working time to feedback page 2019-11-29 15:01:04 +01:00
1a26d67c82 Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/views/application/_breadcrumbs.html.slim
#	app/views/application/welcome.html.slim
#	app/views/exercise_collections/show.html.slim
#	app/views/external_users/index.html.slim
#	app/views/layouts/application.html.slim
#	app/views/proxy_exercises/index.html.slim
#	app/views/user_exercise_feedbacks/index.html.slim
#	app/views/user_mailer/send_thank_you_note.slim
2018-12-14 00:53:06 +01:00
88081bb541 Replace usage of name in favor of displayname 2018-12-13 14:27:55 +01:00
2125fb1c1d Ensure views only link to those actions allowed for current user 2018-12-12 14:09:19 +01:00
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
064a7b8690 Show icon and tooltip for user feedback that was generated through the anomaly detection cycle 2018-08-03 13:21:05 +02:00
34b2bf9eb1 Fix styling and link to exercise 2017-11-22 13:22:10 +01:00
23a804a6eb Link to user statistics from feedback 2017-11-20 15:05:25 +01:00
a9439a4df5 Message for no feedback 2017-11-20 15:01:34 +01:00
762a8233ab Link to exercise and show exercise description 2017-11-20 14:48:13 +01:00
2dcaf9d155 Show feedback creation date alongside username 2017-11-20 14:45:42 +01:00
c5c42ca3bc Show list of feedback messages for specific exercises 2017-11-08 22:31:01 +01:00