Changes between Version 1 and Version 2 of CannedResponsesPlugin


Ignore:
Timestamp:
Apr 27, 2009, 4:19:41 AM (15 years ago)
Author:
John Bailey
Comment:

Change a few things up a bit since I'm not exactly fitting the mold of other hacks.

Legend:

Unmodified
Added
Removed
Modified
  • CannedResponsesPlugin

    v1 v2  
    33== Description ==
    44
    5 The CannedResponsesPlugin allows a trac administrator to specify a list of "Canned Responses" for those with the appropriate permissions to use in responding to tickets.
     5The CannedResponsesPlugin allows a trac administrator to specify a list of "Canned Responses" for those with the appropriate permissions to use in responding to tickets.
    66
    7 Each canned response can change the status of a ticket, as well as modify the resolution, and add a comment.  Each response can also be restricted to users with specific permissions.  For example, you may wish to have a response that only users with `TICKET_ADMIN` permissions can use and another which anyone with `TICKET_MODIFY` or greater permissions can use.
     7Each canned response can change the status of a ticket, as well as modify the resolution and add a comment.  Each response can also be restricted to users with specific permissions.  For example, you may wish to have a response that only users with `TICKET_ADMIN` permissions can use and another which anyone with `TICKET_MODIFY` or greater permissions can use.
    88
    99Canned responses will appear as an option in the Action box at the bottom of a ticket for those with the permissions to use any of the available canned responses.
    1010
    11 This plugin was originally written by Daniel Atallah.  John Bailey later modified it to add the ability to change ticket resolutions.  It is maintained in a mercurial repository at http://hg.guifications.org/extras/ under the trac directory.
    12 
    1311== Bugs/Feature Requests ==
    1412
    15 Existing bugs and feature requests for CannedResponsesPlugin are
    16 [report:9?COMPONENT=CannedResponsesPlugin here].
     13Existing bugs and feature requests for CannedResponsesPlugin are [report:9?COMPONENT=CannedResponsesPlugin here].
    1714
    18 If you have any issues, create a
    19 [http://trac-hacks.org/newticket?component=CannedResponsesPlugin&owner=rekkanoryo new ticket].
    20 
    21 == Download ==
    22 
    23 Download the zipped source from [download:cannedresponsesplugin here].
     15If you have any issues, create a [/newticket?component=CannedResponsesPlugin&owner=rekkanoryo new ticket].
    2416
    2517== Source ==
    2618
    27 You can check out CannedResponsesPlugin from [http://trac-hacks.org/svn/cannedresponsesplugin here] using Subversion, or [source:cannedresponsesplugin browse the source] with Trac.
     19You can check out the source of the CannedResponsesPlugin from [http://hg.guifications.org/extras/ here] using Mercurial, as well as browse it at the same place.
    2820
    2921== Example ==
     
    3830{{{
    3931[canned-responses]
    40 tpp = new,pending -> closed
     32tpp = new,pending -> closed
    4133tpp.comment = This issue is caused by a third party plugin.  We have no control over these plugins.  Please report this problem to the authors of this third party plugin.
    4234tpp.resolution = invalid
     
    4436tpp.permissions = TICKET_MODIFY
    4537}}}
    46 The above example creates a canned response that sets a ticket to the closed status, sets the resolution to invalid, and adds the comment "This issue is caused by a third party plugin.  We have no control over these plugins.  Please report this problem to the authors of this third party plugin."  The canned response is available to any user with at least TICKET_MODIFY permissions, including TICKET_ADMIN and TRAC_ADMIN.
     38The above example creates a canned response that sets a ticket to the closed status, sets the resolution to invalid, and adds the comment "This issue is caused by a third party plugin.  We have no control over these plugins.  Please report this problem to the authors of this third party plugin."  The canned response is available to any user with at least TICKET_MODIFY permissions, including TICKET_ADMIN and TRAC_ADMIN.
    4739
    4840Notes:
    49   * The line `tpp = new,pending -> closed` specifies the statuses a ticket may have for using this canned response and the status the ticket will be set to.
    50   * The 'name' attribute provides a "pretty name" for users to see in the list of canned responses.
     41  * The line `tpp = new,pending -> closed` specifies the statuses a ticket may have for using this canned response and the status the ticket will be set to.
     42  * The 'name' attribute provides a "pretty name" for users to see in the list of canned responses.
    5143  * The 'comment' attribute specifies, in WikiFormatting, the text of the comment to be added.  Anything inserted into the comment field at the same time as applying a canned response will be retained and placed after the canned response.
    5244  * The 'resolution' attribute specifies the resolution to use on the ticket when closing.
    5345  * The 'permissions' attribute specifies the minimum level of permissions required to see and use the response.
    5446
    55 == Recent Changes ==
    56 
    57 [[ChangeLog(cannedresponsesplugin, 3)]]
    58 
    5947== Author/Contributors ==
    6048
    61 '''Author:''' [wiki:rekkanoryo] [[BR]]
    62 '''Contributors:'''
     49'''Author:''' Daniel Atallah [[BR]]
     50'''Maintainer:''' [wiki:rekkanoryo]