Commit Graph

29 Commits

Author SHA1 Message Date
6cbecb5b39 Apply automatic rubocop fixes 2021-05-14 22:03:06 +02:00
c74f2bd4ba Fix response format handling when creating a comment 2019-02-05 12:11:32 +01:00
2125fb1c1d Ensure views only link to those actions allowed for current user 2018-12-12 14:09:19 +01:00
c323205036 Only send one email per user when subscription gets a new comment 2017-09-20 17:23:49 +02:00
be5b1df76a Make subscriptions insert-only 2017-09-20 17:14:55 +02:00
374f21592d Don't send mail to original author if they subscribe to their own RFC 2017-09-13 14:41:09 +02:00
85928361cb Add unsubscribe link to emails and cleanup user mailer 2017-09-13 14:37:10 +02:00
3f40a6f29c Remove whitespace 2017-09-13 08:28:13 +02:00
0557255d74 Fix attribute name 2017-09-13 07:55:33 +02:00
811fc72e1e Add mailer for subscriptions 2017-09-13 07:07:06 +02:00
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
b64809c4b9 Return if comment can be edited by the current user 2017-08-24 11:47:50 +02:00
f30b60657f Get more comment information from the server 2017-08-17 13:56:28 +02:00
ed485f32e6 change mail sending 2017-03-30 19:02:09 +02:00
ec26a095f6 First working version of mails on comments. 2016-06-17 14:48:57 +02:00
87d4eb8b0d Let everyone see all comments and polish request for comments overview 2016-05-10 18:17:02 +02:00
af077d10c4 forgot to replace the name with the displayname... 2016-05-01 12:13:19 +02:00
8ef615ffaa Correctly authorize comment deletion 2016-04-27 17:16:23 +02:00
57b773698b Fix comment policy 2016-04-26 17:42:53 +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
dc0b3a2294 cleanup of passed parameters, user_id and user_type are extracted from current user and not used from the passed POST values.. 2015-08-19 15:35:25 +02:00
e520914385 Some correction of column names.
Support for internal as well as external users. Added column user_type and used it where necessary
2015-08-18 17:44:31 +02:00
512e90ebd7 Show correct usernames on comments, have correct linenumbers on request_for_comments 2015-08-18 16:32:56 +02:00
6229b5de8d re-activate copying of comments, and also show comments of original file author in show method 2015-06-24 20:21:02 +02:00
ea027656b7 Nicer fetch of empty relations 2015-04-28 14:20:21 +02:00
0447b076c6 set user_type correct for comments 2015-04-27 17:59:28 +02:00
2cd474ceb0 Avoid error if no submission is present (on first load of editor) 2015-04-21 10:52:22 +02:00
172ca91329 bugfixes, policies, errors now have a link to the submissions 2015-04-10 20:23:38 +02:00
e31675f136 Commit just for you, Ralf :) 2015-03-27 10:32:10 +01:00