summaryrefslogtreecommitdiffstats
path: root/bridge/irc
Commit message (Collapse)AuthorAgeFilesLines
* Add a MessageClipped option to set your own clipped message. Closes #1359 ↵Wim2021-05-271-6/+10
| | | | (#1487)
* Add support for stateless bridging via draft/relaymsg (irc) (#1339)James Lu2020-12-301-16/+57
| | | | | | | | | | | | | | | | | * 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>
* 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-222-0/+19
|
* Add support for irc to irc notice (irc). Fixes #754 (#1305)Wim2020-11-222-4/+21
|
* Add PingDelay option (irc) (#1269)Wim2020-10-211-1/+8
|
* Add even more debug for irc (#1266)Wim2020-10-201-0/+7
|
* Skip gIRC built-in rate limiting (irc) (#1164)James Lu2020-06-241-0/+2
| | | | By default, gIRC rate limits all outgoing messages. Since matterbridge already implements message throttling, this is extra layer of throttling is not necessary.
* Only colour IRC nicks if there is one. (#1161)TheHolyRoger2020-06-241-1/+1
|
* Update dependencies / vendor (#1146)Wim2020-05-241-1/+1
|
* Add StripMarkdown option (irc). (#1145)Wim2020-05-231-0/+5
| | | Enable `StripMarkdown` to strip markdown for irc.
* Add extra space before colon in attachments (irc). Fixes #1089 (#1101)Wim2020-04-191-2/+2
|
* Be less lossy when throttling IRC messages (#1004)Qais Patankar2020-02-091-6/+2
| | | Note that msg.Text and chucking it through a chan is OK: https://play.golang.org/p/MTfT3YSsgPX
* 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.
* Return when not connected and drop a message (irc). Fixes #786Wim2019-04-061-0/+1
|
* Use default nick if none specified (irc). Fixes #785Wim2019-04-051-1/+1
|
* Support quits from irc correctly. Fixes #722 (#724)Wim2019-02-171-0/+4
|
* Upgrade to latest girc version (irc) (#718)Wim2019-02-162-3/+3
|
* Handle servers without MOTD (irc). Closes #692Wim2019-01-241-0/+1
|
* Fix possible data race (irc). Closes #693Wim2019-01-241-1/+1
|
* Move golangci-lint configuration to file (#635)Duco van Amstel2018-12-051-4/+1
|
* Fix multiple channel join regression. Closes #639Wim2018-12-031-1/+0
|
* Refactor irc handlers. Fix linting (#611)Wim2018-11-282-259/+304
|
* Add option to send RAW commands after connection (irc). Fixes #490 (#604)Wim2018-11-251-0/+10
|
* Rework connection logic (irc)Wim2018-11-231-14/+25
| | | | | | 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
* Fix Nickserv logic (irc) #602Wim2018-11-221-9/+18
|
* Fix golint linter issues and enable it in CI (#593)Duco van Amstel2018-11-151-7/+7
|
* Fix IRC line splitting. Closes #584 (#587)Duco van Amstel2018-11-142-80/+19
|
* Make gocritic linter happyWim2018-11-081-3/+2
|
* Make unparam linter happyWim2018-11-082-7/+5
|
* Clean up various stuff (#508)David Hill2018-11-071-1/+4
| | | * various cleanups
* Check nickname on kick (irc). Closes #488Wim2018-08-271-1/+1
|
* Add a bit more debugging (irc). #482Wim2018-08-161-0/+1
|
* Stop numbers being stripped after non-color control codes (irc) (#465)John2018-07-111-1/+1
| | | 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.
* Reconnect on quit. (irc) See #431 (#445)Liam Stanley2018-06-091-18/+20
| | | | | * potential fixes for #431 * go: fix formatting/gofmt/goreturns
* Prevent white or black color codes (irc) (#434)Yuval Langer2018-05-291-1/+2
|
* Fix format string bug (irc) (#428)Kazuhiro NISHIYAMA2018-05-181-1/+1
|
* End IRC username formatting with a total formatting reset (irc) (#425)Yuval Langer2018-05-181-1/+1
| | | | | | * Add zero padding to the color code * Change color ending into total formatting reset
* [WIP] Colorize username sent to IRC using its crc32 IEEE checksum (#423)Yuval Langer2018-05-111-2/+8
| | | | | | | | * Colorize username sent to IRC using its crc32 IEEE checksum * Add `ColorNicks` configuration variable * Add `ColorNicks` setting
* Add support for CJK to/from utf-8 (irc). #400Wim2018-05-111-14/+25
|
* Handle file comment betterWim2018-05-061-0/+3
|
* Add support for NoSendJoinPart. Closes #382Wim2018-03-061-0/+3
|
* Use default values part 2 (irc)Wim2018-03-061-0/+6
|
* Use default values (irc)Wim2018-03-061-4/+4
|
* Fix panic on sending messages between reconnects (irc). Closes #385Wim2018-03-051-0/+5
|
* Use viper (github.com/spf13/viper) for configurationWim2018-03-041-47/+49
|
* Improve debug messagesWim2018-02-281-5/+5
|