Sebastian Serth
0e387ffda2
Add association for Comments and RequestForComments
...
For the submission and comments, I mainly decided to use a `has_one` association. Based on the database schema, multiple request for comments could be allowed (i.e., for each file or submission), but this won't happen practically (since we always create new submissions and files). Hence, the `has_one` association is representing our relationship better.
2023-09-25 18:17:52 +02:00
kiragrammel
319c3ab3b4
Add ProgrammingGroup & ProgrammingGroupMembership
...
* User can create programming group with other users for exercise
* Submission is shared in a group
* Also adjust specs
2023-08-24 19:32:06 +02:00
kiragrammel
0234414bae
Rename user to contributor in submission
2023-08-24 19:32:06 +02:00
Sebastian Serth
574e99eddd
Fix rubocop offenses - Requires Ruby 3.1+
2022-11-25 11:10:06 +01:00
Sebastian Serth
c75f52f2c8
Fix Rubocop offenses
2022-10-24 12:28:50 +02:00
Sebastian Serth
35dd745a29
Use final submission for exercise feedback
...
* Also, check for required permission
2022-08-24 23:56:34 +02:00
Sebastian Serth
c228850ae8
Update find method
2022-08-20 00:37:48 +02:00
Sebastian Serth
145c4aa8d5
Refactor various ruby files
...
* Insights based on brakeman report
2022-08-18 15:25:04 +02:00
Sebastian Serth
ea85519163
Update bundle (with newest rubocop version) and fix offenses
2022-01-04 09:42:37 +01:00
Sebastian Serth
5243808d54
Apply automatic rubocop fixes
2021-05-17 19:40:38 +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
276423fd30
Replace deprecated update_attributes
2021-05-12 22:54:06 +02:00
Sebastian Serth
b10e23dd16
Upgrade to newest Sentry
2021-03-04 14:02:16 +01:00
Sebastian Serth
4284645bfa
Refactor user_exercise_feedbacks_controller
2020-10-28 20:02:01 +01:00
Sebastian Serth
9bd15bbbea
Add params to UEF create for Sentry
2020-10-28 16:05:41 +01:00
Sebastian Serth
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
Sebastian Serth
9ddeb91c41
Remove leftovers from PR #117 ; exercise feedback on RfC show
2020-10-20 12:15:45 +02:00
Sebastian Serth
71cd9e3488
Remove user_exercise_feedback index and show routes / views
2018-12-19 01:43:37 +01:00
Ralf Teusner
9507bdb329
cleanup duplicate code
2018-11-15 17:15:57 +01:00
Ralf Teusner
23bb698f74
Fix retrieval of user_exercise_feedback and exercise
2018-11-15 16:54:30 +01: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
3fe7a2b0c1
Adapt new route to accept simple exercise_id parameter
2018-02-26 19:33:02 +01:00
Maximilian Grundke
d162f78b67
Add filters to index page
2017-10-16 11:45:23 +02:00
Maximilian Grundke
12b9365e6e
Implement show action
2017-10-15 18:55:33 +02:00
Maximilian Grundke
d353dbaf5b
Implement index action. Repair destroy
2017-10-15 18:23:58 +02:00
Thomas Hille
60e587b690
removed comment on exercise in the RFC view. redirect 10% of user instead of redirecting to the RFC view to the feedback view. redirect all users how submitted to the feedback view if score is less than 100%
2017-04-12 11:47:39 +02:00
Thomas Hille
3cf123c61e
added working time estimation into user feedback
2017-04-12 10:57:44 +02:00
Thomas Hille
8ca944558c
improved texts of feedback, added ok button
2017-04-12 10:13:23 +02:00
Thomas Hille
e4d28452bf
save progress
2017-04-11 16:29:29 +02:00
Thomas Hille
73c3b902a3
save progress. added user feedback view and stuff
2017-04-11 15:00:35 +02:00