Opened 9 years ago

Closed 7 years ago

Last modified 7 months ago

#2374 closed enhancement (fixed)

Google calendar plugin

Reported by: anonymous Owned by: Stefan Simroth
Priority: normal Component: GoogleCalendarPlugin
Severity: minor Keywords: Google Calendar
Cc: Steve Romanow, Stefan Simroth Trac Release: 0.11


Possibility to insert a google calendar

Attachments (2)

42012_or.jpg (295.3 KB) - added by hackersinci 7 years ago.
45789_or.jpg (9.1 KB) - added by cyberturk@… 7 years ago.
by inci

Download all attachments as: .zip

Change History (18)

comment:1 Changed 9 years ago by anonymous

Keywords: Google Calendar added

This would be VERY nice :) I second the request.

comment:2 Changed 9 years ago by anonymous

We're using a combination of Trac and Google Calendar to plan and account for time spent on tickets. Having some kind of link between the two would be sensational.

comment:3 Changed 9 years ago by anonymous

This would be very usefull.

comment:4 Changed 9 years ago by anonymous

All milestone are schedule on our Trac and shared Google Calendar. We would like this to be synchronized. (the MUST should be for task, modification, etc...)

comment:5 Changed 8 years ago by anonymous

Trac Release: 0.100.11

I third the request :-)

I'm no trac expert, but here's how I see this on first thought (GCAL = Google Calendar):

  • Add a button "Sync with Google Calendar" somewhere in the Trac Admin area. Conflicts can be manually or automatically resolved.
  • Milestones can easily be shown on the GCAL, keeping their date & description synchronised. Their description (in GCAL) could also be fed with a list of the open tickets that belong to the milestone. All with clickable links that take you directly to the trac.
  • By adding a one-to-many relationship between a ticket and appointments in the calendar, we can allow for tickets to be planned into the calendar. The calendar would hold appointments that mark the time the ticket was worked on, or will be worked on.

The trac system would only need to hold the GCAL appointment ID's for each ticket. Unless I'm missing something, other data (start, stop) can be stored in GCAL.

  • Showing a GCAL on a wiki page should not be very hard. But what's the best way to do this ?
  • I don't see much use in showing changes to tickets in the GCAL.

A possible roadmap for this plugin would be:

  • Have GCAL just show milestones
  • Synchronize milestones
  • Wiki integration
  • Allow for adding appointment ID's to tickets
  • Allow creation of appointments through the trac ticket
  • Ticket-Appointment synchronization

comment:6 Changed 8 years ago by Steve Romanow

I have been thinking about this as well. I hope we can design it so it is abstracted to basically accept calendar info from more than one source.

For out intranet, i am thinking of a mashup between WikiCalendarMacro and some calendar publishing plugin. Whether the data rendered is from google or yahoo, icalendar, exchange (via OWA)

Consider an Admin page that defines "calendar providers", they can be used to give a tracwiki name to commonly used data sources. An example would be if I configure our exchange server as a publisher:

Source NamePlugin InterfaceSource Feed URL

On a wiki page this could be called up by sth like: WikiCalendar([year,month,[showbuttons,[wiki_page_format]]],Source,SourceKey)

Which may show WikiCalendar(2008,11,MyCoExchange,jdoe) to render john doe's nov 2008 calender in a wiki page.

comment:7 Changed 8 years ago by Steve Romanow

Cc: Steve Romanow added; anonymous removed

comment:8 Changed 8 years ago by anonymous

Keywords: #2374 added

comment:9 Changed 8 years ago by anonymous

Keywords: #2374 removed

comment:10 Changed 8 years ago by Ryan J Ollos

There is a somewhat similar but unfinished project here:

comment:11 Changed 8 years ago by Xavier Pechoultres


I've just post a new plugin for exporting tickets to icalendar : IcalViewPlugin

comment:12 Changed 7 years ago by Stefan Simroth


I just created such a simple integration using the Google Calendar IFRAME. See here if you want to try it out.

This is just a very quick hack: I am reading the public or private calendar URL from the trac.ini and then a custom template displays it via the <iframe>-tag. It's accessible via the Main Nav bar "Calendar" or the /calendar handler.

Nothing special, but it displays the embeddable Calendar nicely and updates it on every refresh :)

Please leave feedback and add issues and/or feature requests to my github site! It's a public repo, so also feel free to join me in the development! I don't have plenty of time, but every now and then a bit...

btw: I would also like to be able to add and edit events from within trac and ideally also display the ticket-events in there... The Google Data API for Python could be of great help here, I guess. However, these features require some more programming, not just a little hacking like this first version ;)

comment:13 Changed 7 years ago by Stefan Simroth

Cc: Stefan Simroth added

Changed 7 years ago by hackersinci

Attachment: 42012_or.jpg added

comment:14 Changed 7 years ago by Stefan Simroth

Component: Request-a-HackGoogleCalendarPlugin
Owner: changed from anybody to Stefan Simroth
Status: newassigned

comment:15 Changed 7 years ago by Stefan Simroth

Resolution: fixed
Status: assignedclosed

I moved the project home here and imported the source for GoogleCalendarPlugin.

It's a simple IFRAME integration, but can be improved in the future.

Works with a ClearSilver template and with 0.10 and 0.11 (if you install cs, of course)

v0.12 not tested yet.

Changed 7 years ago by cyberturk@…

Attachment: 45789_or.jpg added

by inci

comment:16 Changed 7 years ago by leo@…

FWIW, I'd commit dev time to building a plugin supporting full milestone and ticket change integration with Google Calendar - but i'd need some funding towards dev time as it'd take a good 2-3 weeks of development to get it working seamlessly. Do get in touch if you want to contribute!

Modify Ticket

as closed The owner will remain Stefan Simroth.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.