summaryrefslogtreecommitdiffstats
path: root/bridge/irc/handlers.go
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Clear existing IRC event handlers before connecting new ones (#1795)"Wim2022-05-011-1/+0
| | | | | | This reverts commit f044b948e257814e8e1f70d4b66821bfd9c2ff06. Fixes #1815
* Clear existing IRC event handlers before connecting new ones (#1795)Bryan Davis2022-04-071-0/+1
| | | | | | | 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
* Refactor utf-8 conversion (irc) (#1767)Wim2022-03-191-4/+3
|
* Make handlers run async (irc) (#1325)Wim2020-12-051-7/+7
| | | | | | | | 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.
* Join on invite (irc). Fixes #1231 (#1306)Wim2020-11-221-0/+15
|
* Add support for irc to irc notice (irc). Fixes #754 (#1305)Wim2020-11-221-1/+13
|
* Update dependencies / vendor (#1146)Wim2020-05-241-1/+1
|
* Add extra space before colon in attachments (irc). Fixes #1089 (#1101)Wim2020-04-191-2/+2
|
* Add scripting (tengo) support for every outgoing message (#806)Wim2019-04-191-5/+0
| | | | | | | | | | | | | | | | | | 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.
* Add verbose IRC joins/parts (ident@host) (#805)chotaire2019-04-181-1/+6
| | | New configuration setting: VerboseJoinPart (default is false)
* Fix deadlock on reconnect (irc). Closes #757Wim2019-04-151-1/+4
|
* Revert fix for #722. Closes #781Wim2019-04-061-4/+0
| | | | | | | | | | | | | | 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.
* Support quits from irc correctly. Fixes #722 (#724)Wim2019-02-171-0/+4
|
* Upgrade to latest girc version (irc) (#718)Wim2019-02-161-2/+2
|
* Move golangci-lint configuration to file (#635)Duco van Amstel2018-12-051-4/+1
|
* Refactor irc handlers. Fix linting (#611)Wim2018-11-281-0/+238