Commit Graph

1568 Commits

Author SHA1 Message Date
Ralf Teusner
44f70ea3da save run outputs with cause requestComments with more content (5000 chars instead of 500). Always save full JSON content. 2017-09-20 13:10:37 +02:00
Ralf Teusner
ae1e465d1f add cause to testruns
trigger run and assess on request_for_comment
2017-09-20 13:05:18 +02:00
Ralf Teusner
8f372bab04 added total_entries attribute to fix pagination on more complicated query. Don't know why this is necessary. Fix was found by MGrundke 2017-09-15 14:52:35 +02:00
Ralf Teusner
9ce29d211b Cleanup of Intervention and Bonus Exercise Experiments 2017-09-14 16:53:59 +02:00
Maximilian Grundke
374f21592d Don't send mail to original author if they subscribe to their own RFC 2017-09-13 14:41:09 +02:00
Maximilian Grundke
85928361cb Add unsubscribe link to emails and cleanup user mailer 2017-09-13 14:37:10 +02:00
Maximilian Grundke
b1f790dcde Implement subscribe and unsubscribe 2017-09-13 14:22:46 +02:00
Maximilian Grundke
995c22ba8a Fix json response status codes 2017-09-13 14:22:00 +02:00
Ralf Teusner
d5121cab07 add cause to testruns
trigger run and assess on request_for_comment
2017-09-13 13:28:31 +02:00
Maximilian Grundke
cea2781417 Implement unsubscribe route to delete subscriptions 2017-09-13 11:57:34 +02:00
Maximilian Grundke
0e8df9d738 Fix typo 2017-09-13 09:57:31 +02:00
Maximilian Grundke
217239e076 Rollback schema changes from different branch 2017-09-13 09:56:33 +02:00
Maximilian Grundke
a2b7cf6dda Add user mailer template 2017-09-13 08:28:38 +02:00
Maximilian Grundke
ead4f290b3 Fix typo 2017-09-13 08:28:27 +02:00
Maximilian Grundke
3f40a6f29c Remove whitespace 2017-09-13 08:28:13 +02:00
Maximilian Grundke
6bf7aee948 Fix create parameter naming 2017-09-13 08:22:37 +02:00
Maximilian Grundke
b69bb9866f Add controller logic for subscription#create 2017-09-13 07:56:02 +02:00
Maximilian Grundke
0557255d74 Fix attribute name 2017-09-13 07:55:33 +02:00
Maximilian Grundke
2d1830edec Add subscription policy 2017-09-13 07:55:15 +02:00
Maximilian Grundke
954917d5a0 Add routes for subscriptions 2017-09-13 07:55:00 +02:00
Maximilian Grundke
bb6c266b13 Rename subscription#type to subscription_type to avoid rails stumbling over polymorphism 2017-09-13 07:54:43 +02:00
Maximilian Grundke
811fc72e1e Add mailer for subscriptions 2017-09-13 07:07:06 +02:00
Maximilian Grundke
4baab7430c push commenters to RFC model 2017-09-13 07:06:55 +02:00
Maximilian Grundke
453d8fcb85 Remove subscribers attribute 2017-09-06 16:19:03 +02:00
Maximilian Grundke
f77c7410e1 Add subscription controller 2017-09-06 16:18:44 +02:00
Maximilian Grundke
5aa9edb209 Add subscription model and link it to RFC 2017-09-06 15:16:47 +02:00
Maximilian Grundke
f628774995 Add checkbox to subscribe to author's comments 2017-09-06 14:25:18 +02:00
Maximilian Grundke
cc5da9ccfc Only most recent comments in preview if there are more than three comments on one line 2017-09-06 13:33:54 +02:00
Ralf Teusner
78f8dc4eb3 rake task to write displaynames coming from a csv file to the database 2017-09-06 13:13:44 +02:00
Maximilian Grundke
b3cf7affa6 Add line number to modal title 2017-09-06 13:08:39 +02:00
Ralf Teusner
482fdbca27 fixed flash messages with Maximilian 2017-09-06 10:43:21 +02:00
Maximilian Grundke
b0bff8c573 Merge remote-tracking branch 'origin/master' into rework-comment-modal 2017-09-06 09:35:25 +02:00
Maximilian Grundke
2869c0d7b8 Allow modal content to grow 2017-09-05 16:39:40 +02:00
Maximilian Grundke
cded685f50 Make modal resizable 2017-09-05 16:04:50 +02:00
Maximilian Grundke
7bb77e5829 Make modal draggable 2017-09-05 15:57:42 +02:00
Maximilian Grundke
8ce46d2cb8 Add a custom jquery-ui library for minimal mouse interaction support 2017-09-05 15:48:19 +02:00
Maximilian Grundke
178ec5c10d Refactor comment template 2017-08-31 17:42:38 +02:00
Maximilian Grundke
00e727a325 Actually update comments in the backend 2017-08-31 17:42:20 +02:00
Maximilian Grundke
17fb22b9df Add basic edit button functionality 2017-08-31 17:06:40 +02:00
rteusner
0f65508951 Merge pull request #109 from openHPI/use_names_from_lti
restrict name to be set to lis_person_name_full (should be display na…
2017-08-28 16:25:26 +02:00
Maximilian Grundke
9d7c751bbc Fix small inconsistency 2017-08-25 18:53:48 +02:00
Maximilian Grundke
889987f3ad Refactor styling 2017-08-25 18:46:04 +02:00
Maximilian Grundke
bb79852e42 Do not delete comment containers; replace them with success message. This also fixes a visual bug when deleting the last comment 2017-08-25 18:33:39 +02:00
Maximilian Grundke
73ec4d0902 Remove old delete all button 2017-08-25 18:31:47 +02:00
Maximilian Grundke
3dd4cb440b Allow to delete single comments via UI 2017-08-25 18:15:55 +02:00
Maximilian Grundke
6aaa0f3bca Remove code to delete all comments on one line and restore default delete route for comments 2017-08-25 18:15:02 +02:00
Maximilian Grundke
771793f32e Show edit and delete buttons for comments that can be edited by the user 2017-08-24 11:48:26 +02:00
Maximilian Grundke
b64809c4b9 Return if comment can be edited by the current user 2017-08-24 11:47:50 +02:00
Maximilian Grundke
9ed5b7cbb1 Cleanup UI 2017-08-24 11:08:09 +02:00
Maximilian Grundke
a8d801d3a7 Show html formatted comments in modal 2017-08-23 18:38:24 +02:00