Changes between Version 6 and Version 7 of TracTicketValidatorPlugin
- Timestamp:
- Apr 9, 2015, 10:35:27 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracTicketValidatorPlugin
v6 v7 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Validate ticket fields =3 2 4 = = Description ==3 = Validate ticket fields 5 4 5 == Description 6 7 Key features: 6 8 * support validate anonymous to input valid email address 7 9 * support required fields 8 10 * support match fields to regular expression 9 11 10 11 == Bugs/Feature Requests == 12 == Bugs/Feature Requests 12 13 13 14 Existing bugs and feature requests for TracTicketValidatorPlugin are … … 17 18 [http://trac-hacks.org/newticket?component=TracTicketValidatorPlugin&owner=richard new ticket]. 18 19 19 == Download == 20 [[TicketQuery(component=TracTicketValidatorPlugin&group=type,format=progress)]] 21 22 == Download 20 23 21 24 Download the zipped source from [download:tracticketvalidatorplugin here]. 22 25 23 == Source ==26 == Source 24 27 25 28 You can check out TracTicketValidatorPlugin from [http://trac-hacks.org/svn/tracticketvalidatorplugin here] using Subversion, or [source:tracticketvalidatorplugin browse the source] with Trac. 26 29 27 == Example == 28 1. Validate anonymous author email address and make comment required: 30 == Example 31 32 1. Validate anonymous author email address and make the comment a required input: 29 33 {{{ 30 34 #!ini … … 42 46 }}} 43 47 44 Please note: when validating more than one field, use a list after "validates =".48 '''Note''': when validating more than one field, use a list after "validates =". 45 49 46 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:50 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 validation as follows: 47 51 {{{ 48 52 #!ini … … 56 60 }}} 57 61 58 == Recent Changes ==62 == Recent Changes 59 63 60 64 [[ChangeLog(tracticketvalidatorplugin, 3)]] 61 65 62 == Author/Contributors ==66 == Author/Contributors 63 67 64 68 '''Author:''' [wiki:richard] [[BR]] 65 '''Maintainer:''' [ wiki:richard] [[BR]]69 '''Maintainer:''' [[Maintainer]] [[BR]] 66 70 '''Contributors:'''