Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix deadlock on reconnect (irc). Closes #757 | Wim | 2019-04-19 | 1 | -1/+4 |
| | |||||
* | Revert fix for #722. Closes #781 | Wim | 2019-04-06 | 1 | -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 #786 | Wim | 2019-04-06 | 1 | -0/+1 |
| | |||||
* | Use default nick if none specified (irc). Fixes #785 | Wim | 2019-04-05 | 1 | -1/+1 |
| | |||||
* | Handle nil message (telegram). Fixes #777 | Wim | 2019-04-05 | 1 | -0/+5 |
| | |||||
* | Revert "Bail if any vars are nil, not if all (telegram) (#778)" | Wim | 2019-04-05 | 1 | -2/+2 |
| | | | | This reverts commit efd2c9986270a8a1dd35f896a80d6465fc52054b. | ||||
* | Ignore message_replied and hidden messages (slack). Fixes #709 (#779) | Wim | 2019-03-27 | 1 | -6/+12 |
| | |||||
* | Bail if any vars are nil, not if all (telegram) (#778) | David Hill | 2019-03-27 | 1 | -2/+2 |
| | |||||
* | Look up #channel too (rocketchat). Fix #773 (#775) | Wim | 2019-03-24 | 1 | -1/+1 |
| | |||||
* | Fix double unlock (slack) (#771) | David Hill | 2019-03-21 | 1 | -1/+0 |
| | |||||
* | Allow the # in rocketchat channels (backward compatible) (#769) | Wim | 2019-03-20 | 1 | -2/+7 |
| | |||||
* | Fix race-condition in populateUser() (#767) | Duco van Amstel | 2019-03-20 | 1 | -12/+38 |
| | | | | Fix the root-cause of #759 by introducing synchronisation points for individual user fetches. | ||||
* | Fix regression for legacy slack by #766 (#768) | Wim | 2019-03-20 | 1 | -2/+6 |
| | |||||
* | Refactor channel and user management (slack) (#766) | Duco van Amstel | 2019-03-15 | 4 | -94/+138 |
| | |||||
* | Force Slack link unfurling (#763) | Duco van Amstel | 2019-03-12 | 1 | -1/+5 |
| | |||||
* | Split-out Slack user and channel management (#762) | Duco van Amstel | 2019-03-12 | 3 | -229/+239 |
| | |||||
* | Trim <p> and </p> tags (matrix). Closes #686 (#753) | Wim | 2019-03-03 | 1 | -1/+4 |
| | |||||
* | Do not send duplicate messages (rocketchat). Fixes #745 (#752) | Wim | 2019-03-02 | 2 | -7/+21 |
| | | | | | | | | | For an unknown reason we get duplicate messages (from the same channel) using the realtime API when we have > 1 channel subscribed on. Solution for now is caching the message ID in a LRU cache and ignoring the duplicates. This should be reviewed when we have actual editing support from the realtime API | ||||
* | Add support for URL in messageEntities (telegram). Fixes #735 (#736) | Wim | 2019-03-02 | 1 | -0/+22 |
| | |||||
* | Need to specify /topic:mytopic for channel configuration (zulip). (#751) | Wim | 2019-03-02 | 1 | -18/+15 |
| | | | | | | | | | | | | | | Breaking change for zulip channel configuration. For zulip the channel configuration will now need to specify also the topic with /topic:yourtopic. Example: [[gateway.inout]] account="zulip.streamchat" channel="general/topic:mytopic" This fixes the incorrect PR #701 which didn't work with multiple gateways. | ||||
* | Use whatsapp forks (#750) | Wim | 2019-03-02 | 3 | -5/+5 |
| | |||||
* | Do not relay any bot messages (discord) (#743) | Wim | 2019-02-28 | 1 | -1/+1 |
| | |||||
* | Add MediaConvertWebPToPNG option (telegram). (#741) | Wim | 2019-02-27 | 4 | -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) | Wim | 2019-02-26 | 2 | -4/+4 |
| | |||||
* | Keep reconnecting until succeed (zulip) (#737) | Wim | 2019-02-26 | 1 | -5/+7 |
| | |||||
* | 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 |
| |