Changes between Version 28 and Version 29 of PrivateCommentPlugin
- Timestamp:
- Dec 28, 2016, 8:24:36 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PrivateCommentPlugin
v28 v29 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = Private Comments3 = Add Private Comments 4 4 5 5 == Description … … 9 9 The label is configurable. 10 10 11 How to add a private comment: 12 13 [[Image(add_a_comment.png, border=2)]] 14 15 How a user with the permission sees the comment: 16 17 [[Image(view_comment_w_permission.png, border=2)]] 18 19 How a user without the permission sees the comment: 20 21 [[Image(view_comment_wo_permission.png, border=2)]] 22 11 23 === Configuration Help 12 24 13 After installation of this plugin you will be prompted to update your trac environment.25 After installation of this plugin you will be prompted to update your Trac environment. 14 26 15 Then you are able to set the name of the permission (default is `PRIVATE_COMMENT_PERMISSION`) in the admin-interface or in the `trac.ini` file.27 Then you are able to set the name of the permission in the admin-interface or in the `trac.ini` file. The default value is `PRIVATE_COMMENT_PERMISSION`. 16 28 17 29 You have to give this permission to all groups and users who should see the private comments. 18 30 19 If you want to change the color of the " this comment is private"- messageyou can do this by adding a CSS-class named "private_comment_marker" to your CSS stylesheets.31 If you want to change the color of the "This comment is private" message, you can do this by adding a CSS-class named "private_comment_marker" to your CSS stylesheets. 20 32 21 The label of the checkbox is modifiable via the css-class "private_comment_checkbox".33 The label of the checkbox is modifiable via the CSS-class "private_comment_checkbox". 22 34 23 35 == Bugs/Feature Requests … … 25 37 === Old Comments 26 38 27 Old comments can't be set private, because they do not have an entry in the private_comment table. I created a script which creates the necessary entries in the private_comment table. Just place the script cpce.py into your trac context and run it.39 Old comments can't be set private, because they do not have an entry in the private_comment table. I created a script which creates the necessary entries in the private_comment table. Just place the script cpce.py into your Trac context and run it. 28 40 29 41 === Email notification 30 42 31 Email notif cations are not filtered and, as far as I know, can't be filtered via a plugin.43 Email notifications are not filtered and, as far as I know, can't be filtered via a plugin. 32 44 To filter the notifications I made some minor core changes. If a comment is private the text 'the ticket is processed internally' will be set as comment text. 33 45 … … 56 68 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 57 69 58 == Example59 60 How to add a private comment:61 62 [[Image(add_a_comment.png)]]63 64 How a user with the permission sees the comment:65 66 [[Image(view_comment_w_permission.png)]]67 68 How a user without the permission sees the comment:69 70 [[Image(view_comment_wo_permission.png)]]71 72 70 == Recent Changes 73 71