Commit Graph

127 Commits

Author SHA1 Message Date
Tulir Asokan 4237c36dae Fix sending files to Telegram 2018-03-03 15:03:46 +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 46cac040c7 Add room unbridge command 2018-03-01 21:10:21 +02:00
Tulir Asokan da3e37ccc0 Don't await Matrix room updating. Fixes #82 2018-02-25 22:07:59 +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 566a2b3892 Add join/leave notifications for unauthenticated users. Fixes #81 2018-02-24 11:44:49 +02:00
Tulir Asokan 9e5cb84140 Refactor more code 2018-02-23 21:24:18 +02:00
Tulir Asokan 9e5843a0dc Refactor and clean up code 2018-02-23 21:06:28 +02:00
Tulir Asokan 2aa48f37a9 Merge pull request #79 from tulir/authless-relaybot-portals
Allow creating relaybot portals without any authenticated users
2018-02-23 18:21:35 +02:00
Tulir Asokan 22e4a189eb Convert Telegram room mentions into pills (ref #62) 2018-02-23 16:45:48 +02:00
Tulir Asokan 2d2fe86757 Move all permissions to single object in config 2018-02-23 12:07:42 +02:00
Tulir Asokan 7c54436dff Initial support for creating portals without any authenticated users 2018-02-22 21:12:35 +02:00
Tulir Asokan 232ec6ee42 Add room pill bridging. Fixes #62 2018-02-22 19:21:29 +02:00
Tulir Asokan aded9d9210 Small bugfixes 2018-02-22 17:20:37 +02:00
Tulir Asokan 8e98ca1ce8 Don't kick user from portal on logout if chat has relay bot. Fixes #75 2018-02-22 00:37:03 +02:00
Tulir Asokan bc1d0c1d2a Fix portal avatar updating 2018-02-21 23:47:41 +02:00
Tulir Asokan 2d13c30a26 Fix possible errors 2018-02-21 23:35:59 +02:00
Tulir Asokan 6e1d497e66 Fix edit handling/deduplication in channels. Fixes #74 2018-02-20 21:43:08 +02:00
Tulir Asokan 05853115c6 Use file deduplication for avatars 2018-02-20 13:34:40 +02:00
Tulir Asokan bbc5f99ae9 Fix Alembic setup and add timestamp to TelegramFile 2018-02-20 00:14:47 +02:00
Tulir Asokan f9d2d32ef0 Save and reuse MXC URIs of bridged files. Fixes #40 2018-02-19 23:27:46 +02:00
Tulir Asokan c21a55ebc7 portal.py refactoring 2018-02-19 22:30:34 +02:00
Tulir Asokan 51b868d9ce Split formatter to two files 2018-02-19 20:45:40 +02:00
Tulir Asokan 5930b2e3bb Stop using db.merge() in most places 2018-02-19 20:35:34 +02:00
Tulir Asokan 0a6130607d Fix avatar changes and outgoing meta change deduplication
Also move the telegram ID -> MXID generation to Puppet.get_mxid_from_id()
2018-02-19 19:52:45 +02:00
Tulir Asokan f6b18497b4 Update bot chats when updating portal participants 2018-02-19 19:32:40 +02:00
Tulir Asokan d21ac58929 Merge branch 'master' into bots 2018-02-19 18:19:53 +02:00
Tulir Asokan 7f86ec6c5d Remove debug prints 2018-02-19 18:13:44 +02:00
Tulir Asokan 1a1d7e6d90 Synchronize all users and fix joining chats via invite links, deleting portals 2018-02-19 18:10:14 +02:00
Tulir Asokan f66c182e82 Fix Matrix->Telegram formatted messages throwing an error 2018-02-18 16:29:19 +02:00
Tulir Asokan 95fad313c5 Deduplicate outgoing avatar/title changes 2018-02-18 12:37:47 +02:00
Tulir Asokan 457df435ac Deduplicate service messages, typing notifications and presence 2018-02-18 12:31:52 +02:00
Tulir Asokan 7b0c58aa27 Handle incoming messages from bot 2018-02-18 12:03:35 +02:00
Tulir Asokan 7dc5384d52 Update future-fstrings and stop concatenating multiline strings 2018-02-18 11:24:51 +02:00
Tulir Asokan c1f582f17a Remove debug print 2018-02-17 21:26:22 +02:00
Tulir Asokan eef48a9a56 Synchronize deleted users in sync_telegram_users() 2018-02-17 20:35:23 +02:00
Tulir Asokan 4673546b42 Add option to bridge notices and command to get relaybot info 2018-02-17 19:17:17 +02:00
Tulir Asokan 2f75fa1cfe Add support for bot message relaying 2018-02-17 17:48:48 +02:00
Tulir Asokan 504be22b4b "Handle" missing database messages when handling edits 2018-02-17 15:04:38 +02:00
Tulir Asokan 427d97a1ff Merge pull request #58 from tulir/next-native-replies
Update native reply format
2018-02-17 15:04:05 +02:00
Tulir Asokan db637bf543 Add simple edit event deduplication 2018-02-16 17:49:36 +02:00
Tulir Asokan 88ef7d856e Merge branch 'master' into next-native-replies 2018-02-16 17:41:27 +02:00
Tulir Asokan 57e1a863dc Minor style fixes 2018-02-16 17:39:24 +02:00
Tulir Asokan 0d8428fa70 Fix edit handling 2018-02-16 15:11:14 +02:00
Tulir Asokan 6615a68cee Remove unnecessary get_input_entity calls 2018-02-15 13:14:30 +02:00
Tulir Asokan c29059d5d5 Merge branch 'master' into python3.5 2018-02-14 23:35:55 +02:00
Tulir Asokan aff2b313c5 Merge branch 'master' into next-native-replies 2018-02-14 23:34:46 +02:00
Tulir Asokan 089d372334 Fix incoming channel messages and signatures. Fixes #67 2018-02-14 23:22:09 +02:00