summaryrefslogtreecommitdiffstats
path: root/bridge
Commit message (Collapse)AuthorAgeFilesLines
...
* Do not relay any bot messages (discord) (#743)Wim2019-02-281-1/+1
|
* Add MediaConvertWebPToPNG option (telegram). (#741)Wim2019-02-274-0/+50
| | | | | | | | * Add MediaConvertWebPToPNG option (telegram). When enabled matterbridge will convert .webp files to .png files before uploading them to the mediaserver of the other bridges. Fixes #398
* Print errors as string instead of %#v (#738)Wim2019-02-262-4/+4
|
* Keep reconnecting until succeed (zulip) (#737)Wim2019-02-261-5/+7
|
* Fix regression in HTML handling (telegram). Closes #734Wim2019-02-241-14/+10
| | | | | * Revert back to blackfriday v1 * Add testing
* 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-235-86/+96
|
* Add scripting (tengo) support for every incoming message (#731)Wim2019-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* Add extra debug option (slack)Wim2019-02-221-1/+1
|
* Allow sending discriminator with Discord username (#726)Declan Hoare2019-02-222-0/+4
|
* Add initial WhatsApp support (#711)Krzysiek Madejski2019-02-214-0/+494
|
* Support quits from irc correctly. Fixes #722 (#724)Wim2019-02-171-0/+4
|
* Allow zulip bridge to specify topic per channel. Closes #701 (#723)Wim2019-02-172-1/+17
|
* Support join/leaves from discord. Closes #654 (#721)Wim2019-02-172-0/+44
|
* 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-162-3/+3
|
* Refactor and update RocketChat bridge (#707)Wim2019-02-153-43/+374
|\ | | | | | | | | | | | | * 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-153-43/+374
| | | | | | | | | | | | | | | | * 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-131-1/+8
| |
* | Fix error handling on bad event queue id (zulip). Closes #694Wim2019-02-111-1/+17
| |
* | Hint at thread replies when messages are unthreaded (slack) (#684)Wim2019-02-102-0/+13
|/
* Update vendor, move to labstack/echo/v4 Fixes #698Wim2019-01-311-14/+8
|
* 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.
* 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-185-21/+150
| | | | | | | | | | | | | | * 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
|
* Allow to bridge non-bot Discord users (discord) (#689)Zomboy Alfrir2019-01-141-0/+5
| | | | | | If you prefix a token with `User ` it'll treat is as a user token. Co-Authored-By: zomboy-alfrir <zomboy@dancodes.com.ar>
* Fix displaying usernames for plain text clients. (matrix) (#685)David Hill2019-01-091-1/+1
|
* Add support for mattermost threading (#627)Patrick Connolly2019-01-092-3/+4
|
* Use only one webhook if possible (discord) (#681)James Nylen2019-01-091-8/+42
|
* Add file comment to webhook messages (discord). Fixes #358Wim2019-01-071-1/+7
|
* Improve error reporting on failure to join Discord. Fixes #672 (#680)James Nylen2019-01-071-1/+15
|
* Add support for markdown to HTML conversion (matrix). Closes #663 (#670)Wim2019-01-062-2/+9
| | | | | This uses our own gomatrix lib with the SendHTML function which adds HTML to formatted_body in matrix. golang-commonmark is used to convert markdown into valid HTML.
* Add various sshchat fixes (#675)ValdikSS2019-01-051-3/+6
| | | | | | | * SSH-Chat: set quiet mode to filter joins/quits * SSH-Chat: Trim newlines in the end of relayed messages * SSH-Chat: fix media links * SSH-Chat: do not relay "Rate limiting is in effect" message
* Fix #668 strip lang in code fences sent to Slack (#673)Qais Patankar2019-01-042-0/+7
|
* Remove unused key (config)Wim2019-01-041-1/+0
|
* Ignore LatencyReport event (slack)Wim2019-01-021-0/+2
|
* Use logrus imports instead of log (#662)Duco van Amstel2018-12-264-17/+17
|
* Fix sshchat connection logic (#661)Duco van Amstel2018-12-261-13/+28
|
* Try downloading files again if slack is too slow (slack). Closes #655 (#656)Jerry Heiselman2018-12-191-2/+8
|
* Add wait option for populateUsers/Channels (slack) Fixes #579 (#653)Wim2018-12-153-10/+16
| | | | | When setting wait to true, we wait until the populating isn't in progress anymore. This is used on startup connections where we really need the initial information which could take a long time on big servers.
* Populate user on channel join (slack) (#644)David Hill2018-12-152-0/+23
|
* Fix bot (legacy token) messages not being send. Closes #571Wim2018-12-131-1/+1
|
* Refactor telegram (#649)Wim2018-12-122-35/+46
| | | * Decrease complexity in Send() (makes codeclimate happy)
* Refactor sshchat bridge (#650)Wim2018-12-121-18/+20
| | | | * Decrease complexity in Send() * Add handleUploadFile() function