20 Commits

Author SHA1 Message Date
dab8f777b3 Extract Contributor concern as abstract class
During documentation of the pair programming feature, we noticed that the Contributor should be an abstract class, which is parent for the User and the ProgrammingGroup. With this commit, we perform these changes.
2024-04-02 16:56:49 +02:00
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
0234414bae Rename user to contributor in submission 2023-08-24 19:32:06 +02:00
cdb6c0d64b Fix Rubocop offense 2022-06-07 14:34:00 +02:00
ea85519163 Update bundle (with newest rubocop version) and fix offenses 2022-01-04 09:42:37 +01: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
141450a840 Migrate User to abstract class 2018-12-12 11:45:11 +01:00
1bed13d941 Remove useless .keep files 2018-11-06 16:49:41 +01:00
a3c5fa9261 Display tag statistics for external users on their profile 2018-07-03 12:42:58 +02:00
59bbb3edeb set the default to_s of user to displayname 2017-04-03 11:45:39 +02:00
25087232dd added relative knowledge loss function 2017-03-21 10:31:32 +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
57d1c9b129 altered class: to class_name: (class seems to be deprecated?) 2015-10-21 16:44:13 +02:00
48f1b97aea extracted method 2015-03-12 11:07:29 +01:00
0673d44820 minor change 2015-03-11 09:39:01 +01:00
466f8967e2 eliminated naming clash with Sorcery 2015-02-23 10:39:04 +01:00
a13d1738e2 fixed multiple style guide violations 2015-02-17 10:23:01 +01:00
0bb5dae334 changed literal array syntax, as suggested by RuboCop 2015-02-16 11:33:03 +01:00
4cbf9970b1 transferred Code Ocean from original repository to GitHub 2015-01-22 10:01:32 +01:00