summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix regression in HTML handling (telegram). Closes #734Wim2019-02-2422-2551/+2325
| | | | | * Revert back to blackfriday v1 * Add testing
* Add goreleaser.ymlWim2019-02-241-0/+34
|
* Release v1.14.0-rc1v1.14.0-rc1Wim2019-02-232-1/+30
|
* Do not send topic changes on connect (xmpp). Fixes #732 (#733)Wim2019-02-231-1/+20
| | | | | This checks if we get a topic change < 5 seconds after connection. If that's the case, ignore it. Also this PR makes the topic change an actual EventTopicChange.
* Make all loggers derive from non-default instance (#728)Wim2019-02-2328-268/+2932
|
* Add scripting (tengo) support for every incoming message (#731)Wim2019-02-23147-0/+14201
| | | | | | | | | | | | | | | | | | | | | | TengoModifyMessage allows you to specify the location of a tengo (https://github.com/d5/tengo/) script. This script will receive every incoming message and can be used to modify the Username and the Text of that message. The script will have the following global variables: to modify: msgUsername and msgText to read: msgChannel and msgAccount The script is reloaded on every message, so you can modify the script on the fly. Example script can be found in https://github.com/42wim/matterbridge/tree/master/gateway/bench.tengo and https://github.com/42wim/matterbridge/tree/master/contrib/example.tengo The example below will check if the text contains blah and if so, it'll replace the text and the username of that message. text := import("text") if text.re_match("blah",msgText) { msgText="replaced by this" msgUsername="fakeuser" } More information about tengo on: https://github.com/d5/tengo/blob/master/docs/tutorial.md and https://github.com/d5/tengo/blob/master/docs/stdlib.md
* Support rewriting messages from relaybots using ExtractNicks. Fixes #466 (#730)Wim2019-02-234-0/+248
| | | | | | | | | | some examples: this replaces a message like "Relaybot: <relayeduser> something interesting" to "relayeduser: something interesting" ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ] ] you can use multiple entries for multiplebots this also replaces a message like "otherbot: (relayeduser) something else" to "relayeduser: something else" ExtractNicks=[ [ "Relaybot", "<(.*?)>\\s+" ],[ "otherbot","\\((.*?)\\)\\s+" ] OPTIONAL (default empty) ExtractNicks=[ ["otherbot","<(.*?)>\\s+" ] ]
* Update vendorWim2019-02-232-21/+1
|
* Add extra debug option (slack)Wim2019-02-222-1/+5
|
* Allow sending discriminator with Discord username (#726)Declan Hoare2019-02-223-1/+9
|
* Add telegram support to matterbridge chat channelWim2019-02-211-0/+3
|
* Disable updateChannelMembers for nowWim2019-02-211-1/+1
|
* Fix typoWim2019-02-211-1/+1
|
* Add initial WhatsApp support (#711)Krzysiek Madejski2019-02-2183-3456/+24187
|
* Update documentation wrt ShowJoinPart from discordWim2019-02-211-12/+12
|
* Handle quit message relay better on gateways with one channel on the irc ↵Wim2019-02-211-0/+5
| | | | bridge #722
* Bump to 1.14.0-devWim2019-02-171-1/+1
|
* Fix bug in #721Wim2019-02-171-2/+2
|
* Support quits from irc correctly. Fixes #722 (#724)Wim2019-02-172-1/+21
|
* Allow zulip bridge to specify topic per channel. Closes #701 (#723)Wim2019-02-173-1/+26
|
* Support join/leaves from discord. Closes #654 (#721)Wim2019-02-173-0/+56
|
* Allow regexs in ignoreNicks. Closes #690 (#720)Wim2019-02-173-45/+45
|
* Detect html nicks in RemoteNickFormat (matrix). Fixes #696 (#719)Wim2019-02-171-1/+8
|
* Send notices on join/parts (matrix). Fixes #712 (#716)Wim2019-02-161-0/+9
|
* Send username when uploading video/images (matrix). Fixes #715 (#717)Wim2019-02-161-0/+6
|
* Upgrade to latest girc version (irc) (#718)Wim2019-02-1614-188/+171
|
* Add blogpost about matterbridgeWim2019-02-151-0/+1
|
* Refactor and update RocketChat bridge (#707)Wim2019-02-1553-43/+6201
|\ | | | | | | | | | | | | * Add support for editing/deleting messages * Add support for uploading files * Add support for avatars * Use the Rocket.Chat.Go.SDK * Use the rest and streaming api
| * Refactor and update RocketChat bridgeWim2019-02-1553-43/+6201
| | | | | | | | | | | | | | | | * Add support for editing/deleting messages * Add support for uploading files * Add support for avatars * Use the Rocket.Chat.Go.SDK * Use the rest and streaming api
* | Add extra debug of SubMessage to empty messages error (slack). #709Wim2019-02-151-0/+3
| |
* | Do not panic on non-json response from server (zulip)Wim2019-02-135-5/+17
| |
* | Update golangci-lint. Disable hugeParam check for nowWim2019-02-122-3/+3
| |
* | Add fbridge to READMEWim2019-02-121-12/+20
| |
* | Fix error handling on bad event queue id (zulip). Closes #694Wim2019-02-115-15/+63
| |
* | Update README. Add rocketchatWim2019-02-101-0/+18
| |
* | Hint at thread replies when messages are unthreaded (slack) (#684)Wim2019-02-103-0/+19
|/
* Clarify dev chat info (#700)AJolly2019-02-051-1/+1
|
* Update READMEWim2019-01-311-2/+3
|
* Bump versionWim2019-01-311-1/+1
|
* Release v1.13.1v1.13.1Wim2019-01-312-1/+9
|
* Update vendor, move to labstack/echo/v4 Fixes #698Wim2019-01-31265-7194/+32001
|
* Bump versionWim2019-01-311-1/+1
|
* Release v1.13.0v1.13.0Wim2019-01-302-1/+29
|
* Optimize handling of very large slack teams. Fixes #695Wim2019-01-302-11/+27
| | | | | | | | | | Stop getting users if we reach 2000 users. Slack will rate-limit us even if we follow their limits. This means that we now have to lookup every user that says a message for the first time. This should be less intensive on the API. This also disables partly fb713ed91bfb48c0037e489f80be85c54e69953a for now. ChannelMembers will not be filled.
* Send GetChannelMembers event only to slack for nowWim2019-01-241-0/+4
|
* Handle servers without MOTD (irc). Closes #692Wim2019-01-241-0/+1
|
* Fix possible data race (irc). Closes #693Wim2019-01-241-1/+1
|
* Make discord user token work correctly (discord) #689Wim2019-01-191-2/+2
|
* Add initial support for getting ChannelMember info of all bridges (#678)Wim2019-01-187-21/+189
| | | | | | | | | | | | | | * Add initial support for getting ChannelMember info of all bridges. Adds an EventGetChannelMembers event, which gets send every x time to all bridges. Bridges should respond on this event with a Message containing ChannelMembers in the EventGetChannelMembers key in the Extra field. handleEventGetChannelMembers will handle this Message and sets the contained ChannelMembers to the Bridge struct. * Add ChannelMembers support to the slack bridge
* Run go fmtWim2019-01-141-3/+3
|