Commit Graph

227 Commits

Author SHA1 Message Date
Wim 1d5cd1d7c4 Sync with mattermost 3.5.0 2016-11-12 22:00:53 +01:00
Wim 08ebee6b4f Validate channels for samechannelgateway. Fixes #73. 2016-11-11 15:23:22 +01:00
Wim 14830d9f1c Refactor gateway 2016-11-08 23:44:16 +01:00
Wim a3dd0f1345 Add support for using avatars from discord,slack and gitter in slack 2016-11-06 00:46:32 +01:00
Wim 37873acfcd Update vendor (slack) 2016-11-06 00:07:24 +01:00
Wim 2dbe0eb557 Add support for dynamic IconURL (slack). Closes #43 2016-11-05 01:11:51 +01:00
Wim 50a0df4279 Reconnect on connection timed out (mattermost). Fixes #71 2016-11-04 23:17:49 +01:00
Wim c3a8b7a997 Refactor modifyMessage 2016-11-04 23:03:31 +01:00
Wim 95fac548bb Reconnect on connection reset by peer (mattermost). Fixes #69 2016-11-02 20:00:00 +01:00
Wim 581847f415 Update to latest go-gitter API changes 2016-11-02 16:28:23 +01:00
Wim 1b15897135 Fix tight loop (gitter). Closes #68. 2016-11-02 16:13:22 +01:00
Wim 8e606e3cef Update documentation 2016-11-01 23:10:29 +01:00
Wim be513622ac Add anti-flooding settings (irc). See #40 2016-11-01 22:52:28 +01:00
Wim 6f309f2108 Use names instead of id's for mentions (discord). Fixes #66 2016-10-30 22:55:34 +01:00
Wim 92d9db5a2d Override config from environment. See #50
Expects uppercase environment variables of MATTERBRIDGE_PROTOCOL_ACCOUNT_KEY="value"
e.g. you can override this config

[mattermost]
    [mattermost.work]
    Team="yourteam"
    Login="yourlogin"
    Password="yourpass"

by using
MATTERBRIDGE_MATTERMOST_WORK_TEAM="newteam"
MATTERBRIDGE_MATTERMOST_WORK_LOGIN="newlogin"
MATTERBRIDGE_MATTERMOST_WORK_PASSWORD="newpassword"
2016-10-30 22:32:29 +01:00
Wim 96620a3c2c Drop first received message on connection to avoid duplicates (slack). Fixes #55 2016-10-29 21:05:56 +02:00
Wim 5249568b8e Wait until the welcome message before connection is ok (irc). Fixes #62 2016-10-29 18:59:12 +02:00
Wim 4a336a6bba Forward channel notices too (irc) 2016-10-29 18:01:16 +02:00
Wim 60223d7f63 Update changelog 2016-10-29 17:54:37 +02:00
Wim 5131253191 Update documentation 2016-10-29 17:34:27 +02:00
Wim 035dc042a1 Fix teamid bug (mattermost) 2016-10-29 16:46:02 +02:00
Wim dfc513530b Ignore messages from ourself (irc bridge) 2016-10-29 16:35:16 +02:00
Wim 721e0a2dcd Ignore private queries (irc bridge) 2016-10-29 16:27:07 +02:00
Wim 8452eb12da Only respond to notices from nickserv (irc bridge) 2016-10-29 16:09:58 +02:00
Wim 475bed5e19 Add support for discord channel ID. See #57 2016-10-26 01:01:36 +02:00
Wim 40a967523c Ignore empty content from discord. Fixes #58 2016-10-26 00:12:31 +02:00
Wim d3a34af073 Add support for discord attachments. Fixes #59 2016-10-26 00:09:22 +02:00
Wim e7107cf782 Use RTM only on API (slack). Fix #56 2016-10-25 23:29:32 +02:00
@42wim b7c918a195 Merge pull request #54 from markusgraube/patch-1
Close open strings in matterbridge.conf.sample
2016-10-24 12:55:43 +02:00
Markus Graube 61e4c9b28c Update matterbridge.conf.sample
Close open strings
2016-10-24 12:14:51 +02:00
Wim e93847a95e Launch every account only once. Fixes #48 2016-10-23 22:23:20 +02:00
Wim 545377742c Drop messages not from our mattermost team. Fixes #49 2016-10-23 21:16:14 +02:00
Wim 47d38192b2 Only send to channels defined in config. Fixes #53 2016-10-23 20:58:04 +02:00
Wim ac80c47036 Update documentation in sample config about channelnames 2016-10-23 19:51:46 +02:00
Wim 1e84afbd90 Rename discord guild to server. 2016-10-23 19:51:41 +02:00
Wim d31e641bac Add documentation about bot tag for discord 2016-10-23 18:19:18 +02:00
Wim 4380c48b4b Add irc names callback only on command. Fixes #51 2016-10-23 18:19:11 +02:00
Wim db0e4ba8c5 Add error message about non-existing channels (slack) 2016-10-08 21:57:03 +02:00
Wim 2d6ed51d94 Bail out on samechannel gateway when a bridge fails to start 2016-10-03 09:23:55 +02:00
Wim 9ca4fe7a5e Fix matterbridge.toml.sample 2016-10-01 20:14:06 +02:00
Wim e52b040b9c Add more irc debug on connect (when debugging enabled) 2016-10-01 20:07:59 +02:00
Wim 1accee1653 Bail out when a bridge fails to start 2016-10-01 20:07:04 +02:00
Wim fff6f08cb6 Add samechannel gateway. See #35 2016-09-30 23:19:47 +02:00
Wim 0e527a4252 Fix slack channel join 2016-09-30 23:15:35 +02:00
Wim f10251a1a3 Fix mattermost bridge channel join 2016-09-30 22:59:30 +02:00
Wim 0d4bad16a3 Fix sample config. Closes #38 2016-09-30 20:35:16 +02:00
Wim 8c6be434ac Remove newline splitting from outgoing mattermost messages. Should be handled by receiving bridge. 2016-09-29 23:32:12 +02:00
Wim 3ca4309e8a Split newlines for irc (#37) 2016-09-29 21:21:24 +02:00
Wim e8a2e1af63 Fix IRC colors regexp 2016-09-22 23:48:05 +02:00
Wim 1d240140c9 Strip IRC colors. Closes #33 2016-09-21 00:33:40 +02:00