Changes between Version 64 and Version 65 of WikiTicketCalendarMacro
- Timestamp:
- May 1, 2015, 9:20:24 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiTicketCalendarMacro
v64 v65 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 = Calendar view of Milestones and Tickets = 3 == Description == 2 3 = Calendar view of Milestones and Tickets 4 5 == Description 4 6 5 7 Macro for the Trac Wiki to display Milestones and Tickets from the Ticketing system in a calendar view. See screenshot (!WikiTicketCalendarMacro 1.2.0 & Trac 0.12) with different localizations (wikipage links and CSS style ticket tooltip) below: … … 9 11 Development of the single-file macros is discontinued. 10 12 '''Code has been merged with WikiCalendarMacro for joined upstream development.''' 11 Make sure to change over to the packaged plugin code hosted within the 12 [source:/wikicalendarmacro /wikicalendarmacro] domain to receive latest improvements and bug fixes. 13 Make sure to change over to the packaged plugin code hosted within the [source:/wikicalendarmacro /wikicalendarmacro] domain to receive the latest improvements and bug fixes. 13 14 14 == Usage == 15 A heavily modified version is used [https://wiki.ctdo.de/#DiesenMonatimCTDO here as event calendar], source unknown. 16 17 == Usage 15 18 16 19 The invocation for the screenshot above is `[[WikiTicketCalendar(*,*,true,Wochenberatung/%Y-%m-%d,true,Beratung)]]`. … … 34 37 including multiple expressions grouped by 'and' and 'or' 35 38 36 === Arguments ===39 === Arguments 37 40 38 41 ||'''Argument'''||'''Version'''||'''Description'''||'''Default'''||'''Example'''|| … … 47 50 || `width`|| ||set calendar table 'min-width', and optionally 'width' for surrounding div triggered by prepending '+' to value || 100% || width=100% || 48 51 49 === Examples === 52 === Examples 53 50 54 {{{ 51 55 [[WikiTicketCalendar(2006,07)]] … … 73 77 or you could choose to display tickets only with high/highest priority, tickets with some special content in a custom field, etc. 74 78 75 76 == Install == 79 == Installation 77 80 78 81 Generic guidelines on installation and troubleshooting can be found at TracPlugins. … … 81 84 82 85 1. '''Install''' 83 1. with easy_install:86 1. with `easy_install`: 84 87 {{{ 85 88 #!sh … … 88 91 1. '''Enable''' 89 92 * Update TracIni file (`..../trac.ini`) with: 90 {{{ 91 #!ini 93 {{{#!ini 92 94 [components] 93 95 wikicalendar.* = enabled 94 96 }}} 95 97 1. '''Configure''' 96 * The macro optionally makes use of an own configuration section, that could be placed into 'trac.ini' as follows: 97 {{{ 98 #!ini 98 * The macro optionally makes use of an own configuration section, that could be placed into `trac.ini` as follows: 99 {{{#!ini 99 100 [wikicalendar] 100 101 ticket.due_field = due_close … … 102 103 }}} 103 104 1. '''Restart''' web server: 104 {{{ 105 #!sh 105 {{{#!sh 106 106 $ sudo /etc/init.d/apache2 restart 107 107 }}} … … 111 111 For historic versions the old instructions are preserved [#Historicnotes below]. 112 112 113 == Bug Reports == 114 115 Get it, enjoy and report back, please. Comments welcome. 113 == Bugs / Feature Requests 116 114 117 115 Existing bugs and feature requests for !WikiTicketCalendarMacro are … … 121 119 [/newticket?component=WikiTicketCalendarMacro&owner=hasienda new ticket]. 122 120 123 Make sure to send feature requests for the macro bundle only (see WikiCalendarMacro). 121 Make sure to send feature requests for the macro bundle only, see WikiCalendarMacro. 122 123 [[TicketQuery(component=WikiCalendarMacro&group=type,format=progress)]] 124 124 125 125 [[Poll(What do you think of the WikiTicketCalendarMacro?; Great; Useful; Somewhat useful, but could be better; Useless; Horrible; Don't care/don't need such stuff)]] 126 126 127 == Source & Download == 127 == Source & Download 128 128 129 For the latest code see WikiCalendarMacro. Both macros have been merged. 129 130 130 === Historic notes === 131 These are the old instructions for enabling historic versions of the !WikiTicketCalendarMacro: 132 {{{ 131 === Historic notes 132 133 These are the old instructions for enabling historic versions of the !WikiTicketCalendarMacro for Trac <= 0.11: 134 {{{#!ini 133 135 [components] 134 136 WikiTicketCalendarMacro.* = enabled 135 137 }}} 136 for Trac <= 0.11137 138 138 {{{ 139 For Trac >= 0.12 and trunk branch with i18n support, which have a different code structure as a result of packaging: 140 {{{#!ini 139 141 [components] 140 142 wikiticketcalendar.* = enabled 141 143 }}} 142 for Trac >= ''0.12'' and ''trunk'' branch with i18n support (have a different code structure due to packaging)143 144 144 145 The following configuration instructions apply only to the old code as well: 145 {{{ 146 {{{#!ini 146 147 [wikiticketcalendar] 147 148 ticket.due_field.name = due_close 148 149 ticket.due_field.format = %y-%m-%d 149 150 }}} 151 150 152 * Note: these are the implicit default values to give backwards compatible behaviour. 151 153 * Real configuration examples: 152 154 * for a custom due date field named 'due-date' that holds US style date with 4-digit year: 153 {{{ 155 {{{#!ini 154 156 [wikiticketcalendar] 155 157 ticket.due_field.name = due-date 156 158 ticket.due_field.format = %m/%d/%Y 157 159 }}} 158 * for a custom due date field named 'due_date' that holds true POSIX microsecond timestamps (see: [t:wiki:TracDev/Proposals/TracTicketsCustomTimeFields custom time fields proposal])159 {{{ 160 * for a custom due date field named 'due_date' that holds true POSIX microsecond timestamps, see: [t:wiki:TracDev/Proposals/TracTicketsCustomTimeFields custom time fields proposal]: 161 {{{#!ini 160 162 [wikiticketcalendar] 161 163 ticket.due_field.name = due_date … … 163 165 }}} 164 166 167 == Recent Changes 165 168 166 == Author/Contributors == 169 [[ChangeLog(wikiticketcalendarmacro, 3)]] 167 170 168 '''Author:''' [wiki:mcomb][[BR]] 169 '''Maintainer:''' [wiki:hasienda][[BR]] 171 == Author/Contributors 172 173 '''Author:''' [wiki:mcomb] [[BR]] 174 '''Maintainer:''' [[Maintainer]] [[BR]] 170 175 '''Contributors:''' Boris Savelev, [wiki:rjollos] 171 172 == See also ==173 === Found on the web ===174 175 * a heavily modified version used [https://wiki.ctdo.de/#DiesenMonatimCTDO as event calendar], source unknown