summaryrefslogtreecommitdiffstats
path: root/bridge/irc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Refactor using factoryWim2018-02-271-34/+27
|
* Small fixes to ircWim2018-02-271-12/+30
|
* Set event channels to lowercase (irc). Closes #375Wim2018-02-221-1/+1
|
* Add DebugLevel option (irc)Wim2018-02-221-2/+11
|
* Add more debug for events (irc)Wim2018-02-221-1/+3
|
* Use prefixed-formatter for better loggingWim2018-02-211-2/+2
|
* Move Sirupsen => sirupsenWim2018-02-201-1/+1
|
* Truncate messages sent to IRC based on byte count (#368)tsudoko2018-02-081-2/+6
| | | | | | * Truncate messages sent to IRC based on byte count * Avoid unnecessary string allocations
* Send chat notification if media is too big to be re-uploaded to MediaServer. ↵Wim2018-02-031-0/+3
| | | | See #359