Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support Telegram animated stickers (tgs) format (#1173) | Ben Wiederhake | 2020-08-23 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Fix MarkdownV2 support in Telegram (#1169) | Andrey Groshev | 2020-07-12 | 1 | -0/+5 |
| | |||||
* | Add DisableWebPagePreview option (telegram). Closes #980 (#994) | Wim | 2020-02-02 | 1 | -0/+3 |
| | |||||
* | Add support for WhatsApp media (jpeg/png/gif) bridging (#974) | Guillaume Lazzara | 2020-01-09 | 1 | -4/+11 |
| | | | | | | | | * Whatsapp image bridging * Prevent double message in telegram when media with caption received Co-authored-by: imShara <shara@protonmail.com> | ||||
* | Refactor telegram (#649) | Wim | 2018-12-12 | 1 | -35/+2 |
| | | | * Decrease complexity in Send() (makes codeclimate happy) | ||||
* | Refactor telegram handlers. Fix linting (#609) | Wim | 2018-11-28 | 1 | -277/+3 |
| | | | * Refactor telegram handlers. Fix linting | ||||
* | Fix golint linter issues and enable it in CI (#593) | Duco van Amstel | 2018-11-15 | 1 | -3/+3 |
| | |||||
* | Make goconst linter happy | Wim | 2018-11-08 | 1 | -9/+15 |
| | |||||
* | Make gocritic linter happy | Wim | 2018-11-08 | 1 | -3/+3 |
| | |||||
* | Clean up various stuff (#508) | David Hill | 2018-11-07 | 1 | -1/+4 |
| | | | * various cleanups | ||||
* | Fix build (telegram) | Wim | 2018-06-18 | 1 | -1/+4 |
| | |||||
* | Add support for MessageFormat=htmlnick (telegram). #444 | Wim | 2018-06-18 | 1 | -1/+11 |
| | |||||
* | Add QuoteFormat option (telegram). Closes #413 | Wim | 2018-05-11 | 1 | -1/+12 |
| | |||||
* | Fix possible nil when using channels (telegram). #410 | Wim | 2018-05-05 | 1 | -1/+4 |
| | |||||
* | Handle channel posts correctly (telegram) | Wim | 2018-04-29 | 1 | -2/+3 |
| | |||||
* | Fix panic (telegram). Closes #410 | Wim | 2018-04-29 | 1 | -1/+1 |
| | |||||
* | Remove empty newlines from messages (telegram) #399 | Wim | 2018-04-19 | 1 | -8/+2 |
| | |||||
* | Add QuoteDisable option (telegram). Closes #399 | Wim | 2018-04-17 | 1 | -1/+10 |
| | |||||
* | Remove unused import | Wim | 2018-03-17 | 1 | -1/+0 |
| | |||||
* | Revert #378 | Wim | 2018-03-17 | 1 | -1/+0 |
| | |||||
* | Fix empty messages (telegram) | Wim | 2018-03-05 | 1 | -0/+1 |
| | |||||
* | Use viper (github.com/spf13/viper) for configuration | Wim | 2018-03-04 | 1 | -17/+17 |
| | |||||
* | Escape html on username (telegram). Closes #378 | Wim | 2018-02-28 | 1 | -5/+9 |
| | |||||
* | Improve debug messages | Wim | 2018-02-28 | 1 | -4/+4 |
| | |||||
* | Refactor using factory | Wim | 2018-02-27 | 1 | -34/+27 |
| | |||||
* | Refactor telegram | Wim | 2018-02-27 | 1 | -140/+152 |
| | |||||
* | Fix the UseInsecureURL text (telegram). Closes #184 | Wim | 2018-02-21 | 1 | -1/+6 |
| | |||||
* | Use prefixed-formatter for better logging | Wim | 2018-02-21 | 1 | -1/+1 |
| | |||||
* | Move Sirupsen => sirupsen | Wim | 2018-02-20 | 1 | -1/+1 |
| | |||||
* | Add more debug (telegram) | Wim | 2018-02-20 | 1 | -0/+1 |
| | |||||
* | Download (and upload) avatar images from mattermost and telegram when ↵ | Wim | 2018-02-20 | 1 | -3/+53 |
| | | | | | | | | | | | | | | 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. | ||||
* | Fix panic on nil messages (telegram). Closes #366 | Wim | 2018-02-07 | 1 | -0/+4 |
| | |||||
* | Add more parsemode debug (telegram) | Wim | 2018-02-04 | 1 | -0/+4 |
| | |||||
* | Add markdown support (telegram). #355 | Wim | 2018-02-03 | 1 | -0/+6 |
| | |||||
* | Send chat notification if media is too big to be re-uploaded to MediaServer. ↵ | Wim | 2018-02-03 | 1 | -0/+7 |
| | | | | See #359 | ||||
* | Add comment to file upload from telegram. Show comments on all bridges. ↵ | Wim | 2018-02-01 | 1 | -8/+8 |
| | | | | Closes #358 | ||||
* | Enable Long Polling for Telegram. Reduces bandwidth consumption. (#350) | ValdikSS | 2018-01-29 | 1 | -1/+3 |
| | | | Fixes #349. | ||||
* | Allow specifying maximum download size of media using MediaDownloadSize ↵ | Wim | 2017-12-19 | 1 | -1/+1 |
| | | | | (slack,telegram,matrix) | ||||
* | Refactor and add MediaDownloadSize to General | Wim | 2017-12-19 | 1 | -10/+4 |
| | |||||
* | Fix incorrect forward from text line (telegram) | Wim | 2017-12-11 | 1 | -1/+0 |
| | |||||
* | Also use HTML in edited messages (telegram). Closes #315 | Wim | 2017-12-10 | 1 | -0/+3 |
| | |||||
* | Add support for Audio/Voice files (telegram). Closes #314 | Wim | 2017-12-10 | 1 | -0/+23 |
| | |||||
* | Add support for forwarded messages. Closes #313 | Wim | 2017-12-10 | 1 | -0/+18 |
| | |||||
* | Add webp extension to stickers if necessary (telegram) | Wim | 2017-11-20 | 1 | -0/+3 |
| | |||||
* | Add support for comments from slack file uploads (slack) | Wim | 2017-11-13 | 1 | -11/+17 |
| | |||||
* | Add extension to sticker/video/photo (telegram) | Wim | 2017-11-12 | 1 | -3/+7 |
| | |||||
* | Add the download actually to the message (telegram) | Wim | 2017-11-12 | 1 | -1/+1 |
| | |||||
* | Add more debug info (telegram) | Wim | 2017-11-12 | 1 | -2/+1 |
| | |||||
* | Add more debug info (telegram) | Wim | 2017-11-12 | 1 | -0/+7 |
| | |||||
* | Fix document bug (telegram) | Wim | 2017-11-12 | 1 | -1/+1 |
| |