Commit Graph

260 Commits (265457b45171dcae96a1aac9454e3bda2cd0557a)

Author SHA1 Message Date
Wim 265457b451 Refactor and add MediaDownloadSize to General 7 years ago
Wim 4a4a29c9f6 Fix panic (matrix). Closes #316 7 years ago
Wim 0a91b9e1c9 Fix incorrect forward from text line (telegram) 7 years ago
Wim f56163295c Remove unreachable code (api) 7 years ago
Wim d1c87c068b Also use HTML in edited messages (telegram). Closes #315 7 years ago
Wim fa20761110 Add support for Audio/Voice files (telegram). Closes #314 7 years ago
Wim e4a0e0a0e9 Add support for forwarded messages. Closes #313 7 years ago
Wim d30ae19e2a Add (simple, one listener) long-polling support (api). Closes #307 7 years ago
Wim 05eb75442a Split on UTF-8 for MessageSplit (irc). Closes #308 7 years ago
Wim 3496ed0c7e Fix irc ACTION regression (irc). Closes #306 7 years ago
Wim 67a9d133e9 Add quick & dirty sshchat support (https://github.com/shazow/ssh-chat) 7 years ago
Wim e0cbb69a4f Add MessageSplit option to split messages on MessageLength (irc). Closes #281 7 years ago
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