Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for Telegram topics (telegram) (#1942) | Thom Dickson | 2023-03-14 | 1 | -9/+50 |
| | | | | | | | | | | Topics are surfaced by appending /<topic-id> to the channel setting for the gateway. An example for the topic with ID of 16 would be: ``` [[gateway.inout]] account="telegram.mytelegram" channel="-100xxxxxxxxxx/16" ``` | ||||
* | Fix message html entities escaping when sending to Telegram (#1855) | Alexander | 2022-07-07 | 1 | -1/+1 |
| | |||||
* | Multiple media in one message (telegram) (#1779) | Alexander | 2022-03-30 | 1 | -11/+33 |
| | | | | | | | | | | | | | * Send multiple images/video/documents as media group * Fix media caption quotting * Fix errors handling * Refactor parent id detection * Try to reduce cognitive complexity of code * Remove unused conditional | ||||
* | Preserve threading from telegram replies (telegram) (#1776) | Alexander | 2022-03-25 | 1 | -4/+17 |
| | | | | | | | * Preserve threading from telegram replies * Add fallback for unthreaded telegram message * Fix linter issue | ||||
* | Update telegram-bot-api to v5 (#1660) | Wim | 2021-12-12 | 1 | -6/+2 |
| | |||||
* | Convert .tgs with go libraries (and cgo) (telegram) (#1569) | Benau | 2021-08-24 | 1 | -5/+3 |
| | | | | | | | | | | | | | | | | This commit adds support for go/cgo tgs conversion when building with the -tags `cgo` The default binaries are still "pure" go and uses the old way of converting. * Move lottie_convert.py conversion code to its own file * Add optional libtgsconverter * Update vendor * Apply suggestions from code review * Update bridge/helper/libtgsconverter.go Co-authored-by: Wim <wim@42.be> | ||||
* | Adding caption to send telegram images. Fixes #1357 (#1358) | Paul | 2021-04-03 | 1 | -18/+23 |
| | | | | | | | | | | | | | | | | | * Used tgbotapi caption option to attach caption to photos / documents * remove "text/template/parse" * added TGGetParseMode to clean up. Added tg upload function for video, audio and voice * fixed varname Textout. Changed fileextension logic to avoid chaining regex * fixed textout varname * fixed parsemode varname * gofmt Co-authored-by: Wim <wim@42.be> | ||||
* | 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 |
| |