244 Commits

Author SHA1 Message Date
c228850ae8 Update find method 2022-08-20 00:37:48 +02:00
145c4aa8d5 Refactor various ruby files
* Insights based on brakeman report
2022-08-18 15:25:04 +02:00
01f6b0d16e Reduce skip_before_action usage 2022-08-17 00:54:20 +02:00
cc4003baf7 Fix rubocop offenses 2022-08-12 23:52:23 +02:00
cc7a1d7fb5 Always show autosaves if otherwise no submission would be available 2022-08-12 17:44:41 +02:00
d4c567c722 Remove @submissions variable for external_user_statistics 2022-07-22 13:19:22 +02:00
2141fdb1ac Refactor external_user_statistics to own controller action 2022-07-22 13:19:22 +02:00
0f84e46272 added logic to the statistics method to be able to toggle autosave submissions depending on the show_autosaves param 2022-07-20 17:18:36 +02:00
0a3b4a8129 Fix Rubocop offense 2022-06-15 17:39:20 +02:00
2ce9c4258a Remove New Relic 2022-04-29 22:53:36 +02:00
2f86b18fd6 Fix run and score statistics for internal and external users 2022-01-21 13:13:52 +01:00
11c3a888c2 Fix rubocop offenses 2022-01-19 08:57:07 +01:00
21009c7eaa Fix exercise statistics when external users share the same ID as internal users 2022-01-13 16:02:25 +01:00
0a6ae91db8 Introduce per_page parameter for custom page size 2022-01-12 20:46:54 +01:00
c5c47715b3 Merge branch 'master' into refactor_proforma_import_export
# Conflicts:
#	spec/controllers/exercises_controller_spec.rb
2022-01-11 22:20:18 +01:00
3260d8f82f tiny refactor from exercise_found to task_found 2022-01-11 22:17:09 +01:00
886a5b68f6 update gem
fix codeharbor endpoint usage and translations
2022-01-10 22:34:03 +01:00
ea85519163 Update bundle (with newest rubocop version) and fix offenses 2022-01-04 09:42:37 +01:00
0c1a10959c Use file name with file path as identifier 2021-12-15 00:52:31 +01:00
d559cfb323 Extract Redirect Behavior to own module 2021-11-23 01:38:31 +01:00
9058ce00db Add A/B/n test for interventions 2021-11-23 01:38:10 +01:00
991fdef8bc Handle depleted containers for submit 2021-11-14 22:45:12 +01:00
f577fed03c Fix nil for @execution_environments 2021-11-09 19:25:00 +01:00
d7e515f1c6 Fix rubocop offense 2021-11-02 10:46:48 +01:00
620dac935a Fix bug that prevented binary file uploads 2021-11-02 10:31:50 +01:00
cf58be97ee Fix 17 previously failing specs 2021-11-01 17:12:49 +01:00
9374334bef Fix memoization for exercise_params 2021-10-08 19:30:55 +02:00
ccf2f1f5fd Memoize @exercise_params 2021-10-08 19:30:54 +02:00
e7cf4ef5db Apply automatic rubocop fixes 2021-06-25 14:41:49 +02:00
5243808d54 Apply automatic rubocop fixes 2021-05-17 19:40:38 +02:00
a6c6b07a91 Detect encoding of uploaded files and convert to UTF-8. Finally. 2021-05-17 19:33:32 +02:00
da0a682ffb Apply manual rubocop fixes 2021-05-14 22:03:06 +02:00
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
2b32829e60 Upgrade DatabaseCleaner strategy 2021-05-12 16:47:05 +02:00
40d83dbb1d Fix access to exercise-specific RfC listing 2021-04-07 14:06:32 +02:00
110b009480 Remove A/B test from Python20 course setup 2021-03-08 23:15:58 +01:00
b10e23dd16 Upgrade to newest Sentry 2021-03-04 14:02:16 +01:00
c5b4510b23 Use count to get number of study groups 2021-01-11 14:38:19 +01:00
1d0b4e327a Convert file upload to UTF-8 and delete NULL byte 2020-12-16 18:43:04 +01:00
bbea20172a Prevent 500 if internal teacher without study group accesses exercise statistics 2020-12-14 13:17:12 +01:00
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
4e61d53cb3 typos and cleanup 2020-11-01 11:18:06 +01:00
1b5d1d3dca Reduce score sent via LTI if too late 2020-10-28 11:58:40 +01:00
66110fd57b Fix A/B test for tips 2020-10-26 09:54:53 +01:00
fda120559c Prepare Python20 Course Experiments 2020-10-25 13:29:26 +01:00
ad467fa58f Distinguish between intermediate and final feedback
* Also add more information to user_exercise_feedback
* Migrate existing feedback to enrich with submissions
2020-10-20 13:50:04 +02:00
92be9d56ee Fix spec for empty exercise_params 2020-10-16 19:52:16 +02:00
92ab5cc0a7 Fix exercise creation 2020-10-16 19:18:55 +02:00
4e720295d8 Fix existing specs for Exercise 2020-10-14 14:34:27 +02:00
2d8a18169e Always increase rank for tips correctly 2020-10-14 14:34:27 +02:00