Modify

Opened 6 years ago

Closed 4 years ago

Last modified 4 years ago

#2374 closed enhancement (fixed)

Google calendar plugin

Reported by: anonymous Owned by: StefanSimroth
Priority: normal Component: GoogleCalendarPlugin
Severity: minor Keywords: Google Calendar
Cc: slestak, StefanSimroth Trac Release: 0.11

Description

Possibility to insert a google calendar

Attachments (2)

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

Download all attachments as: .zip

Change History (18)

comment:1 Changed 6 years ago by anonymous

  • Keywords Google Calendar added

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

comment:2 Changed 6 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 6 years ago by anonymous

This would be very usefull.

comment:4 Changed 6 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 6 years ago by anonymous

  • Trac Release changed from 0.10 to 0.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 5 years ago by slestak

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
MyCoExchangeCalPlugExchgOwahttp://url/to/owa

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 5 years ago by slestak

  • Cc slestak added

comment:8 Changed 5 years ago by anonymous

  • Keywords #2374 added

comment:9 Changed 5 years ago by anonymous

  • Keywords #2374 removed

comment:10 Changed 5 years ago by rjollos

There is a somewhat similar but unfinished project here: http://trac-hacks.org/wiki/CalendarPlugin

comment:11 Changed 5 years ago by xpech

Hy,

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

comment:12 Changed 4 years ago by StefanSimroth

Hi,

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 4 years ago by StefanSimroth

  • Cc StefanSimroth added

Changed 4 years ago by hackersinci

comment:14 Changed 4 years ago by StefanSimroth

  • Component changed from Request-a-Hack to GoogleCalendarPlugin
  • Owner changed from anybody to StefanSimroth
  • Status changed from new to assigned

comment:15 Changed 4 years ago by StefanSimroth

  • Resolution set to fixed
  • Status changed from assigned to closed

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 4 years ago by cyberturk@…

by inci

comment:16 Changed 4 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!

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from StefanSimroth. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.