Changes between Version 61 and Version 62 of WikiTicketCalendarMacro
- Timestamp:
- Jul 21, 2012, 9:26:44 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiTicketCalendarMacro
v61 v62 6 6 7 7 [[Image(wikiticketcalendar_screenshot.gif)]] 8 9 Development of the single-file macros is discontinued. 10 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. 8 13 9 14 == Usage == … … 37 42 || `wiki`|| || strftime format for wiki pages to display as link (if exist, otherwise links to a create page) '*' for default. Supports any expression that strftime can handle || "%Y-%m-%d" || wiki="%Y-%m-%d" || 38 43 || `cdate`|| || (1) show ticket created / open dates [1,0] || 1 || cdate=1 || 39 || ` template`|| ||wiki template tried to create new page || "" || base="" ||44 || `base`|| ||wiki template tried to create new page || "" || base="" || 40 45 || `query`|| ||evaluates a valid TracQuery expression based on any ticket field including multiple expressions grouped by 'and' and 'or' || || query="id!=0" || 41 46 || `short`|| ||total ticket count per day, that'll have ticket list display condensed to just ticket no., 0 = never condense list. This feature looks like [attachment:wikiticketcalendar_screenshot_1-2-1.png this] [0,1,...] || 0 || short=0 || … … 60 65 '''Notes''': 61 66 62 1. All maintained versions of this plugin support keyword arguments and mixed use of both - simple and keyword arguments - as well. This could make macro invocations more readable and maybe even shorter than before, as long as you largely stick to the defaults and just want to change one or two values. So i.e. the 3rd example from above could be rewritten now as: 67 1. All maintained versions of this macro support keyword arguments and mixed use of both - simple and keyword arguments - as well. 68 This could make macro invocations more readable and maybe even shorter than before, as long as you largely stick to the defaults and just want to change one or two values. So i.e. the 3rd example from above could be rewritten now as: 63 69 {{{ 64 70 [[WikiTicketCalendar(wiki=Meeting-%Y-%m-%d)]] 65 71 }}} 66 2. The ''query'' keyword supports any expression supported by TracQuery. This is the single new ticket selection logic that can use custom field values as well as expressions chained by AND (OR since 0.12 only). An invalid expression was chosen on purpose to select and show all tickets by default. Use your own query expression to create per-developer or per-component ticket calendars, or you could choose to display tickets only with high/highest priority, tickets with some special content in a custom field, etc. 72 2. The ''query'' keyword supports any expression supported by TracQuery. This is the single new ticket selection logic that can use custom field values as well for expressions chained by AND (OR since 0.12 only). An always-true expression was chosen on purpose to select and show all tickets by default. Use your own query expression to create per-developer or per-component ticket calendars, 73 or you could choose to display tickets only with high/highest priority, tickets with some special content in a custom field, etc. 67 74 68 75 69 76 == Install == 70 77 71 Generic installation guidelinesand troubleshooting can be found at TracPlugins.78 Generic guidelines on installation and troubleshooting can be found at TracPlugins. 72 79 73 80 Steps to install and configure this plugin are: … … 81 88 1. '''Enable''' 82 89 * Update TracIni file (`..../trac.ini`) with: 83 * Trac <= 0.11 84 {{{ 85 [components] 86 WikiTicketCalendarMacro.* = enabled 87 }}} 88 * Trac >= ''0.12'' and ''trunk'' branch with i18n support (have a different code structure due to packaging) 89 {{{ 90 [components] 91 wikiticketcalendar.* = enabled 92 }}} 93 Note: See i18n/l10n section for related [#Abouti18nl10nsupport hints on egg creation]. 90 {{{ 91 #!ini 92 [components] 93 wikicalendar.* = enabled 94 }}} 95 This enables both, this macro as well as the WikiCalendarMacro. 96 Both macros are bundled in `wikicalendar-2.0.0` and later. For historic versions the old instructions are preserved [#Historicnotes below]: 94 97 95 98 1. '''Configure''' 96 99 * The plugin optionally makes use of an own configuration section, that could be placed into 'trac.ini' as follows: 97 100 {{{ 98 99 100 101 [wikiticketcalendar] 102 ticket.due_field.name = due_close 103 ticket.due_field.format = %y-%m-%d 101 104 }}} 102 105 * Note: these are the implicit default values to give backwards compatible behaviour. … … 149 152 Again, for more details see the [t:wiki:CookBook/PluginL10N#Compileanduseit l10n cookbook page for Trac plugins]. 150 153 151 == Bugs/Feature Requests == 154 155 == Bug Reports == 152 156 153 157 Get it, enjoy and report back, please. Comments welcome. … … 159 163 [/newticket?component=WikiTicketCalendarMacro&owner=hasienda new ticket]. 160 164 165 Make sure to send feature requests for the macro bundle only (see WikiCalendarMacro). 166 161 167 [[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)]] 162 168 163 169 == Source & Download == 170 For the latest code see WikiCalendarMacro. The information below is historic by now. 164 171 165 172 You can: … … 179 186 180 187 181 === Recent Changes === 182 183 Development of the single-file macros is discontinued. Code has been merged with WikiCalendarMacro for joined upstream development. Make sure to change over to the packaged plugin code hosted within the [source:/wikicalendarmacro /wikicalendarmacro] domain to receive latest improvements and bug fixes. 188 === Historic notes === 189 These are the old instructions for enabling historic versions of the !WikiTicketCalendarMacro: 190 {{{ 191 [components] 192 WikiTicketCalendarMacro.* = enabled 193 }}} 194 for Trac <= 0.11 195 196 {{{ 197 [components] 198 wikiticketcalendar.* = enabled 199 }}} 200 for Trac >= ''0.12'' and ''trunk'' branch with i18n support (have a different code structure due to packaging) 201 184 202 185 203 == Author/Contributors ==