235bf771fe
Always use user object instead of ID and Type
2023-08-26 00:39:47 +02:00
2679f5fa56
Allow random selection for ProxyExercise
2023-01-20 21:02:20 +01:00
c75f52f2c8
Fix Rubocop offenses
2022-10-24 12:28:50 +02:00
b67daedfc9
Remove dead code from ProxyExercise
2022-09-04 00:05:38 +02:00
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
0a6ae91db8
Introduce per_page parameter for custom page size
2022-01-12 20:46:54 +01:00
ea85519163
Update bundle (with newest rubocop version) and fix offenses
2022-01-04 09:42:37 +01:00
5243808d54
Apply automatic rubocop fixes
2021-05-17 19:40:38 +02:00
6cbecb5b39
Apply automatic rubocop fixes
2021-05-14 22:03:06 +02:00
a0b544fb26
Upgrade Ransack #search to #ransack to prevent deprecation warning
2019-03-11 09:59:38 +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
d3f67ab4c7
Rethink permissions in CodeOcean for usage in schools and adopt views
2018-12-12 14:09:19 +01:00
59257d17f2
Add user (ID and type) to proxy exercise
...
This is required for the existing policies to work
2018-12-06 00:31:45 +01:00
de52db89f0
Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
...
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de >
2018-11-06 16:46:00 +01:00
0db11884bc
Extended Exercises by worktime, difficulty and tags, added ProxyExercises as prework for recommendations
...
Tags can be added to exercises in the edit view. Tags can monitored under /tags.
Added the concept of ProxyExercises which are a collection of Exercises. They can be found under /proxy_exercises
Added Interventions as prework to show interventions later to the user.
Added exercise/[:id]/working_time to return the working time of the user in this exercise and the average working time of all users in this exercise
2017-03-21 10:31:32 +01:00