Commit Graph

69 Commits (d379118772aa68d0b35bb5a98b5600dc81a89197)

Author SHA1 Message Date
Duco van Amstel f2cdda7278 Update Blackfriday dependency (closes #522) (#532)
- Fixup Telegram bridge implementation to support updated dependency.
6 years ago
Wim 221a63d980 Fix build (telegram) 6 years ago
Wim d02eda147c Add support for MessageFormat=htmlnick (telegram). #444 6 years ago
Liam Stanley 51327a4056 Reconnect on quit. (irc) See #431 (#445)
* potential fixes for #431
* go: fix formatting/gofmt/goreturns
6 years ago
Wim 406a54b597 Add QuoteFormat option (telegram). Closes #413 6 years ago
Wim ee4ac67081 Fix possible nil when using channels (telegram). #410 6 years ago
Wim b24a47ad7f Handle channel posts correctly (telegram) 6 years ago
Wim cd1fd1bb7c Fix panic (telegram). Closes #410 6 years ago
Wim a83831e68d Remove empty newlines from messages (telegram) #399 6 years ago
Wim e57f3a7e6c Add QuoteDisable option (telegram). Closes #399 6 years ago
Wim 7c4334d0de Remove unused import 7 years ago
Wim 062be8d7c9 Revert #378 7 years ago
Wim 1ec324354b Fix empty messages (telegram) 7 years ago
Wim f2f1d874e1 Use viper (github.com/spf13/viper) for configuration 7 years ago
Wim dbf8a326d5 Escape html on username (telegram). Closes #378 7 years ago
Wim 594d2155e3 Improve debug messages 7 years ago
Wim 2bac867382 Refactor using factory 7 years ago
Wim ad6440b603 Refactor telegram 7 years ago
Wim bab308508e Fix the UseInsecureURL text (telegram). Closes #184 7 years ago
Wim d1227b5fc9 Use prefixed-formatter for better logging 7 years ago
Wim 6ea368c383 Move Sirupsen => sirupsen 7 years ago
Wim a2b94452db Add more debug (telegram) 7 years ago
Wim 7886f05e88 Download (and upload) avatar images from mattermost and telegram when 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.
7 years ago
Wim df5bce27b0 Fix panic on nil messages (telegram). Closes #366 7 years ago
Wim 432cd0f99d Add more parsemode debug (telegram) 7 years ago
Wim d4a47671ea Add markdown support (telegram). #355 7 years ago
Wim 80822b7fff Send chat notification if media is too big to be re-uploaded to MediaServer. See #359 7 years ago
Wim 7764493298 Add comment to file upload from telegram. Show comments on all bridges. Closes #358 7 years ago
ValdikSS 2e2187ebf4 Enable Long Polling for Telegram. Reduces bandwidth consumption. (#350)
Fixes #349.
7 years ago
Wim d0c4fe78ee Allow specifying maximum download size of media using MediaDownloadSize (slack,telegram,matrix) 7 years ago
Wim 265457b451 Refactor and add MediaDownloadSize to General 7 years ago
Wim 0a91b9e1c9 Fix incorrect forward from text line (telegram) 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 98762a0235 Add webp extension to stickers if necessary (telegram) 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 115c4b1aa7 Fix missing arg for Errorf 7 years ago
Wim 1b30575510 Download files from telegram and reupload to supported bridges (telegram). #278 7 years ago
Wim 4bda29cb38 Try quoting previous messsage (telegram). #237 7 years ago
Wim c088e45d85 Add more debug info (telegram) 7 years ago
Wim 14490bea9f Add partial support for deleted messages (telegram) 7 years ago
Wim 7a86044f7a Add support for editing messages (telegram) 7 years ago
Wim 5a8d7b5f6d Modify Send() to return also a message id 7 years ago