Changes between Version 51 and Version 52 of DateFieldPlugin
- Timestamp:
- Apr 9, 2015, 1:10:50 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DateFieldPlugin
v51 v52 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Add custom date fields to tickets and helps date selection =3 2 4 == Description == 3 = Add custom date fields to tickets and helps date selection 4 5 == Description 5 6 6 7 This plugin provides a datepicker for ticket and milestone fields, and validation of the date string for ticket custom fields. It will only validate that the given input has the specified date format (see below). The value is stored in the database as a string, as Trac does not yet have date field support (t:#1942). Note: It will never be the intention of this plugin to provide date-type support. 7 8 8 With release 1.0, Trac has integrated the jQuery UI library along with datepicker and datetimepicker extensions into the core. Major changes to this plugin have followed suite, and the plugin will be obsolete in an upcoming release once the work in t:#1942 and t:#10756 is complete.9 With release 1.0, Trac has integrated the jQuery UI library along with datepicker and datetimepicker extensions into the core. Major changes to this plugin have followed, and the plugin will be obsolete in an upcoming release once the work in t:#1942 and t:#10756 is complete. 9 10 10 == Usage ==11 == Usage 11 12 12 13 {{{ … … 17 18 * Version 3.0.0: The 1.0 branch is a development branch that has been created to support work forwards version 3.0 of the plugin, which will only support Trac 1.0 and later. 18 19 * Version 2.0.0: The 0.12 branch is a development branch that has been created to support work towards version 2.0 of the plugin, which will only support Trac 0.12 and later. 19 * Version 1.1.0: The jQuery UI component has been downgraded to 1.6 to ensure compatibility with jQuery 1.2.6 that ships with Trac 0.11.x 20 * Version 1.1.0: The jQuery UI component has been downgraded to 1.6 to ensure compatibility with jQuery 1.2.6 that ships with Trac 0.11.x. 20 21 21 22 }}} 22 23 23 1. Install and configure 24 2. Pick a date on tickets and milestones24 1. Install and configure. 25 1. Pick a date on tickets and milestones: 25 26 26 27 '''0.11 branch''' ------------------- '''Development branch''' … … 28 29 [[Image(DatePickerTrac011.png, 13%)]] [[Image(DateFieldPlugin.png, 15%)]] 29 30 30 == Installation ==31 == Installation 31 32 32 33 1. '''Install''' globally with: 33 34 {{{ 34 35 #!sh 35 $sudo easy_install https://trac-hacks.org/svn/datefieldplugin/0.11/36 sudo easy_install https://trac-hacks.org/svn/datefieldplugin/0.11/ 36 37 }}} 37 38 1. '''Enable''' the plugin by updating TracIni file (..../trac.ini) as follows: … … 64 65 {{{ 65 66 #!sh 66 $sudo /etc/init.d/apache2 restart67 sudo /etc/init.d/apache2 restart 67 68 }}} 68 69 69 === Arguments ===70 === Arguments 70 71 71 72 This plugin can be controlled with a number of arguments, inside `[datefield]` section contained in `trac.ini` configuration file: 72 73 73 ||'''Argument''' ||'''Version''' ||'''Description''' ||'''Default[[BR]]value''' 74 ||'''Argument''' ||'''Version''' ||'''Description''' ||'''Default[[BR]]value''' || 74 75 || `format`|| ||The format to use for dates. valid formats are `dmy`, `mdy`, and `ymd` || `dmy` || 75 76 || `separator`|| ||The separator character to use for dates. Possible values are `-` or `.` or `/` || `/` || … … 84 85 || `months`|| >= [7192] ||Number of months visible in datepicker || `1` || 85 86 86 *There are many other options, but you need to modify the `datefield.html` template if you want to use them. See [http://docs.jquery.com/UI/Datepicker]87 There are many other options, but you need to modify the `datefield.html` template if you want to use them. See [http://docs.jquery.com/UI/Datepicker] 87 88 88 == Bugs/Feature Requests ==89 == Bugs/Feature Requests 89 90 90 Existing bugs and feature requests for !DateFieldPlugin are '''[report:9?COMPONENT=DateFieldPlugin here]'''.91 Existing bugs and feature requests for !DateFieldPlugin are [report:9?COMPONENT=DateFieldPlugin here]. 91 92 92 If you have any issues, create a '''[/newticket?component=DateFieldPlugin new ticket]'''.93 If you have any issues, create a [/newticket?component=DateFieldPlugin new ticket]. 93 94 94 === Known issues === 95 [[TicketQuery(component=DateFieldPlugin&group=type,format=progress)]] 95 96 96 1. If you have the AutoQueryPlugin installed, you'll need to patch the !DateFieldPlugin to work with it, see [http://trac-hacks.org/ticket/6796#comment:4 comment:4:ticket:6796]. 97 === Known issues 97 98 98 == Source & Download == 99 If you have the AutoQueryPlugin installed, you'll need to patch the !DateFieldPlugin to work with it, see [http://trac-hacks.org/ticket/6796#comment:4 comment:4:ticket:6796]. 99 100 100 You can check out !DateFieldPlugin from '''[http://trac-hacks.org/svn/datefieldplugin here]''' using Subversion, or '''[source:datefieldplugin browse the source]''' with Trac. 101 == Source 101 102 102 Download the zipped source from '''[download:datefieldplugin here]'''.103 You can check out !DateFieldPlugin from [http://trac-hacks.org/svn/datefieldplugin here] using Subversion, or [source:datefieldplugin browse the source] with Trac. 103 104 104 == Recent Changes == 105 == Download 106 107 Download the zipped source from [download:datefieldplugin here]. 108 109 == Recent Changes 105 110 106 111 [[ChangeLog(datefieldplugin, 3)]] 107 112 108 == Author/Contributors ==113 == Author/Contributors 109 114 110 115 '''Author:''' [wiki:coderanger] [[BR]]