Modify

Opened 8 years ago

Last modified 3 years ago

#413 reopened enhancement

Jabber Bot for notifications

Reported by: c00i90wn <c00i90wn@…> Owned by: anybody
Priority: lowest Component: Request-a-Hack
Severity: normal Keywords: jabber bot notifications
Cc: web@…, davidf@… Trac Release: 0.10

Description

A bot that notifies of timeline changes.

Attachments (0)

Change History (11)

comment:1 follow-up: Changed 8 years ago by coderanger

There has been some very loose planning to build something as a generic TracBot framework. If this used something like Twisted Words, it would also have the benefit of being cross-system.

comment:2 in reply to: ↑ 1 Changed 8 years ago by anonymous

Replying to coderanger:

There has been some very loose planning to build something as a generic TracBot framework. If this used something like Twisted Words, it would also have the benefit of being cross-system.

Yes, if it were coded with Twisted Words the Jabber implementation would be fairly easy

comment:3 Changed 8 years ago by mcwanek@…

I implemented this for internal use at work using Twisted.

We run an internal jabber chat room, so our TracBot runs in there. Our TracBot polls the RSS feed of our Trac timeline for any changes and posts them into the jabber chat room. The bot also logs all our posts to the chat room and then dumps out a daily log back into Trac as a wiki page. This way we have a searchable history of our chat room in Trac.

Only took about 2-3 days to develop; that includes learning python and Twisted as I went along.

comment:4 follow-up: Changed 8 years ago by athomas

  • Resolution set to worksforme
  • Status changed from new to closed

This can be done via any RSS-capable bot (eg. Supybot).

comment:5 in reply to: ↑ 4 ; follow-up: Changed 7 years ago by Uranellus

  • Cc web@… added
  • Resolution worksforme deleted
  • Status changed from closed to reopened

Replying to athomas:

This can be done via any RSS-capable bot (eg. Supybot).

how would you do that with supybot which does not support jabber? Also running an external application just for this is not quiet the nice way .. :|

Replying to mcwanek@fourthwavellc.net:

We run an internal jabber chat room, so our TracBot runs in there. Our TracBot polls the RSS feed of our Trac timeline for any changes and posts them into the jabber chat room. The bot also logs all our posts to the chat room and then dumps out a daily log back into Trac as a wiki page. This way we have a searchable history of our chat room in Trac.

Would your company share the code?

IMHO this could be set up at the point where the regular mail notifications are sent right now.

comment:6 Changed 6 years ago by davidf@…

  • Cc davidf@… added

The AnnouncerPlugin might be useful here

comment:7 in reply to: ↑ 5 ; follow-up: Changed 6 years ago by anonymous

Replying to Uranellus:

Replying to athomas:

This can be done via any RSS-capable bot (eg. Supybot).

how would you do that with supybot which does not support jabber? Also running an external application just for this is not quiet the nice way .. :|

Replying to mcwanek@fourthwavellc.net:

We run an internal jabber chat room, so our TracBot runs in there. Our TracBot polls the RSS feed of our Trac timeline for any changes and posts them into the jabber chat room. The bot also logs all our posts to the chat room and then dumps out a daily log back into Trac as a wiki page. This way we have a searchable history of our chat room in Trac.

Would your company share the code?

IMHO this could be set up at the point where the regular mail notifications are sent right now.

comment:8 in reply to: ↑ 7 Changed 6 years ago by anonymous

Replying to anonymous:

Replying to Uranellus:

Replying to athomas:

This can be done via any RSS-capable bot (eg. Supybot).

how would you do that with supybot which does not support jabber? Also running an external application just for this is not quiet the nice way .. :|

Replying to mcwanek@fourthwavellc.net:

We run an internal jabber chat room, so our TracBot runs in there. Our TracBot polls the RSS feed of our Trac timeline for any changes and posts them into the jabber chat room. The bot also logs all our posts to the chat room and then dumps out a daily log back into Trac as a wiki page. This way we have a searchable history of our chat room in Trac.

Would your company share the code?

IMHO this could be set up at the point where the regular mail notifications are sent right now.

comment:9 Changed 5 years ago by rjollos

Some inverse of the requested functionality: JabberTracScript

comment:10 Changed 5 years ago by bthate@…

to feed the RSS into a jabber conference you can use GOZERBOT and the RSS plugin in the gozerplugs package. See http://gozerbot.org for more information (the #trac IRC channel also uses this).

comment:11 Changed 3 years ago by anonymous

  • Priority changed from normal to lowest

Add Comment

Modify Ticket

Action
as reopened .
Author


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

 
Note: See TracTickets for help on using tickets.