On the user auditlog pages (e.g. /nf/admin/users?username= as set up by [#7524]), add the ability for the admin users to enter comments as new audit log entries. Automatically include the username of the user entering the comment. Maybe something like "Comment by {c.user.username}: {comment}"
Closed #627.
je/42cc_7593I would make the
byparam oncomment_userrequired (or move the method out of a model). I think we should be trying to minimize and removec.user(and app and project) usage in our models.Line breaks in the textarea don't end up rendering as such. Maybe the audit log display should convert linebreaks to
<br>? Or maybe even go so far as rendering through our markdown pipeline? (I don't think that is too important but would be nice if it has no adverse affects)Closed #636. Force-pushed
je/42cc_7593I changed markdown rendering to nl2br, see commit e0ab435c03caea0b9498b7f0b961e56509b70733 for details.