Wim
1ec324354b
Fix empty messages (telegram)
2018-03-05 00:43:59 +01:00
Wim
f2f1d874e1
Use viper (github.com/spf13/viper) for configuration
2018-03-04 23:52:14 +01:00
Wim
dbf8a326d5
Escape html on username (telegram). Closes #378
2018-02-28 23:25:00 +01:00
Wim
594d2155e3
Improve debug messages
2018-02-28 22:23:29 +01:00
Wim
2bac867382
Refactor using factory
2018-02-27 23:22:12 +01:00
Wim
ad6440b603
Refactor telegram
2018-02-27 23:22:10 +01:00
Wim
bab308508e
Fix the UseInsecureURL text (telegram). Closes #184
2018-02-21 13:30:38 +01:00
Wim
d1227b5fc9
Use prefixed-formatter for better logging
2018-02-21 00:20:25 +01:00
Wim
6ea368c383
Move Sirupsen => sirupsen
2018-02-20 23:41:09 +01:00
Wim
a2b94452db
Add more debug (telegram)
2018-02-20 17:51:23 +01:00
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.
2018-02-20 01:15:25 +01:00
Wim
df5bce27b0
Fix panic on nil messages (telegram). Closes #366
2018-02-07 14:28:48 +01:00
Wim
432cd0f99d
Add more parsemode debug (telegram)
2018-02-04 17:55:20 +01:00
Wim
d4a47671ea
Add markdown support (telegram). #355
2018-02-03 23:31:21 +01:00
Wim
80822b7fff
Send chat notification if media is too big to be re-uploaded to MediaServer. See #359
2018-02-03 01:11:11 +01:00
Wim
7764493298
Add comment to file upload from telegram. Show comments on all bridges. Closes #358
2018-02-01 00:41:09 +01:00
ValdikSS
2e2187ebf4
Enable Long Polling for Telegram. Reduces bandwidth consumption. ( #350 )
...
Fixes #349 .
2018-01-29 12:07:26 +01:00
Wim
d0c4fe78ee
Allow specifying maximum download size of media using MediaDownloadSize (slack,telegram,matrix)
2017-12-19 23:44:13 +01:00
Wim
265457b451
Refactor and add MediaDownloadSize to General
2017-12-19 23:15:03 +01:00
Wim
0a91b9e1c9
Fix incorrect forward from text line (telegram)
2017-12-11 12:15:26 +01:00
Wim
d1c87c068b
Also use HTML in edited messages (telegram). Closes #315
2017-12-10 15:16:17 +01:00
Wim
fa20761110
Add support for Audio/Voice files (telegram). Closes #314
2017-12-10 15:08:23 +01:00
Wim
e4a0e0a0e9
Add support for forwarded messages. Closes #313
2017-12-10 14:52:29 +01:00
Wim
98762a0235
Add webp extension to stickers if necessary (telegram)
2017-11-20 22:12:51 +01:00
Wim
36a800c3f5
Add support for comments from slack file uploads (slack)
2017-11-13 00:20:31 +01:00
Wim
6d21f84187
Add extension to sticker/video/photo (telegram)
2017-11-12 22:04:35 +01:00
Wim
46f5acc4f9
Add the download actually to the message (telegram)
2017-11-12 18:09:38 +01:00
Wim
95d4dcaeb3
Add more debug info (telegram)
2017-11-12 17:49:10 +01:00
Wim
64c542e614
Add more debug info (telegram)
2017-11-12 17:46:44 +01:00
Wim
13d081ea80
Fix document bug (telegram)
2017-11-12 17:15:53 +01:00
Wim
c0f9d86287
Fix telegram photo/document input handling (telegram)
2017-11-12 11:46:32 +01:00
Wim
115c4b1aa7
Fix missing arg for Errorf
2017-11-04 15:01:03 +01:00
Wim
1b30575510
Download files from telegram and reupload to supported bridges (telegram). #278
2017-11-04 14:50:17 +01:00
Wim
4bda29cb38
Try quoting previous messsage (telegram). #237
2017-09-19 23:58:05 +02:00
Wim
c088e45d85
Add more debug info (telegram)
2017-09-19 21:41:35 +02:00
Wim
14490bea9f
Add partial support for deleted messages (telegram)
2017-09-11 23:12:33 +02:00
Wim
7a86044f7a
Add support for editing messages (telegram)
2017-08-28 23:07:03 +02:00
Wim
5a8d7b5f6d
Modify Send() to return also a message id
2017-08-27 22:59:37 +02:00
Wim
28710d0bc7
Allow a webhookurl per channel (discord). #239
2017-08-12 14:51:41 +02:00
Wim
f8e6a69d6e
Add action support for slack,mattermost,irc,gitter,matrix,xmpp,discord. #199
2017-07-30 17:48:23 +02:00
Wim
2338c69d40
Add UseInsecureURL option (telegram)
2017-07-04 01:35:30 +02:00
Wim
62e9de1a3b
Use the last (and biggest) photo to relay (telegram). Closes #184
2017-06-18 23:59:52 +02:00
Wim
2ddc4f7ae9
Add UserID to each message. Closes #200
2017-06-18 15:44:54 +02:00
Wim
2dd402675d
Sent only the biggest picture to bridges (telegram)
2017-06-18 01:23:15 +02:00
Wim
2a403f8b85
Add initial sticker/video/photo/document support (telegram). #184
2017-06-17 18:25:17 +02:00
Wim
9bcd131e66
Reset variables each loop (telegram). Closes #181
2017-05-30 21:14:03 +02:00
Wim
2888fd64b0
Add UseFirstName option (telegram). Closes #144
2017-05-15 23:23:10 +02:00
Wim
7469732bbc
Add support for edited messages (telegram)
2017-04-15 19:07:35 +02:00
Wim
57176dadd4
Support edited messages (telegram). See #141
2017-04-01 18:18:38 +02:00
Wim
32bbab8518
Do not use HTML parsemode by default. Set MessageFormat="HTML" to use it. (telegram) Closes #126
2017-02-24 18:50:16 +01:00
Wim
163f55f9c2
Refactor to handle disconnects/reconnects better.
...
Now try to reconnect every 60 seconds until forever.
2017-02-14 21:12:02 +01:00
Wim
dcccd43427
Use unknown as username if unsigned channel (telegram)
2017-01-27 23:59:24 +01:00
Wim
5f8b24e32c
Fix username (telegram)
2017-01-27 23:30:46 +01:00
Wim
678a7ceb4e
Fix channel and group messages (telegram)
2017-01-27 23:26:06 +01:00
Tatsuyuki Ishi
e3dda0e812
Telegram: add markdown ( #103 )
...
* Add support for markdown (telegram)
Close #98
* Telegram: add more Markdown Render blacklist
2017-01-06 23:32:17 +01:00
Tatsuyuki Ishi
8b47670a74
Telegram: Fix the missing username
2016-12-17 18:43:54 +09:00
Wim
cd18d89894
Add initial telegram support
2016-11-15 23:15:57 +01:00