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
5d49431a79
Add scope to query historical data
2018-04-24 10:58:26 +02:00
6e022528a0
Move methods to model
2018-02-28 13:41:47 +01:00
efc271c4ed
add column full_score_reached, fill it accordingly and show information in the rfc index
2018-01-31 11:23:30 +01:00
4baab7430c
push commenters to RFC model
2017-09-13 07:06:55 +02:00
453d8fcb85
Remove subscribers attribute
2017-09-06 16:19:03 +02:00
5aa9edb209
Add subscription model and link it to RFC
2017-09-06 15:16:47 +02:00
30375a4909
Make comments available to RFC
2017-06-09 14:39:33 +02:00
6e6c9143cd
Some tidy up in request for comments (bugfix: removed leftover parts of requested_at attribute, some UI changes in comment dialog)
...
Redirect to open rfc if an exercise has been solved
2016-08-11 18:13:33 +02:00
39a253997d
use submission from model
2016-07-14 16:59:42 +02:00
8282820974
removed requested_at
...
partly using submission_id
some cleanup
2016-07-14 16:22:22 +02:00
223df2ffa8
some cleanup of request for comments. Work in progress.
...
Noticed a flaw when fetching the last submission, which is caused by timezone differences. First step to solve this.
Existing Request for Comments still need to be updated with their current submissionId, the SQL to do that is not yet finished.
2016-07-04 17:44:22 +02:00
2ff12dbeb6
Cached displaynames of users
...
Added solved state and #comments to index of request_for_comments
Added translations
2016-06-27 16:46:26 +02:00
2a52b66daa
rfc can now be solved.
...
show.html still needs to be finished
2016-06-24 16:44:34 +02:00
c9b2af0fdb
show question instead of execution environement
2016-05-06 17:24:38 +02:00
2998d63d13
Add human readable label
2016-04-27 18:02:37 +02:00
2777b64b0f
cleanup of request for comment view, shifted logic to controller.
2016-01-13 15:26:34 +01:00
57d1c9b129
altered class: to class_name: (class seems to be deprecated?)
2015-10-21 16:44:13 +02:00
d292fec47c
Code Cleanup: Usage of Polymorphic User instead of ExternalUser and InternalUser
...
Renamed requestor_user_id -> user_id
Index of request_for_comments now returns the n (5?) newest requests per user. Solved via sliding windows in postgres, code added to model.
Added route to /my_request_for_comments/ that shows all requests for the current user.
Changed view from ERB to slim
2015-09-04 14:05:30 +02:00
b8ec3edef2
Show requests for comments and begin work on a view for executing them
2015-03-27 18:10:47 +01:00