Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Keep connection state. Fixes #856 | Wim | 2019-06-30 | 1 | -0/+23 |
| | | | | | | | | Actually check if we're connected when trying to Send() a message. Messages now will get dropped when not connected. TODO: Ideally this should be in a ring buffer to retransmit when the connection comes back up. | ||||
* | Add an option to skip the Mattermost server version check (#849) | Joona Hoikkala | 2019-06-16 | 2 | -0/+2 |
| | | | Adds SkipVersionCheck bool option for mattermost | ||||
* | Support bulk deletions (discord) | Qais Patankar | 2019-06-16 | 2 | -0/+22 |
| | |||||
* | Verify TLS against JID domain, not the host. (xmpp) (#834) | Nick | 2019-06-14 | 1 | -1/+1 |
| | | | | | Partially fixes #820. A full fix requires patching https://github.com/matterbridge/go-xmpp to use DNS SRV records. | ||||
* | Fix logic (xmpp) | Wim | 2019-06-14 | 1 | -1/+1 |
| | |||||
* | Fix regression in autojoining with legacy tokens (slack). Fixes #651 (#848) | Wim | 2019-06-14 | 2 | -2/+18 |
| | |||||
* | Allow messages with timestamp (xmpp). Fixes #835 (#847) | Wim | 2019-06-14 | 1 | -1/+1 |
| | |||||
* | Fix noisy whatsapp error logging | Wim | 2019-06-14 | 1 | -0/+4 |
| | |||||
* | Update github.com/Rhymen/go-whatsapp vendor. Fixes #843 | Wim | 2019-06-14 | 1 | -1/+1 |
| | |||||
* | Revert xmpp to orig behaviour. Closes #844 | Wim | 2019-06-13 | 1 | -1/+1 |
| | |||||
* | Make config parse errors readable | Wim | 2019-06-02 | 1 | -2/+2 |
| | |||||
* | Fix go mod issue by removing whatsapp-ext | Wim | 2019-06-02 | 3 | -13/+27 |
| | |||||
* | Clean-up XMPP handling code (#831) | Duco van Amstel | 2019-05-30 | 1 | -77/+129 |
| | |||||
* | Use upstream whatsapp again (#809) | Wim | 2019-05-30 | 3 | -7/+6 |
| | |||||
* | Allow messages from other bots (discord). Fixes #816 | Wim | 2019-05-01 | 1 | -1/+1 |
| | |||||
* | Disable user lookups on delete messages (slack) (#812) | Wim | 2019-04-23 | 1 | -11/+11 |
| | |||||
* | Add lacking clean-up in Slack synchronisation (#811) | Duco van Amstel | 2019-04-23 | 1 | -4/+5 |
| | |||||
* | Handle unthreaded messages (mattermost). Fixes #803 | Wim | 2019-04-19 | 1 | -0/+6 |
| | |||||
* | Fix panic on nil message.Post (mattermost). Fixes #804 | Wim | 2019-04-19 | 1 | -0/+6 |
| | |||||
* | Add scripting (tengo) support for every outgoing message (#806) | Wim | 2019-04-19 | 2 | -5/+2 |
| | | | | | | | | | | | | | | | | | | 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) | chotaire | 2019-04-18 | 2 | -2/+8 |
| | | | New configuration setting: VerboseJoinPart (default is false) | ||||
* | Fix deadlock on reconnect (irc). Closes #757 | Wim | 2019-04-15 | 1 | -1/+4 |
| | |||||
* | Add useraction support (rocketchat). Closes #772 (#794) | Wim | 2019-04-08 | 1 | -0/+5 |
| | |||||
* | Add tengo support to RemoteNickFormat (#793) | Wim | 2019-04-08 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | | | | | This commit add support for using the result of a tengo script in RemoteNickFormat using {TENGO} Also adds a new toml table [tengo] with key RemoteNickFormat and value location of the script. This also moves the TengoModifyMessage from [general] to Message in [tengo] Documentation: RemoteNickFormat allows you to specify the location of a tengo (https://github.com/d5/tengo/) script. The script will have the following global variables: to modify: result to read: channel, bridge, gateway, protocol, nick The result will be set in {TENGO} in the RemoteNickFormat key of every bridge where {TENGO} is specified 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/contrib/remotenickformat.tengo [tengo] RemoteNickFormat="remotenickformat.tengo" | ||||
* | 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. |