Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix regression in HTML handling (telegram). Closes #734 | Wim | 2019-02-24 | 1 | -14/+10 |
| | | | | | * Revert back to blackfriday v1 * Add testing | ||||
* | Do not send topic changes on connect (xmpp). Fixes #732 (#733) | Wim | 2019-02-23 | 1 | -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) | Wim | 2019-02-23 | 5 | -86/+96 |
| | |||||
* | Add scripting (tengo) support for every incoming message (#731) | Wim | 2019-02-23 | 1 | -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) | Wim | 2019-02-22 | 1 | -1/+1 |
| | |||||
* | Allow sending discriminator with Discord username (#726) | Declan Hoare | 2019-02-22 | 2 | -0/+4 |
| | |||||
* | Add initial WhatsApp support (#711) | Krzysiek Madejski | 2019-02-21 | 4 | -0/+494 |
| | |||||
* | Support quits from irc correctly. Fixes #722 (#724) | Wim | 2019-02-17 | 1 | -0/+4 |
| | |||||
* | Allow zulip bridge to specify topic per channel. Closes #701 (#723) | Wim | 2019-02-17 | 2 | -1/+17 |
| | |||||
* | Support join/leaves from discord. Closes #654 (#721) | Wim | 2019-02-17 | 2 | -0/+44 |
| | |||||
* | Detect html nicks in RemoteNickFormat (matrix). Fixes #696 (#719) | Wim | 2019-02-17 | 1 | -1/+8 |
| | |||||
* | Send notices on join/parts (matrix). Fixes #712 (#716) | Wim | 2019-02-16 | 1 | -0/+9 |
| | |||||
* | Send username when uploading video/images (matrix). Fixes #715 (#717) | Wim | 2019-02-16 | 1 | -0/+6 |
| | |||||
* | Upgrade to latest girc version (irc) (#718) | Wim | 2019-02-16 | 2 | -3/+3 |
| | |||||
* | Refactor and update RocketChat bridge (#707) | Wim | 2019-02-15 | 3 | -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 bridge | Wim | 2019-02-15 | 3 | -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). #709 | Wim | 2019-02-15 | 1 | -0/+3 |
| | | |||||
* | | Do not panic on non-json response from server (zulip) | Wim | 2019-02-13 | 1 | -1/+8 |
| | | |||||
* | | Fix error handling on bad event queue id (zulip). Closes #694 | Wim | 2019-02-11 | 1 | -1/+17 |
| | | |||||
* | | Hint at thread replies when messages are unthreaded (slack) (#684) | Wim | 2019-02-10 | 2 | -0/+13 |
|/ | |||||
* | Update vendor, move to labstack/echo/v4 Fixes #698 | Wim | 2019-01-31 | 1 | -14/+8 |
| | |||||
* | Optimize handling of very large slack teams. Fixes #695 | Wim | 2019-01-30 | 2 | -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 #692 | Wim | 2019-01-24 | 1 | -0/+1 |
| | |||||
* | Fix possible data race (irc). Closes #693 | Wim | 2019-01-24 | 1 | -1/+1 |
| | |||||
* | Make discord user token work correctly (discord) #689 | Wim | 2019-01-19 | 1 | -2/+2 |
| | |||||
* | Add initial support for getting ChannelMember info of all bridges (#678) | Wim | 2019-01-18 | 5 | -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 fmt | Wim | 2019-01-14 | 1 | -3/+3 |
| | |||||
* | Allow to bridge non-bot Discord users (discord) (#689) | Zomboy Alfrir | 2019-01-14 | 1 | -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 Hill | 2019-01-09 | 1 | -1/+1 |
| | |||||
* | Add support for mattermost threading (#627) | Patrick Connolly | 2019-01-09 | 2 | -3/+4 |
| | |||||
* | Use only one webhook if possible (discord) (#681) | James Nylen | 2019-01-09 | 1 | -8/+42 |
| | |||||
* | Add file comment to webhook messages (discord). Fixes #358 | Wim | 2019-01-07 | 1 | -1/+7 |
| | |||||
* | Improve error reporting on failure to join Discord. Fixes #672 (#680) | James Nylen | 2019-01-07 | 1 | -1/+15 |
| | |||||
* | Add support for markdown to HTML conversion (matrix). Closes #663 (#670) | Wim | 2019-01-06 | 2 | -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) | ValdikSS | 2019-01-05 | 1 | -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 Patankar | 2019-01-04 | 2 | -0/+7 |
| | |||||
* | Remove unused key (config) | Wim | 2019-01-04 | 1 | -1/+0 |
| | |||||
* | Ignore LatencyReport event (slack) | Wim | 2019-01-02 | 1 | -0/+2 |
| | |||||
* | Use logrus imports instead of log (#662) | Duco van Amstel | 2018-12-26 | 4 | -17/+17 |
| | |||||
* | Fix sshchat connection logic (#661) | Duco van Amstel | 2018-12-26 | 1 | -13/+28 |
| | |||||
* | Try downloading files again if slack is too slow (slack). Closes #655 (#656) | Jerry Heiselman | 2018-12-19 | 1 | -2/+8 |
| | |||||
* | Add wait option for populateUsers/Channels (slack) Fixes #579 (#653) | Wim | 2018-12-15 | 3 | -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 Hill | 2018-12-15 | 2 | -0/+23 |
| | |||||
* | Fix bot (legacy token) messages not being send. Closes #571 | Wim | 2018-12-13 | 1 | -1/+1 |
| | |||||
* | Refactor telegram (#649) | Wim | 2018-12-12 | 2 | -35/+46 |
| | | | * Decrease complexity in Send() (makes codeclimate happy) | ||||
* | Refactor sshchat bridge (#650) | Wim | 2018-12-12 | 1 | -18/+20 |
| | | | | * Decrease complexity in Send() * Add handleUploadFile() function | ||||
* | Add bot debug info (slack) | Wim | 2018-12-12 | 1 | -0/+1 |
| | |||||
* | Enable errcheck linter (#646) | Duco van Amstel | 2018-12-08 | 2 | -17/+22 |
| | |||||
* | Refactor steam bridge (#630) | Wim | 2018-12-07 | 2 | -90/+131 |
| | | | | * split up in different files * decrease complexity | ||||
* | Disable some unparam checks (discord) | Wim | 2018-12-07 | 1 | -3/+3 |
| |