Sebastian Serth
9d1be1eeff
Migrate AnomalyNotification to contributor
...
* Also, this commit aims to fix the (broken) anomaly notifications.
2023-08-24 19:32:06 +02:00
Sebastian Serth
977fa4539e
Check polymorphic type in validations
...
* Previously, some models had "duplicated" `belongs_to` associations, which were now removed (and replaced by the `include Creation`).
2023-08-24 19:32:06 +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
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
Sebastian Serth
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
Maximilian Grundke
b5c3ce2113
Delete related exercise collection items when deleting exercises or collections
2018-08-22 13:47:27 +02:00
Maximilian Grundke
11dc48dc96
Fix creating exercise collections with exercises
2018-08-22 13:41:23 +02:00
Maximilian Grundke
6a1dbe4853
Add exercise title to statistics tooltip
2018-07-20 13:28:03 +02:00
Maximilian Grundke
d80e3ecd3b
Sort exercise collection items by position in statistics view
2018-07-20 10:36:10 +02:00
Maximilian Grundke
089bf578d3
Sort exercise collection items by position
2018-07-03 15:32:37 +02:00
Maximilian Grundke
b68b3bc2b0
Add position attribute to relation between exercise collection and exercises
2018-07-03 15:23:00 +02:00
Maximilian Grundke
28a3fa3a86
Fix statistics for empty collections and exercises without submissions
2018-03-21 15:35:59 +01:00
Maximilian Grundke
d55b39eb48
Visualize exercise working times in exercise collection statstics
2018-03-19 18:17:34 +01:00
Maximilian Grundke
f1f1594e5b
Move method to model
2018-03-19 15:01:50 +01:00
Maximilian Grundke
339a89107f
Add user to exercise_collection
2017-12-10 18:35:49 +01:00
Maximilian Grundke
06e99059d4
Add new lines at eof
2017-10-04 12:53:09 +02:00
Maximilian Grundke
f0c0621b31
Implement show route
2017-09-27 16:52:42 +02:00
Thomas Hille
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