Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make lottie_convert work on platforms without /dev/stdout (#1424) | Ben Wiederhake | 2021-03-20 | 1 | -9/+26 |
| | | | Fixes #1423. | ||||
* | Handle Rocket.Chat attachments (#1395) | Tadeo Kondrak | 2021-02-15 | 1 | -0/+24 |
| | |||||
* | Parse fencedcode in ParseMarkdown. Fixes #1127 (#1329) | Wim | 2020-12-06 | 1 | -1/+1 |
| | |||||
* | Support Telegram animated stickers (tgs) format (#1173) | Ben Wiederhake | 2020-08-23 | 1 | -1/+50 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is half a fix for #874 This patch introduces a new config flag: - MediaConvertTgs These need to be treated independently from the existing MediaConvertWebPToPNG flag because Tgs→WebP results in an *animated* WebP, and the WebP→PNG converter can't handle animated WebP files yet. Furthermore, some platforms (like discord) don't even support animated WebP files, so the user may want to fall back to static PNGs (not APNGs). The final reason why this is only half a fix is that this introduces an external dependency, namely lottie, to be installed like this: $ pip3 install lottie cairosvg This patch works by writing the tgs to a temporary file in /tmp, calling lottie to convert it (this conversion may take several seconds!), and then deleting the temporary file. The temporary file is absolutely necessary, as lottie refuses to work on non-seekable files. If anyone comes up with a reasonable use case where /tmp is unavailable, I can add yet another config option for that, if desired. Telegram will bail out if the option is configured but lottie isn't found. | ||||
* | Enable intra-word emphasis supression in markdown (#999) | Martijn Braam | 2020-02-04 | 1 | -1/+1 |
| | | | | This fixes plain links sent to Matrix being broken if they contain underscores. Fixes issue #997 | ||||
* | Disable smartypants in markdown parser. Fixes #989, #983 (#993) | Wim | 2020-02-02 | 1 | -1/+5 |
| | |||||
* | Update markdown parsing library to github.com/gomarkdown/markdown (#944) | Benjamin | 2019-11-17 | 1 | -3/+7 |
| | |||||
* | Trim <p> and </p> tags (matrix). Closes #686 (#753) | Wim | 2019-03-03 | 1 | -1/+4 |
| | |||||
* | Add MediaConvertWebPToPNG option (telegram). (#741) | Wim | 2019-02-27 | 1 | -0/+19 |
| | | | | | | | | * 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 | ||||
* | Make all loggers derive from non-default instance (#728) | Wim | 2019-02-23 | 1 | -22/+42 |
| | |||||
* | Add support for markdown to HTML conversion (matrix). Closes #663 (#670) | Wim | 2019-01-06 | 1 | -0/+6 |
| | | | | | This uses our own gomatrix lib with the SendHTML function which adds HTML to formatted_body in matrix. golang-commonmark is used to convert markdown into valid HTML. | ||||
* | Use logrus imports instead of log (#662) | Duco van Amstel | 2018-12-26 | 1 | -3/+3 |
| | |||||
* | Fix golint linter issues and enable it in CI (#593) | Duco van Amstel | 2018-11-15 | 1 | -3/+3 |
| | |||||
* | Fix IRC line splitting. Closes #584 (#587) | Duco van Amstel | 2018-11-14 | 1 | -8/+34 |
| | |||||
* | Make gocritic linter happy | Wim | 2018-11-08 | 1 | -1/+1 |
| | |||||
* | Refactor and clean-up handlers. (slack) (#533) | Duco van Amstel | 2018-11-07 | 1 | -7/+4 |
| | |||||
* | Clip too long messages sent to discord (discord). Closes #440 | Wim | 2018-07-22 | 1 | -0/+13 |
| | |||||
* | Fix possible panic. #448 | Wim | 2018-06-19 | 1 | -1/+1 |
| | |||||
* | Add MediaDownloadBlacklist option. Closes #442 | Wim | 2018-06-09 | 1 | -0/+14 |
| | |||||
* | Reconnect on quit. (irc) See #431 (#445) | Liam Stanley | 2018-06-09 | 1 | -2/+3 |
| | | | | | * potential fixes for #431 * go: fix formatting/gofmt/goreturns | ||||
* | Remove message newline (telegram). #399 | Wim | 2018-04-19 | 1 | -0/+1 |
| | |||||
* | Add missing import | Wim | 2018-04-19 | 1 | -0/+1 |
| | |||||
* | Remove empty newlines from messages (telegram) #399 | Wim | 2018-04-19 | 1 | -0/+10 |
| | |||||
* | Refactor slack | Wim | 2018-02-27 | 1 | -0/+7 |
| | |||||
* | Refactor mattermost | Wim | 2018-02-27 | 1 | -0/+20 |
| | |||||
* | Use MediaServerDownload instead of MediaServerUpload for avatars | Wim | 2018-02-20 | 1 | -1/+1 |
| | |||||
* | Download (and upload) avatar images from mattermost and telegram when ↵ | Wim | 2018-02-20 | 1 | -0/+7 |
| | | | | | | | | | | | | | | mediaserver is configured. Closes #362 An extra avatarMap (cache) is created for mattermost and telegram. If MediaServerUpload is configured, the avatar images of users are downloaded the first time a user sends a message. If this download succeeds a message with EVENT_AVATAR_DOWNLOAD is sent to the originating protocol. This message also contains a SHA field (in msg.Extra["file"]), if this is not empty, the sha will be added to the avatarMap. (so we now have a userid-sha cache) Next time this user sends a message, the MediaServerUpload/sha/userid.png URL will be used as the avatar field. | ||||
* | Remove double close | Wim | 2018-02-07 | 1 | -1/+0 |
| | |||||
* | Do not close body on err. Closes #364 | Wim | 2018-02-07 | 1 | -1/+1 |
| | |||||
* | Send chat notification if media is too big to be re-uploaded to MediaServer. ↵ | Wim | 2018-02-03 | 1 | -0/+17 |
| | | | | See #359 | ||||
* | Add MessageSplit option to split messages on MessageLength (irc). Closes #281 | Wim | 2017-11-24 | 1 | -0/+12 |
| | |||||
* | Add helper | Wim | 2017-11-04 | 1 | -0/+28 |