Changes between Version 10 and Version 11 of TracTicketValidatorPlugin
- Timestamp:
- Aug 30, 2018, 1:13:47 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracTicketValidatorPlugin
v10 v11 8 8 9 9 Key features: 10 * support validate anonymous to input validemail address10 * require the email address of an anonymous contributor and validate this email address 11 11 * support required fields 12 * support match fields toregular expression12 * match values in fields using regular expression 13 13 14 14 As an example: … … 31 31 '''Note''': when validating more than one field, use a list after "validates =". 32 32 33 2. There is a very straightward implementation of parent/child tickets: just prepend parent ticket number to the child ticket summary. For example, if the parent ticket 234 summary is {{{<#0>A parent ticket}}}, then the child ticket summary will be {{{<#234>A child ticket}}}. We can perform a validationas follows:33 2. There is a very straightward implementation of parent/child tickets: just prepend the parent ticket number to the child ticket summary. For example, if the parent ticket 234 summary is {{{<#0>A parent ticket}}}, then the child ticket summary will be {{{<#234>A child ticket}}}. We can perform a validation using regular expressions as follows: 34 34 {{{#!ini 35 35 [components]