wiki:WikiTicketCalendarMacro

Version 29 (modified by Steffen Hoffmann, 14 years ago) (diff)

add note of preference for new version 0.8.0

Calendar view of Milestones and Tickets

Description

Macro for the Trac Wiki Ticketing system to display Milestones and Tickets in a calendar view. The original version of the macro was hosted here.

Versions compatible with Trac 0.11, 0.12 and even for old 0.10 are available now, so test, enjoy and report back any issue, please.
0.12 is still WiP. If you don't need/use localization in your Trac 0.12, take the current version from 0.11 branch, please.

Bugs/Feature Requests

Existing bugs and feature requests for WikiTicketCalendarMacro are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:wikiticketcalendarmacro here].

Source

You can check out WikiTicketCalendarMacro from here using Subversion, or browse the source with Trac.

Example

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,[wiki_page_template]]]]])

    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
     - use page template (if exist) for new wiki page

  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
    wiki_page_template = wiki template tried to create new page

  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)
    WikiTicketCalendar(2006,07,true,Meeting-%Y-%m-%d,true,Meeting)

Recent Changes

9668 by hasienda on 2010-12-12 23:55:10
WikiCalendarMacro: Pulling trunk in from WikiTicketCalendarMacro, refs #7564.

After separate development for some years lines of these plugins
are crossing again, as I do aim at bundling both to join the best
from both branches.

9637 by hasienda on 2010-12-07 23:40:35
WikiTicketCalendarMacro: Split plugin/macro code into several modules, refs #7564.
9615 by hasienda on 2010-12-06 22:08:54
WikiTicketCalendarMacro: Improve my quite historical i18n implementation.

An optional i18n implementation with backwards-compatibility to Trac 0.11
could be done, and much more elegant using a dedicated translation method
for Trac plugins from trac.util.dist, correcting [8264] once more.

(more)

Author/Contributors

Author: mcomb
Maintainer: rjollos
Contributors: Steffen Hoffman (hasienda)

Attachments (2)

Download all attachments as: .zip