Continuum

IRC support needed for IRC servers not supporting /privmsg

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.1-beta-3
  • Component/s: Notifier - IRC
  • Labels:
    None
  • Environment:
    Linux
  • Complexity:
    Intermediate
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

The IRC server we use in house does not support /privmsg for any non-operator user. The IS folks are refusing to add any other operators for use by the continuum builds.

It would be nice if we could configure the IRC notifier to do a normal:
/join #channel
and then a normal text message is sent.

Issue Links

Activity

Hide
Andrew Williams added a comment -

I think this might be needed for freenode.net too, as I cannot get the bot to report to that network...

Show
Andrew Williams added a comment - I think this might be needed for freenode.net too, as I cannot get the bot to report to that network...
Hide
Olivier Lamy added a comment -

Notes on irc exchange :

Show
Olivier Lamy added a comment - Notes on irc exchange :
Hide
Olivier Lamy added a comment -

Patch attached.
Can't use plexus-appserver-service-irc-core because reopen connections for each requests.
Directly use IRCLib (http://moepii.sourceforge.net/) with the doNotice command.

Show
Olivier Lamy added a comment - Patch attached. Can't use plexus-appserver-service-irc-core because reopen connections for each requests. Directly use IRCLib (http://moepii.sourceforge.net/) with the doNotice command.
Hide
Olivier Lamy added a comment -

After tests there is a trouble with this patch if two or more projectNotifiers use the same irc host / channel / nick.

Show
Olivier Lamy added a comment - After tests there is a trouble with this patch if two or more projectNotifiers use the same irc host / channel / nick.
Hide
Emmanuel Venisse added a comment -

I applied the patch with some modifications.

I use doPrivMsg instead of doNotice, verify that work too with your server
test if the connection is open before to use it

Show
Emmanuel Venisse added a comment - I applied the patch with some modifications. I use doPrivMsg instead of doNotice, verify that work too with your server test if the connection is open before to use it
Hide
Emmanuel Venisse added a comment -

things to do before to close this issue:

  • use IRCLib 1.10
  • Add SSL support, sample is available (http://moepii.sourceforge.net/irclib/Client.java)
  • Add the possibility to choose between doPrivMsg and do Notice if doPrivMsg isn't supported for you
  • reconnect to all channel if the connection was closed

the diff between PRIVMSG and NOTICE : http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_4

Show
Emmanuel Venisse added a comment - things to do before to close this issue:
  • use IRCLib 1.10
  • Add SSL support, sample is available (http://moepii.sourceforge.net/irclib/Client.java)
  • Add the possibility to choose between doPrivMsg and do Notice if doPrivMsg isn't supported for you
  • reconnect to all channel if the connection was closed
the diff between PRIVMSG and NOTICE : http://www.irchelp.org/irchelp/rfc/chapter4.html#c4_4

People

Vote (1)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: