Changes between Version 12 and Version 13 of IcalViewPlugin
- Timestamp:
- May 1, 2015, 8:54:05 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IcalViewPlugin
v12 v13 1 = iCalendar plugin for ticket queries = 1 [[PageOutline(2-5,Contents,pullout)]] 2 2 3 = = Description ==3 = iCalendar plugin for ticket queries 4 4 5 Provide iCalendar feeds for ticket queries as standard [http://trac.edgewall.org/roadmap roadmap module]. It use 2 optional custom fields for event date and duration. 5 == Description 6 6 7 == Usage == 7 This plugin provides iCalendar feeds for ticket queries as standard [http://trac.edgewall.org/roadmap roadmap module]. It uses 2 optional custom fields for event date and duration. 8 8 9 Zero configuration needed to start using the module. Without start date and duration, tickets can use the due date of associated milestone. To plan tickets the date and duration fields must be set in trac.ini 9 == Bugs/Feature Requests 10 10 11 === Setup custom fields for date and duration === 11 Existing bugs and feature requests for IcalViewPlugin are 12 [query:status!=closed&component=IcalViewPlugin&order=priority here]. 12 13 13 To transform a ticket to an event, we need at least a date. Trac only provide a creation date or an update date. So we need a planned date by adding a custom field, and set this new field as the dtstart field for events in (see [http://tools.ietf.org/html/rfc2445 RFC/2445]). 14 If you have any issues, create a 15 [/newticket?component=IcalViewPlugin&owner=xpech new ticket]. 14 16 15 trac.ini 16 {{{ 17 [[TicketQuery(component=IcalViewPlugin&group=type,format=progress)]] 18 19 == Download and Source 20 21 Download the [download:icalviewplugin zipped source], check out IcalViewPlugin [/svn/icalviewplugin using Subversion], or [source:icalviewplugin browse the source] with Trac. 22 23 == Usage 24 25 Zero configuration needed to start using the module. Without start date and duration, tickets can use the due date of associated milestone. To plan tickets the date and duration fields must be set in your `trac.ini` file. 26 27 === Setup custom fields for date and duration 28 29 To transform a ticket to an event, we need at least one date. Trac only provides a creation date or an update date. So we need a planned date by adding a custom field, and set this new field as the dtstart field for events in (see [http://tools.ietf.org/html/rfc2445 RFC/2445]). 30 31 Sample `trac.ini` file: 32 33 {{{#!ini 17 34 [ticket-custom] 18 35 my_custom_dtstart_field = text … … 23 40 }}} 24 41 25 We also need a duration field s:26 {{{ 42 We also need a duration field: 43 {{{#!ini 27 44 [ticket-custom] 28 45 ... … … 34 51 }}} 35 52 53 === Date and duration input format 36 54 37 === Date and duration input format === 55 Default input date format are: 56 * "'%m/%d/%Y" (month/day/year) for strict date. 57 * "%m/%d/%Y %H:%M" for date and time. 38 58 39 Default input date format are : "'%m/%d/%Y" (month/day/year) for strict date and and "%m/%d/%Y %H:%M" for date and time. 59 To customize this format, use the "short_date_format" and "date_time_format" configuration options: 40 60 41 To customize this format, use the "short_date_format" and "date_time_format" configuration options : 42 43 {{{ 61 {{{#!ini 44 62 [icalendar] 45 63 short_date_format = %d/%m/%Y … … 47 65 }}} 48 66 49 to support multiple format, use a ';' to separate them:67 To support multiple formats, use a ';' to separate them: 50 68 51 {{{ 69 {{{#!ini 52 70 [icalendar] 53 71 short_date_format = %d/%m/%Y;%Y-%m-%d … … 55 73 }}} 56 74 75 Duration field supports the following syntaxes: 76 * Standard hours:minutes format: H:MM, examples: "8:45", "12:30". 77 * A number of days ending by a 'd', example: 15d. 78 * Standard [http://tools.ietf.org/html/rfc2445#section-4.3.6 RFC/2445] duration beginning with a "P": "P1W" "P1D". 57 79 58 Duration fied support 4 syntaxes : 59 * Standard hours:minutes format : H:MM ( "8:45" "12:30" ...) 60 * a number of days ending by a 'd' : 15d 61 * the standard [http://tools.ietf.org/html/rfc2445#section-4.3.6 RFC/2445] duration begining with a "P" : "P1W" "P1D" ... 80 Some tips: 81 * Tickets with a planned date and no duration are planned as a day event. 82 * Tickets without a planned date are transformed as TODO. For tickets attached to a milestone, the due date of the milestone is used as TODO due date (since 0.2). 62 83 63 Some tips : 64 * Tickets with a planned date and no duration are planned as a day event 65 * Tickets without a planned date are transfomed as TODO. For tickets attached to a milestone, the due date of the milestone is used as TODO due date (since 0.2). 84 === Priority 66 85 67 === Priority === 68 69 icalandar support the priority tags but use an integer from 1 (highest) to 9 (lowest). So we need a map to transform trac priorities to integer. The plugin integrate a default mapping : 86 iCalendar supports the priority tags, but uses an integer from 1 (highest) to 9 (lowest). So we need a map to transform Trac priorities to integer. The plugin integrate a default mapping : 70 87 71 88 {{{ … … 79 96 You can customise the mapping and adding other values with the configuration option 'custom_priority_map': 80 97 81 {{{ 98 {{{#!ini 82 99 [icalendar] 83 100 custom_priority_map = major:3;lessmajor:4;lessmajorbutnotminor:5;crazy:1;undefined:0 84 101 }}} 85 102 86 87 == Limitations == 103 == Limitations 88 104 89 105 The calendar is read only. 90 106 91 == Bugs/Feature Requests == 92 93 Existing bugs and feature requests for IcalViewPlugin are 94 [query:status!=closed&component=IcalViewPlugin&order=priority here]. 95 96 If you have any issues, create a 97 [/newticket?component=IcalViewPlugin&owner=xpech new ticket]. 98 99 == Download and Source == 100 101 Download the [download:icalviewplugin zipped source], check out IcalViewPlugin [/svn/icalviewplugin using Subversion], or [source:icalviewplugin browse the source] with Trac. 102 103 == Example == 107 == Example 104 108 105 109 Add a iCalendar links in ticket's queries footer. 106 110 107 == Release note ==111 == Release notes 108 112 109 === 0.4 ===110 * adding description of tickets (#6323 thanks to clown for the patch). We do not yet filter Wiki tags from description, I hopefix it in a future release.111 Resolve some problems 113 === 0.4 114 * Adding description of tickets (#6323 thanks to clown for the patch). We do not yet filter Wiki tags from description, I hope to fix it in a future release. 115 Resolve some problems: 112 116 * Fix #6325 : charset bug which can stop installation (thanks to clown for the patch) 113 117 * Fix #6322 : bug with user defined priority (thanks to clown for the patch) 114 118 115 === 0.3 ===116 * Better support for timezone 119 === 0.3 120 * Better support for timezone. 117 121 118 === 0.2 ===119 * adding support for milestone due date for tickets without not planned.122 === 0.2 123 * Adding support for milestone due date for tickets without not planned. 120 124 121 === 0.1 ===122 * initial release125 === 0.1 126 * Initial release 123 127 124 == Recent Changes ==128 == Recent Changes 125 129 126 130 [[ChangeLog(icalviewplugin, 3)]] 127 131 128 == Author/Contributors ==132 == Author/Contributors 129 133 130 134 '''Author:''' [wiki:xpech] [[BR]] 135 '''Maintainer:''' [[Maintainer]] [[BR]] 131 136 '''Contributors:'''