Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add scripting (tengo) support for every incoming message (#731) | Wim | 2019-02-23 | 147 | -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) | Wim | 2019-02-23 | 4 | -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 vendor | Wim | 2019-02-23 | 2 | -21/+1 | |
| | ||||||
* | Add extra debug option (slack) | Wim | 2019-02-22 | 2 | -1/+5 | |
| | ||||||
* | Allow sending discriminator with Discord username (#726) | Declan Hoare | 2019-02-22 | 3 | -1/+9 | |
| | ||||||
* | Add telegram support to matterbridge chat channel | Wim | 2019-02-21 | 1 | -0/+3 | |
| | ||||||
* | Disable updateChannelMembers for now | Wim | 2019-02-21 | 1 | -1/+1 | |
| | ||||||
* | Fix typo | Wim | 2019-02-21 | 1 | -1/+1 | |
| | ||||||
* | Add initial WhatsApp support (#711) | Krzysiek Madejski | 2019-02-21 | 83 | -3456/+24187 | |
| | ||||||
* | Update documentation wrt ShowJoinPart from discord | Wim | 2019-02-21 | 1 | -12/+12 | |
| | ||||||
* | Handle quit message relay better on gateways with one channel on the irc ↵ | Wim | 2019-02-21 | 1 | -0/+5 | |
| | | | | bridge #722 | |||||
* | Bump to 1.14.0-dev | Wim | 2019-02-17 | 1 | -1/+1 | |
| | ||||||
* | Fix bug in #721 | Wim | 2019-02-17 | 1 | -2/+2 | |
| | ||||||
* | Support quits from irc correctly. Fixes #722 (#724) | Wim | 2019-02-17 | 2 | -1/+21 | |
| | ||||||
* | Allow zulip bridge to specify topic per channel. Closes #701 (#723) | Wim | 2019-02-17 | 3 | -1/+26 | |
| | ||||||
* | Support join/leaves from discord. Closes #654 (#721) | Wim | 2019-02-17 | 3 | -0/+56 | |
| | ||||||
* | Allow regexs in ignoreNicks. Closes #690 (#720) | Wim | 2019-02-17 | 3 | -45/+45 | |
| | ||||||
* | 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 | 14 | -188/+171 | |
| | ||||||
* | Add blogpost about matterbridge | Wim | 2019-02-15 | 1 | -0/+1 | |
| | ||||||
* | Refactor and update RocketChat bridge (#707) | Wim | 2019-02-15 | 53 | -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 bridge | Wim | 2019-02-15 | 53 | -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). #709 | Wim | 2019-02-15 | 1 | -0/+3 | |
| | | ||||||
* | | Do not panic on non-json response from server (zulip) | Wim | 2019-02-13 | 5 | -5/+17 | |
| | | ||||||
* | | Update golangci-lint. Disable hugeParam check for now | Wim | 2019-02-12 | 2 | -3/+3 | |
| | | ||||||
* | | Add fbridge to README | Wim | 2019-02-12 | 1 | -12/+20 | |
| | | ||||||
* | | Fix error handling on bad event queue id (zulip). Closes #694 | Wim | 2019-02-11 | 5 | -15/+63 | |
| | | ||||||
* | | Update README. Add rocketchat | Wim | 2019-02-10 | 1 | -0/+18 | |
| | | ||||||
* | | Hint at thread replies when messages are unthreaded (slack) (#684) | Wim | 2019-02-10 | 3 | -0/+19 | |
|/ | ||||||
* | Clarify dev chat info (#700) | AJolly | 2019-02-05 | 1 | -1/+1 | |
| | ||||||
* | Update README | Wim | 2019-01-31 | 1 | -2/+3 | |
| | ||||||
* | Bump version | Wim | 2019-01-31 | 1 | -1/+1 | |
| | ||||||
* | Release v1.13.1v1.13.1 | Wim | 2019-01-31 | 2 | -1/+9 | |
| | ||||||
* | Update vendor, move to labstack/echo/v4 Fixes #698 | Wim | 2019-01-31 | 265 | -7194/+32001 | |
| | ||||||
* | Bump version | Wim | 2019-01-31 | 1 | -1/+1 | |
| | ||||||
* | Release v1.13.0v1.13.0 | Wim | 2019-01-30 | 2 | -1/+29 | |
| | ||||||
* | 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. | |||||
* | Send GetChannelMembers event only to slack for now | Wim | 2019-01-24 | 1 | -0/+4 | |
| | ||||||
* | 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 | 7 | -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 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> | |||||
* | Revert "Update pinned golangci-lint version (#666)" | Wim | 2019-01-14 | 1 | -1/+1 | |
| | | | | | | This reverts commit 015c0763153778779857597178a0aabd7ac1215a. Goimports regression: https://github.com/golangci/golangci-lint/issues/347 And gocritic recommending fixes in tip instead of released versions. | |||||
* | Fix displaying usernames for plain text clients. (matrix) (#685) | David Hill | 2019-01-09 | 1 | -1/+1 | |
| | ||||||
* | Add link to API page on the wiki | Wim | 2019-01-09 | 1 | -1/+1 | |
| | ||||||
* | Add support for mattermost threading (#627) | Patrick Connolly | 2019-01-09 | 3 | -11/+12 | |
| |