Calendar view of Milestones and Tickets
Description
Macro for the Trac Wiki Ticketing system to display Milestones and Tickets in a calendar view.
This Macro is hosted here
Port to Trac 0.11.1
Hi there, I ported this macro to work with version 0.11.1 along the lines of WikiCalendarMacro. Unfortunately I'm familiar with java, php or c but didn't do any python coding yet. It's up and running on my production system for about a week and I didn't experience any problems yet ... but that doesn't count much. If anyone could do a little quality assurance, I would be very thankful.
Thanks in advance.
Greets, Alex (alex [at] goldstift [dot] de)
Installation
Simply download the attached WikiTicketCalendarMacro.py to your projects "wiki-macros"-folder and reload your webserver.
For Trac 0.11, this macro should also be copied into the "plugins" folder. Then enable it in trac.ini or the "Manage Plugins" page under the "Admin" tab.
Afterwards you should be able to use the macro in your wiki
Usage
Excerpt of the source documentation:
Activate it in 'trac.ini'
[components]
WikiTicketCalendarMacro.* = enabled
format:
WikiTicketCalendar([year,month,[showbuttons,[wiki_page_format,
[show_ticket_open_dates]]]])
displays a calendar, the days link to:
- milestones (day in bold) if there is one on that day
- a wiki page that has wiki_page_format (if exist)
- create that wiki page if it does not exist
arguments:
year, month = display calendar for month in year ('*' for current year/month)
showbuttons = true/false, show prev/next buttons
wiki_page_format = strftime format for wiki pages to display as link
(if there is not a milestone placed on that day)
(if exist, otherwise link to create page)
default is "%Y-%m-%d", '*' for default
show_ticket_open_dates = true/false, show also when a ticket was opened
examples:
WikiTicketCalendar(2006,07)
WikiTicketCalendar(2006,07,false)
WikiTicketCalendar(*,*,true,Meeting-%Y-%m-%d)
WikiTicketCalendar(2006,07,false,Meeting-%Y-%m-%d)
WikiTicketCalendar(2006,07,true,*,true)
Author/Contributors
Author: mcomb
Contributors:
Attachments
- Picture2.jpg (17.0 kB) - added by mcomb on 01/10/08 20:07:34.
- WikiTicketCalendarMacro.py (9.8 kB) -
Version of script working with 0.11.1
, added by goldstift on 09/02/08 13:34:05. - WikiTicketCalendarMacro.zip (3.2 kB) -
dates fixed for milestone presentation (Trac 0.11.1)
, added by anonymous on 09/29/08 08:49:15. - WikiTicketCalendarMacro.2.py (12.6 kB) -
Implemented full functionality of both WikiTicketCalendarMacro and WikiCalendarMacro, and CSS, UTF-8 fix, read due_date format from [datefield] section of DateFieldPlugin if exist.
, added by butterflow on 09/30/08 23:15:14. - WikiTicketCalendarMacro.20081127.py (15.0 kB) -
shows also ticket opening dates and uses ISO 8601 by default
, added by debacle@debian.org on 11/27/08 11:26:26.

