Commit Graph

740 Commits

Author SHA1 Message Date
Wim b2a6777995 Use matterbridge vendored slack 2017-11-02 17:09:34 +01:00
Wim b461fc5e40 Add support for DEBUG=1 envvar to enable debug. Closes #283 2017-10-28 14:50:35 +02:00
Wim b7a8c6b60f Try again to strip colors correct. #286 2017-10-28 14:28:15 +02:00
Wim 41aa8ad799 Add StripNick option, only allow alphanumerical nicks. Closes #285 2017-10-27 00:07:33 +02:00
Wim 7973baedd0 Bump version 2017-10-26 23:05:14 +02:00
Wim 299b71d982 Strip irc colors correct, strip also ctrl chars (irc). Closes #286 2017-10-26 23:04:44 +02:00
Patrick Connolly 76aafe1fa8 Allowed Slack bridge to extract simpler link format. (#287)
Links sometimes exist without bar delimiters.

See: https://api.slack.com/docs/message-formatting#linking_to_urls
2017-10-26 21:58:43 +02:00
Patrick Connolly 95a0229aaf Fix outdated sample config on slack channel format. (#280) 2017-10-20 21:01:11 +02:00
Patrick Connolly 915a8fbad7 Make [general] settings default, not total override (specifically RemoteNickFormat) (#279)
* Use general settings as default, that specific protocols override.

* Fixed tab formatting.

* Clarified override precedence of [general] config.
2017-10-20 20:58:39 +02:00
Wim d4d7fef313 Release v1.3.1 2017-10-15 22:57:14 +02:00
Wim 4e1dc9f885 Use bot username if specified (slack). Closes #273 2017-10-12 20:33:37 +02:00
Wim 155ae80d22 Support mattermost 4.x as api4 should be stable (mattermost) 2017-09-28 22:34:44 +02:00
Wim c7e336efd9 Bump version 2017-09-28 21:57:59 +02:00
Wim ac3c65a0cc Release v1.3.0 2017-09-27 22:35:07 +02:00
Wim df74df475b Update vendor 2017-09-25 21:14:08 +02:00
Wim a61e2db7cb Backoff for 60 seconds when reconnecting too fast 2017-09-25 21:12:23 +02:00
Wim 7aabe12acf Fix loop, make megacheck happy 2017-09-21 23:15:04 +02:00
Wim c4b75e5754 Download files from slack and reupload to mattermost (slack/mattermost). Closes #255
Refactor message.Extra to a map[string][]interface{} to have a bit more flexibility
for stuffing extra stuff.

For attached files from slack, files < 1MB size get downloaded (in memory), and get
put into Extra["file"][]config.FileInfo (containing a pointer to the buffer and
the filename). This is not async so slack channels with lots of attached files
may suffer a slowdown. (the download timeout is set at 5 seconds).
2017-09-21 22:35:21 +02:00
Wim 6a7adb20a8 Add functions to upload files 2017-09-21 21:27:44 +02:00
Wim b49fb2b69c Add support for Quakenet auth (irc). Closes #263 2017-09-20 22:47:26 +02:00
Wim 4bda29cb38 Try quoting previous messsage (telegram). #237 2017-09-19 23:58:05 +02:00
Wim 5f14141ec9 Try to not forward slack unfurls. Closes #266 2017-09-19 22:33:26 +02:00
Wim c088e45d85 Add more debug info (telegram) 2017-09-19 21:41:35 +02:00
Wim d59c51a94b Remove unnecessary check, make megacheck happy 2017-09-19 00:04:27 +02:00
Wim 47b7fae61b Fix loop from webhook by adding matterbridge prop (mattermost). Closes #261 2017-09-18 23:53:30 +02:00
Wim 1a40b0c1e9 Relay attachments from mattermost to slack (slack). Closes #260 2017-09-18 23:51:27 +02:00
Wim 27d886826c Allow empty message if we have a slack attachment 2017-09-18 23:44:16 +02:00
Wim 18981cb636 Add props 2017-09-18 23:43:21 +02:00
Wim ffa8f65aa8 Bump version 2017-09-18 21:18:59 +02:00
Wim 82588b00c5 Use override username if specified (mattermost). #260 2017-09-18 21:18:31 +02:00
Wim 603449e850 Update readme 2017-09-11 23:49:15 +02:00
Wim 248d88c849 Release v1.2.0 2017-09-11 23:41:13 +02:00
Wim d19535fa21 Update vendor (nlopes/slack) 2017-09-11 23:33:58 +02:00
Wim 49204cafcc Update vendor (bwmarrin/discordgo) apiv6 2017-09-11 23:23:54 +02:00
Wim 812db2d267 Bump version 2017-09-11 23:17:33 +02:00
Wim 14490bea9f Add partial support for deleted messages (telegram) 2017-09-11 23:12:33 +02:00
Wim 0352970051 Update vendor (go-telegram-bot-api/telegram-bot-api) 2017-09-11 23:11:48 +02:00
Wim ed01820722 Add support for deleting messages across bridges.
Currently fully support mattermost,slack and discord.
Message deleted on the bridge or received from other bridges will be
deleted.

Partially support for Gitter.
Gitter bridge will delete messages received from other bridges.
But if you delete a message on gitter, this deletion will not be sent to
other bridges (this is a gitter API limitation, it doesn't propogate edits
or deletes via the API)
2017-09-11 22:45:15 +02:00
Wim 90a61f15cc Do not break messages on newline (slack). Closes #258 2017-09-10 18:19:33 +02:00
Wim 86cd7f1ba6 Add UpdateUserNick 2017-09-10 16:33:29 +02:00
Wim d6ee55e35f Release v1.1.2 2017-09-09 17:06:40 +02:00
Wim aef64eec32 Update changelog 2017-09-09 17:04:01 +02:00
Wim c4193d5ccd Add 4.2 support (mattermost) 2017-09-09 17:00:26 +02:00
Wim 0c94186818 Add darwin-amd64 to nightly builds 2017-09-09 14:42:45 +02:00
Wim 9039720013 Send images when text is empty regression. (mattermost). Closes #254 2017-09-08 00:16:17 +02:00
Wim a3470f8aec Send first message after connect (slack). Closes #252 2017-09-07 23:47:23 +02:00
Wim 01badde21d Add message debugging (gitter) 2017-09-07 20:35:12 +02:00
Ryan Mulligan a37b232dd9 remove comment about useAPI in sample configuration (#251) 2017-09-04 15:16:58 +02:00
Ryan Mulligan 579ee48385 remove useAPI from sample configuration (#250) 2017-09-04 15:16:29 +02:00
Wim dd985d1dad Fix sending direct messages with APIv4 2017-09-04 14:24:22 +02:00