Commit Graph

246 Commits

Author SHA1 Message Date
Tulir Asokan b3082da999 Add option to underline edited part of message in edits. Fixes #61 2018-03-08 19:44:53 +02:00
Tulir Asokan 61d9d6890a Bridge plaintext mentions of Telegram puppets into Telegram mentions 2018-03-08 18:39:27 +02:00
Tulir Asokan 150321a4d7 Fix replies/forwards to/of images 2018-03-08 18:01:58 +02:00
Tulir Asokan ee8531143f Fix small typo 2018-03-08 11:42:53 +02:00
Tulir Asokan 96d3ca106a Fix Matrix -> Telegram code block bridging 2018-03-07 23:28:36 +02:00
Tulir Asokan 8d1de218a1 Implement registering (untested), fix auth stuff and possibly break stuff. Fixes #44 2018-03-07 22:09:56 +02:00
Tulir Asokan cf9a1f3afb Add appservice.public to config in v2 update 2018-03-07 21:31:27 +02:00
Tulir Asokan 2c68bd7378 Update config updater 2018-03-07 21:25:49 +02:00
Tulir Asokan 6ff89d1fe4 Add option to disable homeserver SSL verification 2018-03-07 21:20:59 +02:00
Tulir Asokan 30768d0a06 Add option to use inline images for better captions. Fixes #83 2018-03-07 21:16:09 +02:00
Tulir Asokan 7004da9268 Handle SQL InvalidRequestErrors when transferring files 2018-03-07 19:11:29 +02:00
Tulir Asokan 0e6940eea5 Add bridge command to !help (ref #87) 2018-03-07 15:37:19 +02:00
Tulir Asokan 7b4b7509f3 Minor improvements to unicode->html formatter 2018-03-07 14:50:41 +02:00
Tulir Asokan 8bbd1f7db1 Fix duplicate unicode formatting when mixing strikethrough and underline 2018-03-07 14:12:37 +02:00
Tulir Asokan a6f26c16fc Add strikethrough/underline <-> unicode converter to formatter 2018-03-07 14:03:38 +02:00
Tulir Asokan 3aff450bae Fix error with large thumbnails 2018-03-06 22:43:31 +02:00
Tulir Asokan 97957a5731 Use native reply fallback format. Fixes #86 2018-03-06 21:24:45 +02:00
Tulir Asokan fe00145d1c Fix bridging documents without thumbnails 2018-03-06 15:13:13 +02:00
Tulir Asokan e2ba478095 Fix highlighting Telegram users without usernames 2018-03-06 00:27:35 +02:00
Tulir Asokan ed8c933772 Fix possible web login bug 2018-03-05 15:04:18 +02:00
Tulir Asokan a8322992cc Escape HTML tags in quoted text of non-native replies 2018-03-04 23:20:21 +02:00
Tulir Asokan e8c0312839 Fix messages again 2018-03-04 21:22:19 +02:00
Tulir Asokan e98acf39ae Fix messages with URL previews not being bridged 2018-03-04 21:12:24 +02:00
Tulir Asokan 26b8efb1e6 Send thumbnail and size info with Telegram -> Matrix videos 2018-03-04 20:59:45 +02:00
Tulir Asokan 6d648d51da Add basic support for bridging existing rooms to existing chats. Fixes #52 2018-03-04 17:10:03 +02:00
Tulir Asokan 57a00468ba Improve bot command handling and add /id command (ref #52) 2018-03-04 15:42:38 +02:00
Tulir Asokan cd055e1ba7 Handle UpdateShort*Messages properly 2018-03-04 15:41:42 +02:00
Tulir Asokan 021b60a45e Update Telethon and use PyPI telethon-aio package 2018-03-04 13:35:24 +02:00
Tulir Asokan 172e472221 Replace send_message_super with markdown flag in send_message 2018-03-03 21:15:44 +02:00
Tulir Asokan 0f706d511a Fix bot commands and simplify bot-specific update handler 2018-03-03 20:55:13 +02:00
Tulir Asokan f57d1e7311 Handle deleted accounts in get_displayname properly 2018-03-03 20:21:19 +02:00
Tulir Asokan 4237c36dae Fix sending files to Telegram 2018-03-03 15:03:46 +02:00
Tulir Asokan 633aea45d9 Fix and/or break user_portal management 2018-03-03 14:45:52 +02:00
Tulir Asokan 08b6f9dbbf Fix Telegram media handling 2018-03-03 14:20:37 +02:00
Tulir Asokan a9b362943f Update Telethon, fix leave messages and stop deleting sessions 2018-03-03 13:35:50 +02:00
Tulir Asokan ead445b81f Merge pull request #84 from tulir/sqlalchemy-session
Move session storage to the main database
2018-03-03 13:34:05 +02:00
Tulir Asokan 1bea158191 Remove automatic table creation to force users to run Alembic 2018-03-03 11:59:44 +02:00
Tulir Asokan 3a22c1463a Move versions back to TelegramClient init 2018-03-03 11:39:32 +02:00
Tulir Asokan 3a4628cb6e Use Telethon's new AlchemySession for session storage 2018-03-02 20:22:03 +02:00
Tulir Asokan 46cac040c7 Add room unbridge command 2018-03-01 21:10:21 +02:00
Tulir Asokan 56e4f00705 Add sync command and move commands around 2018-02-25 22:22:11 +02:00
Tulir Asokan da3e37ccc0 Don't await Matrix room updating. Fixes #82 2018-02-25 22:07:59 +02:00
Tulir Asokan f37ea89e98 Remove need to install Telethon manually in production setup 2018-02-25 21:48:31 +02:00
Tulir Asokan 1f6b9bd04a Fix error when ignoring update in update_message 2018-02-25 12:16:28 +02:00
Tulir Asokan 836232db00 Update Telethon version 2018-02-25 12:07:48 +02:00
Tulir Asokan d5038e6b98 Fix non-inline URL parsing 2018-02-24 14:04:23 +02:00
Tulir Asokan 55046e15b2 Add support for /command@bot bot command syntax 2018-02-24 12:57:18 +02:00
Tulir Asokan 8a7ccc0007 Refactor code 2018-02-24 12:37:12 +02:00
Tulir Asokan 1372a16459 Bridge !commands to Telegram /commands 2018-02-24 12:25:13 +02:00
Tulir Asokan 6c7f687539 Fix MessageEntityBotCommand handling 2018-02-24 12:06:30 +02:00