Changes between Version 3 and Version 4 of TracTicketValidatorPlugin


Ignore:
Timestamp:
Feb 18, 2011, 1:20:33 AM (13 years ago)
Author:
Richard Liao
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracTicketValidatorPlugin

    v3 v4  
    3333validate_author = true
    3434validate_author.tip = Please fill your valid email address
    35 validates = comment
     35validates = comment, summary
    3636comment.rule = .*
    3737comment.tip = Please input comment
     38summary.rule = [A-Z].*
     39summary.tip = Please correct summary
    3840}}}
    3941 1. There is a very straightward implement of parent/child tickets, just prepend parent ticket number to the child ticket summary. For example, the parent ticket 234 summary is {{{<#0>A parent ticket}}}, the child ticket summary will be {{{<#234>A child ticket}}}. We can do validation like following: