summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add CI fixes and improvements (#780)Duco van Amstel2019-04-045-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)Wim2019-04-022-5/+8
|
* Return channelId for other channeltypes too (mattermost)Wim2019-04-011-1/+4
|
* Bump travis to go 1.12.xWim2019-03-271-1/+1
|
* Ignore message_replied and hidden messages (slack). Fixes #709 (#779)Wim2019-03-271-6/+12
|
* Bail if any vars are nil, not if all (telegram) (#778)David Hill2019-03-271-2/+2
|
* Thank DigitalOcean (https://digitalocean.com) for another year of sponsorshipWim2019-03-251-1/+13
|
* Look up #channel too (rocketchat). Fix #773 (#775)Wim2019-03-241-1/+1
|
* Bump versionWim2019-03-241-1/+1
|
* Release v1.14.1v1.14.1Wim2019-03-213-2/+6
|
* Update doc wrt rocketchat api issueWim2019-03-211-0/+2
|
* Fix double unlock (slack) (#771)David Hill2019-03-211-1/+0
|
* Release v1.14.0v1.14.0Wim2019-03-203-4/+6
|
* Allow the # in rocketchat channels (backward compatible) (#769)Wim2019-03-201-2/+7
|
* Update rocketchat documentationWim2019-03-201-1/+2
|
* Fix race-condition in populateUser() (#767)Duco van Amstel2019-03-201-12/+38
| | | | Fix the root-cause of #759 by introducing synchronisation points for individual user fetches.
* Fix regression for legacy slack by #766 (#768)Wim2019-03-201-2/+6
|
* Refactor channel and user management (slack) (#766)Duco van Amstel2019-03-154-94/+138
|
* Force Slack link unfurling (#763)Duco van Amstel2019-03-121-1/+5
|
* Split-out Slack user and channel management (#762)Duco van Amstel2019-03-124-230/+239
|
* Check module files in CI run (#761)Duco van Amstel2019-03-122-2/+8
|
* Update vendor d5/tengoWim2019-03-0538-4355/+623
|
* Trim <p> and </p> tags (matrix). Closes #686 (#753)Wim2019-03-031-1/+4
|
* Only build travis on master branchWim2019-03-031-0/+4
|
* Bump versionWim2019-03-021-1/+1
|
* Add related projects to READMEWim2019-03-021-0/+4
|
* Release v1.14.0-rc2v1.14.0-rc2Wim2019-03-022-2/+12
|
* Do not send duplicate messages (rocketchat). Fixes #745 (#752)Wim2019-03-022-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)Wim2019-03-022-0/+24
|
* Need to specify /topic:mytopic for channel configuration (zulip). (#751)Wim2019-03-023-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)Wim2019-03-0296-796/+1857
|
* Do not relay any bot messages (discord) (#743)Wim2019-02-281-1/+1
|
* Handle file upload/download only once for each message (#742)Wim2019-02-271-1/+5
|
* Add MediaConvertWebPToPNG option (telegram). (#741)Wim2019-02-2728-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 branchesWim2019-02-261-0/+2
|
* Fail gracefully on incorrect human input. Fixes #739 (#740)Wim2019-02-261-0/+3
|
* Update changelogWim2019-02-262-5/+3
|
* Print errors as string instead of %#v (#738)Wim2019-02-262-4/+4
|
* Keep reconnecting until succeed (zulip) (#737)Wim2019-02-261-5/+7
|
* Fix regression in HTML handling (telegram). Closes #734Wim2019-02-2422-2551/+2325
| | | | | * Revert back to blackfriday v1 * Add testing
* Add goreleaser.ymlWim2019-02-241-0/+34
|
* Release v1.14.0-rc1v1.14.0-rc1Wim2019-02-232-1/+30
|
* Do not send topic changes on connect (xmpp). Fixes #732 (#733)Wim2019-02-231-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)Wim2019-02-2328-268/+2932
|
* Add scripting (tengo) support for every incoming message (#731)Wim2019-02-23147-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)Wim2019-02-234-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 vendorWim2019-02-232-21/+1
|
* Add extra debug option (slack)Wim2019-02-222-1/+5
|
* Allow sending discriminator with Discord username (#726)Declan Hoare2019-02-223-1/+9
|
* Add telegram support to matterbridge chat channelWim2019-02-211-0/+3
|