Commit Graph

26 Commits

Author SHA1 Message Date
Wim 6b18257185 Move common code to matterbridge-plus bridge package 2016-03-23 00:25:04 +01:00
Wim 93db74e7e1 Add -debug option. Run go fmt. Some cleanups 2016-03-22 00:26:27 +01:00
Fredrik de Vibe 69b534ee99 Add Freenode style NickServ-based authentication.
If the server sends a NOTICE requesting identification, identify.
2016-03-21 23:52:10 +01:00
Fredrik de Vibe 99ac7dc114 Handle connects asynchroneously.
On connect events, update the nick with what's actually used and
set up channels as configured.
2016-03-21 14:24:25 +01:00
Fredrik de Vibe 3fcce2d8a0 Limit number of columns to number of IRC nicks.
Don't add more columns to the IRC nicks table than the total number of
nicks in the IRC channel.
2016-03-18 18:13:17 -04:00
Fredrik de Vibe a53e699112 Remove unnecessary break in switch block. 2016-03-18 18:09:55 -04:00
Fredrik de Vibe f29822db02 Add double newline if the message is markup and prefixed.
If the message is prefixed with the sender nick, it will break markup
formatting on the same line. This commit introduces a very rudimentary
markup checker, and if the message is deemed to be markup in those
cases, the space between sender nick and message is replaced by a
double newline.
2016-03-18 18:03:15 -04:00
Fredrik de Vibe a63433e41b Move new config parameters from IRC to Mattermost.
PrefixMessagesWithNick, NickFormatter and NicksPerRow.
2016-03-18 15:54:14 -04:00
Fredrik de Vibe e0379ca5af Enable !users command and add a table formatter
* Listen to wildcarded events, currently handle RPL_NAMREPLY.
* Add a formatter to present nick lists from IRC as a table.
2016-03-18 15:19:13 -04:00
Fredrik de Vibe 5ec94fdb43 Add config option to prefix messages (IRC->MM) with nick
If username overriding isn't enabled on the Mattermost server, this is
required for Mattermost users to see who sent a message from IRC.
2016-03-18 06:09:29 -04:00
Wim f914695801 Add support for slack username circumfix. Closes #10 2016-02-18 21:45:29 +01:00
Bert Mertens fd74dca175 Add PASS support as per RFC1459
Provide a connection password via the protocol's PASS command.

Imported irc.go supports it as a simple parameter:
https://github.com/thoj/go-ircevent/blob/master/irc.go#L381

See https://tools.ietf.org/html/rfc1459#section-4.1 for full details.
2016-01-27 20:09:06 +01:00
Wim 9f07a2cfd5 Add support for multiple channels 2015-12-19 16:55:49 +01:00
Wim 0dc5e042d2 Add option to change receiving mattermost channel 2015-12-19 15:55:07 +01:00
Wim f0a5d2396f Add option to specify configfile 2015-12-18 20:54:28 +01:00
Wim bdac03f725 Add BindAddress option. Closes #4 2015-12-12 23:20:13 +01:00
Wim bd7c1e3e3c Set type join_leave for irc JOIN/PART messages send to mattermost 2015-11-29 00:28:10 +01:00
Wim 5282cdaccd Remove markdown for giphy 2015-10-28 00:16:42 +01:00
Wim 008ea94b53 Add giphy support. !gif <query> 2015-10-28 00:04:57 +01:00
Wim 693f1946b7 Fix multiline messages 2015-10-27 11:25:21 +01:00
Wim 8b6a00d1c5 Add SkipTLSVerify option for mattermost, allows selfsigned certificates 2015-10-25 01:00:19 +02:00
Wim 43738dbc89 Refactor and IconURL support 2015-10-24 18:44:45 +02:00
Wim 6feccd4c6c Add support for outgoing webhook token 2015-10-24 18:05:10 +02:00
Wim 523f6ffb80 Add support for NAMES 2015-10-24 17:25:18 +02:00
Wim b346ac868b Add support for JOIN, PART and CTCP_ACTION 2015-10-24 16:39:01 +02:00
Wim cbd01d4a55 Initial matterbridge commit 2015-10-23 22:34:37 +02:00