| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
* Allow substitution of bot's nick in RunCommands
* Tweak description of "{BOTNICK}"
Made the description of "{BOTNICK}" consistent with that of other keywords
|
|
|
|
|
|
| |
This reverts commit f044b948e257814e8e1f70d4b66821bfd9c2ff06.
Fixes #1815
|
|
|
|
|
|
|
| |
Clear all existing IRC event handler registrations before registering
new handlers in case we are connecting via a BNC and are seeing
a reconnect.
Fixes #1564
|
| |
|
| |
|
|
|
| |
Supports https://libera.chat/guides/certfp.html
|
|
|
|
| |
Add configuration option "Bind" that is passed on to girc, allowing
to choose which IP address to use on systems that have multiple ones.
|
|
|
|
|
|
| |
This allows setting custom values for the IRC username/ident and real
name (gecos) fields at server registration time with gIRC.
Co-authored-by: Wim <wim@42.be>
|
|
|
|
| |
(#1487)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* irc: add support for stateless bridging via draft/relaymsg
As discussed at https://github.com/42wim/matterbridge/issues/667#issuecomment-634214165
* irc: handle the draft/relaymsg tag in spoofed messages too
* Apply suggestions from code review
Co-authored-by: Wim <wim@42.be>
* Run gofmt on irc.go
* Document relaymsg in matterbridge.toml.sample
Co-authored-by: Wim <wim@42.be>
|
|
|
|
|
|
|
|
| |
This makes the handlers run in a seperate go-routine in girc, and makes
sure that girc isn't blocked on executing PONG requests when
matterbridge takes a long time handling the incoming message.
This can happen when another bridge is in a backoff state where the
backoff time exceeds the IRC ping timeout.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
By default, gIRC rate limits all outgoing messages.
Since matterbridge already implements message throttling, this is extra layer of throttling is not necessary.
|
| |
|
| |
|
|
|
| |
Enable `StripMarkdown` to strip markdown for irc.
|
| |
|
|
|
| |
Note that msg.Text and chucking it through a chan is OK: https://play.golang.org/p/MTfT3YSsgPX
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adds a new key OutMessage under [tengo] table, which specifies the location of the script that
will be invoked on each message being sent to a bridge and can be used to modify the Username
and the Text of that message.
The script will have the following global variables:
read-only:
inAccount, inProtocol, inChannel, inGateway
outAccount, outProtocol, outChannel, outGateway
read-write:
msgText, msgUsername
The script is reloaded on every message, so you can modify the script on the fly.
The default script in https://github.com/42wim/matterbridge/tree/master/internal/tengo/outmessage.tengo
is compiled in and will be executed if no script is specified.
|
|
|
| |
New configuration setting: VerboseJoinPart (default is false)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert "Fix typo"
This reverts commit dffd67eb311580aa2b14e7f5a069cfefdbf3aacc.
Revert "Handle quit message relay better on gateways with one channel on the irc bridge #722"
This reverts commit 240559581a225ff632c00a52e029b3728c61309e.
Revert "Support quits from irc correctly. Fixes #722 (#724)"
This reverts commit d76a04bd0a96772cec5b279aaa1ee45235adc707.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
If IRC connection fails on first connect, bail out.
Wait until after nickserv auth until joining channels (also after reconnects)
Don't do a separate irc timeout, some connections take a while #503
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
| |
* various cleanups
|
| |
|
| |
|
|
|
| |
Currently numbers are stripped not just after the color control code (\x03) but also after other formatting such as bold (\x02) and italic (\x1D), which is both unnecessary and leads to missing text from irc. This fixes that by only stripping numbers after the color control code.
|
|
|
|
|
| |
* potential fixes for #431
* go: fix formatting/gofmt/goreturns
|
| |
|
| |
|
|
|
|
|
|
| |
* Add zero padding to the color code
* Change color ending into total formatting reset
|
|
|
|
|
|
|
|
| |
* Colorize username sent to IRC using its crc32 IEEE checksum
* Add `ColorNicks` configuration variable
* Add `ColorNicks` setting
|