Commit Graph

248 Commits (7ec95f786d55aab69541cb3065ea2c9b8eaf9c43)

Author SHA1 Message Date
Wim 7ec95f786d Use mediaserver urls for irc,gitter and xmpp 7 years ago
Wim 1efe40add5 Add initial support for an external mediaserver. #278
Add 2 extra options `MediaServerUpload` and `MediaServerDownload`, where
the URL for upload and download can be specified.

See https://github.com/42wim/matterbridge/wiki/Mediaserver-setup-%5Badvanced%5D
for an example with caddy
7 years ago
Wim cbd73ee313 Add support for uploaded images/video/files (matrix) 7 years ago
Wim 34227a7a39 Add support for uploading images/video (matrix). Closes #302 7 years ago
Wim cd4c9b194f Add support for ReplaceNicks using regexp to replace nicks. Closes #269 7 years ago
Wim 98762a0235 Add webp extension to stickers if necessary (telegram) 7 years ago
Wim aff3964078 Add support for ReplaceMessages using regexp to replace messages. #269 7 years ago
Wim 0578b21270 Fix message sending (slack) 7 years ago
Wim 36a800c3f5 Add support for comments from slack file uploads (slack) 7 years ago
Wim 6d21f84187 Add extension to sticker/video/photo (telegram) 7 years ago
Wim 46f5acc4f9 Add the download actually to the message (telegram) 7 years ago
Wim 95d4dcaeb3 Add more debug info (telegram) 7 years ago
Wim 64c542e614 Add more debug info (telegram) 7 years ago
Wim 13d081ea80 Fix document bug (telegram) 7 years ago
Wim c0f9d86287 Fix telegram photo/document input handling (telegram) 7 years ago
Wim bcdecdaa73 Fix strict user handling of girc (irc). Closes #298 7 years ago
Wim 4fc48b5aa4 Fix panic on empty params 7 years ago
Wim 307ff77b42 Add ServerName to TLSConfig 7 years ago
Wim 9b500bc5f7 Replace sorcix/irc and go-ircevent with girc 7 years ago
rrigby 27e94c438d Add support for bridging to individual steam chats. (steam) (#294) 7 years ago
Patrick Connolly 58392876df Use room.URI instead of room.Name. (gitter) (#293) 7 years ago
Wim 115c4b1aa7 Fix missing arg for Errorf 7 years ago
Wim ba5649d259 Add helper 7 years ago
Wim 1b30575510 Download files from telegram and reupload to supported bridges (telegram). #278 7 years ago
Wim 7dbebd3ea7 Show error message when file upload fails (discord) 7 years ago
Wim 6f18790352 Add support to upload files to slack, from bridges with private urls like slack/mattermost/telegram. (slack) 7 years ago
Patrick Connolly bea0bbd0c2 Allow slack messages with variables (eg. @here) to be formatted correctly. (slack) (#288) 7 years ago
Wim 0530503ef2 Make megacheck happy again 7 years ago
Wim d1e8ff814b Add support to upload files to discord, from bridges with private urls like slack/mattermost/telegram. (discord) 7 years ago
Patrick Connolly 4f8ae761a2 Resolve slack channel to human-readable name. (slack) (#282) 7 years ago
Wim b530e92834 Use DisplayName instead of deprecated username (slack). Closes #276 7 years ago
Wim b7a8c6b60f Try again to strip colors correct. #286 7 years ago
Wim 41aa8ad799 Add StripNick option, only allow alphanumerical nicks. Closes #285 7 years ago
Wim 299b71d982 Strip irc colors correct, strip also ctrl chars (irc). Closes #286 7 years ago
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
7 years ago
Wim 4e1dc9f885 Use bot username if specified (slack). Closes #273 7 years ago
Wim 7aabe12acf Fix loop, make megacheck happy 7 years ago
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).
7 years ago
Wim b49fb2b69c Add support for Quakenet auth (irc). Closes #263 7 years ago
Wim 4bda29cb38 Try quoting previous messsage (telegram). #237 7 years ago
Wim 5f14141ec9 Try to not forward slack unfurls. Closes #266 7 years ago
Wim c088e45d85 Add more debug info (telegram) 7 years ago
Wim d59c51a94b Remove unnecessary check, make megacheck happy 7 years ago
Wim 47b7fae61b Fix loop from webhook by adding matterbridge prop (mattermost). Closes #261 7 years ago
Wim 1a40b0c1e9 Relay attachments from mattermost to slack (slack). Closes #260 7 years ago
Wim 82588b00c5 Use override username if specified (mattermost). #260 7 years ago
Wim 14490bea9f Add partial support for deleted messages (telegram) 7 years ago
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)
7 years ago
Wim 90a61f15cc Do not break messages on newline (slack). Closes #258 7 years ago
Wim 9039720013 Send images when text is empty regression. (mattermost). Closes #254 7 years ago