Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | Fix travis before_deploy | Wim | 2019-04-04 | 1 | -4/+4 | |
| | ||||||
* | Fix travis deploy condition and update to golangci-lint v1.16 | Wim | 2019-04-04 | 1 | -2/+2 | |
| | ||||||
* | Add CI fixes and improvements (#780) | Duco van Amstel | 2019-04-04 | 5 | -61/+74 | |
| | | | | | | | | | | | | | | | | * Update GolangCI-lint and lint config The `algo` parameter for the `unparam` linter has been removed and we should thus no longer specify it. Also, bumping the GolangCI-lint version to the latest available minor release. See: mvdan/unparam@e6a6d1c51b6f03ac1a9d120f1ea07bc3a3f0e0b9 * Fix and improve bintray CI script * Further CI setup improvements * Split-out CI steps into stand-alone scripts | |||||
* | Send user_added and removed event through message channel (mattermost) | Wim | 2019-04-02 | 2 | -5/+8 | |
| | ||||||
* | Return channelId for other channeltypes too (mattermost) | Wim | 2019-04-01 | 1 | -1/+4 | |
| | ||||||
* | Bump travis to go 1.12.x | Wim | 2019-03-27 | 1 | -1/+1 | |
| | ||||||
* | 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 | |
| | ||||||
* | Thank DigitalOcean (https://digitalocean.com) for another year of sponsorship | Wim | 2019-03-25 | 1 | -1/+13 | |
| | ||||||
* | Look up #channel too (rocketchat). Fix #773 (#775) | Wim | 2019-03-24 | 1 | -1/+1 | |
| | ||||||
* | Bump version | Wim | 2019-03-24 | 1 | -1/+1 | |
| | ||||||
* | Release v1.14.1v1.14.1 | Wim | 2019-03-21 | 3 | -2/+6 | |
| | ||||||
* | Update doc wrt rocketchat api issue | Wim | 2019-03-21 | 1 | -0/+2 | |
| | ||||||
* | Fix double unlock (slack) (#771) | David Hill | 2019-03-21 | 1 | -1/+0 | |
| | ||||||
* | Release v1.14.0v1.14.0 | Wim | 2019-03-20 | 3 | -4/+6 | |
| | ||||||
* | Allow the # in rocketchat channels (backward compatible) (#769) | Wim | 2019-03-20 | 1 | -2/+7 | |
| | ||||||
* | Update rocketchat documentation | Wim | 2019-03-20 | 1 | -1/+2 | |
| | ||||||
* | 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 | 4 | -230/+239 | |
| | ||||||
* | Check module files in CI run (#761) | Duco van Amstel | 2019-03-12 | 2 | -2/+8 | |
| | ||||||
* | Update vendor d5/tengo | Wim | 2019-03-05 | 38 | -4355/+623 | |
| | ||||||
* | Trim <p> and </p> tags (matrix). Closes #686 (#753) | Wim | 2019-03-03 | 1 | -1/+4 | |
| | ||||||
* | Only build travis on master branch | Wim | 2019-03-03 | 1 | -0/+4 | |
| | ||||||
* | Bump version | Wim | 2019-03-02 | 1 | -1/+1 | |
| | ||||||
* | Add related projects to README | Wim | 2019-03-02 | 1 | -0/+4 | |
| | ||||||
* | Release v1.14.0-rc2v1.14.0-rc2 | Wim | 2019-03-02 | 2 | -2/+12 | |
| | ||||||
* | 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 | 2 | -0/+24 | |
| | ||||||
* | Need to specify /topic:mytopic for channel configuration (zulip). (#751) | Wim | 2019-03-02 | 3 | -29/+21 | |
| | | | | | | | | | | | | | | 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 | 96 | -796/+1857 | |
| | ||||||
* | Do not relay any bot messages (discord) (#743) | Wim | 2019-02-28 | 1 | -1/+1 | |
| | ||||||
* | Handle file upload/download only once for each message (#742) | Wim | 2019-02-27 | 1 | -1/+5 | |
| | ||||||
* | Add MediaConvertWebPToPNG option (telegram). (#741) | Wim | 2019-02-27 | 28 | -0/+4317 | |
| | | | | | | | | * 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 | |||||
* | Build on all branches | Wim | 2019-02-26 | 1 | -0/+2 | |
| | ||||||
* | Fail gracefully on incorrect human input. Fixes #739 (#740) | Wim | 2019-02-26 | 1 | -0/+3 | |
| | ||||||
* | Update changelog | Wim | 2019-02-26 | 2 | -5/+3 | |
| | ||||||
* | 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 | 22 | -2551/+2325 | |
| | | | | | * Revert back to blackfriday v1 * Add testing | |||||
* | Add goreleaser.yml | Wim | 2019-02-24 | 1 | -0/+34 | |
| | ||||||
* | Release v1.14.0-rc1v1.14.0-rc1 | Wim | 2019-02-23 | 2 | -1/+30 | |
| | ||||||
* | 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 | 28 | -268/+2932 | |
| | ||||||
* | 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+" ] ] |